Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6625815c83e577f6d02f6bfa2e8bdaa15db7def2+6a0d17f3443cfc2038c22736989c6b24159166ee (4289ccd8ea05cea349ec627e82f1ce5bcf739434) 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-ssh11272163569014094739.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh8313733508438385007.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-355/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-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9226115690347152310.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh18419669998600705306.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-355/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-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15963359418930309306.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10889 in /w/workspace/gexfoundry_device-mqtt-go_PR-355 [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-355 # 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 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 6625815c83e577f6d02f6bfa2e8bdaa15db7def2 Merge succeeded, producing 8f1c147e19824b7ace11e86845414c39541004ad Checking out Revision 8f1c147e19824b7ace11e86845414c39541004ad (PR-355) > 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/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6625815c83e577f6d02f6bfa2e8bdaa15db7def2 # 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 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f1c147e19824b7ace11e86845414c39541004ad # timeout=10 Commit message: "Merge commit '6a0d17f3443cfc2038c22736989c6b24159166ee' into HEAD" > git rev-list --no-walk 6625815c83e577f6d02f6bfa2e8bdaa15db7def2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T03:18:30.966Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T03:18:31.031Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T03:18:31.052Z] ========================================================= [2022-04-06T03:18:31.053Z] EdgeX Global Pipelines Version Info [2022-04-06T03:18:31.053Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:18:31.856Z] ------------------- [2022-04-06T03:18:31.856Z] stable info: [2022-04-06T03:18:31.856Z] ------------------- [2022-04-06T03:18:31.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T03:18:31.856Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T03:18:31.856Z] Message: update stable to v1.0.221 [2022-04-06T03:18:32.428Z] ------------------- [2022-04-06T03:18:32.428Z] experimental info: [2022-04-06T03:18:32.428Z] ------------------- [2022-04-06T03:18:32.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T03:18:32.428Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T03:18:32.428Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T03:18:32.589Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-06T03:18:32.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-06T03:18:32.623Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T03:18:32.637Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T03:18:32.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T03:18:32.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T03:18:32.696Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T03:18:32.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T03:18:32.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T03:18:32.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T03:18:32.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T03:18:32.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-06T03:18:32.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T03:18:32.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T03:18:32.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T03:18:32.852Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T03:18:32.873Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T03:18:32.889Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T03:18:32.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T03:18:32.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T03:18:32.944Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T03:18:32.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T03:18:32.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T03:18:32.996Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T03:18:33.014Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T03:18:33.033Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T03:18:33.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo [2022-04-06T03:18:33.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo [2022-04-06T03:18:33.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo [2022-04-06T03:18:33.104Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f1c147e19824b7ace11e86845414c39541004ad [Pipeline] echo [2022-04-06T03:18:33.128Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f1c147 [Pipeline] echo [2022-04-06T03:18:33.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:18:33.199Z] provisioning config files... [2022-04-06T03:18:33.212Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/config6964075879459414457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:18:33.529Z] ---> docker-login.sh [2022-04-06T03:18:33.529Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:18:33.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:33.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:33.793Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:33.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:33.793Z] [2022-04-06T03:18:33.793Z] Login Succeeded [2022-04-06T03:18:33.793Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:18:34.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:34.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:34.055Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:34.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:34.055Z] [2022-04-06T03:18:34.055Z] Login Succeeded [2022-04-06T03:18:34.055Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:18:34.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:34.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:34.317Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:34.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:34.317Z] [2022-04-06T03:18:34.317Z] Login Succeeded [2022-04-06T03:18:34.317Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:18:34.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:34.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:34.317Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:34.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:34.317Z] [2022-04-06T03:18:34.317Z] Login Succeeded [2022-04-06T03:18:34.317Z] docker.io [2022-04-06T03:18:34.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:34.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:34.848Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:34.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:34.848Z] [2022-04-06T03:18:34.848Z] Login Succeeded [2022-04-06T03:18:34.848Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:18:34.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T03:18:35.248Z] + git rev-list -1 --merges 8f1c147e19824b7ace11e86845414c39541004ad~1..8f1c147e19824b7ace11e86845414c39541004ad [Pipeline] echo [2022-04-06T03:18:35.364Z] -----------> git rev-list -1 --merges 8f1c147e19824b7ace11e86845414c39541004ad~1..8f1c147e19824b7ace11e86845414c39541004ad 8f1c147e19824b7ace11e86845414c39541004ad [2022-04-06T03:18:35.364Z] 8f1c147e19824b7ace11e86845414c39541004ad [false] [Pipeline] sh [2022-04-06T03:18:35.687Z] + git log --format=format:%s -1 8f1c147e19824b7ace11e86845414c39541004ad [Pipeline] echo [2022-04-06T03:18:35.705Z] ========================================================= [2022-04-06T03:18:35.705Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T03:18:35.705Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:18:36.059Z] + git log --format=format:%s -1 8f1c147e19824b7ace11e86845414c39541004ad [Pipeline] echo [2022-04-06T03:18:36.072Z] [semverPrep] GIT_COMMIT: 8f1c147e19824b7ace11e86845414c39541004ad, Commit Message: Merge commit '6a0d17f3443cfc2038c22736989c6b24159166ee' into HEAD [Pipeline] echo [2022-04-06T03:18:36.084Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T03:18:36.520Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T03:18:36.520Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T03:18:36.520Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T03:18:36.520Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T03:18:36.520Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T03:18:36.520Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T03:18:36.520Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:18:36.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:18:36.889Z] [2022-04-06T03:18:36.889Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:18:37.211Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:18:37.211Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T03:18:37.211Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T03:18:37.211Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T03:18:37.211Z] 4c7163046ea9: Pulling fs layer [2022-04-06T03:18:37.211Z] 0c2d73faf560: Pulling fs layer [2022-04-06T03:18:37.211Z] 0c2d73faf560: Waiting [2022-04-06T03:18:37.211Z] 3e5f54012d9b: Download complete [2022-04-06T03:18:37.211Z] a0d0a0d46f8b: Verifying Checksum [2022-04-06T03:18:37.211Z] a0d0a0d46f8b: Download complete [2022-04-06T03:18:37.211Z] 0c2d73faf560: Verifying Checksum [2022-04-06T03:18:37.211Z] 0c2d73faf560: Download complete [2022-04-06T03:18:37.212Z] 4c7163046ea9: Download complete [2022-04-06T03:18:37.476Z] a0d0a0d46f8b: Pull complete [2022-04-06T03:18:37.476Z] 3e5f54012d9b: Pull complete [2022-04-06T03:18:38.141Z] 4c7163046ea9: Pull complete [2022-04-06T03:18:38.141Z] 0c2d73faf560: Pull complete [2022-04-06T03:18:38.141Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T03:18:38.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:18:38.141Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T03:18:38.251Z] prd-ubuntu20.04-docker-8c-8g-10889 does not seem to be running inside a container [2022-04-06T03:18:38.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-355 -v /w/workspace/gexfoundry_device-mqtt-go_PR-355:/w/workspace/gexfoundry_device-mqtt-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T03:18:38.968Z] $ docker top 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T03:18:39.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:18:39.076Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:18:39.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:18:39.222Z] $ docker exec 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 ssh-agent [2022-04-06T03:18:39.340Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfpoCKI/agent.14 [2022-04-06T03:18:39.340Z] SSH_AGENT_PID=20 [2022-04-06T03:18:39.350Z] Running ssh-add (command line suppressed) [2022-04-06T03:18:39.488Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/private_key_7302778561363928218.key (/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/private_key_7302778561363928218.key) [2022-04-06T03:18:39.499Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:18:39.802Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T03:18:39.828Z] $ docker exec --env ******** --env ******** 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 ssh-agent -k [2022-04-06T03:18:39.947Z] unset SSH_AUTH_SOCK; [2022-04-06T03:18:39.947Z] unset SSH_AGENT_PID; [2022-04-06T03:18:39.947Z] echo Agent pid 20 killed; [2022-04-06T03:18:39.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T03:18:39.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:18:39.982Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:18:40.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:18:40.143Z] $ docker exec 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 ssh-agent [2022-04-06T03:18:40.271Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbCnDdj/agent.54 [2022-04-06T03:18:40.271Z] SSH_AGENT_PID=61 [2022-04-06T03:18:40.276Z] Running ssh-add (command line suppressed) [2022-04-06T03:18:40.406Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/private_key_3746491405989829872.key (/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/private_key_3746491405989829872.key) [2022-04-06T03:18:40.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:18:40.705Z] + git semver init [2022-04-06T03:18:40.705Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T03:18:40.705Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-355/.git [2022-04-06T03:18:40.705Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-355 [2022-04-06T03:18:40.705Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T03:18:40.705Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T03:18:40.705Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T03:18:40.705Z] # $SEMVER_BRANCH = PR-355 [2022-04-06T03:18:40.705Z] # $SEMVER_TEMP = /tmp/semver-979056039 [2022-04-06T03:18:40.705Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-06T03:18:41.646Z] # '/tmp/semver-979056039' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-355/.semver' [2022-04-06T03:18:41.646Z] # -> Force: false [2022-04-06T03:18:41.646Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-355/.semver [Pipeline] } [2022-04-06T03:18:41.662Z] $ docker exec --env ******** --env ******** 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 ssh-agent -k [2022-04-06T03:18:41.779Z] unset SSH_AUTH_SOCK; [2022-04-06T03:18:41.780Z] unset SSH_AGENT_PID; [2022-04-06T03:18:41.780Z] echo Agent pid 61 killed; [2022-04-06T03:18:41.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T03:18:42.099Z] + git semver [Pipeline] } [2022-04-06T03:18:42.118Z] $ docker stop --time=1 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 [2022-04-06T03:18:43.484Z] $ docker rm -f 7bc038536d0ac1703beb949d5ffc08640033cf782300deab4ef2cd3292de73d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:18:43.863Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T03:18:44.140Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T03:18:44.143Z] [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-04-06T03:18:44.311Z] provisioning config files... [2022-04-06T03:18:44.322Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/config6653914232456737778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:18:44.635Z] ---> docker-login.sh [2022-04-06T03:18:44.635Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:18:44.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:44.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:44.635Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:44.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:44.635Z] [2022-04-06T03:18:44.635Z] Login Succeeded [2022-04-06T03:18:44.635Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:18:44.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:44.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:44.897Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:44.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:44.897Z] [2022-04-06T03:18:44.897Z] Login Succeeded [2022-04-06T03:18:44.897Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:18:44.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:44.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:44.897Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:44.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:44.897Z] [2022-04-06T03:18:44.897Z] Login Succeeded [2022-04-06T03:18:44.897Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:18:45.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:45.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:45.159Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:45.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:45.159Z] [2022-04-06T03:18:45.159Z] Login Succeeded [2022-04-06T03:18:45.159Z] docker.io [2022-04-06T03:18:45.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:45.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:45.421Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:45.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:45.421Z] [2022-04-06T03:18:45.421Z] Login Succeeded [2022-04-06T03:18:45.421Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:18:45.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T03:18:45.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:18:45.514Z] ========================================================= [2022-04-06T03:18:45.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T03:18:45.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:18:45.836Z] + 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-04-06T03:18:45.836Z] Sending build context to Docker daemon 5.816MB [2022-04-06T03:18:45.836Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:18:45.836Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T03:18:45.836Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T03:18:45.836Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T03:18:45.836Z] 666ba61612fd: Pulling fs layer [2022-04-06T03:18:45.836Z] 8ed8ca486205: Pulling fs layer [2022-04-06T03:18:45.836Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T03:18:45.836Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T03:18:45.836Z] 640e595b4fbd: Pulling fs layer [2022-04-06T03:18:45.836Z] 763cafe07f6e: Pulling fs layer [2022-04-06T03:18:45.836Z] 0c0b528cf693: Pulling fs layer [2022-04-06T03:18:45.836Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T03:18:45.836Z] 22a0e8bec74d: Waiting [2022-04-06T03:18:45.836Z] 640e595b4fbd: Waiting [2022-04-06T03:18:45.836Z] 763cafe07f6e: Waiting [2022-04-06T03:18:45.836Z] 0c0b528cf693: Waiting [2022-04-06T03:18:45.836Z] 4fe6c5a15a65: Waiting [2022-04-06T03:18:45.836Z] 8ed8ca486205: Download complete [2022-04-06T03:18:45.836Z] 666ba61612fd: Verifying Checksum [2022-04-06T03:18:45.836Z] 666ba61612fd: Download complete [2022-04-06T03:18:46.096Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T03:18:46.096Z] 22a0e8bec74d: Download complete [2022-04-06T03:18:46.096Z] 640e595b4fbd: Verifying Checksum [2022-04-06T03:18:46.096Z] 640e595b4fbd: Download complete [2022-04-06T03:18:46.096Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T03:18:46.096Z] 763cafe07f6e: Download complete [2022-04-06T03:18:46.096Z] 0c0b528cf693: Verifying Checksum [2022-04-06T03:18:46.096Z] 0c0b528cf693: Download complete [2022-04-06T03:18:46.096Z] 59bf1c3509f3: Pull complete [2022-04-06T03:18:46.358Z] 666ba61612fd: Pull complete [2022-04-06T03:18:46.358Z] 8ed8ca486205: Pull complete [2022-04-06T03:18:46.617Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T03:18:46.617Z] 10935f4eaf8b: Download complete [2022-04-06T03:18:46.878Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T03:18:46.878Z] 4fe6c5a15a65: Download complete [2022-04-06T03:18:51.072Z] 4fe6c5a15a65: Pull complete [2022-04-06T03:18:51.072Z] 22a0e8bec74d: Pull complete [2022-04-06T03:18:51.072Z] 640e595b4fbd: Pull complete [2022-04-06T03:18:51.333Z] 763cafe07f6e: Pull complete [2022-04-06T03:18:51.333Z] 0c0b528cf693: Pull complete [2022-04-06T03:18:53.875Z] 10935f4eaf8b: Pull complete [2022-04-06T03:18:53.875Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T03:18:53.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T03:18:53.875Z] ---> 99d49a6021b9 [2022-04-06T03:18:53.875Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T03:18:55.261Z] ---> Running in 9b9efb95f70a [2022-04-06T03:18:55.261Z] Removing intermediate container 9b9efb95f70a [2022-04-06T03:18:55.261Z] ---> bf7419e1b8c1 [2022-04-06T03:18:55.261Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T03:18:55.261Z] ---> Running in 156a239be719 [2022-04-06T03:18:55.261Z] Removing intermediate container 156a239be719 [2022-04-06T03:18:55.261Z] ---> 7b639c5a3d23 [2022-04-06T03:18:55.261Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:18:55.533Z] ---> Running in 0b6a0f049dbd [2022-04-06T03:18:56.104Z] Removing intermediate container 0b6a0f049dbd [2022-04-06T03:18:56.104Z] ---> f50aa0ee4ab8 [2022-04-06T03:18:56.104Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T03:18:56.104Z] ---> Running in 979d35171295 [2022-04-06T03:18:56.365Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:18:57.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:18:57.884Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T03:18:57.884Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T03:18:57.884Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T03:18:57.884Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T03:18:58.145Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T03:18:58.145Z] OK: 224 MiB in 56 packages [2022-04-06T03:18:58.720Z] Removing intermediate container 979d35171295 [2022-04-06T03:18:58.720Z] ---> e49c04d598fe [2022-04-06T03:18:58.720Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T03:18:58.720Z] ---> Running in 1afa0dc403a7 [2022-04-06T03:18:58.720Z] Removing intermediate container 1afa0dc403a7 [2022-04-06T03:18:58.720Z] ---> d33aa9f909cc [2022-04-06T03:18:58.720Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T03:18:58.984Z] ---> 30ae02609a0b [2022-04-06T03:18:58.984Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:18:58.984Z] ---> Running in e04d870b21ae [2022-04-06T03:18:59.259Z] Still waiting to schedule task [2022-04-06T03:18:59.259Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-06T03:19:13.902Z] Removing intermediate container e04d870b21ae [2022-04-06T03:19:13.902Z] ---> 61ce512b0a19 [2022-04-06T03:19:13.902Z] Step 10/12 : COPY . . [2022-04-06T03:19:13.902Z] ---> 648e2bc84381 [2022-04-06T03:19:13.902Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T03:19:13.902Z] ---> Running in 8cbef9a0bf14 [2022-04-06T03:19:13.902Z] Removing intermediate container 8cbef9a0bf14 [2022-04-06T03:19:13.902Z] ---> 1a3fd24619bb [2022-04-06T03:19:13.902Z] Step 12/12 : RUN $MAKE [2022-04-06T03:19:13.902Z] ---> Running in 07a7f7a4fc1c [2022-04-06T03:19:13.902Z] noop [2022-04-06T03:19:13.902Z] Removing intermediate container 07a7f7a4fc1c [2022-04-06T03:19:13.902Z] ---> 7e1ac6299956 [2022-04-06T03:19:13.902Z] Successfully built 7e1ac6299956 [2022-04-06T03:19:13.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:14.200Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T03:19:14.200Z] . [Pipeline] withDockerContainer [2022-04-06T03:19:14.275Z] prd-ubuntu20.04-docker-8c-8g-10889 does not seem to be running inside a container [2022-04-06T03:19:14.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-355 -v /w/workspace/gexfoundry_device-mqtt-go_PR-355:/w/workspace/gexfoundry_device-mqtt-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T03:19:14.714Z] $ docker top 5980834b663b02ac0194ff56d202a64c8f7b9ceb5776988bd615f0fa50e99b9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:19:15.084Z] + go version [2022-04-06T03:19:15.084Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T03:19:15.098Z] $ docker stop --time=1 5980834b663b02ac0194ff56d202a64c8f7b9ceb5776988bd615f0fa50e99b9b [2022-04-06T03:19:16.421Z] $ docker rm -f 5980834b663b02ac0194ff56d202a64c8f7b9ceb5776988bd615f0fa50e99b9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:16.868Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T03:19:16.868Z] . [Pipeline] withDockerContainer [2022-04-06T03:19:16.950Z] prd-ubuntu20.04-docker-8c-8g-10889 does not seem to be running inside a container [2022-04-06T03:19:17.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-355 -v /w/workspace/gexfoundry_device-mqtt-go_PR-355:/w/workspace/gexfoundry_device-mqtt-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T03:19:17.456Z] $ docker top 61d938101aa7f04d5cb293e1fe8f60f0e88b5f97985ae19f1ac82fd7b9e07514 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T03:19:17.848Z] + make test [2022-04-06T03:19:17.848Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T03:19:18.108Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T03:19:28.110Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T03:19:28.110Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-04-06T03:19:28.110Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T03:19:34.733Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T03:19:38.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T03:19:38.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T03:19:38.935Z] ./bin/test-attribution-txt.sh [2022-04-06T03:19:39.506Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-06T03:19:39.506Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2022-04-06T03:19:39.523Z] $ docker stop --time=1 61d938101aa7f04d5cb293e1fe8f60f0e88b5f97985ae19f1ac82fd7b9e07514 [2022-04-06T03:19:41.364Z] $ docker rm -f 61d938101aa7f04d5cb293e1fe8f60f0e88b5f97985ae19f1ac82fd7b9e07514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:41.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:19:41.992Z] [2022-04-06T03:19:41.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:42.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:19:42.301Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T03:19:42.301Z] 5eb5b503b376: Pulling fs layer [2022-04-06T03:19:42.301Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T03:19:42.301Z] ec43610c2a17: Pulling fs layer [2022-04-06T03:19:42.301Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T03:19:42.301Z] 33b1e0a273af: Pulling fs layer [2022-04-06T03:19:42.301Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T03:19:42.301Z] 2f39f015ded8: Pulling fs layer [2022-04-06T03:19:42.301Z] 3a2ae6a8a46f: Waiting [2022-04-06T03:19:42.301Z] 33b1e0a273af: Waiting [2022-04-06T03:19:42.301Z] 2f39f015ded8: Waiting [2022-04-06T03:19:42.301Z] 5c69ac0246d0: Download complete [2022-04-06T03:19:42.301Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T03:19:42.301Z] 3a2ae6a8a46f: Download complete [2022-04-06T03:19:42.301Z] 33b1e0a273af: Verifying Checksum [2022-04-06T03:19:42.301Z] 33b1e0a273af: Download complete [2022-04-06T03:19:42.561Z] ec43610c2a17: Verifying Checksum [2022-04-06T03:19:42.561Z] ec43610c2a17: Download complete [2022-04-06T03:19:42.561Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T03:19:42.561Z] 5d3b04190fa2: Download complete [2022-04-06T03:19:42.561Z] 5eb5b503b376: Verifying Checksum [2022-04-06T03:19:42.561Z] 5eb5b503b376: Download complete [2022-04-06T03:19:43.135Z] 2f39f015ded8: Verifying Checksum [2022-04-06T03:19:43.135Z] 2f39f015ded8: Download complete [2022-04-06T03:19:44.078Z] 5eb5b503b376: Pull complete [2022-04-06T03:19:44.078Z] 5c69ac0246d0: Pull complete [2022-04-06T03:19:44.649Z] ec43610c2a17: Pull complete [2022-04-06T03:19:44.649Z] 3a2ae6a8a46f: Pull complete [2022-04-06T03:19:44.910Z] 33b1e0a273af: Pull complete [2022-04-06T03:19:44.910Z] 5d3b04190fa2: Pull complete [2022-04-06T03:19:49.114Z] 2f39f015ded8: Pull complete [2022-04-06T03:19:49.114Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T03:19:49.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:19:49.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T03:19:49.186Z] prd-ubuntu20.04-docker-8c-8g-10889 does not seem to be running inside a container [2022-04-06T03:19:49.230Z] $ 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-355 -v /w/workspace/gexfoundry_device-mqtt-go_PR-355:/w/workspace/gexfoundry_device-mqtt-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T03:19:51.316Z] $ docker top 635ccb1f298275e6d96fd4ed1500564e04025118e66b953c5bbe6875520dd2b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:19:51.735Z] ---> job-cost.sh [2022-04-06T03:19:51.735Z] lf-activate-venv: SKIPPING [2022-04-06T03:19:51.735Z] INFO: No Stack... [2022-04-06T03:19:51.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T03:19:52.567Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T03:19:52.867Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives/cost.csv [2022-04-06T03:19:52.867Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T03:19:52.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] [2022-04-06T03:19:52.897Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] did not exist. Created. [2022-04-06T03:19:52.897Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T03:19:53.215Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T03:19:53.248Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T03:19:53.255Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T03:19:53.276Z] $ docker stop --time=1 635ccb1f298275e6d96fd4ed1500564e04025118e66b953c5bbe6875520dd2b0 [2022-04-06T03:19:54.443Z] $ docker rm -f 635ccb1f298275e6d96fd4ed1500564e04025118e66b953c5bbe6875520dd2b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T03:19:54.587Z] Failed in branch amd64 [2022-04-06T03:25:00.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10934 in /w/workspace/gexfoundry_device-mqtt-go_PR-355 [Pipeline] { [Pipeline] ws [2022-04-06T03:25:00.070Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-04-06T03:25:00.521Z] Selected Git installation does not exist. Using Default [2022-04-06T03:25:00.521Z] The recommended git tool is: NONE [2022-04-06T03:25:09.359Z] using credential edgex-jenkins-ssh [2022-04-06T03:25:09.380Z] Cloning the remote Git repository [2022-04-06T03:25:09.470Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T03:25:09.590Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-04-06T03:25:09.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T03:25:09.699Z] > git --version # timeout=10 [2022-04-06T03:25:09.723Z] > git --version # 'git version 2.25.1' [2022-04-06T03:25:09.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:25:09.809Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T03:25:12.074Z] Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 6625815c83e577f6d02f6bfa2e8bdaa15db7def2 [2022-04-06T03:25:12.419Z] Merge succeeded, producing 4e7cf4127183107fa6d03621cab680547424cd60 [2022-04-06T03:25:12.419Z] Checking out Revision 4e7cf4127183107fa6d03621cab680547424cd60 (PR-355) [2022-04-06T03:25:11.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T03:25:11.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T03:25:11.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T03:25:11.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T03:25:11.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:25:11.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-06T03:25:12.102Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T03:25:12.131Z] > git checkout -f 6625815c83e577f6d02f6bfa2e8bdaa15db7def2 # timeout=10 [2022-04-06T03:25:12.236Z] > git remote # timeout=10 [2022-04-06T03:25:12.261Z] > git config --get remote.origin.url # timeout=10 [2022-04-06T03:25:12.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:25:12.304Z] > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 [2022-04-06T03:25:12.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-06T03:25:12.434Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T03:25:12.459Z] > git checkout -f 4e7cf4127183107fa6d03621cab680547424cd60 # timeout=10 [2022-04-06T03:25:17.108Z] Commit message: "Merge commit '6a0d17f3443cfc2038c22736989c6b24159166ee' into HEAD" [2022-04-06T03:25:17.123Z] > git rev-list --no-walk 6625815c83e577f6d02f6bfa2e8bdaa15db7def2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:25:18.298Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T03:25:18.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T03:25:18.298Z] Dload Upload Total Spent Left Speed [2022-04-06T03:25:18.298Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2022-04-06T03:25:18.868Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T03:25:19.238Z] + sudo tee /etc/docker/daemon.new [2022-04-06T03:25:19.239Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T03:25:19.239Z] { [2022-04-06T03:25:19.239Z] "registry-mirrors": [ [2022-04-06T03:25:19.239Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T03:25:19.239Z] ], [2022-04-06T03:25:19.239Z] "bip": "10.250.0.254/24", [2022-04-06T03:25:19.239Z] "hosts": [ [2022-04-06T03:25:19.239Z] "tcp://0.0.0.0:5555", [2022-04-06T03:25:19.239Z] "unix:///var/run/docker.sock" [2022-04-06T03:25:19.239Z] ], [2022-04-06T03:25:19.239Z] "mtu": 1458, [2022-04-06T03:25:19.239Z] "selinux-enabled": true, [2022-04-06T03:25:19.239Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T03:25:19.239Z] } [Pipeline] sh [2022-04-06T03:25:19.613Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T03:25:19.986Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:25:38.660Z] provisioning config files... [2022-04-06T03:25:38.696Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2621106145506084714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:25:39.098Z] ---> docker-login.sh [2022-04-06T03:25:39.098Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:25:39.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:40.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:40.311Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:40.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:40.311Z] [2022-04-06T03:25:40.311Z] Login Succeeded [2022-04-06T03:25:40.311Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:25:40.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:40.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:40.602Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:40.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:40.602Z] [2022-04-06T03:25:40.602Z] Login Succeeded [2022-04-06T03:25:40.877Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:25:41.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:41.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:41.154Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:41.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:41.154Z] [2022-04-06T03:25:41.154Z] Login Succeeded [2022-04-06T03:25:41.429Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:25:41.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:41.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:41.704Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:41.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:41.704Z] [2022-04-06T03:25:41.704Z] Login Succeeded [2022-04-06T03:25:41.980Z] docker.io [2022-04-06T03:25:42.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:42.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:42.861Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:42.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:42.861Z] [2022-04-06T03:25:42.861Z] Login Succeeded [2022-04-06T03:25:42.861Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:25:42.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T03:25:43.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:25:43.545Z] ========================================================= [2022-04-06T03:25:43.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T03:25:43.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:25:43.919Z] + 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-04-06T03:25:44.527Z] Sending build context to Docker daemon 3.032MB [2022-04-06T03:25:44.527Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:25:44.527Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T03:25:44.527Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T03:25:44.527Z] 9b3977197b4f: Pulling fs layer [2022-04-06T03:25:44.527Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T03:25:44.527Z] 94645a83ff95: Pulling fs layer [2022-04-06T03:25:44.527Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T03:25:44.527Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T03:25:44.527Z] f7c0051592d6: Pulling fs layer [2022-04-06T03:25:44.527Z] a227ed2f7395: Pulling fs layer [2022-04-06T03:25:44.527Z] 7b1c46037f91: Pulling fs layer [2022-04-06T03:25:44.527Z] f7c0051592d6: Waiting [2022-04-06T03:25:44.527Z] a227ed2f7395: Waiting [2022-04-06T03:25:44.527Z] 7b1c46037f91: Waiting [2022-04-06T03:25:44.527Z] 0c92f367c5e7: Waiting [2022-04-06T03:25:44.527Z] 3f3a8bcf1eab: Waiting [2022-04-06T03:25:44.812Z] 94645a83ff95: Verifying Checksum [2022-04-06T03:25:44.812Z] 94645a83ff95: Download complete [2022-04-06T03:25:44.812Z] 1a89e8eeedd5: Verifying Checksum [2022-04-06T03:25:44.812Z] 1a89e8eeedd5: Download complete [2022-04-06T03:25:44.812Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T03:25:44.812Z] 0c92f367c5e7: Download complete [2022-04-06T03:25:44.812Z] f7c0051592d6: Verifying Checksum [2022-04-06T03:25:44.812Z] f7c0051592d6: Download complete [2022-04-06T03:25:44.812Z] 9b3977197b4f: Verifying Checksum [2022-04-06T03:25:44.812Z] 9b3977197b4f: Download complete [2022-04-06T03:25:44.812Z] a227ed2f7395: Verifying Checksum [2022-04-06T03:25:44.812Z] a227ed2f7395: Download complete [2022-04-06T03:25:45.818Z] 9b3977197b4f: Pull complete [2022-04-06T03:25:46.096Z] 1a89e8eeedd5: Pull complete [2022-04-06T03:25:46.701Z] 94645a83ff95: Pull complete [2022-04-06T03:25:46.979Z] 7b1c46037f91: Verifying Checksum [2022-04-06T03:25:46.979Z] 7b1c46037f91: Download complete [2022-04-06T03:25:47.583Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T03:25:47.583Z] 3f3a8bcf1eab: Download complete [2022-04-06T03:26:00.054Z] 3f3a8bcf1eab: Pull complete [2022-04-06T03:26:00.054Z] 0c92f367c5e7: Pull complete [2022-04-06T03:26:00.332Z] f7c0051592d6: Pull complete [2022-04-06T03:26:00.610Z] a227ed2f7395: Pull complete [2022-04-06T03:26:07.391Z] 7b1c46037f91: Pull complete [2022-04-06T03:26:07.391Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T03:26:07.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T03:26:07.391Z] ---> f79e39bc4007 [2022-04-06T03:26:07.391Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T03:26:08.387Z] ---> Running in 794b1ceae26a [2022-04-06T03:26:08.387Z] Removing intermediate container 794b1ceae26a [2022-04-06T03:26:08.387Z] ---> 64b57ad1a1fc [2022-04-06T03:26:08.387Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T03:26:08.662Z] ---> Running in ee1cbb26c1e3 [2022-04-06T03:26:08.945Z] Removing intermediate container ee1cbb26c1e3 [2022-04-06T03:26:08.945Z] ---> 893256fb9c80 [2022-04-06T03:26:08.945Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:26:08.945Z] ---> Running in 56c9d9db7caa [2022-04-06T03:26:12.354Z] Removing intermediate container 56c9d9db7caa [2022-04-06T03:26:12.354Z] ---> 08d20e41112f [2022-04-06T03:26:12.354Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T03:26:12.354Z] ---> Running in f449678ff28d [2022-04-06T03:26:14.364Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:26:14.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:26:16.426Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T03:26:16.426Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T03:26:16.426Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T03:26:16.704Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T03:26:16.704Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T03:26:16.704Z] OK: 224 MiB in 56 packages [2022-04-06T03:26:17.695Z] Removing intermediate container f449678ff28d [2022-04-06T03:26:17.695Z] ---> af22507a524e [2022-04-06T03:26:17.695Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T03:26:17.982Z] ---> Running in 909678e6f213 [2022-04-06T03:26:18.258Z] Removing intermediate container 909678e6f213 [2022-04-06T03:26:18.258Z] ---> eaad3acc35fa [2022-04-06T03:26:18.258Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T03:26:18.864Z] ---> cb4a31d943c7 [2022-04-06T03:26:18.864Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:26:19.143Z] ---> Running in 513f2eb567ff [2022-04-06T03:27:15.749Z] Removing intermediate container 513f2eb567ff [2022-04-06T03:27:15.749Z] ---> 668c5baa7bf1 [2022-04-06T03:27:15.749Z] Step 10/12 : COPY . . [2022-04-06T03:27:15.749Z] ---> b6e4cb4ce048 [2022-04-06T03:27:15.749Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T03:27:15.749Z] ---> Running in 8de5dfc5037b [2022-04-06T03:27:15.749Z] Removing intermediate container 8de5dfc5037b [2022-04-06T03:27:15.749Z] ---> 3f51721d4817 [2022-04-06T03:27:15.749Z] Step 12/12 : RUN $MAKE [2022-04-06T03:27:15.749Z] ---> Running in 538712832ec6 [2022-04-06T03:27:15.749Z] noop [2022-04-06T03:27:15.749Z] Removing intermediate container 538712832ec6 [2022-04-06T03:27:15.749Z] ---> af4434c40756 [2022-04-06T03:27:15.749Z] Successfully built af4434c40756 [2022-04-06T03:27:15.749Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:27:16.105Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T03:27:16.105Z] . [Pipeline] withDockerContainer [2022-04-06T03:27:16.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-10934 does not seem to be running inside a container [2022-04-06T03:27:16.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T03:27:17.939Z] $ docker top 0fdd8b993e043e0f04082a936cee7b68b77963dd94a156842cfe86fdc3eeed0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:27:18.887Z] + go version [2022-04-06T03:27:18.887Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T03:27:18.921Z] $ docker stop --time=1 0fdd8b993e043e0f04082a936cee7b68b77963dd94a156842cfe86fdc3eeed0a [2022-04-06T03:27:20.608Z] $ docker rm -f 0fdd8b993e043e0f04082a936cee7b68b77963dd94a156842cfe86fdc3eeed0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:27:21.243Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T03:27:21.243Z] . [Pipeline] withDockerContainer [2022-04-06T03:27:21.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-10934 does not seem to be running inside a container [2022-04-06T03:27:21.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T03:27:23.050Z] $ docker top 903b8bb69702cb5d5c5a8702112637d2186428ed8727be2c0a47f071c9a00856 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T03:27:24.028Z] + make test [2022-04-06T03:27:24.028Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T03:27:26.029Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T03:29:02.946Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T03:29:02.946Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements [2022-04-06T03:29:02.946Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T03:29:02.946Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T03:29:02.946Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T03:29:21.334Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T03:29:21.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T03:29:21.608Z] ./bin/test-attribution-txt.sh [2022-04-06T03:29:24.250Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-06T03:29:24.525Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-06T03:29:24.525Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-06T03:29:24.799Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-06T03:29:24.799Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-06T03:29:24.799Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-06T03:29:24.799Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-06T03:29:25.073Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2022-04-06T03:29:25.102Z] $ docker stop --time=1 903b8bb69702cb5d5c5a8702112637d2186428ed8727be2c0a47f071c9a00856 [2022-04-06T03:29:27.023Z] $ docker rm -f 903b8bb69702cb5d5c5a8702112637d2186428ed8727be2c0a47f071c9a00856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:29:28.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:29:28.298Z] [2022-04-06T03:29:28.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:29:28.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:29:28.956Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T03:29:28.957Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T03:29:28.957Z] 04944245beec: Pulling fs layer [2022-04-06T03:29:28.957Z] 699f458cf7ca: Pulling fs layer [2022-04-06T03:29:28.957Z] 765212b225bb: Pulling fs layer [2022-04-06T03:29:28.957Z] f23df028b6ca: Pulling fs layer [2022-04-06T03:29:28.957Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T03:29:28.957Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T03:29:28.957Z] 765212b225bb: Waiting [2022-04-06T03:29:28.957Z] f23df028b6ca: Waiting [2022-04-06T03:29:28.957Z] d65c8cfc05b1: Waiting [2022-04-06T03:29:28.957Z] 04944245beec: Verifying Checksum [2022-04-06T03:29:28.957Z] 04944245beec: Download complete [2022-04-06T03:29:28.957Z] 765212b225bb: Verifying Checksum [2022-04-06T03:29:28.957Z] 765212b225bb: Download complete [2022-04-06T03:29:29.234Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T03:29:29.234Z] d65c8cfc05b1: Download complete [2022-04-06T03:29:29.234Z] 699f458cf7ca: Verifying Checksum [2022-04-06T03:29:29.234Z] 699f458cf7ca: Download complete [2022-04-06T03:29:29.838Z] 8998bd30e6a1: Download complete [2022-04-06T03:29:32.477Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T03:29:32.477Z] 2437ff75d9bd: Download complete [2022-04-06T03:29:34.468Z] 8998bd30e6a1: Pull complete [2022-04-06T03:29:35.074Z] 04944245beec: Pull complete [2022-04-06T03:29:36.515Z] 699f458cf7ca: Pull complete [2022-04-06T03:29:36.791Z] 765212b225bb: Pull complete [2022-04-06T03:29:37.773Z] f23df028b6ca: Pull complete [2022-04-06T03:29:38.049Z] d65c8cfc05b1: Pull complete [2022-04-06T03:29:56.492Z] 2437ff75d9bd: Pull complete [2022-04-06T03:29:56.492Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T03:29:56.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:29:56.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T03:29:56.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-10934 does not seem to be running inside a container [2022-04-06T03:29:56.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-06T03:29:59.551Z] $ docker top 3060f3a33719c191bfbf292ad31a2d6b76df607420b166f074e9ebed16eee790 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:00.513Z] ---> job-cost.sh [2022-04-06T03:30:00.513Z] lf-activate-venv: SKIPPING [2022-04-06T03:30:00.513Z] INFO: No Stack... [2022-04-06T03:30:01.115Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T03:30:01.722Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T03:30:02.410Z] + cut -d, -f6 [2022-04-06T03:30:02.410Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2022-04-06T03:30:02.480Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] [2022-04-06T03:30:02.486Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] did not exist. Created. [2022-04-06T03:30:02.487Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T03:30:03.187Z] /w/workspace/device-mqtt-go/2@tmp/durable-048dcd22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T03:30:03.881Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T03:30:03.904Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T03:30:04.447Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T03:30:04.457Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T03:30:04.483Z] $ docker stop --time=1 3060f3a33719c191bfbf292ad31a2d6b76df607420b166f074e9ebed16eee790 [2022-04-06T03:30:06.022Z] $ docker rm -f 3060f3a33719c191bfbf292ad31a2d6b76df607420b166f074e9ebed16eee790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T03:30:06.354Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-06T03:30:07.093Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives ] [2022-04-06T03:30:07.093Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives [2022-04-06T03:30:07.093Z] total 16 [2022-04-06T03:30:07.093Z] drwxr-xr-x 3 root root 4096 Apr 6 03:19 . [2022-04-06T03:30:07.093Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:19 .. [2022-04-06T03:30:07.093Z] drwxr-xr-x 2 root root 4096 Apr 6 03:19 cost [2022-04-06T03:30:07.093Z] -rw-r--r-- 1 root root 85 Apr 6 03:19 cost.csv [2022-04-06T03:30:07.093Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives [2022-04-06T03:30:07.093Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives [2022-04-06T03:30:07.093Z] total 16 [2022-04-06T03:30:07.093Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 03:19 . [2022-04-06T03:30:07.093Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:19 .. [2022-04-06T03:30:07.093Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 03:19 cost [2022-04-06T03:30:07.093Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 6 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:07.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:08.340Z] ---> package-listing.sh [2022-04-06T03:30:08.340Z] ++ facter osfamily [2022-04-06T03:30:08.340Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T03:30:08.601Z] + OS_FAMILY=debian [2022-04-06T03:30:08.601Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-355 [2022-04-06T03:30:08.601Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T03:30:08.601Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T03:30:08.601Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T03:30:08.601Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T03:30:08.601Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-355 ']' [2022-04-06T03:30:08.601Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T03:30:08.601Z] + case "${OS_FAMILY}" in [2022-04-06T03:30:08.601Z] + dpkg -l [2022-04-06T03:30:08.601Z] + grep '^ii' [2022-04-06T03:30:08.601Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T03:30:08.601Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T03:30:08.601Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T03:30:08.601Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-355 ']' [2022-04-06T03:30:08.601Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives/ [2022-04-06T03:30:08.601Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-355/archives/ [Pipeline] echo [2022-04-06T03:30:08.612Z] 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-06T03:30:08.894Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:30:09.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:30:09.452Z] . [Pipeline] withDockerContainer [2022-04-06T03:30:09.512Z] prd-ubuntu20.04-docker-8c-8g-10889 does not seem to be running inside a container [2022-04-06T03:30:09.545Z] $ 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-355/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-355 -v /w/workspace/gexfoundry_device-mqtt-go_PR-355:/w/workspace/gexfoundry_device-mqtt-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T03:30:09.771Z] $ docker top bf868c49afe8924be1987356b0c999057f6f8bad2add4a1529032a889c2a6f9d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:30:10.126Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T03:30:10.417Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T03:30:10.708Z] + ls /var/log/sa-host [2022-04-06T03:30:10.708Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:30:10.802Z] provisioning config files... [2022-04-06T03:30:10.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-355@tmp/config8107702981306931743tmp [Pipeline] { [Pipeline] echo [2022-04-06T03:30:10.826Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:11.113Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T03:30:11.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:11.465Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T03:30:11.474Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:11.760Z] ---> sudo-logs.sh [2022-04-06T03:30:11.760Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T03:30:11.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:12.082Z] ---> job-cost.sh [2022-04-06T03:30:12.083Z] lf-activate-venv: SKIPPING [2022-04-06T03:30:12.083Z] DEBUG: total: 0.2199999988079071 [2022-04-06T03:30:12.083Z] INFO: Retrieving Stack Cost... [2022-04-06T03:30:12.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T03:30:12.915Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T03:30:12.931Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:13.220Z] ---> logs-deploy.sh [2022-04-06T03:30:13.220Z] lf-activate-venv: SKIPPING [2022-04-06T03:30:13.220Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-355/2 [2022-04-06T03:30:13.220Z] INFO: archiving workspace using pattern(s): [2022-04-06T03:30:14.165Z] Archives upload complete. [2022-04-06T03:30:14.425Z] INFO: archiving logs to Nexus