Pull request #370 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c05bf1e97fab19ef64b973e81dbf0d55230d2b1e+cac5c8aff02eeff20ea0733b686feb688efb88bb (56013d42d6dfc3bdb12c32abeaf399d920a504e6) 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-ssh15200880009117409253.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-ssh2520100739718480594.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-370/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-370/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12211930053199107619.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-370/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2771854173711210927.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10697599965850998477.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-370/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-370/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9309767046484098312.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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-24979 in /w/workspace/gexfoundry_device-mqtt-go_PR-370 [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-370 # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c05bf1e97fab19ef64b973e81dbf0d55230d2b1e Merge succeeded, producing c05bf1e97fab19ef64b973e81dbf0d55230d2b1e Checking out Revision c05bf1e97fab19ef64b973e81dbf0d55230d2b1e (PR-370) > 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/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T15:54:03.289Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:54:03.480Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:54:03.584Z] ========================================================= [2022-04-26T15:54:03.584Z] EdgeX Global Pipelines Version Info [2022-04-26T15:54:03.584Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:04.419Z] ------------------- [2022-04-26T15:54:04.419Z] stable info: [2022-04-26T15:54:04.419Z] ------------------- [2022-04-26T15:54:04.419Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:54:04.419Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:54:04.419Z] Message: update stable to v1.0.221 [2022-04-26T15:54:04.987Z] ------------------- [2022-04-26T15:54:04.987Z] experimental info: [2022-04-26T15:54:04.987Z] ------------------- [2022-04-26T15:54:04.987Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:54:04.987Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:54:04.988Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:54:05.224Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-26T15:54:05.265Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-26T15:54:05.304Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:54:05.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:54:05.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:54:05.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:54:05.470Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:54:05.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:54:05.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:54:05.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:54:05.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:54:05.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-26T15:54:05.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:54:05.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:54:05.815Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:54:05.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:54:05.911Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:54:05.960Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:54:06.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:54:06.040Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:54:06.078Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:54:06.118Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:54:06.158Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:54:06.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:54:06.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:54:06.296Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:54:06.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo [2022-04-26T15:54:06.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo [2022-04-26T15:54:06.430Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo [2022-04-26T15:54:06.471Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo [2022-04-26T15:54:06.515Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c05bf1e [Pipeline] echo [2022-04-26T15:54:06.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:54:06.687Z] provisioning config files... [2022-04-26T15:54:06.701Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/config7172651081881463823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:07.055Z] ---> docker-login.sh [2022-04-26T15:54:07.055Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:07.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:07.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:07.627Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:07.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:07.627Z] [2022-04-26T15:54:07.627Z] Login Succeeded [2022-04-26T15:54:07.627Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:07.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:07.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:07.893Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:07.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:07.893Z] [2022-04-26T15:54:07.893Z] Login Succeeded [2022-04-26T15:54:07.893Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:07.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:07.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:07.893Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:07.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:07.893Z] [2022-04-26T15:54:07.893Z] Login Succeeded [2022-04-26T15:54:07.893Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:07.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:08.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:08.156Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:08.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:08.156Z] [2022-04-26T15:54:08.156Z] Login Succeeded [2022-04-26T15:54:08.156Z] docker.io [2022-04-26T15:54:08.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:08.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:08.416Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:08.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:08.416Z] [2022-04-26T15:54:08.416Z] Login Succeeded [2022-04-26T15:54:08.416Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:08.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:54:09.109Z] + git rev-list -1 --merges c05bf1e97fab19ef64b973e81dbf0d55230d2b1e~1..c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo [2022-04-26T15:54:09.257Z] -----------> git rev-list -1 --merges c05bf1e97fab19ef64b973e81dbf0d55230d2b1e~1..c05bf1e97fab19ef64b973e81dbf0d55230d2b1e c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [false] [Pipeline] sh [2022-04-26T15:54:09.578Z] + git log --format=format:%s -1 c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo [2022-04-26T15:54:09.616Z] ========================================================= [2022-04-26T15:54:09.616Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:54:09.616Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:54:10.070Z] + git log --format=format:%s -1 c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo [2022-04-26T15:54:10.102Z] [semverPrep] GIT_COMMIT: c05bf1e97fab19ef64b973e81dbf0d55230d2b1e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-26T15:54:10.135Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:54:10.553Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.553Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.553Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:54:10.553Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.553Z] + + sudo tee -aecho /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:54:10.553Z] [2022-04-26T15:54:10.553Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:10.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:10.953Z] [2022-04-26T15:54:10.953Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:11.324Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:11.324Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:54:11.324Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:54:11.324Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:54:11.324Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:54:11.324Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:54:11.324Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:54:11.324Z] 3e5f54012d9b: Download complete [2022-04-26T15:54:11.594Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T15:54:11.594Z] a0d0a0d46f8b: Download complete [2022-04-26T15:54:11.594Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:54:11.594Z] 4c7163046ea9: Download complete [2022-04-26T15:54:11.594Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:54:11.594Z] 0c2d73faf560: Download complete [2022-04-26T15:54:11.594Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:54:11.858Z] 3e5f54012d9b: Pull complete [2022-04-26T15:54:12.122Z] 4c7163046ea9: Pull complete [2022-04-26T15:54:12.384Z] 0c2d73faf560: Pull complete [2022-04-26T15:54:12.384Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:54:12.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:12.384Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:54:12.489Z] prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container [2022-04-26T15:54:12.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T15:54:13.509Z] $ docker top 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:54:13.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:13.696Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:13.823Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:13.832Z] $ docker exec 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent [2022-04-26T15:54:13.958Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDFLmcp/agent.14 [2022-04-26T15:54:13.958Z] SSH_AGENT_PID=20 [2022-04-26T15:54:13.973Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:14.111Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_6774634404906303274.key (/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_6774634404906303274.key) [2022-04-26T15:54:14.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:14.462Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:54:14.491Z] $ docker exec --env ******** --env ******** 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent -k [2022-04-26T15:54:14.601Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:14.601Z] unset SSH_AGENT_PID; [2022-04-26T15:54:14.602Z] echo Agent pid 20 killed; [2022-04-26T15:54:14.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:54:14.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:14.693Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:14.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:14.831Z] $ docker exec 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent [2022-04-26T15:54:14.945Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgnBLND/agent.53 [2022-04-26T15:54:14.945Z] SSH_AGENT_PID=60 [2022-04-26T15:54:14.951Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:15.074Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_2506035330493329030.key (/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_2506035330493329030.key) [2022-04-26T15:54:15.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:15.490Z] + git semver init [2022-04-26T15:54:15.490Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:54:15.490Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-370/.git [2022-04-26T15:54:15.490Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-370 [2022-04-26T15:54:15.490Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:54:15.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:54:15.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:54:15.490Z] # $SEMVER_BRANCH = PR-370 [2022-04-26T15:54:15.490Z] # $SEMVER_TEMP = /tmp/semver-118873361 [2022-04-26T15:54:15.490Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-26T15:54:16.439Z] # '/tmp/semver-118873361' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-370/.semver' [2022-04-26T15:54:16.439Z] # -> Force: false [2022-04-26T15:54:16.439Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-370/.semver [Pipeline] } [2022-04-26T15:54:16.471Z] $ docker exec --env ******** --env ******** 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent -k [2022-04-26T15:54:16.592Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:16.592Z] unset SSH_AGENT_PID; [2022-04-26T15:54:16.592Z] echo Agent pid 60 killed; [2022-04-26T15:54:16.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:54:17.032Z] + git semver [Pipeline] } [2022-04-26T15:54:17.067Z] $ docker stop --time=1 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 [2022-04-26T15:54:18.833Z] $ docker rm -f 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:54:19.262Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:54:19.670Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:54:19.688Z] [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-26T15:54:20.287Z] provisioning config files... [2022-04-26T15:54:20.297Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/config2544133456905096617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:20.645Z] ---> docker-login.sh [2022-04-26T15:54:20.645Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:20.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.645Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.645Z] [2022-04-26T15:54:20.645Z] Login Succeeded [2022-04-26T15:54:20.645Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:20.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.906Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.906Z] [2022-04-26T15:54:20.906Z] Login Succeeded [2022-04-26T15:54:20.906Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:20.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.906Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.906Z] [2022-04-26T15:54:20.906Z] Login Succeeded [2022-04-26T15:54:20.906Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:20.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:21.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:21.166Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:21.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:21.166Z] [2022-04-26T15:54:21.166Z] Login Succeeded [2022-04-26T15:54:21.166Z] docker.io [2022-04-26T15:54:21.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:21.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:21.426Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:21.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:21.426Z] [2022-04-26T15:54:21.426Z] Login Succeeded [2022-04-26T15:54:21.426Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:21.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:54:21.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:54:21.691Z] ========================================================= [2022-04-26T15:54:21.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:54:21.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:22.110Z] + 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-26T15:54:22.110Z] Sending build context to Docker daemon 5.822MB [2022-04-26T15:54:22.110Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:54:22.110Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T15:54:22.110Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:54:22.110Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:54:22.110Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:54:22.110Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:54:22.110Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:54:22.110Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:54:22.110Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:54:22.110Z] a51346096db8: Pulling fs layer [2022-04-26T15:54:22.110Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:54:22.110Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:54:22.110Z] 4fe6c5a15a65: Waiting [2022-04-26T15:54:22.110Z] 22a0e8bec74d: Waiting [2022-04-26T15:54:22.110Z] a51346096db8: Waiting [2022-04-26T15:54:22.110Z] daebc70d1ce1: Waiting [2022-04-26T15:54:22.110Z] 0e18a0eac166: Waiting [2022-04-26T15:54:22.110Z] ca2b28591e48: Waiting [2022-04-26T15:54:22.110Z] 8ed8ca486205: Verifying Checksum [2022-04-26T15:54:22.110Z] 8ed8ca486205: Download complete [2022-04-26T15:54:22.372Z] 666ba61612fd: Verifying Checksum [2022-04-26T15:54:22.372Z] 666ba61612fd: Download complete [2022-04-26T15:54:22.372Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:54:22.372Z] 22a0e8bec74d: Download complete [2022-04-26T15:54:22.372Z] ca2b28591e48: Verifying Checksum [2022-04-26T15:54:22.372Z] ca2b28591e48: Download complete [2022-04-26T15:54:22.372Z] a51346096db8: Verifying Checksum [2022-04-26T15:54:22.372Z] a51346096db8: Download complete [2022-04-26T15:54:22.372Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T15:54:22.372Z] 59bf1c3509f3: Download complete [2022-04-26T15:54:22.634Z] 59bf1c3509f3: Pull complete [2022-04-26T15:54:22.634Z] daebc70d1ce1: Verifying Checksum [2022-04-26T15:54:22.634Z] daebc70d1ce1: Download complete [2022-04-26T15:54:22.894Z] 666ba61612fd: Pull complete [2022-04-26T15:54:22.894Z] 8ed8ca486205: Pull complete [2022-04-26T15:54:23.465Z] 0e18a0eac166: Verifying Checksum [2022-04-26T15:54:23.465Z] 0e18a0eac166: Download complete [2022-04-26T15:54:23.465Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:54:23.465Z] 4fe6c5a15a65: Download complete [2022-04-26T15:54:27.669Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:54:27.669Z] 22a0e8bec74d: Pull complete [2022-04-26T15:54:27.930Z] ca2b28591e48: Pull complete [2022-04-26T15:54:27.930Z] a51346096db8: Pull complete [2022-04-26T15:54:28.190Z] daebc70d1ce1: Pull complete [2022-04-26T15:54:30.732Z] 0e18a0eac166: Pull complete [2022-04-26T15:54:30.997Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:54:30.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:54:30.997Z] ---> f018257e8ee9 [2022-04-26T15:54:30.997Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:54:34.315Z] ---> Running in 4c5b30f4f7c0 [2022-04-26T15:54:34.315Z] Removing intermediate container 4c5b30f4f7c0 [2022-04-26T15:54:34.315Z] ---> 33f5ea9f0c2a [2022-04-26T15:54:34.315Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:54:34.315Z] ---> Running in 6c731939f44e [2022-04-26T15:54:34.577Z] Removing intermediate container 6c731939f44e [2022-04-26T15:54:34.577Z] ---> 5582fc56b19d [2022-04-26T15:54:34.577Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:54:34.839Z] ---> Running in 1ae5a8f39da0 [2022-04-26T15:54:35.094Z] Still waiting to schedule task [2022-04-26T15:54:35.094Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T15:54:35.416Z] Removing intermediate container 1ae5a8f39da0 [2022-04-26T15:54:35.416Z] ---> 195bb15ebeb2 [2022-04-26T15:54:35.416Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:54:35.676Z] ---> Running in 43329547d1a4 [2022-04-26T15:54:35.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:36.883Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:37.144Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T15:54:37.144Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T15:54:37.144Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T15:54:37.404Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T15:54:37.404Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T15:54:37.404Z] OK: 224 MiB in 56 packages [2022-04-26T15:54:37.975Z] Removing intermediate container 43329547d1a4 [2022-04-26T15:54:37.975Z] ---> eb33c5a12a34 [2022-04-26T15:54:37.975Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T15:54:37.975Z] ---> Running in 8741afa08202 [2022-04-26T15:54:37.975Z] Removing intermediate container 8741afa08202 [2022-04-26T15:54:37.975Z] ---> 16b814a2a2d8 [2022-04-26T15:54:37.975Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T15:54:38.237Z] ---> f0ed723048f7 [2022-04-26T15:54:38.237Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:54:38.237Z] ---> Running in 76434ad67e0c [2022-04-26T15:54:56.387Z] Removing intermediate container 76434ad67e0c [2022-04-26T15:54:56.387Z] ---> 579809d1ce68 [2022-04-26T15:54:56.387Z] Step 10/12 : COPY . . [2022-04-26T15:54:56.387Z] ---> 9b0992130ab2 [2022-04-26T15:54:56.387Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T15:54:56.387Z] ---> Running in cf2d920911a0 [2022-04-26T15:54:56.387Z] Removing intermediate container cf2d920911a0 [2022-04-26T15:54:56.387Z] ---> dac3deefc59c [2022-04-26T15:54:56.387Z] Step 12/12 : RUN $MAKE [2022-04-26T15:54:56.387Z] ---> Running in 68431b00b2eb [2022-04-26T15:54:56.387Z] noop [2022-04-26T15:54:56.387Z] Removing intermediate container 68431b00b2eb [2022-04-26T15:54:56.387Z] ---> 775839055ec4 [2022-04-26T15:54:56.387Z] Successfully built 775839055ec4 [2022-04-26T15:54:56.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:56.722Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:56.722Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:56.817Z] prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container [2022-04-26T15:54:56.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 ******** ci-base-image-x86_64 cat [2022-04-26T15:54:57.288Z] $ docker top a05e243a9e797f542b14e320bcad4430dc7e186892ce27a76e631acd1adb8d0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:54:57.709Z] + go version [2022-04-26T15:54:57.709Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:54:57.748Z] $ docker stop --time=1 a05e243a9e797f542b14e320bcad4430dc7e186892ce27a76e631acd1adb8d0f [2022-04-26T15:54:59.044Z] $ docker rm -f a05e243a9e797f542b14e320bcad4430dc7e186892ce27a76e631acd1adb8d0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:59.728Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:59.728Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:59.849Z] prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container [2022-04-26T15:54:59.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 ******** ci-base-image-x86_64 cat [2022-04-26T15:55:00.374Z] $ docker top 7eb6ade2aaabc6fc05c7beceeb8e8e9cc2fc36f744ecb547bee136ab2372f737 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:55:00.831Z] + make test [2022-04-26T15:55:00.831Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T15:55:01.093Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T15:55:13.319Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-26T15:55:13.319Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-04-26T15:55:13.319Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-26T15:55:21.453Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T15:55:25.657Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:55:25.657Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:55:25.657Z] ./bin/test-attribution-txt.sh [2022-04-26T15:55:25.657Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-26T15:55:25.919Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-04-26T15:55:25.970Z] $ docker stop --time=1 7eb6ade2aaabc6fc05c7beceeb8e8e9cc2fc36f744ecb547bee136ab2372f737 [2022-04-26T15:55:27.892Z] $ docker rm -f 7eb6ade2aaabc6fc05c7beceeb8e8e9cc2fc36f744ecb547bee136ab2372f737 [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-26T15:55:29.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:29.064Z] [2022-04-26T15:55:29.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:29.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:29.405Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:55:29.405Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:55:29.405Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:55:29.405Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:55:29.405Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:55:29.405Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:55:29.405Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:55:29.405Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:55:29.405Z] 33b1e0a273af: Waiting [2022-04-26T15:55:29.405Z] 5d3b04190fa2: Waiting [2022-04-26T15:55:29.405Z] 2f39f015ded8: Waiting [2022-04-26T15:55:29.405Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:55:29.405Z] 5c69ac0246d0: Download complete [2022-04-26T15:55:29.405Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:55:29.405Z] 3a2ae6a8a46f: Download complete [2022-04-26T15:55:29.673Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:55:29.673Z] 33b1e0a273af: Download complete [2022-04-26T15:55:29.673Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:55:29.673Z] ec43610c2a17: Download complete [2022-04-26T15:55:29.673Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T15:55:29.673Z] 5d3b04190fa2: Download complete [2022-04-26T15:55:29.673Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:55:29.673Z] 5eb5b503b376: Download complete [2022-04-26T15:55:30.614Z] 2f39f015ded8: Download complete [2022-04-26T15:55:31.190Z] 5eb5b503b376: Pull complete [2022-04-26T15:55:31.451Z] 5c69ac0246d0: Pull complete [2022-04-26T15:55:32.021Z] ec43610c2a17: Pull complete [2022-04-26T15:55:32.021Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:55:32.594Z] 33b1e0a273af: Pull complete [2022-04-26T15:55:32.594Z] 5d3b04190fa2: Pull complete [2022-04-26T15:55:37.888Z] 2f39f015ded8: Pull complete [2022-04-26T15:55:37.888Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:55:37.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:37.888Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:55:37.983Z] prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container [2022-04-26T15:55:38.022Z] $ 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-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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-26T15:55:41.015Z] $ docker top 758de1c240a18a66145feb9ef3661b93958ac29a14ff1dba66e0d66cecc6d738 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:55:41.487Z] ---> job-cost.sh [2022-04-26T15:55:41.487Z] lf-activate-venv: SKIPPING [2022-04-26T15:55:41.487Z] INFO: No Stack... [2022-04-26T15:55:41.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:55:42.329Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:55:42.657Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives/cost.csv [2022-04-26T15:55:42.657Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:55:42.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [2022-04-26T15:55:42.702Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] did not exist. Created. [2022-04-26T15:55:42.703Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:55:43.098Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:55:43.156Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:55:43.177Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:55:43.262Z] $ docker stop --time=1 758de1c240a18a66145feb9ef3661b93958ac29a14ff1dba66e0d66cecc6d738 [2022-04-26T15:55:44.425Z] $ docker rm -f 758de1c240a18a66145feb9ef3661b93958ac29a14ff1dba66e0d66cecc6d738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T15:55:44.810Z] Failed in branch amd64 [2022-04-26T17:05:02.008Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-31338 in /w/workspace/gexfoundry_device-mqtt-go_PR-370 [Pipeline] { [Pipeline] ws [2022-04-26T17:05:02.054Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-04-26T17:05:02.468Z] Selected Git installation does not exist. Using Default [2022-04-26T17:05:02.468Z] The recommended git tool is: NONE [2022-04-26T17:05:08.992Z] using credential edgex-jenkins-ssh [2022-04-26T17:05:09.012Z] Cloning the remote Git repository [2022-04-26T17:05:09.075Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T17:05:09.151Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-04-26T17:05:09.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T17:05:09.220Z] > git --version # timeout=10 [2022-04-26T17:05:09.311Z] > git --version # 'git version 2.25.1' [2022-04-26T17:05:09.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:05:09.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:05:11.175Z] Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [2022-04-26T17:05:10.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T17:05:10.565Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:05:10.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T17:05:10.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T17:05:10.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:05:10.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T17:05:11.200Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:05:11.218Z] > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # timeout=10 [2022-04-26T17:05:11.405Z] Merge succeeded, producing c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [2022-04-26T17:05:11.405Z] Checking out Revision c05bf1e97fab19ef64b973e81dbf0d55230d2b1e (PR-370) [2022-04-26T17:05:11.309Z] > git remote # timeout=10 [2022-04-26T17:05:11.327Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T17:05:11.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:05:11.359Z] > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 [2022-04-26T17:05:11.386Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T17:05:11.418Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:05:11.432Z] > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # timeout=10 [2022-04-26T17:05:15.598Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-26T17:05:15.661Z] > git --version # timeout=10 [2022-04-26T17:05:15.677Z] > git --version # 'git version 2.25.1' [2022-04-26T17:05:15.692Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:05:16.875Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T17:05:16.875Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:05:16.875Z] Dload Upload Total Spent Left Speed [2022-04-26T17:05:16.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 80564 100 11843 100 11843 0 0 80020 0 --:--:-- --:--:-- --:--:-- 80020 [Pipeline] sh [2022-04-26T17:05:17.400Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T17:05:17.752Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T17:05:17.752Z] sudo tee /etc/docker/daemon.new [2022-04-26T17:05:17.752Z] { [2022-04-26T17:05:17.752Z] "registry-mirrors": [ [2022-04-26T17:05:17.752Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T17:05:17.752Z] ], [2022-04-26T17:05:17.752Z] "bip": "10.250.0.254/24", [2022-04-26T17:05:17.752Z] "hosts": [ [2022-04-26T17:05:17.752Z] "tcp://0.0.0.0:5555", [2022-04-26T17:05:17.752Z] "unix:///var/run/docker.sock" [2022-04-26T17:05:17.752Z] ], [2022-04-26T17:05:17.752Z] "mtu": 1458, [2022-04-26T17:05:17.752Z] "selinux-enabled": true, [2022-04-26T17:05:17.752Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T17:05:17.752Z] } [Pipeline] sh [2022-04-26T17:05:18.205Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T17:05:18.562Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:05:37.072Z] provisioning config files... [2022-04-26T17:05:37.100Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8906404774166608986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:05:37.704Z] ---> docker-login.sh [2022-04-26T17:05:37.704Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:05:38.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:05:38.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:05:38.578Z] Configure a credential helper to remove this warning. See [2022-04-26T17:05:38.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:05:38.578Z] [2022-04-26T17:05:38.578Z] Login Succeeded [2022-04-26T17:05:38.578Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:05:38.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:05:39.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:05:39.132Z] Configure a credential helper to remove this warning. See [2022-04-26T17:05:39.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:05:39.132Z] [2022-04-26T17:05:39.132Z] Login Succeeded [2022-04-26T17:05:39.132Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:05:39.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:05:39.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:05:39.417Z] Configure a credential helper to remove this warning. See [2022-04-26T17:05:39.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:05:39.417Z] [2022-04-26T17:05:39.417Z] Login Succeeded [2022-04-26T17:05:39.417Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:05:40.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:05:40.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:05:40.019Z] Configure a credential helper to remove this warning. See [2022-04-26T17:05:40.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:05:40.019Z] [2022-04-26T17:05:40.019Z] Login Succeeded [2022-04-26T17:05:40.019Z] docker.io [2022-04-26T17:05:40.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:05:40.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:05:40.891Z] Configure a credential helper to remove this warning. See [2022-04-26T17:05:40.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:05:40.891Z] [2022-04-26T17:05:40.891Z] Login Succeeded [2022-04-26T17:05:40.891Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:05:40.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T17:05:41.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T17:05:41.366Z] ========================================================= [2022-04-26T17:05:41.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T17:05:41.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:05:41.821Z] + 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-26T17:05:42.096Z] Sending build context to Docker daemon 3.04MB [2022-04-26T17:05:42.096Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:05:42.096Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T17:05:42.374Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T17:05:42.374Z] 9b3977197b4f: Pulling fs layer [2022-04-26T17:05:42.374Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T17:05:42.374Z] 94645a83ff95: Pulling fs layer [2022-04-26T17:05:42.374Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T17:05:42.374Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T17:05:42.374Z] 3096ccb668a1: Pulling fs layer [2022-04-26T17:05:42.374Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T17:05:42.374Z] a4caa8a26152: Pulling fs layer [2022-04-26T17:05:42.374Z] 3f3a8bcf1eab: Waiting [2022-04-26T17:05:42.374Z] 0c92f367c5e7: Waiting [2022-04-26T17:05:42.374Z] 3096ccb668a1: Waiting [2022-04-26T17:05:42.374Z] e8cf19c19ddd: Waiting [2022-04-26T17:05:42.374Z] a4caa8a26152: Waiting [2022-04-26T17:05:42.374Z] 94645a83ff95: Verifying Checksum [2022-04-26T17:05:42.374Z] 94645a83ff95: Download complete [2022-04-26T17:05:42.374Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T17:05:42.374Z] 1a89e8eeedd5: Download complete [2022-04-26T17:05:42.374Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T17:05:42.374Z] 0c92f367c5e7: Download complete [2022-04-26T17:05:42.374Z] 3096ccb668a1: Verifying Checksum [2022-04-26T17:05:42.374Z] 3096ccb668a1: Download complete [2022-04-26T17:05:42.374Z] 9b3977197b4f: Download complete [2022-04-26T17:05:42.374Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T17:05:42.374Z] e8cf19c19ddd: Download complete [2022-04-26T17:05:43.365Z] 9b3977197b4f: Pull complete [2022-04-26T17:05:43.648Z] 1a89e8eeedd5: Pull complete [2022-04-26T17:05:44.253Z] 94645a83ff95: Pull complete [2022-04-26T17:05:44.529Z] a4caa8a26152: Verifying Checksum [2022-04-26T17:05:44.529Z] a4caa8a26152: Download complete [2022-04-26T17:05:45.129Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T17:05:45.129Z] 3f3a8bcf1eab: Download complete [2022-04-26T17:05:57.549Z] 3f3a8bcf1eab: Pull complete [2022-04-26T17:05:57.549Z] 0c92f367c5e7: Pull complete [2022-04-26T17:05:57.549Z] 3096ccb668a1: Pull complete [2022-04-26T17:05:57.826Z] e8cf19c19ddd: Pull complete [2022-04-26T17:06:04.568Z] a4caa8a26152: Pull complete [2022-04-26T17:06:04.568Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T17:06:04.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T17:06:04.568Z] ---> 725f1c02e7f9 [2022-04-26T17:06:04.568Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T17:06:05.167Z] ---> Running in cc00e3454b6b [2022-04-26T17:06:05.440Z] Removing intermediate container cc00e3454b6b [2022-04-26T17:06:05.440Z] ---> 952bf9549266 [2022-04-26T17:06:05.440Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T17:06:05.715Z] ---> Running in 133004a6d84c [2022-04-26T17:06:05.989Z] Removing intermediate container 133004a6d84c [2022-04-26T17:06:05.989Z] ---> 01ed3adbc152 [2022-04-26T17:06:05.989Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:06:05.989Z] ---> Running in c1791595062f [2022-04-26T17:06:07.962Z] Removing intermediate container c1791595062f [2022-04-26T17:06:07.962Z] ---> 5ec2cc8f1f32 [2022-04-26T17:06:07.962Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T17:06:07.962Z] ---> Running in 304707d163a0 [2022-04-26T17:06:08.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:06:09.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:06:10.527Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T17:06:10.527Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T17:06:10.799Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T17:06:10.799Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T17:06:11.073Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T17:06:11.073Z] OK: 224 MiB in 56 packages [2022-04-26T17:06:12.067Z] Removing intermediate container 304707d163a0 [2022-04-26T17:06:12.067Z] ---> 883e54e689cd [2022-04-26T17:06:12.067Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T17:06:12.067Z] ---> Running in 010ea4e49362 [2022-04-26T17:06:12.338Z] Removing intermediate container 010ea4e49362 [2022-04-26T17:06:12.339Z] ---> 635bb95b3ff9 [2022-04-26T17:06:12.339Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T17:06:12.934Z] ---> c4c0248070cd [2022-04-26T17:06:12.935Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:06:12.935Z] ---> Running in c9b23101410b [2022-04-26T17:06:59.929Z] Removing intermediate container c9b23101410b [2022-04-26T17:06:59.929Z] ---> d2bd99ab7dec [2022-04-26T17:06:59.929Z] Step 10/12 : COPY . . [2022-04-26T17:06:59.929Z] ---> 7f28fa0f50a1 [2022-04-26T17:06:59.929Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T17:06:59.929Z] ---> Running in f7b3652cc1cc [2022-04-26T17:06:59.929Z] Removing intermediate container f7b3652cc1cc [2022-04-26T17:06:59.929Z] ---> f47fe11013e0 [2022-04-26T17:06:59.929Z] Step 12/12 : RUN $MAKE [2022-04-26T17:06:59.929Z] ---> Running in b4f20d0828e9 [2022-04-26T17:06:59.929Z] noop [2022-04-26T17:06:59.929Z] Removing intermediate container b4f20d0828e9 [2022-04-26T17:06:59.929Z] ---> 21fb0df308b2 [2022-04-26T17:06:59.929Z] Successfully built 21fb0df308b2 [2022-04-26T17:06:59.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:07:00.302Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:07:00.303Z] . [Pipeline] withDockerContainer [2022-04-26T17:07:00.540Z] prd-ubuntu20.04-docker-arm64-4c-16g-31338 does not seem to be running inside a container [2022-04-26T17:07:00.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:07:01.844Z] $ docker top adc4668882bfd1c02042df3dcb8f6ced9520254c31e322af7dda46132e09ddc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:07:02.813Z] + go version [2022-04-26T17:07:02.813Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T17:07:02.852Z] $ docker stop --time=1 adc4668882bfd1c02042df3dcb8f6ced9520254c31e322af7dda46132e09ddc3 [2022-04-26T17:07:04.460Z] $ docker rm -f adc4668882bfd1c02042df3dcb8f6ced9520254c31e322af7dda46132e09ddc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:07:05.351Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:07:05.351Z] . [Pipeline] withDockerContainer [2022-04-26T17:07:05.597Z] prd-ubuntu20.04-docker-arm64-4c-16g-31338 does not seem to be running inside a container [2022-04-26T17:07:05.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:07:06.946Z] $ docker top 62a9cf2e6d862a1159e607a66457868b73650c01fad256129f8eaf2c86bf1374 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T17:07:07.967Z] + make test [2022-04-26T17:07:07.967Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T17:07:09.416Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T17:08:31.284Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-26T17:08:31.284Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-04-26T17:08:31.284Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-26T17:08:31.284Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T17:08:31.284Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T17:08:53.520Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T17:08:53.520Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T17:08:53.520Z] ./bin/test-attribution-txt.sh [2022-04-26T17:08:53.520Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-26T17:08:53.520Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-04-26T17:08:53.573Z] $ docker stop --time=1 62a9cf2e6d862a1159e607a66457868b73650c01fad256129f8eaf2c86bf1374 [2022-04-26T17:08:55.336Z] $ docker rm -f 62a9cf2e6d862a1159e607a66457868b73650c01fad256129f8eaf2c86bf1374 [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-26T17:08:56.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:08:56.850Z] [2022-04-26T17:08:56.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:08:57.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:08:57.510Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T17:08:57.510Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T17:08:57.510Z] 04944245beec: Pulling fs layer [2022-04-26T17:08:57.510Z] 699f458cf7ca: Pulling fs layer [2022-04-26T17:08:57.510Z] 765212b225bb: Pulling fs layer [2022-04-26T17:08:57.510Z] f23df028b6ca: Pulling fs layer [2022-04-26T17:08:57.510Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T17:08:57.510Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T17:08:57.510Z] f23df028b6ca: Waiting [2022-04-26T17:08:57.510Z] d65c8cfc05b1: Waiting [2022-04-26T17:08:57.510Z] 2437ff75d9bd: Waiting [2022-04-26T17:08:57.510Z] 765212b225bb: Waiting [2022-04-26T17:08:57.510Z] 04944245beec: Download complete [2022-04-26T17:08:57.510Z] 765212b225bb: Verifying Checksum [2022-04-26T17:08:57.510Z] 765212b225bb: Download complete [2022-04-26T17:08:57.510Z] f23df028b6ca: Verifying Checksum [2022-04-26T17:08:57.510Z] f23df028b6ca: Download complete [2022-04-26T17:08:57.510Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T17:08:57.510Z] d65c8cfc05b1: Download complete [2022-04-26T17:08:57.790Z] 699f458cf7ca: Verifying Checksum [2022-04-26T17:08:57.790Z] 699f458cf7ca: Download complete [2022-04-26T17:08:58.064Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T17:08:58.064Z] 8998bd30e6a1: Download complete [2022-04-26T17:09:00.700Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T17:09:00.700Z] 2437ff75d9bd: Download complete [2022-04-26T17:09:02.684Z] 8998bd30e6a1: Pull complete [2022-04-26T17:09:02.958Z] 04944245beec: Pull complete [2022-04-26T17:09:04.401Z] 699f458cf7ca: Pull complete [2022-04-26T17:09:04.679Z] 765212b225bb: Pull complete [2022-04-26T17:09:05.660Z] f23df028b6ca: Pull complete [2022-04-26T17:09:05.660Z] d65c8cfc05b1: Pull complete [2022-04-26T17:09:20.765Z] 2437ff75d9bd: Pull complete [2022-04-26T17:09:20.765Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T17:09:20.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:09:20.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T17:09:21.016Z] prd-ubuntu20.04-docker-arm64-4c-16g-31338 does not seem to be running inside a container [2022-04-26T17:09:21.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T17:09:23.562Z] $ docker top abab917bd0fe5eb319f47eeefec3a9f7f9434b43687553faccad3736ccc1d8ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:24.571Z] ---> job-cost.sh [2022-04-26T17:09:24.571Z] lf-activate-venv: SKIPPING [2022-04-26T17:09:24.571Z] INFO: No Stack... [2022-04-26T17:09:24.844Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T17:09:25.822Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T17:09:26.505Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-04-26T17:09:26.505Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T17:09:26.595Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [2022-04-26T17:09:26.600Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] did not exist. Created. [2022-04-26T17:09:26.600Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T17:09:27.366Z] /w/workspace/device-mqtt-go/1@tmp/durable-72aba823/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T17:09:28.075Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T17:09:28.111Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T17:09:28.568Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T17:09:28.585Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T17:09:28.671Z] $ docker stop --time=1 abab917bd0fe5eb319f47eeefec3a9f7f9434b43687553faccad3736ccc1d8ac [2022-04-26T17:09:30.183Z] $ docker rm -f abab917bd0fe5eb319f47eeefec3a9f7f9434b43687553faccad3736ccc1d8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T17:09:30.979Z] 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-26T17:09:33.158Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives ] [2022-04-26T17:09:33.158Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives [2022-04-26T17:09:33.158Z] total 16 [2022-04-26T17:09:33.158Z] drwxr-xr-x 3 root root 4096 Apr 26 15:55 . [2022-04-26T17:09:33.158Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. [2022-04-26T17:09:33.158Z] drwxr-xr-x 2 root root 4096 Apr 26 15:55 cost [2022-04-26T17:09:33.158Z] -rw-r--r-- 1 root root 85 Apr 26 15:55 cost.csv [2022-04-26T17:09:33.158Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives [2022-04-26T17:09:33.158Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives [2022-04-26T17:09:33.158Z] total 16 [2022-04-26T17:09:33.158Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:55 . [2022-04-26T17:09:33.158Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. [2022-04-26T17:09:33.158Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:55 cost [2022-04-26T17:09:33.158Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 26 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:33.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:34.381Z] ---> package-listing.sh [2022-04-26T17:09:34.381Z] ++ facter osfamily [2022-04-26T17:09:34.381Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T17:09:34.643Z] + OS_FAMILY=debian [2022-04-26T17:09:34.643Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-370 [2022-04-26T17:09:34.643Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T17:09:34.643Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T17:09:34.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T17:09:34.643Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T17:09:34.643Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-370 ']' [2022-04-26T17:09:34.643Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T17:09:34.643Z] + case "${OS_FAMILY}" in [2022-04-26T17:09:34.643Z] + dpkg -l [2022-04-26T17:09:34.643Z] + grep '^ii' [2022-04-26T17:09:34.643Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T17:09:34.643Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T17:09:34.643Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T17:09:34.643Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-370 ']' [2022-04-26T17:09:34.643Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives/ [2022-04-26T17:09:34.643Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives/ [Pipeline] echo [2022-04-26T17:09:34.678Z] 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-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T17:09:34.975Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:09:35.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:09:35.553Z] . [Pipeline] withDockerContainer [2022-04-26T17:09:35.640Z] prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container [2022-04-26T17:09:35.673Z] $ 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-370/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-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T17:09:35.993Z] $ docker top 8611b87ebe44726bf9edf3affd46af39e4ecf2d8bebf8ceac319919378091aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:09:36.398Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T17:09:36.707Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T17:09:37.023Z] + ls /var/log/sa-host [2022-04-26T17:09:37.023Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:09:37.216Z] provisioning config files... [2022-04-26T17:09:37.226Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/config2225886337337786797tmp [Pipeline] { [Pipeline] echo [2022-04-26T17:09:37.276Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:37.594Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T17:09:37.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:38.026Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T17:09:38.060Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:38.376Z] ---> sudo-logs.sh [2022-04-26T17:09:38.376Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T17:09:38.465Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:38.784Z] ---> job-cost.sh [2022-04-26T17:09:38.784Z] lf-activate-venv: SKIPPING [2022-04-26T17:09:38.784Z] DEBUG: total: 0.2199999988079071 [2022-04-26T17:09:38.784Z] INFO: Retrieving Stack Cost... [2022-04-26T17:09:39.355Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T17:09:39.923Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T17:09:39.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:09:40.270Z] ---> logs-deploy.sh [2022-04-26T17:09:40.270Z] lf-activate-venv: SKIPPING [2022-04-26T17:09:40.270Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-370/1 [2022-04-26T17:09:40.270Z] INFO: archiving workspace using pattern(s): [2022-04-26T17:09:41.210Z] Archives upload complete. [2022-04-26T17:09:41.210Z] INFO: archiving logs to Nexus