Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 24c9eb79c62f7b0ed12f25514949fa6e13072b8e+9e5ff16ea29b888a79edc386c2a8af4882824547 (c745eed33e312ab68df5baac678016a82ca8c0f0) 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-ssh797261350597264055.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh9298195415513100856.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-378/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-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5085452129489485940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh10807792223984814261.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-378/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-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh938123508316814353.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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: false 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 ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-44820 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [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-378 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 24c9eb79c62f7b0ed12f25514949fa6e13072b8e Merge succeeded, producing 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 Checking out Revision 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 (PR-378) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 # timeout=10 Commit message: "Merge commit '9e5ff16ea29b888a79edc386c2a8af4882824547' into HEAD" > git rev-list --no-walk 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T03:17:19.197Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T03:17:19.287Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T03:17:19.316Z] ========================================================= [2022-05-10T03:17:19.316Z] EdgeX Global Pipelines Version Info [2022-05-10T03:17:19.316Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:17:20.123Z] ------------------- [2022-05-10T03:17:20.124Z] stable info: [2022-05-10T03:17:20.124Z] ------------------- [2022-05-10T03:17:20.124Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T03:17:20.124Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T03:17:20.124Z] Message: update stable to v1.0.227 [2022-05-10T03:17:20.698Z] ------------------- [2022-05-10T03:17:20.698Z] experimental info: [2022-05-10T03:17:20.698Z] ------------------- [2022-05-10T03:17:20.698Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T03:17:20.698Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T03:17:20.698Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T03:17:20.847Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-10T03:17:20.858Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-10T03:17:20.869Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T03:17:20.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T03:17:20.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T03:17:20.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T03:17:20.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T03:17:20.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T03:17:20.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T03:17:20.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T03:17:20.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T03:17:20.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-10T03:17:20.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T03:17:20.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T03:17:21.001Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T03:17:21.022Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T03:17:21.121Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T03:17:21.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T03:17:21.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T03:17:21.184Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T03:17:21.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T03:17:21.219Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T03:17:21.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T03:17:21.248Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T03:17:21.267Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T03:17:21.288Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T03:17:21.305Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo [2022-05-10T03:17:21.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo [2022-05-10T03:17:21.339Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo [2022-05-10T03:17:21.360Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo [2022-05-10T03:17:21.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a9e15c [Pipeline] echo [2022-05-10T03:17:21.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T03:17:21.452Z] provisioning config files... [2022-05-10T03:17:21.466Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8080086176316468835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:17:21.782Z] ---> docker-login.sh [2022-05-10T03:17:21.782Z] nexus3.edgexfoundry.org:10001 [2022-05-10T03:17:22.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:22.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:22.044Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:22.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:22.044Z] [2022-05-10T03:17:22.044Z] Login Succeeded [2022-05-10T03:17:22.044Z] nexus3.edgexfoundry.org:10002 [2022-05-10T03:17:22.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:22.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:22.308Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:22.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:22.308Z] [2022-05-10T03:17:22.308Z] Login Succeeded [2022-05-10T03:17:22.308Z] nexus3.edgexfoundry.org:10003 [2022-05-10T03:17:22.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:22.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:22.568Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:22.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:22.568Z] [2022-05-10T03:17:22.568Z] Login Succeeded [2022-05-10T03:17:22.568Z] nexus3.edgexfoundry.org:10004 [2022-05-10T03:17:22.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:22.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:22.568Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:22.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:22.568Z] [2022-05-10T03:17:22.568Z] Login Succeeded [2022-05-10T03:17:22.568Z] docker.io [2022-05-10T03:17:22.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:23.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:23.140Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:23.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:23.140Z] [2022-05-10T03:17:23.140Z] Login Succeeded [2022-05-10T03:17:23.140Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T03:17:23.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T03:17:23.584Z] + git rev-list -1 --merges 5a9e15cd1247227b64b0b74a6bbae45e9a68e657~1..5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo [2022-05-10T03:17:23.700Z] -----------> git rev-list -1 --merges 5a9e15cd1247227b64b0b74a6bbae45e9a68e657~1..5a9e15cd1247227b64b0b74a6bbae45e9a68e657 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [2022-05-10T03:17:23.700Z] 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [false] [Pipeline] sh [2022-05-10T03:17:23.998Z] + git log --format=format:%s -1 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo [2022-05-10T03:17:24.013Z] ========================================================= [2022-05-10T03:17:24.014Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T03:17:24.014Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T03:17:24.371Z] + git log --format=format:%s -1 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo [2022-05-10T03:17:24.382Z] [semverPrep] GIT_COMMIT: 5a9e15cd1247227b64b0b74a6bbae45e9a68e657, Commit Message: Merge commit '9e5ff16ea29b888a79edc386c2a8af4882824547' into HEAD [Pipeline] echo [2022-05-10T03:17:24.392Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T03:17:24.910Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T03:17:24.910Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T03:17:24.910Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T03:17:24.910Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T03:17:24.910Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T03:17:24.910Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T03:17:24.910Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:17:25.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T03:17:25.283Z] [2022-05-10T03:17:25.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:17:25.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T03:17:25.595Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T03:17:25.595Z] 1fe172e4850f: Pulling fs layer [2022-05-10T03:17:25.595Z] caf521ccaac6: Pulling fs layer [2022-05-10T03:17:25.595Z] 3ead6fa29328: Pulling fs layer [2022-05-10T03:17:25.595Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T03:17:25.595Z] a8d5f1318db7: Pulling fs layer [2022-05-10T03:17:25.595Z] c427282e49a2: Pulling fs layer [2022-05-10T03:17:25.595Z] 1827001aaf11: Pulling fs layer [2022-05-10T03:17:25.595Z] 0714d37db230: Pulling fs layer [2022-05-10T03:17:25.595Z] ac28cf19c067: Pulling fs layer [2022-05-10T03:17:25.595Z] ca983d60f3e2: Pulling fs layer [2022-05-10T03:17:25.595Z] 9f894cec8388: Pulling fs layer [2022-05-10T03:17:25.595Z] 1827001aaf11: Waiting [2022-05-10T03:17:25.595Z] 0714d37db230: Waiting [2022-05-10T03:17:25.595Z] ac28cf19c067: Waiting [2022-05-10T03:17:25.595Z] ca983d60f3e2: Waiting [2022-05-10T03:17:25.595Z] 9f894cec8388: Waiting [2022-05-10T03:17:25.595Z] a8d5f1318db7: Waiting [2022-05-10T03:17:25.595Z] 5c2a1cbceb83: Waiting [2022-05-10T03:17:25.595Z] c427282e49a2: Waiting [2022-05-10T03:17:25.855Z] caf521ccaac6: Verifying Checksum [2022-05-10T03:17:25.855Z] 5c2a1cbceb83: Download complete [2022-05-10T03:17:25.855Z] a8d5f1318db7: Verifying Checksum [2022-05-10T03:17:25.855Z] a8d5f1318db7: Download complete [2022-05-10T03:17:26.117Z] c427282e49a2: Verifying Checksum [2022-05-10T03:17:26.117Z] c427282e49a2: Download complete [2022-05-10T03:17:26.117Z] 3ead6fa29328: Verifying Checksum [2022-05-10T03:17:26.117Z] 3ead6fa29328: Download complete [2022-05-10T03:17:26.117Z] 0714d37db230: Verifying Checksum [2022-05-10T03:17:26.117Z] 0714d37db230: Download complete [2022-05-10T03:17:26.117Z] ac28cf19c067: Verifying Checksum [2022-05-10T03:17:26.117Z] ac28cf19c067: Download complete [2022-05-10T03:17:26.117Z] ca983d60f3e2: Verifying Checksum [2022-05-10T03:17:26.117Z] ca983d60f3e2: Download complete [2022-05-10T03:17:26.117Z] 9f894cec8388: Download complete [2022-05-10T03:17:26.375Z] 1fe172e4850f: Verifying Checksum [2022-05-10T03:17:26.375Z] 1fe172e4850f: Download complete [2022-05-10T03:17:26.944Z] 1827001aaf11: Verifying Checksum [2022-05-10T03:17:26.944Z] 1827001aaf11: Download complete [2022-05-10T03:17:27.511Z] 1fe172e4850f: Pull complete [2022-05-10T03:17:27.511Z] caf521ccaac6: Pull complete [2022-05-10T03:17:28.079Z] 3ead6fa29328: Pull complete [2022-05-10T03:17:28.079Z] 5c2a1cbceb83: Pull complete [2022-05-10T03:17:28.339Z] a8d5f1318db7: Pull complete [2022-05-10T03:17:28.339Z] c427282e49a2: Pull complete [2022-05-10T03:17:30.253Z] 1827001aaf11: Pull complete [2022-05-10T03:17:30.253Z] 0714d37db230: Pull complete [2022-05-10T03:17:30.253Z] ac28cf19c067: Pull complete [2022-05-10T03:17:30.514Z] ca983d60f3e2: Pull complete [2022-05-10T03:17:30.514Z] 9f894cec8388: Pull complete [2022-05-10T03:17:30.514Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T03:17:30.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T03:17:30.514Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T03:17:30.583Z] prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container [2022-05-10T03:17:30.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T03:17:31.790Z] $ docker top ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba -eo pid,comm [2022-05-10T03:17:31.863Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T03:17:31.863Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T03:17:31.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T03:17:31.912Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T03:17:32.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T03:17:32.030Z] $ docker exec ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent [2022-05-10T03:17:32.176Z] SSH_AUTH_SOCK=/tmp/ssh-9aSsshz1sX8B/agent.34 [2022-05-10T03:17:32.176Z] SSH_AGENT_PID=41 [2022-05-10T03:17:32.185Z] Running ssh-add (command line suppressed) [2022-05-10T03:17:32.292Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_4073223660911039019.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_4073223660911039019.key) [2022-05-10T03:17:32.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T03:17:32.610Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T03:17:32.621Z] $ docker exec --env ******** --env ******** ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent -k [2022-05-10T03:17:32.720Z] unset SSH_AUTH_SOCK; [2022-05-10T03:17:32.720Z] unset SSH_AGENT_PID; [2022-05-10T03:17:32.720Z] echo Agent pid 41 killed; [2022-05-10T03:17:32.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T03:17:32.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T03:17:32.769Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T03:17:32.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T03:17:32.891Z] $ docker exec ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent [2022-05-10T03:17:33.033Z] SSH_AUTH_SOCK=/tmp/ssh-gheFt18EMG9R/agent.76 [2022-05-10T03:17:33.033Z] SSH_AGENT_PID=82 [2022-05-10T03:17:33.038Z] Running ssh-add (command line suppressed) [2022-05-10T03:17:33.138Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_6713391169593868093.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_6713391169593868093.key) [2022-05-10T03:17:33.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T03:17:33.455Z] + git semver init [2022-05-10T03:17:33.715Z] 2022-05-10 03:17:33,686 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T03:17:33.715Z] 2022-05-10 03:17:33,687 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver [2022-05-10T03:17:33.715Z] 2022-05-10 03:17:33,688 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver [2022-05-10T03:17:33.715Z] 2022-05-10 03:17:33,688 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378, universal_newlines=False, shell=None, istream=None) [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,487 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.git/info/exclude [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 with force:False [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,488 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,492 [execute] INFO git cat-file --batch-check [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,498 [execute] INFO git cat-file --batch [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T03:17:34.659Z] 2022-05-10 03:17:34,502 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 [2022-05-10T03:17:34.659Z] 0.0.0 [Pipeline] } [2022-05-10T03:17:34.665Z] $ docker exec --env ******** --env ******** ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent -k [2022-05-10T03:17:34.772Z] unset SSH_AUTH_SOCK; [2022-05-10T03:17:34.773Z] unset SSH_AGENT_PID; [2022-05-10T03:17:34.773Z] echo Agent pid 82 killed; [2022-05-10T03:17:34.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T03:17:35.101Z] + git semver [Pipeline] } [2022-05-10T03:17:35.376Z] $ docker stop --time=1 ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba [2022-05-10T03:17:36.710Z] $ docker rm -f ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T03:17:37.076Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T03:17:37.365Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T03:17:37.369Z] [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-05-10T03:17:37.574Z] provisioning config files... [2022-05-10T03:17:37.586Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8697643033440909421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:17:37.892Z] ---> docker-login.sh [2022-05-10T03:17:37.892Z] nexus3.edgexfoundry.org:10001 [2022-05-10T03:17:37.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:37.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:37.892Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:37.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:37.892Z] [2022-05-10T03:17:37.892Z] Login Succeeded [2022-05-10T03:17:37.892Z] nexus3.edgexfoundry.org:10002 [2022-05-10T03:17:37.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:38.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:38.153Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:38.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:38.153Z] [2022-05-10T03:17:38.153Z] Login Succeeded [2022-05-10T03:17:38.153Z] nexus3.edgexfoundry.org:10003 [2022-05-10T03:17:38.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:38.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:38.153Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:38.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:38.153Z] [2022-05-10T03:17:38.153Z] Login Succeeded [2022-05-10T03:17:38.153Z] nexus3.edgexfoundry.org:10004 [2022-05-10T03:17:38.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:38.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:38.414Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:38.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:38.414Z] [2022-05-10T03:17:38.414Z] Login Succeeded [2022-05-10T03:17:38.414Z] docker.io [2022-05-10T03:17:38.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:17:38.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:17:38.675Z] Configure a credential helper to remove this warning. See [2022-05-10T03:17:38.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:17:38.675Z] [2022-05-10T03:17:38.675Z] Login Succeeded [2022-05-10T03:17:38.675Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T03:17:38.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T03:17:38.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T03:17:38.769Z] ========================================================= [2022-05-10T03:17:38.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T03:17:38.769Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:17:39.081Z] + 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-05-10T03:17:39.081Z] Sending build context to Docker daemon 5.885MB [2022-05-10T03:17:39.081Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T03:17:39.081Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T03:17:39.081Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T03:17:39.081Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T03:17:39.081Z] 666ba61612fd: Pulling fs layer [2022-05-10T03:17:39.081Z] 8ed8ca486205: Pulling fs layer [2022-05-10T03:17:39.081Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T03:17:39.081Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T03:17:39.081Z] ca2b28591e48: Pulling fs layer [2022-05-10T03:17:39.081Z] a51346096db8: Pulling fs layer [2022-05-10T03:17:39.081Z] 22a0e8bec74d: Waiting [2022-05-10T03:17:39.081Z] ca2b28591e48: Waiting [2022-05-10T03:17:39.081Z] a51346096db8: Waiting [2022-05-10T03:17:39.081Z] 4fe6c5a15a65: Waiting [2022-05-10T03:17:39.081Z] daebc70d1ce1: Pulling fs layer [2022-05-10T03:17:39.081Z] 0e18a0eac166: Pulling fs layer [2022-05-10T03:17:39.081Z] daebc70d1ce1: Waiting [2022-05-10T03:17:39.081Z] 0e18a0eac166: Waiting [2022-05-10T03:17:39.081Z] 8ed8ca486205: Download complete [2022-05-10T03:17:39.081Z] 666ba61612fd: Download complete [2022-05-10T03:17:39.342Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T03:17:39.342Z] 22a0e8bec74d: Download complete [2022-05-10T03:17:39.342Z] ca2b28591e48: Verifying Checksum [2022-05-10T03:17:39.342Z] ca2b28591e48: Download complete [2022-05-10T03:17:39.342Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T03:17:39.342Z] 59bf1c3509f3: Download complete [2022-05-10T03:17:39.342Z] a51346096db8: Verifying Checksum [2022-05-10T03:17:39.342Z] a51346096db8: Download complete [2022-05-10T03:17:39.342Z] daebc70d1ce1: Verifying Checksum [2022-05-10T03:17:39.342Z] daebc70d1ce1: Download complete [2022-05-10T03:17:39.342Z] 59bf1c3509f3: Pull complete [2022-05-10T03:17:39.603Z] 666ba61612fd: Pull complete [2022-05-10T03:17:39.603Z] 8ed8ca486205: Pull complete [2022-05-10T03:17:39.865Z] 0e18a0eac166: Verifying Checksum [2022-05-10T03:17:39.865Z] 0e18a0eac166: Download complete [2022-05-10T03:17:40.124Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T03:17:40.124Z] 4fe6c5a15a65: Download complete [2022-05-10T03:17:44.323Z] 4fe6c5a15a65: Pull complete [2022-05-10T03:17:44.323Z] 22a0e8bec74d: Pull complete [2022-05-10T03:17:44.323Z] ca2b28591e48: Pull complete [2022-05-10T03:17:44.323Z] a51346096db8: Pull complete [2022-05-10T03:17:44.323Z] daebc70d1ce1: Pull complete [2022-05-10T03:17:46.258Z] 0e18a0eac166: Pull complete [2022-05-10T03:17:46.258Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T03:17:46.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T03:17:46.258Z] ---> f018257e8ee9 [2022-05-10T03:17:46.258Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T03:17:47.198Z] ---> Running in 5bd28b191fdd [2022-05-10T03:17:47.198Z] Removing intermediate container 5bd28b191fdd [2022-05-10T03:17:47.198Z] ---> 13dd922157ec [2022-05-10T03:17:47.198Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T03:17:47.198Z] ---> Running in 61365ed76ba0 [2022-05-10T03:17:47.198Z] Removing intermediate container 61365ed76ba0 [2022-05-10T03:17:47.198Z] ---> b88d6ffe58df [2022-05-10T03:17:47.199Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T03:17:47.457Z] ---> Running in 3d4cf1f83b53 [2022-05-10T03:17:48.025Z] Removing intermediate container 3d4cf1f83b53 [2022-05-10T03:17:48.025Z] ---> bc7386bd4093 [2022-05-10T03:17:48.025Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T03:17:48.025Z] ---> Running in dddfb378ccd9 [2022-05-10T03:17:48.285Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T03:17:49.222Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T03:17:49.482Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T03:17:49.482Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T03:17:49.482Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T03:17:49.742Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T03:17:49.742Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T03:17:49.742Z] OK: 224 MiB in 56 packages [2022-05-10T03:17:50.002Z] Removing intermediate container dddfb378ccd9 [2022-05-10T03:17:50.002Z] ---> a4e3900f90d6 [2022-05-10T03:17:50.002Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T03:17:50.262Z] ---> Running in f0146c14c559 [2022-05-10T03:17:50.262Z] Removing intermediate container f0146c14c559 [2022-05-10T03:17:50.262Z] ---> ee8b64af00c4 [2022-05-10T03:17:50.262Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T03:17:50.262Z] ---> e7a2332f25ea [2022-05-10T03:17:50.262Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T03:17:50.262Z] ---> Running in 1c64f82fc2c6 [2022-05-10T03:17:52.509Z] Still waiting to schedule task [2022-05-10T03:17:52.509Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-10T03:18:08.368Z] Removing intermediate container 1c64f82fc2c6 [2022-05-10T03:18:08.368Z] ---> 815463e0ccdf [2022-05-10T03:18:08.368Z] Step 10/12 : COPY . . [2022-05-10T03:18:08.368Z] ---> 174b29bae9a3 [2022-05-10T03:18:08.368Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T03:18:08.368Z] ---> Running in 501a0015508f [2022-05-10T03:18:08.368Z] Removing intermediate container 501a0015508f [2022-05-10T03:18:08.368Z] ---> c85f01d20696 [2022-05-10T03:18:08.368Z] Step 12/12 : RUN $MAKE [2022-05-10T03:18:08.368Z] ---> Running in ca31684b7fad [2022-05-10T03:18:08.368Z] noop [2022-05-10T03:18:08.368Z] Removing intermediate container ca31684b7fad [2022-05-10T03:18:08.368Z] ---> bb2b0eccc24d [2022-05-10T03:18:08.368Z] Successfully built bb2b0eccc24d [2022-05-10T03:18:08.368Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:18:08.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T03:18:08.663Z] . [Pipeline] withDockerContainer [2022-05-10T03:18:08.737Z] prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container [2022-05-10T03:18:08.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T03:18:09.175Z] $ docker top 93f4cb2c6fcaeec5ce658b4c03133f2eafa66396231f176350c73c892cf82989 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T03:18:09.527Z] + go version [2022-05-10T03:18:09.527Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T03:18:09.548Z] $ docker stop --time=1 93f4cb2c6fcaeec5ce658b4c03133f2eafa66396231f176350c73c892cf82989 [2022-05-10T03:18:10.874Z] $ docker rm -f 93f4cb2c6fcaeec5ce658b4c03133f2eafa66396231f176350c73c892cf82989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:18:11.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T03:18:11.287Z] . [Pipeline] withDockerContainer [2022-05-10T03:18:11.356Z] prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container [2022-05-10T03:18:11.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T03:18:11.756Z] $ docker top 63c21ff0999d6c63026b3761073d21cd051fb7a257fea65cb7843569943d2755 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T03:18:12.114Z] + make test [2022-05-10T03:18:12.114Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T03:18:12.374Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T03:18:22.388Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T03:18:22.388Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-05-10T03:18:22.388Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T03:18:29.047Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T03:18:33.256Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T03:18:33.256Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T03:18:33.256Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T03:18:33.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T03:18:33.295Z] $ docker stop --time=1 63c21ff0999d6c63026b3761073d21cd051fb7a257fea65cb7843569943d2755 [2022-05-10T03:18:34.952Z] $ docker rm -f 63c21ff0999d6c63026b3761073d21cd051fb7a257fea65cb7843569943d2755 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T03:18:35.413Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T03:18:35.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T03:18:36.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T03:18:36.454Z] + ls -al . [2022-05-10T03:18:36.454Z] total 180 [2022-05-10T03:18:36.454Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 03:18 . [2022-05-10T03:18:36.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:17 .. [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 03:17 .dockerignore [2022-05-10T03:18:36.454Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 03:17 .git [2022-05-10T03:18:36.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:17 .github [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 03:17 .gitignore [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 03:17 .golangci.yml [2022-05-10T03:18:36.454Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 03:17 .semver [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 03:17 Attribution.txt [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 03:17 CHANGELOG.md [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:17 Dockerfile [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 03:17 GOVERNANCE.md [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 03:17 Jenkinsfile [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 03:17 LICENSE [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:17 Makefile [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 03:17 OWNERS.md [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 03:17 README.md [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 03:17 VERSION [2022-05-10T03:18:36.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:17 bin [2022-05-10T03:18:36.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:17 cmd [2022-05-10T03:18:36.454Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 03:18 coverage.out [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 03:17 go.mod [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 03:17 go.sum [2022-05-10T03:18:36.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:17 internal [2022-05-10T03:18:36.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:17 mock [2022-05-10T03:18:36.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:17 snap [2022-05-10T03:18:36.454Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 03:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:18:36.762Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5a9e15cd1247227b64b0b74a6bbae45e9a68e657 --label arch=amd64 --label version=0.0.0 . [2022-05-10T03:18:36.762Z] Sending build context to Docker daemon 5.904MB [2022-05-10T03:18:36.762Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T03:18:36.762Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T03:18:36.762Z] ---> bb2b0eccc24d [2022-05-10T03:18:36.762Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T03:18:36.762Z] ---> Running in 91b5521a30de [2022-05-10T03:18:37.022Z] Removing intermediate container 91b5521a30de [2022-05-10T03:18:37.022Z] ---> 995900c44a12 [2022-05-10T03:18:37.022Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T03:18:37.022Z] ---> Running in fb1886eebcb8 [2022-05-10T03:18:37.022Z] Removing intermediate container fb1886eebcb8 [2022-05-10T03:18:37.022Z] ---> 5818e9f32f7a [2022-05-10T03:18:37.022Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T03:18:37.022Z] ---> Running in 9d04656dc97d [2022-05-10T03:18:37.594Z] Removing intermediate container 9d04656dc97d [2022-05-10T03:18:37.594Z] ---> 8daf7322ae28 [2022-05-10T03:18:37.594Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T03:18:37.594Z] ---> Running in 5b61a4ad62a5 [2022-05-10T03:18:37.854Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T03:18:38.797Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T03:18:39.057Z] OK: 224 MiB in 56 packages [2022-05-10T03:18:39.317Z] Removing intermediate container 5b61a4ad62a5 [2022-05-10T03:18:39.317Z] ---> 520d32e3d869 [2022-05-10T03:18:39.317Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T03:18:39.317Z] ---> Running in f73200cd24ca [2022-05-10T03:18:39.579Z] Removing intermediate container f73200cd24ca [2022-05-10T03:18:39.579Z] ---> 694763bded38 [2022-05-10T03:18:39.579Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T03:18:39.579Z] ---> 7bc229b756e9 [2022-05-10T03:18:39.579Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T03:18:39.579Z] ---> Running in b0331604ae67 [2022-05-10T03:18:40.148Z] Removing intermediate container b0331604ae67 [2022-05-10T03:18:40.148Z] ---> d1cb8969d135 [2022-05-10T03:18:40.148Z] Step 10/24 : COPY . . [2022-05-10T03:18:40.411Z] ---> 649d724a9352 [2022-05-10T03:18:40.411Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T03:18:40.673Z] ---> Running in d4c6624d205e [2022-05-10T03:18:40.673Z] Removing intermediate container d4c6624d205e [2022-05-10T03:18:40.673Z] ---> 728e47671846 [2022-05-10T03:18:40.673Z] Step 12/24 : RUN $MAKE [2022-05-10T03:18:40.673Z] ---> Running in 137cbb51baf3 [2022-05-10T03:18:40.934Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-10T03:19:02.894Z] Removing intermediate container 137cbb51baf3 [2022-05-10T03:19:02.895Z] ---> e8dbe185a927 [2022-05-10T03:19:02.895Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T03:19:02.895Z] 3.14: Pulling from library/alpine [2022-05-10T03:19:02.895Z] 8663204ce13b: Pulling fs layer [2022-05-10T03:19:02.895Z] error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652155740-VLUDbzoLSN2DeI7R%2FChFdWqDHy4%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [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-05-10T03:19:03.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T03:19:03.302Z] [2022-05-10T03:19:03.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:19:03.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T03:19:03.607Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T03:19:03.607Z] 5eb5b503b376: Pulling fs layer [2022-05-10T03:19:03.607Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T03:19:03.607Z] ec43610c2a17: Pulling fs layer [2022-05-10T03:19:03.607Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T03:19:03.607Z] 33b1e0a273af: Pulling fs layer [2022-05-10T03:19:03.607Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T03:19:03.607Z] 2f39f015ded8: Pulling fs layer [2022-05-10T03:19:03.607Z] 3a2ae6a8a46f: Waiting [2022-05-10T03:19:03.607Z] 33b1e0a273af: Waiting [2022-05-10T03:19:03.607Z] 5d3b04190fa2: Waiting [2022-05-10T03:19:03.872Z] 5c69ac0246d0: Download complete [2022-05-10T03:19:03.872Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T03:19:03.872Z] 3a2ae6a8a46f: Download complete [2022-05-10T03:19:03.872Z] ec43610c2a17: Verifying Checksum [2022-05-10T03:19:03.872Z] ec43610c2a17: Download complete [2022-05-10T03:19:03.872Z] 33b1e0a273af: Verifying Checksum [2022-05-10T03:19:03.872Z] 33b1e0a273af: Download complete [2022-05-10T03:19:03.872Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T03:19:03.872Z] 5d3b04190fa2: Download complete [2022-05-10T03:19:04.134Z] 5eb5b503b376: Verifying Checksum [2022-05-10T03:19:04.134Z] 5eb5b503b376: Download complete [2022-05-10T03:19:04.702Z] 2f39f015ded8: Verifying Checksum [2022-05-10T03:19:04.702Z] 2f39f015ded8: Download complete [2022-05-10T03:19:05.269Z] 5eb5b503b376: Pull complete [2022-05-10T03:19:05.269Z] 5c69ac0246d0: Pull complete [2022-05-10T03:19:05.837Z] ec43610c2a17: Pull complete [2022-05-10T03:19:05.837Z] 3a2ae6a8a46f: Pull complete [2022-05-10T03:19:06.095Z] 33b1e0a273af: Pull complete [2022-05-10T03:19:06.095Z] 5d3b04190fa2: Pull complete [2022-05-10T03:19:10.291Z] 2f39f015ded8: Pull complete [2022-05-10T03:19:10.291Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T03:19:10.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T03:19:10.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T03:19:10.361Z] prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container [2022-05-10T03:19:10.409Z] $ 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-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T03:19:12.063Z] $ docker top 42556208a675e1c55d7e563af6d05faf670edf22e23f920bc83bf7cf54493691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:19:12.511Z] ---> job-cost.sh [2022-05-10T03:19:12.511Z] lf-activate-venv: SKIPPING [2022-05-10T03:19:12.511Z] INFO: No Stack... [2022-05-10T03:19:12.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T03:19:13.340Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T03:19:13.637Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/cost.csv [2022-05-10T03:19:13.638Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T03:19:13.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [2022-05-10T03:19:13.660Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] did not exist. Created. [2022-05-10T03:19:13.660Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T03:19:14.019Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T03:19:14.040Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T03:19:14.050Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T03:19:14.110Z] $ docker stop --time=1 42556208a675e1c55d7e563af6d05faf670edf22e23f920bc83bf7cf54493691 [2022-05-10T03:19:15.267Z] $ docker rm -f 42556208a675e1c55d7e563af6d05faf670edf22e23f920bc83bf7cf54493691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T03:19:15.363Z] Failed in branch amd64 [2022-05-10T03:19:29.954Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44821 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] ws [2022-05-10T03:19:29.968Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-05-10T03:19:30.461Z] Selected Git installation does not exist. Using Default [2022-05-10T03:19:30.461Z] The recommended git tool is: NONE [2022-05-10T03:19:36.544Z] using credential edgex-jenkins-ssh [2022-05-10T03:19:36.563Z] Cloning the remote Git repository [2022-05-10T03:19:36.622Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T03:19:36.695Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-05-10T03:19:36.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T03:19:36.767Z] > git --version # timeout=10 [2022-05-10T03:19:36.788Z] > git --version # 'git version 2.25.1' [2022-05-10T03:19:36.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T03:19:36.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T03:19:38.772Z] Merging remotes/origin/main commit 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 24c9eb79c62f7b0ed12f25514949fa6e13072b8e [2022-05-10T03:19:39.057Z] Merge succeeded, producing 2653758dea4219ff41005db205ea611b60315acb [2022-05-10T03:19:39.058Z] Checking out Revision 2653758dea4219ff41005db205ea611b60315acb (PR-378) [2022-05-10T03:19:38.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-10T03:19:38.100Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T03:19:38.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-10T03:19:38.169Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T03:19:38.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T03:19:38.180Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T03:19:38.797Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T03:19:38.840Z] > git checkout -f 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 [2022-05-10T03:19:38.935Z] > git remote # timeout=10 [2022-05-10T03:19:38.954Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T03:19:38.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T03:19:38.980Z] > git merge 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 [2022-05-10T03:19:39.043Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T03:19:39.070Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T03:19:39.086Z] > git checkout -f 2653758dea4219ff41005db205ea611b60315acb # timeout=10 [2022-05-10T03:19:43.319Z] Commit message: "Merge commit '9e5ff16ea29b888a79edc386c2a8af4882824547' into HEAD" [2022-05-10T03:19:43.332Z] > git rev-list --no-walk 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T03:19:44.302Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T03:19:44.302Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T03:19:44.302Z] Dload Upload Total Spent Left Speed [2022-05-10T03:19:44.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh [2022-05-10T03:19:44.862Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T03:19:45.207Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T03:19:45.207Z] sudo tee /etc/docker/daemon.new [2022-05-10T03:19:45.207Z] { [2022-05-10T03:19:45.207Z] "registry-mirrors": [ [2022-05-10T03:19:45.207Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T03:19:45.207Z] ], [2022-05-10T03:19:45.207Z] "bip": "10.250.0.254/24", [2022-05-10T03:19:45.207Z] "hosts": [ [2022-05-10T03:19:45.207Z] "tcp://0.0.0.0:5555", [2022-05-10T03:19:45.207Z] "unix:///var/run/docker.sock" [2022-05-10T03:19:45.207Z] ], [2022-05-10T03:19:45.207Z] "mtu": 1458, [2022-05-10T03:19:45.207Z] "selinux-enabled": true, [2022-05-10T03:19:45.207Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T03:19:45.207Z] } [Pipeline] sh [2022-05-10T03:19:45.571Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T03:19:45.995Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T03:20:04.381Z] provisioning config files... [2022-05-10T03:20:04.407Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config4455846592367878590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:20:04.769Z] ---> docker-login.sh [2022-05-10T03:20:04.769Z] nexus3.edgexfoundry.org:10001 [2022-05-10T03:20:05.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:20:05.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:20:05.647Z] Configure a credential helper to remove this warning. See [2022-05-10T03:20:05.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:20:05.647Z] [2022-05-10T03:20:05.647Z] Login Succeeded [2022-05-10T03:20:05.647Z] nexus3.edgexfoundry.org:10002 [2022-05-10T03:20:05.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:20:06.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:20:06.193Z] Configure a credential helper to remove this warning. See [2022-05-10T03:20:06.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:20:06.193Z] [2022-05-10T03:20:06.193Z] Login Succeeded [2022-05-10T03:20:06.193Z] nexus3.edgexfoundry.org:10003 [2022-05-10T03:20:06.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:20:06.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:20:06.468Z] Configure a credential helper to remove this warning. See [2022-05-10T03:20:06.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:20:06.468Z] [2022-05-10T03:20:06.468Z] Login Succeeded [2022-05-10T03:20:06.468Z] nexus3.edgexfoundry.org:10004 [2022-05-10T03:20:07.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:20:07.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:20:07.070Z] Configure a credential helper to remove this warning. See [2022-05-10T03:20:07.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:20:07.070Z] [2022-05-10T03:20:07.070Z] Login Succeeded [2022-05-10T03:20:07.070Z] docker.io [2022-05-10T03:20:07.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T03:20:07.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T03:20:07.949Z] Configure a credential helper to remove this warning. See [2022-05-10T03:20:07.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T03:20:07.949Z] [2022-05-10T03:20:07.949Z] Login Succeeded [2022-05-10T03:20:07.949Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T03:20:07.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T03:20:08.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T03:20:08.505Z] ========================================================= [2022-05-10T03:20:08.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T03:20:08.505Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:20:08.886Z] + 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-05-10T03:20:09.160Z] Sending build context to Docker daemon 3.063MB [2022-05-10T03:20:09.160Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T03:20:09.161Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T03:20:09.435Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T03:20:09.435Z] 9b3977197b4f: Pulling fs layer [2022-05-10T03:20:09.435Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T03:20:09.435Z] 94645a83ff95: Pulling fs layer [2022-05-10T03:20:09.435Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T03:20:09.435Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T03:20:09.435Z] 3096ccb668a1: Pulling fs layer [2022-05-10T03:20:09.435Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T03:20:09.435Z] a4caa8a26152: Pulling fs layer [2022-05-10T03:20:09.435Z] 3f3a8bcf1eab: Waiting [2022-05-10T03:20:09.435Z] 0c92f367c5e7: Waiting [2022-05-10T03:20:09.435Z] 3096ccb668a1: Waiting [2022-05-10T03:20:09.435Z] e8cf19c19ddd: Waiting [2022-05-10T03:20:09.435Z] a4caa8a26152: Waiting [2022-05-10T03:20:09.435Z] 94645a83ff95: Verifying Checksum [2022-05-10T03:20:09.435Z] 94645a83ff95: Download complete [2022-05-10T03:20:09.435Z] 1a89e8eeedd5: Download complete [2022-05-10T03:20:09.435Z] 0c92f367c5e7: Download complete [2022-05-10T03:20:09.435Z] 9b3977197b4f: Verifying Checksum [2022-05-10T03:20:09.435Z] 9b3977197b4f: Download complete [2022-05-10T03:20:09.435Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T03:20:09.435Z] e8cf19c19ddd: Download complete [2022-05-10T03:20:09.435Z] 3096ccb668a1: Verifying Checksum [2022-05-10T03:20:09.435Z] 3096ccb668a1: Download complete [2022-05-10T03:20:10.421Z] 9b3977197b4f: Pull complete [2022-05-10T03:20:10.704Z] 1a89e8eeedd5: Pull complete [2022-05-10T03:20:11.312Z] 94645a83ff95: Pull complete [2022-05-10T03:20:11.593Z] a4caa8a26152: Verifying Checksum [2022-05-10T03:20:11.593Z] a4caa8a26152: Download complete [2022-05-10T03:20:12.192Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T03:20:12.192Z] 3f3a8bcf1eab: Download complete [2022-05-10T03:20:24.599Z] 3f3a8bcf1eab: Pull complete [2022-05-10T03:20:24.599Z] 0c92f367c5e7: Pull complete [2022-05-10T03:20:24.599Z] 3096ccb668a1: Pull complete [2022-05-10T03:20:24.599Z] e8cf19c19ddd: Pull complete [2022-05-10T03:20:31.348Z] a4caa8a26152: Pull complete [2022-05-10T03:20:31.349Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T03:20:31.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T03:20:31.349Z] ---> 725f1c02e7f9 [2022-05-10T03:20:31.349Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T03:20:31.627Z] ---> Running in 8a7b127058d2 [2022-05-10T03:20:31.905Z] Removing intermediate container 8a7b127058d2 [2022-05-10T03:20:31.905Z] ---> de847fa62e7c [2022-05-10T03:20:31.905Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T03:20:31.905Z] ---> Running in 84f800a69c16 [2022-05-10T03:20:32.183Z] Removing intermediate container 84f800a69c16 [2022-05-10T03:20:32.183Z] ---> a16ee7c9ef89 [2022-05-10T03:20:32.183Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T03:20:32.183Z] ---> Running in 0ff43ef0ff00 [2022-05-10T03:20:34.171Z] Removing intermediate container 0ff43ef0ff00 [2022-05-10T03:20:34.171Z] ---> 85ba909275e3 [2022-05-10T03:20:34.171Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T03:20:34.171Z] ---> Running in 0448cdb792cc [2022-05-10T03:20:35.157Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T03:20:36.152Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T03:20:36.766Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T03:20:37.039Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T03:20:37.039Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T03:20:37.316Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T03:20:37.316Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T03:20:37.316Z] OK: 224 MiB in 56 packages [2022-05-10T03:20:38.300Z] Removing intermediate container 0448cdb792cc [2022-05-10T03:20:38.300Z] ---> 70ea17409bae [2022-05-10T03:20:38.300Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T03:20:38.582Z] ---> Running in 57958e457202 [2022-05-10T03:20:38.855Z] Removing intermediate container 57958e457202 [2022-05-10T03:20:38.855Z] ---> 02a1a251025d [2022-05-10T03:20:38.855Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T03:20:39.131Z] ---> 03875ff3a4f6 [2022-05-10T03:20:39.131Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T03:20:39.409Z] ---> Running in 2c33b1cf4cd8 [2022-05-10T03:21:26.441Z] Removing intermediate container 2c33b1cf4cd8 [2022-05-10T03:21:26.441Z] ---> 89f107cc889b [2022-05-10T03:21:26.441Z] Step 10/12 : COPY . . [2022-05-10T03:21:26.441Z] ---> 64498025873f [2022-05-10T03:21:26.441Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T03:21:26.441Z] ---> Running in 335573fb1ea0 [2022-05-10T03:21:26.441Z] Removing intermediate container 335573fb1ea0 [2022-05-10T03:21:26.441Z] ---> 4764bc667ecf [2022-05-10T03:21:26.441Z] Step 12/12 : RUN $MAKE [2022-05-10T03:21:26.441Z] ---> Running in 3c4ac9b04c06 [2022-05-10T03:21:26.441Z] noop [2022-05-10T03:21:26.441Z] Removing intermediate container 3c4ac9b04c06 [2022-05-10T03:21:26.441Z] ---> a0ae70f9bf1c [2022-05-10T03:21:26.441Z] Successfully built a0ae70f9bf1c [2022-05-10T03:21:26.441Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:21:26.785Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T03:21:26.785Z] . [Pipeline] withDockerContainer [2022-05-10T03:21:27.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-44821 does not seem to be running inside a container [2022-05-10T03:21:27.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T03:21:28.478Z] $ docker top 101c9c2515da203a7e54510123a24ca86a4ba0311816e16871e7fb767a61d36b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T03:21:29.393Z] + go version [2022-05-10T03:21:29.394Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T03:21:29.423Z] $ docker stop --time=1 101c9c2515da203a7e54510123a24ca86a4ba0311816e16871e7fb767a61d36b [2022-05-10T03:21:31.077Z] $ docker rm -f 101c9c2515da203a7e54510123a24ca86a4ba0311816e16871e7fb767a61d36b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:21:31.710Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T03:21:31.710Z] . [Pipeline] withDockerContainer [2022-05-10T03:21:31.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-44821 does not seem to be running inside a container [2022-05-10T03:21:32.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T03:21:33.316Z] $ docker top 89de7a03480751cdf6a60514896c4f1f081d112a951c3f3350b43603d7aef0ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T03:21:34.243Z] + make test [2022-05-10T03:21:34.243Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T03:21:35.687Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T03:22:57.540Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T03:22:57.540Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-05-10T03:22:57.540Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T03:22:57.540Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T03:22:57.540Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T03:23:15.929Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T03:23:15.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T03:23:15.929Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T03:23:18.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T03:23:18.608Z] $ docker stop --time=1 89de7a03480751cdf6a60514896c4f1f081d112a951c3f3350b43603d7aef0ca [2022-05-10T03:23:20.352Z] $ docker rm -f 89de7a03480751cdf6a60514896c4f1f081d112a951c3f3350b43603d7aef0ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T03:23:21.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T03:23:21.306Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T03:23:21.767Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T03:23:22.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T03:23:22.505Z] + ls -al . [2022-05-10T03:23:22.505Z] total 176 [2022-05-10T03:23:22.505Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 03:23 . [2022-05-10T03:23:22.505Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:19 .. [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 03:19 .dockerignore [2022-05-10T03:23:22.505Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 03:19 .git [2022-05-10T03:23:22.505Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:19 .github [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 03:19 .gitignore [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 03:19 .golangci.yml [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 03:19 Attribution.txt [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 03:19 CHANGELOG.md [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:19 Dockerfile [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 03:19 GOVERNANCE.md [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 03:19 Jenkinsfile [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 03:19 LICENSE [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:19 Makefile [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 03:19 OWNERS.md [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 03:19 README.md [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 03:17 VERSION [2022-05-10T03:23:22.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:19 bin [2022-05-10T03:23:22.505Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:19 cmd [2022-05-10T03:23:22.505Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 03:22 coverage.out [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 03:19 go.mod [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 03:19 go.sum [2022-05-10T03:23:22.505Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:19 internal [2022-05-10T03:23:22.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:19 mock [2022-05-10T03:23:22.505Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:19 snap [2022-05-10T03:23:22.505Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 03:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:23:22.858Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2653758dea4219ff41005db205ea611b60315acb --label arch=arm64 --label version=0.0.0 . [2022-05-10T03:23:23.145Z] Sending build context to Docker daemon 3.081MB [2022-05-10T03:23:23.145Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T03:23:23.145Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T03:23:23.145Z] ---> a0ae70f9bf1c [2022-05-10T03:23:23.145Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T03:23:23.420Z] ---> Running in 1f38a56a5a51 [2022-05-10T03:23:23.694Z] Removing intermediate container 1f38a56a5a51 [2022-05-10T03:23:23.694Z] ---> 5a7a14d53a93 [2022-05-10T03:23:23.694Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T03:23:23.694Z] ---> Running in 4e5ecfe92b52 [2022-05-10T03:23:23.984Z] Removing intermediate container 4e5ecfe92b52 [2022-05-10T03:23:23.985Z] ---> edec663eb4b5 [2022-05-10T03:23:23.985Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T03:23:24.261Z] ---> Running in e20b98939538 [2022-05-10T03:23:25.716Z] Removing intermediate container e20b98939538 [2022-05-10T03:23:25.716Z] ---> 2d0e6600d209 [2022-05-10T03:23:25.716Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T03:23:25.716Z] ---> Running in ea6eed90fe23 [2022-05-10T03:23:26.699Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T03:23:27.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T03:23:28.667Z] OK: 224 MiB in 56 packages [2022-05-10T03:23:29.273Z] Removing intermediate container ea6eed90fe23 [2022-05-10T03:23:29.273Z] ---> fafee5de0da6 [2022-05-10T03:23:29.273Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T03:23:29.273Z] ---> Running in 2f10106fa31c [2022-05-10T03:23:29.549Z] Removing intermediate container 2f10106fa31c [2022-05-10T03:23:29.549Z] ---> 4e4d33446900 [2022-05-10T03:23:29.549Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T03:23:30.150Z] ---> cc2d5c0c5971 [2022-05-10T03:23:30.150Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T03:23:30.150Z] ---> Running in a473c3d9eb47 [2022-05-10T03:23:32.138Z] Removing intermediate container a473c3d9eb47 [2022-05-10T03:23:32.138Z] ---> 319bafe2772f [2022-05-10T03:23:32.138Z] Step 10/24 : COPY . . [2022-05-10T03:23:33.125Z] ---> 0a98a7a679d5 [2022-05-10T03:23:33.125Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T03:23:33.125Z] ---> Running in a960b00588ca [2022-05-10T03:23:33.125Z] Removing intermediate container a960b00588ca [2022-05-10T03:23:33.125Z] ---> ddc6991efc70 [2022-05-10T03:23:33.125Z] Step 12/24 : RUN $MAKE [2022-05-10T03:23:33.411Z] ---> Running in 237cf64a77a2 [2022-05-10T03:23:34.398Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-10T03:25:41.283Z] Removing intermediate container 237cf64a77a2 [2022-05-10T03:25:41.283Z] ---> 792e52f36aef [2022-05-10T03:25:41.283Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T03:25:41.283Z] 3.14: Pulling from library/alpine [2022-05-10T03:25:41.283Z] 455c02918c45: Pulling fs layer [2022-05-10T03:25:41.283Z] 455c02918c45: Verifying Checksum [2022-05-10T03:25:41.283Z] 455c02918c45: Download complete [2022-05-10T03:25:41.283Z] 455c02918c45: Pull complete [2022-05-10T03:25:41.283Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T03:25:41.283Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T03:25:41.283Z] ---> ac73e934f311 [2022-05-10T03:25:41.283Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-10T03:25:41.283Z] ---> Running in 8ddb440999bc [2022-05-10T03:25:41.283Z] Removing intermediate container 8ddb440999bc [2022-05-10T03:25:41.283Z] ---> 8ef920b316b8 [2022-05-10T03:25:41.283Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T03:25:41.283Z] ---> Running in fccca08d157d [2022-05-10T03:25:41.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T03:25:41.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T03:25:41.283Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T03:25:41.283Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T03:25:41.283Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T03:25:41.283Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T03:25:41.283Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T03:25:41.283Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T03:25:41.283Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T03:25:41.283Z] OK: 8 MiB in 20 packages [2022-05-10T03:25:41.283Z] Removing intermediate container fccca08d157d [2022-05-10T03:25:41.283Z] ---> f2d91aff0b75 [2022-05-10T03:25:41.283Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-10T03:25:41.283Z] ---> 1f883458932a [2022-05-10T03:25:41.283Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-10T03:25:41.283Z] ---> 525f67c679f2 [2022-05-10T03:25:41.283Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-10T03:25:41.283Z] ---> 0ea053ab94d8 [2022-05-10T03:25:41.283Z] Step 19/24 : EXPOSE 59982 [2022-05-10T03:25:41.283Z] ---> Running in 91399fa5ca18 [2022-05-10T03:25:41.283Z] Removing intermediate container 91399fa5ca18 [2022-05-10T03:25:41.283Z] ---> 9a90b3a2d2de [2022-05-10T03:25:41.283Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-10T03:25:41.283Z] ---> Running in c51228fc2fff [2022-05-10T03:25:41.283Z] Removing intermediate container c51228fc2fff [2022-05-10T03:25:41.283Z] ---> 1436358295cf [2022-05-10T03:25:41.283Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T03:25:41.283Z] ---> Running in a30be516fd90 [2022-05-10T03:25:41.283Z] Removing intermediate container a30be516fd90 [2022-05-10T03:25:41.283Z] ---> ad7edd06d25f [2022-05-10T03:25:41.283Z] Step 22/24 : LABEL arch=arm64 [2022-05-10T03:25:41.283Z] ---> Running in 4494166ae83c [2022-05-10T03:25:41.283Z] Removing intermediate container 4494166ae83c [2022-05-10T03:25:41.283Z] ---> f2d177a5a864 [2022-05-10T03:25:41.283Z] Step 23/24 : LABEL git_sha=2653758dea4219ff41005db205ea611b60315acb [2022-05-10T03:25:41.283Z] ---> Running in 97fd5a7e2b81 [2022-05-10T03:25:41.283Z] Removing intermediate container 97fd5a7e2b81 [2022-05-10T03:25:41.283Z] ---> f1b49ab27471 [2022-05-10T03:25:41.283Z] Step 24/24 : LABEL version=0.0.0 [2022-05-10T03:25:41.283Z] ---> Running in a6c2db0524a2 [2022-05-10T03:25:41.283Z] Removing intermediate container a6c2db0524a2 [2022-05-10T03:25:41.283Z] ---> 4f8afa02f1bb [2022-05-10T03:25:41.283Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T03:25:41.283Z] Successfully built 4f8afa02f1bb [2022-05-10T03:25:41.283Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:25:41.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T03:25:41.757Z] [2022-05-10T03:25:41.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:25:42.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T03:25:42.108Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T03:25:42.108Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T03:25:42.108Z] 04944245beec: Pulling fs layer [2022-05-10T03:25:42.108Z] 699f458cf7ca: Pulling fs layer [2022-05-10T03:25:42.108Z] 765212b225bb: Pulling fs layer [2022-05-10T03:25:42.108Z] f23df028b6ca: Pulling fs layer [2022-05-10T03:25:42.108Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T03:25:42.108Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T03:25:42.108Z] 765212b225bb: Waiting [2022-05-10T03:25:42.108Z] f23df028b6ca: Waiting [2022-05-10T03:25:42.108Z] d65c8cfc05b1: Waiting [2022-05-10T03:25:42.108Z] 2437ff75d9bd: Waiting [2022-05-10T03:25:42.382Z] 04944245beec: Verifying Checksum [2022-05-10T03:25:42.382Z] 04944245beec: Download complete [2022-05-10T03:25:42.382Z] 765212b225bb: Verifying Checksum [2022-05-10T03:25:42.382Z] 765212b225bb: Download complete [2022-05-10T03:25:42.382Z] f23df028b6ca: Download complete [2022-05-10T03:25:42.382Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T03:25:42.382Z] d65c8cfc05b1: Download complete [2022-05-10T03:25:42.382Z] 699f458cf7ca: Verifying Checksum [2022-05-10T03:25:42.382Z] 699f458cf7ca: Download complete [2022-05-10T03:25:42.978Z] 8998bd30e6a1: Download complete [2022-05-10T03:25:44.967Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T03:25:44.967Z] 2437ff75d9bd: Download complete [2022-05-10T03:25:46.963Z] 8998bd30e6a1: Pull complete [2022-05-10T03:25:47.242Z] 04944245beec: Pull complete [2022-05-10T03:25:48.686Z] 699f458cf7ca: Pull complete [2022-05-10T03:25:48.959Z] 765212b225bb: Pull complete [2022-05-10T03:25:49.942Z] f23df028b6ca: Pull complete [2022-05-10T03:25:49.942Z] d65c8cfc05b1: Pull complete [2022-05-10T03:26:05.066Z] 2437ff75d9bd: Pull complete [2022-05-10T03:26:05.067Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T03:26:05.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T03:26:05.067Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T03:26:05.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-44821 does not seem to be running inside a container [2022-05-10T03:26:05.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T03:26:08.021Z] $ docker top 50d2ddb95307363fb2f95d75e0a6484c2a1af431ab1eb25fcb1fc882963f9a88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:08.950Z] ---> job-cost.sh [2022-05-10T03:26:08.950Z] lf-activate-venv: SKIPPING [2022-05-10T03:26:08.950Z] INFO: No Stack... [2022-05-10T03:26:09.225Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T03:26:10.208Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T03:26:10.885Z] + cut -d, -f6 [2022-05-10T03:26:10.885Z] + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [Pipeline] lock [2022-05-10T03:26:10.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [2022-05-10T03:26:10.964Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] did not exist. Created. [2022-05-10T03:26:10.964Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T03:26:11.661Z] /w/workspace/device-mqtt-go/3@tmp/durable-1c0af98c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T03:26:12.351Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T03:26:12.383Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T03:26:12.443Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T03:26:12.451Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T03:26:12.478Z] $ docker stop --time=1 50d2ddb95307363fb2f95d75e0a6484c2a1af431ab1eb25fcb1fc882963f9a88 [2022-05-10T03:26:13.991Z] $ docker rm -f 50d2ddb95307363fb2f95d75e0a6484c2a1af431ab1eb25fcb1fc882963f9a88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-10T03:26:15.223Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives ] [2022-05-10T03:26:15.223Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives [2022-05-10T03:26:15.223Z] total 16 [2022-05-10T03:26:15.223Z] drwxr-xr-x 3 root root 4096 May 10 03:19 . [2022-05-10T03:26:15.223Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 03:19 .. [2022-05-10T03:26:15.223Z] drwxr-xr-x 2 root root 4096 May 10 03:19 cost [2022-05-10T03:26:15.223Z] -rw-r--r-- 1 root root 85 May 10 03:19 cost.csv [2022-05-10T03:26:15.223Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives [2022-05-10T03:26:15.223Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives [2022-05-10T03:26:15.223Z] total 16 [2022-05-10T03:26:15.223Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 03:19 . [2022-05-10T03:26:15.223Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 03:19 .. [2022-05-10T03:26:15.223Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 03:19 cost [2022-05-10T03:26:15.223Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:15.518Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:16.386Z] ---> package-listing.sh [2022-05-10T03:26:16.386Z] ++ facter osfamily [2022-05-10T03:26:16.386Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T03:26:16.646Z] + OS_FAMILY=debian [2022-05-10T03:26:16.646Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-378 [2022-05-10T03:26:16.646Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T03:26:16.646Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T03:26:16.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T03:26:16.646Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T03:26:16.646Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' [2022-05-10T03:26:16.646Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T03:26:16.646Z] + case "${OS_FAMILY}" in [2022-05-10T03:26:16.646Z] + dpkg -l [2022-05-10T03:26:16.646Z] + grep '^ii' [2022-05-10T03:26:16.646Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T03:26:16.646Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T03:26:16.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T03:26:16.646Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' [2022-05-10T03:26:16.646Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [2022-05-10T03:26:16.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [Pipeline] echo [2022-05-10T03:26:16.659Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T03:26:16.945Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T03:26:17.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T03:26:17.508Z] . [Pipeline] withDockerContainer [2022-05-10T03:26:17.585Z] prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container [2022-05-10T03:26:17.635Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-378/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-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T03:26:17.879Z] $ docker top b6f94d87caff783224ba312929616bc19f2dd44eb38f708ffa36e11a95fc7ae9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T03:26:18.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T03:26:18.513Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T03:26:18.809Z] + ls /var/log/sa-host [2022-05-10T03:26:18.809Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T03:26:19.119Z] provisioning config files... [2022-05-10T03:26:19.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config6322964355619612183tmp [Pipeline] { [Pipeline] echo [2022-05-10T03:26:19.160Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:19.453Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T03:26:19.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:19.821Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T03:26:19.832Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:20.129Z] ---> sudo-logs.sh [2022-05-10T03:26:20.129Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T03:26:20.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:20.461Z] ---> job-cost.sh [2022-05-10T03:26:20.461Z] lf-activate-venv: SKIPPING [2022-05-10T03:26:20.461Z] DEBUG: total: 0.2199999988079071 [2022-05-10T03:26:20.461Z] INFO: Retrieving Stack Cost... [2022-05-10T03:26:21.036Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T03:26:21.298Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T03:26:21.313Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T03:26:21.620Z] ---> logs-deploy.sh [2022-05-10T03:26:21.620Z] lf-activate-venv: SKIPPING [2022-05-10T03:26:21.620Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-378/3 [2022-05-10T03:26:21.620Z] INFO: archiving workspace using pattern(s): [2022-05-10T03:26:22.563Z] Archives upload complete. [2022-05-10T03:26:22.563Z] INFO: archiving logs to Nexus