Pull request #397 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 2c395e916656ff011f59f73b4cbc9d122ab02d46 rather than a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 Obtained Jenkinsfile from 2c395e916656ff011f59f73b4cbc9d122ab02d46 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-ssh15248181828015692176.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh15179676240629763242.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh929947257399025898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh15332097237351591015.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16994391100861749016.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16348’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16350 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [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-397 # 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 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 Merge succeeded, producing a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 Checking out Revision a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 (PR-397) > 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 # 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 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 # timeout=10 Commit message: "refactor(snap): upgrade configure hook's formatting" > git rev-list --no-walk 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T15:46:07.663Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T15:46:07.722Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T15:46:07.734Z] ========================================================= [2022-06-29T15:46:07.734Z] EdgeX Global Pipelines Version Info [2022-06-29T15:46:07.734Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:46:08.476Z] ------------------- [2022-06-29T15:46:08.476Z] stable info: [2022-06-29T15:46:08.476Z] ------------------- [2022-06-29T15:46:08.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T15:46:08.476Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:46:08.476Z] Message: update stable to v1.0.234 [2022-06-29T15:46:09.050Z] ------------------- [2022-06-29T15:46:09.050Z] experimental info: [2022-06-29T15:46:09.050Z] ------------------- [2022-06-29T15:46:09.050Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T15:46:09.050Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:46:09.050Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T15:46:09.290Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-29T15:46:09.298Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-29T15:46:09.313Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T15:46:09.323Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T15:46:09.336Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T15:46:09.347Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T15:46:09.358Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T15:46:09.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T15:46:09.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T15:46:09.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T15:46:09.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T15:46:09.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-29T15:46:09.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T15:46:09.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T15:46:09.452Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:46:09.462Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:46:09.475Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:46:09.490Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:46:09.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T15:46:09.515Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T15:46:09.529Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T15:46:09.541Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T15:46:09.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T15:46:09.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T15:46:09.576Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T15:46:09.593Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T15:46:09.609Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T15:46:09.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:46:09.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:46:09.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2022-06-29T15:46:09.659Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [Pipeline] echo [2022-06-29T15:46:09.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2e1c7c [Pipeline] echo [2022-06-29T15:46:09.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:46:09.723Z] provisioning config files... [2022-06-29T15:46:09.738Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config4663605798276100994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:46:10.064Z] ---> docker-login.sh [2022-06-29T15:46:10.064Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:46:10.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:10.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:10.325Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:10.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:10.325Z] [2022-06-29T15:46:10.325Z] Login Succeeded [2022-06-29T15:46:10.325Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:46:10.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:10.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:10.586Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:10.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:10.586Z] [2022-06-29T15:46:10.586Z] Login Succeeded [2022-06-29T15:46:10.586Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:46:10.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:10.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:10.586Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:10.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:10.586Z] [2022-06-29T15:46:10.586Z] Login Succeeded [2022-06-29T15:46:10.586Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:46:10.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:10.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:10.847Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:10.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:10.847Z] [2022-06-29T15:46:10.847Z] Login Succeeded [2022-06-29T15:46:10.847Z] docker.io [2022-06-29T15:46:10.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:11.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:11.114Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:11.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:11.114Z] [2022-06-29T15:46:11.114Z] Login Succeeded [2022-06-29T15:46:11.114Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:46:11.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T15:46:11.487Z] + git rev-list -1 --merges a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86~1..a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [Pipeline] echo [2022-06-29T15:46:11.523Z] -----------> git rev-list -1 --merges a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86~1..a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [false] [Pipeline] sh [2022-06-29T15:46:11.818Z] + git log --format=format:%s -1 a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [Pipeline] echo [2022-06-29T15:46:11.833Z] ========================================================= [2022-06-29T15:46:11.833Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T15:46:11.833Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:46:12.175Z] + git log --format=format:%s -1 a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [Pipeline] echo [2022-06-29T15:46:12.189Z] [semverPrep] GIT_COMMIT: a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86, Commit Message: refactor(snap): upgrade configure hook's formatting [Pipeline] echo [2022-06-29T15:46:12.200Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T15:46:12.560Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T15:46:12.561Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T15:46:12.561Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T15:46:12.561Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T15:46:12.561Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T15:46:12.561Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T15:46:12.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:46:12.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:46:12.911Z] [2022-06-29T15:46:12.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:46:13.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:46:13.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T15:46:13.211Z] 42c077c10790: Pulling fs layer [2022-06-29T15:46:13.211Z] f63e77b7563a: Pulling fs layer [2022-06-29T15:46:13.211Z] bd5fdadae976: Pulling fs layer [2022-06-29T15:46:13.211Z] 205491f53016: Pulling fs layer [2022-06-29T15:46:13.211Z] df18705c85c3: Pulling fs layer [2022-06-29T15:46:13.211Z] bdb3f477010e: Pulling fs layer [2022-06-29T15:46:13.211Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T15:46:13.211Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T15:46:13.211Z] bdb8f0575790: Pulling fs layer [2022-06-29T15:46:13.211Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T15:46:13.211Z] 2343380bae48: Pulling fs layer [2022-06-29T15:46:13.211Z] 205491f53016: Waiting [2022-06-29T15:46:13.211Z] df18705c85c3: Waiting [2022-06-29T15:46:13.211Z] bdb3f477010e: Waiting [2022-06-29T15:46:13.211Z] c8a8fc8e1c8f: Waiting [2022-06-29T15:46:13.211Z] 2c6e9b1d212d: Waiting [2022-06-29T15:46:13.211Z] 386e3cb2ff24: Waiting [2022-06-29T15:46:13.211Z] bdb8f0575790: Waiting [2022-06-29T15:46:13.211Z] f63e77b7563a: Download complete [2022-06-29T15:46:13.211Z] 205491f53016: Verifying Checksum [2022-06-29T15:46:13.211Z] 205491f53016: Download complete [2022-06-29T15:46:13.472Z] df18705c85c3: Verifying Checksum [2022-06-29T15:46:13.472Z] df18705c85c3: Download complete [2022-06-29T15:46:13.472Z] bdb3f477010e: Verifying Checksum [2022-06-29T15:46:13.472Z] bdb3f477010e: Download complete [2022-06-29T15:46:13.472Z] bd5fdadae976: Verifying Checksum [2022-06-29T15:46:13.472Z] bd5fdadae976: Download complete [2022-06-29T15:46:13.472Z] 2c6e9b1d212d: Download complete [2022-06-29T15:46:13.472Z] bdb8f0575790: Download complete [2022-06-29T15:46:13.472Z] 386e3cb2ff24: Download complete [2022-06-29T15:46:13.472Z] 2343380bae48: Download complete [2022-06-29T15:46:13.472Z] 42c077c10790: Verifying Checksum [2022-06-29T15:46:13.472Z] 42c077c10790: Download complete [2022-06-29T15:46:13.732Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T15:46:13.732Z] c8a8fc8e1c8f: Download complete [2022-06-29T15:46:14.670Z] 42c077c10790: Pull complete [2022-06-29T15:46:14.931Z] f63e77b7563a: Pull complete [2022-06-29T15:46:15.500Z] bd5fdadae976: Pull complete [2022-06-29T15:46:15.500Z] 205491f53016: Pull complete [2022-06-29T15:46:15.760Z] df18705c85c3: Pull complete [2022-06-29T15:46:15.760Z] bdb3f477010e: Pull complete [2022-06-29T15:46:17.672Z] c8a8fc8e1c8f: Pull complete [2022-06-29T15:46:17.672Z] 2c6e9b1d212d: Pull complete [2022-06-29T15:46:17.672Z] bdb8f0575790: Pull complete [2022-06-29T15:46:17.672Z] 386e3cb2ff24: Pull complete [2022-06-29T15:46:17.932Z] 2343380bae48: Pull complete [2022-06-29T15:46:17.932Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T15:46:17.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:46:17.932Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:46:18.030Z] prd-ubuntu20.04-docker-8c-8g-16350 does not seem to be running inside a container [2022-06-29T15:46:18.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T15:46:19.243Z] $ docker top d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 -eo pid,comm [2022-06-29T15:46:19.303Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-29T15:46:19.303Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T15:46:19.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:46:19.342Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:46:19.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:46:19.472Z] $ docker exec d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 ssh-agent [2022-06-29T15:46:19.603Z] SSH_AUTH_SOCK=/tmp/ssh-Yh96UQoNjkvP/agent.33 [2022-06-29T15:46:19.603Z] SSH_AGENT_PID=39 [2022-06-29T15:46:19.610Z] Running ssh-add (command line suppressed) [2022-06-29T15:46:19.723Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_4647662618689542649.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_4647662618689542649.key) [2022-06-29T15:46:19.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:46:20.025Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T15:46:20.042Z] $ docker exec --env ******** --env ******** d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 ssh-agent -k [2022-06-29T15:46:20.153Z] unset SSH_AUTH_SOCK; [2022-06-29T15:46:20.154Z] unset SSH_AGENT_PID; [2022-06-29T15:46:20.154Z] echo Agent pid 39 killed; [2022-06-29T15:46:20.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T15:46:20.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:46:20.186Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:46:20.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:46:20.324Z] $ docker exec d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 ssh-agent [2022-06-29T15:46:20.436Z] SSH_AUTH_SOCK=/tmp/ssh-WzvBVMzGOg28/agent.73 [2022-06-29T15:46:20.436Z] SSH_AGENT_PID=79 [2022-06-29T15:46:20.442Z] Running ssh-add (command line suppressed) [2022-06-29T15:46:20.555Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_8672212358704186989.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_8672212358704186989.key) [2022-06-29T15:46:20.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:46:20.851Z] + git semver init [2022-06-29T15:46:21.110Z] 2022-06-29 15:46:21,033 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T15:46:21.110Z] 2022-06-29 15:46:21,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T15:46:21.110Z] 2022-06-29 15:46:21,035 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T15:46:21.110Z] 2022-06-29 15:46:21,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-397, universal_newlines=False, shell=None, istream=None) [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,718 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.git/info/exclude [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,718 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 with force:False [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,718 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,723 [execute] INFO git cat-file --batch-check [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,728 [execute] INFO git cat-file --batch [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,728 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T15:46:22.053Z] 2022-06-29 15:46:21,732 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:46:22.053Z] 0.0.0 [Pipeline] } [2022-06-29T15:46:22.069Z] $ docker exec --env ******** --env ******** d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 ssh-agent -k [2022-06-29T15:46:22.177Z] unset SSH_AUTH_SOCK; [2022-06-29T15:46:22.177Z] unset SSH_AGENT_PID; [2022-06-29T15:46:22.177Z] echo Agent pid 79 killed; [2022-06-29T15:46:22.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T15:46:22.495Z] + git semver [Pipeline] } [2022-06-29T15:46:22.774Z] $ docker stop --time=1 d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 [2022-06-29T15:46:24.099Z] $ docker rm -f d0b34088389ba6c4bb4193f8104a1eef9b691ca172886f4569cb492d2198bec3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:46:24.444Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T15:46:24.687Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T15:46:24.690Z] [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-06-29T15:46:24.798Z] provisioning config files... [2022-06-29T15:46:24.808Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config2698616424084913010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:46:25.106Z] ---> docker-login.sh [2022-06-29T15:46:25.106Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:46:25.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:25.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:25.106Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:25.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:25.106Z] [2022-06-29T15:46:25.106Z] Login Succeeded [2022-06-29T15:46:25.106Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:46:25.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:25.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:25.367Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:25.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:25.367Z] [2022-06-29T15:46:25.367Z] Login Succeeded [2022-06-29T15:46:25.367Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:46:25.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:25.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:25.367Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:25.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:25.367Z] [2022-06-29T15:46:25.367Z] Login Succeeded [2022-06-29T15:46:25.367Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:46:25.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:25.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:25.627Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:25.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:25.627Z] [2022-06-29T15:46:25.627Z] Login Succeeded [2022-06-29T15:46:25.627Z] docker.io [2022-06-29T15:46:25.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:46:25.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:46:25.887Z] Configure a credential helper to remove this warning. See [2022-06-29T15:46:25.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:46:25.887Z] [2022-06-29T15:46:25.887Z] Login Succeeded [2022-06-29T15:46:25.887Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:46:25.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:46:25.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:46:25.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:46:25.985Z] ========================================================= [2022-06-29T15:46:25.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T15:46:25.985Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:46:26.303Z] + 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-06-29T15:46:26.303Z] Sending build context to Docker daemon 6.062MB [2022-06-29T15:46:26.303Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:46:26.303Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:46:26.303Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T15:46:26.303Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T15:46:26.303Z] 666ba61612fd: Pulling fs layer [2022-06-29T15:46:26.303Z] 8ed8ca486205: Pulling fs layer [2022-06-29T15:46:26.303Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T15:46:26.303Z] c516ae0d96e1: Pulling fs layer [2022-06-29T15:46:26.303Z] 684cea983483: Pulling fs layer [2022-06-29T15:46:26.303Z] dd3240ac7de5: Pulling fs layer [2022-06-29T15:46:26.303Z] b1e948a4e11c: Pulling fs layer [2022-06-29T15:46:26.303Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T15:46:26.303Z] cc1cd167ecdc: Waiting [2022-06-29T15:46:26.303Z] 646ad004c059: Pulling fs layer [2022-06-29T15:46:26.303Z] c516ae0d96e1: Waiting [2022-06-29T15:46:26.303Z] dd3240ac7de5: Waiting [2022-06-29T15:46:26.303Z] b1e948a4e11c: Waiting [2022-06-29T15:46:26.303Z] 684cea983483: Waiting [2022-06-29T15:46:26.303Z] a8fd76ee1af6: Waiting [2022-06-29T15:46:26.303Z] 646ad004c059: Waiting [2022-06-29T15:46:26.303Z] 8ed8ca486205: Verifying Checksum [2022-06-29T15:46:26.303Z] 8ed8ca486205: Download complete [2022-06-29T15:46:26.303Z] 666ba61612fd: Download complete [2022-06-29T15:46:26.303Z] c516ae0d96e1: Verifying Checksum [2022-06-29T15:46:26.303Z] c516ae0d96e1: Download complete [2022-06-29T15:46:26.303Z] 684cea983483: Verifying Checksum [2022-06-29T15:46:26.303Z] 684cea983483: Download complete [2022-06-29T15:46:26.563Z] dd3240ac7de5: Verifying Checksum [2022-06-29T15:46:26.563Z] dd3240ac7de5: Download complete [2022-06-29T15:46:26.563Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T15:46:26.563Z] 59bf1c3509f3: Download complete [2022-06-29T15:46:26.563Z] b1e948a4e11c: Verifying Checksum [2022-06-29T15:46:26.563Z] b1e948a4e11c: Download complete [2022-06-29T15:46:26.563Z] 59bf1c3509f3: Pull complete [2022-06-29T15:46:26.823Z] 666ba61612fd: Pull complete [2022-06-29T15:46:26.823Z] 8ed8ca486205: Pull complete [2022-06-29T15:46:27.085Z] 646ad004c059: Verifying Checksum [2022-06-29T15:46:27.085Z] 646ad004c059: Download complete [2022-06-29T15:46:27.085Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T15:46:27.085Z] a8fd76ee1af6: Download complete [2022-06-29T15:46:27.085Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T15:46:27.085Z] cc1cd167ecdc: Download complete [2022-06-29T15:46:31.277Z] cc1cd167ecdc: Pull complete [2022-06-29T15:46:31.277Z] c516ae0d96e1: Pull complete [2022-06-29T15:46:31.277Z] 684cea983483: Pull complete [2022-06-29T15:46:31.277Z] dd3240ac7de5: Pull complete [2022-06-29T15:46:31.277Z] b1e948a4e11c: Pull complete [2022-06-29T15:46:33.180Z] a8fd76ee1af6: Pull complete [2022-06-29T15:46:33.750Z] 646ad004c059: Pull complete [2022-06-29T15:46:33.750Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T15:46:33.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T15:46:33.750Z] ---> 8f69c11f6b0c [2022-06-29T15:46:33.750Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:46:35.147Z] ---> Running in ff533d858beb [2022-06-29T15:46:35.147Z] Removing intermediate container ff533d858beb [2022-06-29T15:46:35.147Z] ---> aaf9846624da [2022-06-29T15:46:35.147Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:46:35.147Z] ---> Running in ed56bd1e8d35 [2022-06-29T15:46:35.147Z] Removing intermediate container ed56bd1e8d35 [2022-06-29T15:46:35.147Z] ---> 4b33377dad4b [2022-06-29T15:46:35.147Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:46:35.147Z] ---> Running in 78a3d34dc412 [2022-06-29T15:46:35.716Z] Removing intermediate container 78a3d34dc412 [2022-06-29T15:46:35.716Z] ---> 12509568ce7b [2022-06-29T15:46:35.716Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:46:35.716Z] ---> Running in fe3b9a5cf37b [2022-06-29T15:46:35.974Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:46:36.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:46:37.175Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:46:37.435Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:46:37.435Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:46:37.696Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:46:37.696Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:46:37.696Z] OK: 224 MiB in 56 packages [2022-06-29T15:46:37.957Z] Removing intermediate container fe3b9a5cf37b [2022-06-29T15:46:37.957Z] ---> 6222ac120774 [2022-06-29T15:46:37.957Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:46:37.957Z] ---> Running in 56cd113ad749 [2022-06-29T15:46:38.218Z] Removing intermediate container 56cd113ad749 [2022-06-29T15:46:38.218Z] ---> 632e43b5c249 [2022-06-29T15:46:38.218Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:46:38.218Z] ---> 347a4ae14b46 [2022-06-29T15:46:38.218Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:46:38.218Z] ---> Running in 8471066ce6a7 [2022-06-29T15:46:39.765Z] Still waiting to schedule task [2022-06-29T15:46:39.765Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16349’ is offline [2022-06-29T15:46:50.459Z] Removing intermediate container 8471066ce6a7 [2022-06-29T15:46:50.460Z] ---> b64568d7c64c [2022-06-29T15:46:50.460Z] Step 10/12 : COPY . . [2022-06-29T15:46:50.719Z] ---> f50ced0d3928 [2022-06-29T15:46:50.719Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:46:50.719Z] ---> Running in 82f374670bdd [2022-06-29T15:46:50.719Z] Removing intermediate container 82f374670bdd [2022-06-29T15:46:50.720Z] ---> 555255836f8e [2022-06-29T15:46:50.720Z] Step 12/12 : RUN $MAKE [2022-06-29T15:46:50.720Z] ---> Running in f7719e2c6763 [2022-06-29T15:46:50.979Z] noop [2022-06-29T15:46:51.239Z] Removing intermediate container f7719e2c6763 [2022-06-29T15:46:51.239Z] ---> 55daa7e28686 [2022-06-29T15:46:51.239Z] Successfully built 55daa7e28686 [2022-06-29T15:46:51.239Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:46:51.562Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:46:51.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:46:51.642Z] prd-ubuntu20.04-docker-8c-8g-16350 does not seem to be running inside a container [2022-06-29T15:46:51.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T15:46:52.072Z] $ docker top e6239fb5a7407747bf0b488c6e3184dbd161a0cecc26de49767a965b45bcd8bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:46:52.424Z] + go version [2022-06-29T15:46:52.424Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T15:46:52.440Z] $ docker stop --time=1 e6239fb5a7407747bf0b488c6e3184dbd161a0cecc26de49767a965b45bcd8bb [2022-06-29T15:46:53.734Z] $ docker rm -f e6239fb5a7407747bf0b488c6e3184dbd161a0cecc26de49767a965b45bcd8bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:46:54.129Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:46:54.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:46:54.212Z] prd-ubuntu20.04-docker-8c-8g-16350 does not seem to be running inside a container [2022-06-29T15:46:54.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T15:46:54.639Z] $ docker top 28de7dffdfc66772da5241282c9450333b3e96cd40e5f5db051ce446ded49c12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:46:55.009Z] + make test [2022-06-29T15:46:55.009Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:46:55.279Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:47:05.267Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:47:05.267Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-06-29T15:47:05.267Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:47:10.185Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:47:14.381Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:47:14.381Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:47:14.381Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:47:14.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:47:14.666Z] $ docker stop --time=1 28de7dffdfc66772da5241282c9450333b3e96cd40e5f5db051ce446ded49c12 [2022-06-29T15:47:16.316Z] $ docker rm -f 28de7dffdfc66772da5241282c9450333b3e96cd40e5f5db051ce446ded49c12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:47:16.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:47:16.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T15:47:17.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:47:17.630Z] + ls -al . [2022-06-29T15:47:17.630Z] total 180 [2022-06-29T15:47:17.630Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 15:47 . [2022-06-29T15:47:17.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:46 .. [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:46 .dockerignore [2022-06-29T15:47:17.630Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:46 .git [2022-06-29T15:47:17.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:46 .github [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:46 .gitignore [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:46 .golangci.yml [2022-06-29T15:47:17.630Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:46 .semver [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:46 Attribution.txt [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:46 CHANGELOG.md [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:46 Dockerfile [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:46 GOVERNANCE.md [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:46 Jenkinsfile [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:46 LICENSE [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:46 Makefile [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:46 OWNERS.md [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:46 README.md [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:46 VERSION [2022-06-29T15:47:17.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:46 bin [2022-06-29T15:47:17.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:46 cmd [2022-06-29T15:47:17.630Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:47 coverage.out [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:46 go.mod [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:46 go.sum [2022-06-29T15:47:17.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:46 internal [2022-06-29T15:47:17.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:46 mock [2022-06-29T15:47:17.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:46 snap [2022-06-29T15:47:17.630Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:47:17.936Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 --label arch=amd64 --label version=0.0.0 . [2022-06-29T15:47:17.936Z] Sending build context to Docker daemon 6.081MB [2022-06-29T15:47:17.936Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:47:17.936Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:47:17.936Z] ---> 55daa7e28686 [2022-06-29T15:47:17.936Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:47:17.936Z] ---> Running in a2a47ebf2352 [2022-06-29T15:47:18.197Z] Removing intermediate container a2a47ebf2352 [2022-06-29T15:47:18.197Z] ---> 24266ba2f1e4 [2022-06-29T15:47:18.197Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:47:18.197Z] ---> Running in 113faa8d5260 [2022-06-29T15:47:18.197Z] Removing intermediate container 113faa8d5260 [2022-06-29T15:47:18.197Z] ---> a0c490dc14f1 [2022-06-29T15:47:18.197Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:47:18.456Z] ---> Running in 9f1b64b4e275 [2022-06-29T15:47:19.024Z] Removing intermediate container 9f1b64b4e275 [2022-06-29T15:47:19.024Z] ---> 89ec66dd7ac0 [2022-06-29T15:47:19.024Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:47:19.024Z] ---> Running in 74b77fb2740f [2022-06-29T15:47:19.286Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:47:20.226Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:47:20.486Z] OK: 224 MiB in 56 packages [2022-06-29T15:47:21.059Z] Removing intermediate container 74b77fb2740f [2022-06-29T15:47:21.059Z] ---> 4077770488e0 [2022-06-29T15:47:21.059Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:47:21.059Z] ---> Running in 88c21f7501d2 [2022-06-29T15:47:21.059Z] Removing intermediate container 88c21f7501d2 [2022-06-29T15:47:21.059Z] ---> 32df41d6a94f [2022-06-29T15:47:21.059Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:47:21.059Z] ---> e775de48a2c8 [2022-06-29T15:47:21.059Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:47:21.059Z] ---> Running in a5eeb443b240 [2022-06-29T15:47:22.019Z] Removing intermediate container a5eeb443b240 [2022-06-29T15:47:22.019Z] ---> d8cfeb5a02aa [2022-06-29T15:47:22.019Z] Step 10/24 : COPY . . [2022-06-29T15:47:22.279Z] ---> c990dc4533cd [2022-06-29T15:47:22.279Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:47:22.279Z] ---> Running in 2cb4940a7549 [2022-06-29T15:47:22.279Z] Removing intermediate container 2cb4940a7549 [2022-06-29T15:47:22.279Z] ---> d3844caeab2c [2022-06-29T15:47:22.279Z] Step 12/24 : RUN $MAKE [2022-06-29T15:47:22.279Z] ---> Running in 444923331cbe [2022-06-29T15:47:22.539Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-29T15:47:40.648Z] Removing intermediate container 444923331cbe [2022-06-29T15:47:40.648Z] ---> 47991d6e76a1 [2022-06-29T15:47:40.648Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:47:41.217Z] 3.14: Pulling from library/alpine [2022-06-29T15:47:41.476Z] 8663204ce13b: Pulling fs layer [2022-06-29T15:47:41.476Z] 8663204ce13b: Verifying Checksum [2022-06-29T15:47:41.476Z] 8663204ce13b: Download complete [2022-06-29T15:47:41.735Z] 8663204ce13b: Pull complete [2022-06-29T15:47:41.735Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:47:41.735Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:47:41.735Z] ---> e04c818066af [2022-06-29T15:47:41.735Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:47:41.735Z] ---> Running in 06e107867b40 [2022-06-29T15:47:41.735Z] Removing intermediate container 06e107867b40 [2022-06-29T15:47:41.735Z] ---> b272b52f9d53 [2022-06-29T15:47:41.735Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:47:41.994Z] ---> Running in 10ffd420307d [2022-06-29T15:47:42.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:47:42.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:47:42.519Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:47:42.519Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:47:42.519Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:47:42.519Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:47:42.519Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:47:42.519Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:47:42.779Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:47:42.779Z] OK: 8 MiB in 20 packages [2022-06-29T15:47:43.038Z] Removing intermediate container 10ffd420307d [2022-06-29T15:47:43.038Z] ---> 3e9d53dcfd85 [2022-06-29T15:47:43.038Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:47:43.608Z] ---> 5a5fa6a6d789 [2022-06-29T15:47:43.608Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:47:43.608Z] ---> ce104e83abce [2022-06-29T15:47:43.608Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:47:43.608Z] ---> b11d17d3b1ce [2022-06-29T15:47:43.608Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:47:43.867Z] ---> Running in e8031f6de6a1 [2022-06-29T15:47:43.867Z] Removing intermediate container e8031f6de6a1 [2022-06-29T15:47:43.867Z] ---> 4d6da580f352 [2022-06-29T15:47:43.867Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:47:43.867Z] ---> Running in 9092bef297f2 [2022-06-29T15:47:43.867Z] Removing intermediate container 9092bef297f2 [2022-06-29T15:47:43.867Z] ---> 8036f3c866f0 [2022-06-29T15:47:43.867Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:47:43.867Z] ---> Running in 4fefd76e031c [2022-06-29T15:47:44.128Z] Removing intermediate container 4fefd76e031c [2022-06-29T15:47:44.128Z] ---> 9697127cb742 [2022-06-29T15:47:44.128Z] Step 22/24 : LABEL arch=amd64 [2022-06-29T15:47:44.128Z] ---> Running in 03c105b1f2d4 [2022-06-29T15:47:44.128Z] Removing intermediate container 03c105b1f2d4 [2022-06-29T15:47:44.128Z] ---> a1095b9a8726 [2022-06-29T15:47:44.128Z] Step 23/24 : LABEL git_sha=a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [2022-06-29T15:47:44.388Z] ---> Running in f8d507465f2e [2022-06-29T15:47:44.388Z] Removing intermediate container f8d507465f2e [2022-06-29T15:47:44.388Z] ---> 9d412e57129c [2022-06-29T15:47:44.388Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:47:44.388Z] ---> Running in 061a4f998285 [2022-06-29T15:47:44.388Z] Removing intermediate container 061a4f998285 [2022-06-29T15:47:44.388Z] ---> e58a35f3838c [2022-06-29T15:47:44.388Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:47:44.388Z] Successfully built e58a35f3838c [2022-06-29T15:47:44.388Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:47:44.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:47:44.843Z] [2022-06-29T15:47:44.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:47:45.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:47:45.150Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T15:47:45.150Z] 5eb5b503b376: Pulling fs layer [2022-06-29T15:47:45.150Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T15:47:45.150Z] ec43610c2a17: Pulling fs layer [2022-06-29T15:47:45.150Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T15:47:45.150Z] 33b1e0a273af: Pulling fs layer [2022-06-29T15:47:45.150Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T15:47:45.150Z] 2f39f015ded8: Pulling fs layer [2022-06-29T15:47:45.150Z] 33b1e0a273af: Waiting [2022-06-29T15:47:45.150Z] 5d3b04190fa2: Waiting [2022-06-29T15:47:45.150Z] 2f39f015ded8: Waiting [2022-06-29T15:47:45.150Z] 3a2ae6a8a46f: Waiting [2022-06-29T15:47:45.150Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T15:47:45.150Z] 5c69ac0246d0: Download complete [2022-06-29T15:47:45.150Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T15:47:45.150Z] 3a2ae6a8a46f: Download complete [2022-06-29T15:47:45.409Z] 33b1e0a273af: Verifying Checksum [2022-06-29T15:47:45.409Z] 33b1e0a273af: Download complete [2022-06-29T15:47:45.409Z] ec43610c2a17: Verifying Checksum [2022-06-29T15:47:45.409Z] ec43610c2a17: Download complete [2022-06-29T15:47:45.409Z] 5d3b04190fa2: Download complete [2022-06-29T15:47:45.409Z] 5eb5b503b376: Verifying Checksum [2022-06-29T15:47:45.409Z] 5eb5b503b376: Download complete [2022-06-29T15:47:45.976Z] 2f39f015ded8: Download complete [2022-06-29T15:47:46.546Z] 5eb5b503b376: Pull complete [2022-06-29T15:47:46.805Z] 5c69ac0246d0: Pull complete [2022-06-29T15:47:47.065Z] ec43610c2a17: Pull complete [2022-06-29T15:47:47.065Z] 3a2ae6a8a46f: Pull complete [2022-06-29T15:47:47.323Z] 33b1e0a273af: Pull complete [2022-06-29T15:47:47.582Z] 5d3b04190fa2: Pull complete [2022-06-29T15:47:51.776Z] 2f39f015ded8: Pull complete [2022-06-29T15:47:51.776Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T15:47:51.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:47:51.776Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:47:51.871Z] prd-ubuntu20.04-docker-8c-8g-16350 does not seem to be running inside a container [2022-06-29T15:47:51.921Z] $ 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-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T15:47:53.294Z] $ docker top 8a64a77af1aacb19f4d30f4f9e9d09e75ca3e89c47cf4c838111b9856b9d76ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:47:53.740Z] ---> job-cost.sh [2022-06-29T15:47:53.740Z] lf-activate-venv: SKIPPING [2022-06-29T15:47:53.740Z] INFO: No Stack... [2022-06-29T15:47:54.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:47:54.572Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:47:54.861Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/cost.csv [2022-06-29T15:47:54.861Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T15:47:54.875Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] [2022-06-29T15:47:54.881Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] did not exist. Created. [2022-06-29T15:47:54.882Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:47:55.200Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T15:47:55.229Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:47:55.235Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:47:55.260Z] $ docker stop --time=1 8a64a77af1aacb19f4d30f4f9e9d09e75ca3e89c47cf4c838111b9856b9d76ee [2022-06-29T15:47:56.412Z] $ docker rm -f 8a64a77af1aacb19f4d30f4f9e9d09e75ca3e89c47cf4c838111b9856b9d76ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T15:48:12.739Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16351 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [Pipeline] { [Pipeline] ws [2022-06-29T15:48:12.752Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-06-29T15:48:12.784Z] Selected Git installation does not exist. Using Default [2022-06-29T15:48:12.784Z] The recommended git tool is: NONE [2022-06-29T15:48:18.233Z] using credential edgex-jenkins-ssh [2022-06-29T15:48:18.255Z] Cloning the remote Git repository [2022-06-29T15:48:18.314Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:48:18.391Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-06-29T15:48:18.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:48:18.492Z] > git --version # timeout=10 [2022-06-29T15:48:18.510Z] > git --version # 'git version 2.25.1' [2022-06-29T15:48:18.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:48:18.583Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:48:20.288Z] Merging remotes/origin/main commit 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [2022-06-29T15:48:19.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:48:19.568Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:48:19.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:48:19.723Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:48:19.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:48:19.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T15:48:20.549Z] Merge succeeded, producing a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [2022-06-29T15:48:20.549Z] Checking out Revision a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 (PR-397) [2022-06-29T15:48:20.312Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:48:20.331Z] > git checkout -f a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 # timeout=10 [2022-06-29T15:48:20.418Z] > git remote # timeout=10 [2022-06-29T15:48:20.442Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T15:48:20.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:48:20.482Z] > git merge 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [2022-06-29T15:48:20.514Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T15:48:20.560Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:48:20.579Z] > git checkout -f a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 # timeout=10 [2022-06-29T15:48:24.796Z] Commit message: "refactor(snap): upgrade configure hook's formatting" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:48:25.823Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T15:48:25.823Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:48:25.823Z] Dload Upload Total Spent Left Speed [2022-06-29T15:48:25.823Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83353 0 --:--:-- --:--:-- --:--:-- 83353 [Pipeline] sh [2022-06-29T15:48:26.582Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T15:48:26.933Z] + sudo tee /etc/docker/daemon.new [2022-06-29T15:48:26.933Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T15:48:26.933Z] { [2022-06-29T15:48:26.933Z] "registry-mirrors": [ [2022-06-29T15:48:26.933Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T15:48:26.933Z] ], [2022-06-29T15:48:26.933Z] "bip": "10.250.0.254/24", [2022-06-29T15:48:26.933Z] "hosts": [ [2022-06-29T15:48:26.933Z] "tcp://0.0.0.0:5555", [2022-06-29T15:48:26.933Z] "unix:///var/run/docker.sock" [2022-06-29T15:48:26.933Z] ], [2022-06-29T15:48:26.933Z] "mtu": 1458, [2022-06-29T15:48:26.933Z] "selinux-enabled": true, [2022-06-29T15:48:26.933Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T15:48:26.933Z] } [Pipeline] sh [2022-06-29T15:48:27.292Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T15:48:27.651Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:48:45.983Z] provisioning config files... [2022-06-29T15:48:46.010Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config7241311593295590511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:48:46.369Z] ---> docker-login.sh [2022-06-29T15:48:46.369Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:48:46.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:48:47.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:48:47.253Z] Configure a credential helper to remove this warning. See [2022-06-29T15:48:47.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:48:47.253Z] [2022-06-29T15:48:47.253Z] Login Succeeded [2022-06-29T15:48:47.253Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:48:47.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:48:47.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:48:47.527Z] Configure a credential helper to remove this warning. See [2022-06-29T15:48:47.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:48:47.527Z] [2022-06-29T15:48:47.527Z] Login Succeeded [2022-06-29T15:48:47.527Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:48:48.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:48:48.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:48:48.127Z] Configure a credential helper to remove this warning. See [2022-06-29T15:48:48.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:48:48.127Z] [2022-06-29T15:48:48.127Z] Login Succeeded [2022-06-29T15:48:48.127Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:48:48.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:48:48.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:48:48.685Z] Configure a credential helper to remove this warning. See [2022-06-29T15:48:48.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:48:48.685Z] [2022-06-29T15:48:48.685Z] Login Succeeded [2022-06-29T15:48:48.685Z] docker.io [2022-06-29T15:48:48.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:48:49.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:48:49.237Z] Configure a credential helper to remove this warning. See [2022-06-29T15:48:49.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:48:49.237Z] [2022-06-29T15:48:49.237Z] Login Succeeded [2022-06-29T15:48:49.512Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:48:49.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:48:50.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:48:50.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:48:50.101Z] ========================================================= [2022-06-29T15:48:50.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T15:48:50.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:48:50.479Z] + 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-06-29T15:48:50.754Z] Sending build context to Docker daemon 3.149MB [2022-06-29T15:48:51.035Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:48:51.035Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:48:51.035Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T15:48:51.035Z] 9b3977197b4f: Pulling fs layer [2022-06-29T15:48:51.035Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T15:48:51.035Z] 94645a83ff95: Pulling fs layer [2022-06-29T15:48:51.035Z] e6fb740bc735: Pulling fs layer [2022-06-29T15:48:51.035Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T15:48:51.035Z] 355e64cbe906: Pulling fs layer [2022-06-29T15:48:51.035Z] e6fb740bc735: Waiting [2022-06-29T15:48:51.035Z] 63ab81a10011: Pulling fs layer [2022-06-29T15:48:51.035Z] 555d1d1c4555: Pulling fs layer [2022-06-29T15:48:51.035Z] 7d9057610161: Pulling fs layer [2022-06-29T15:48:51.035Z] 3a77bd46dcc9: Waiting [2022-06-29T15:48:51.035Z] 355e64cbe906: Waiting [2022-06-29T15:48:51.035Z] 555d1d1c4555: Waiting [2022-06-29T15:48:51.035Z] 63ab81a10011: Waiting [2022-06-29T15:48:51.035Z] 7d9057610161: Waiting [2022-06-29T15:48:51.035Z] 94645a83ff95: Verifying Checksum [2022-06-29T15:48:51.035Z] 94645a83ff95: Download complete [2022-06-29T15:48:51.035Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T15:48:51.035Z] 1a89e8eeedd5: Download complete [2022-06-29T15:48:51.035Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T15:48:51.035Z] 3a77bd46dcc9: Download complete [2022-06-29T15:48:51.035Z] 355e64cbe906: Verifying Checksum [2022-06-29T15:48:51.035Z] 355e64cbe906: Download complete [2022-06-29T15:48:51.035Z] 9b3977197b4f: Download complete [2022-06-29T15:48:51.035Z] 63ab81a10011: Verifying Checksum [2022-06-29T15:48:51.035Z] 63ab81a10011: Download complete [2022-06-29T15:48:52.026Z] 9b3977197b4f: Pull complete [2022-06-29T15:48:52.305Z] 7d9057610161: Verifying Checksum [2022-06-29T15:48:52.305Z] 7d9057610161: Download complete [2022-06-29T15:48:52.582Z] 1a89e8eeedd5: Pull complete [2022-06-29T15:48:52.856Z] 94645a83ff95: Pull complete [2022-06-29T15:48:53.455Z] 555d1d1c4555: Verifying Checksum [2022-06-29T15:48:53.455Z] 555d1d1c4555: Download complete [2022-06-29T15:48:54.058Z] e6fb740bc735: Verifying Checksum [2022-06-29T15:48:54.058Z] e6fb740bc735: Download complete [2022-06-29T15:49:06.461Z] e6fb740bc735: Pull complete [2022-06-29T15:49:06.461Z] 3a77bd46dcc9: Pull complete [2022-06-29T15:49:06.461Z] 355e64cbe906: Pull complete [2022-06-29T15:49:06.736Z] 63ab81a10011: Pull complete [2022-06-29T15:49:13.453Z] 555d1d1c4555: Pull complete [2022-06-29T15:49:15.476Z] 7d9057610161: Pull complete [2022-06-29T15:49:15.476Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T15:49:15.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T15:49:15.476Z] ---> 819e984ddca1 [2022-06-29T15:49:15.476Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:49:16.917Z] ---> Running in 5cd1d5a668e3 [2022-06-29T15:49:17.193Z] Removing intermediate container 5cd1d5a668e3 [2022-06-29T15:49:17.193Z] ---> 5b3635d37f95 [2022-06-29T15:49:17.193Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:49:17.193Z] ---> Running in 6ac42e428584 [2022-06-29T15:49:17.481Z] Removing intermediate container 6ac42e428584 [2022-06-29T15:49:17.481Z] ---> 33ec0bbb8a5e [2022-06-29T15:49:17.481Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:49:17.762Z] ---> Running in c49e55fb3611 [2022-06-29T15:49:19.760Z] Removing intermediate container c49e55fb3611 [2022-06-29T15:49:19.760Z] ---> 6a96b9c96fe2 [2022-06-29T15:49:19.760Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:49:19.760Z] ---> Running in 0feb55864a8f [2022-06-29T15:49:20.355Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:49:21.335Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:49:22.315Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:49:22.315Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:49:22.315Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:49:22.587Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:49:22.860Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:49:22.860Z] OK: 224 MiB in 56 packages [2022-06-29T15:49:23.853Z] Removing intermediate container 0feb55864a8f [2022-06-29T15:49:23.853Z] ---> 64bf777bb70a [2022-06-29T15:49:23.853Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:49:23.853Z] ---> Running in a7c0a4a775ab [2022-06-29T15:49:24.131Z] Removing intermediate container a7c0a4a775ab [2022-06-29T15:49:24.131Z] ---> 5cabdd62b716 [2022-06-29T15:49:24.131Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:49:24.741Z] ---> c85586cb56a9 [2022-06-29T15:49:24.741Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:49:24.741Z] ---> Running in f1161f401542 [2022-06-29T15:50:11.738Z] Removing intermediate container f1161f401542 [2022-06-29T15:50:11.738Z] ---> 599df065a2da [2022-06-29T15:50:11.738Z] Step 10/12 : COPY . . [2022-06-29T15:50:11.738Z] ---> c643cbbaf687 [2022-06-29T15:50:11.738Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:50:11.738Z] ---> Running in 5b3409b9db89 [2022-06-29T15:50:11.738Z] Removing intermediate container 5b3409b9db89 [2022-06-29T15:50:11.738Z] ---> 85855c743839 [2022-06-29T15:50:11.738Z] Step 12/12 : RUN $MAKE [2022-06-29T15:50:11.738Z] ---> Running in 021137ad95b2 [2022-06-29T15:50:11.738Z] noop [2022-06-29T15:50:12.337Z] Removing intermediate container 021137ad95b2 [2022-06-29T15:50:12.337Z] ---> bb35229052b4 [2022-06-29T15:50:12.337Z] Successfully built bb35229052b4 [2022-06-29T15:50:12.337Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:50:12.707Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T15:50:12.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:50:12.963Z] prd-ubuntu20.04-docker-arm64-4c-16g-16351 does not seem to be running inside a container [2022-06-29T15:50:13.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T15:50:14.343Z] $ docker top 016798805a8e14c4af9c0e725b4687b9ee242f86ef536745e3088b62d145fa01 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:50:15.244Z] + go version [2022-06-29T15:50:15.244Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T15:50:15.271Z] $ docker stop --time=1 016798805a8e14c4af9c0e725b4687b9ee242f86ef536745e3088b62d145fa01 [2022-06-29T15:50:16.937Z] $ docker rm -f 016798805a8e14c4af9c0e725b4687b9ee242f86ef536745e3088b62d145fa01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:50:17.574Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T15:50:17.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:50:17.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-16351 does not seem to be running inside a container [2022-06-29T15:50:17.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T15:50:19.235Z] $ docker top eb23528e1b8a88d56195f247005691cdca32d749b3263101824383668c2058e6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:50:20.177Z] + make test [2022-06-29T15:50:20.177Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:50:22.171Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:51:59.063Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:51:59.063Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-06-29T15:51:59.063Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:51:59.063Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T15:51:59.063Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:52:17.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:52:17.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:52:17.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:52:18.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:52:18.104Z] $ docker stop --time=1 eb23528e1b8a88d56195f247005691cdca32d749b3263101824383668c2058e6 [2022-06-29T15:52:19.912Z] $ docker rm -f eb23528e1b8a88d56195f247005691cdca32d749b3263101824383668c2058e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:52:20.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:52:20.857Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T15:52:21.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:52:21.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:52:22.059Z] + ls -al . [2022-06-29T15:52:22.059Z] total 176 [2022-06-29T15:52:22.059Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 15:52 . [2022-06-29T15:52:22.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:48 .. [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:48 .dockerignore [2022-06-29T15:52:22.059Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:48 .git [2022-06-29T15:52:22.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:48 .github [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:48 .gitignore [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:48 .golangci.yml [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:48 Attribution.txt [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:48 CHANGELOG.md [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:48 Dockerfile [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:48 GOVERNANCE.md [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:48 Jenkinsfile [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:48 LICENSE [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:48 Makefile [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:48 OWNERS.md [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:48 README.md [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:46 VERSION [2022-06-29T15:52:22.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:48 bin [2022-06-29T15:52:22.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:48 cmd [2022-06-29T15:52:22.059Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:51 coverage.out [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:48 go.mod [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:48 go.sum [2022-06-29T15:52:22.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:48 internal [2022-06-29T15:52:22.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:48 mock [2022-06-29T15:52:22.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:48 snap [2022-06-29T15:52:22.059Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:52:22.415Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 --label arch=arm64 --label version=0.0.0 . [2022-06-29T15:52:22.689Z] Sending build context to Docker daemon 3.167MB [2022-06-29T15:52:22.689Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:52:22.689Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:52:22.961Z] ---> bb35229052b4 [2022-06-29T15:52:22.961Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:52:22.961Z] ---> Running in 38a81d4438be [2022-06-29T15:52:23.233Z] Removing intermediate container 38a81d4438be [2022-06-29T15:52:23.233Z] ---> 66f60df6c5e0 [2022-06-29T15:52:23.233Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:52:23.233Z] ---> Running in ac3c61e060ce [2022-06-29T15:52:23.841Z] Removing intermediate container ac3c61e060ce [2022-06-29T15:52:23.841Z] ---> 63cf5dc01b25 [2022-06-29T15:52:23.841Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:52:23.841Z] ---> Running in f7ff6db0163c [2022-06-29T15:52:25.296Z] Removing intermediate container f7ff6db0163c [2022-06-29T15:52:25.296Z] ---> 9ad54a0865f5 [2022-06-29T15:52:25.296Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:52:25.589Z] ---> Running in 590e8d393271 [2022-06-29T15:52:26.580Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:52:27.554Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:52:28.146Z] OK: 224 MiB in 56 packages [2022-06-29T15:52:29.129Z] Removing intermediate container 590e8d393271 [2022-06-29T15:52:29.129Z] ---> 50b6c5a84484 [2022-06-29T15:52:29.129Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:52:29.129Z] ---> Running in 26bdf2cfa8c6 [2022-06-29T15:52:29.399Z] Removing intermediate container 26bdf2cfa8c6 [2022-06-29T15:52:29.399Z] ---> 0621fe46a10b [2022-06-29T15:52:29.399Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:52:29.995Z] ---> 5c8e739abfa4 [2022-06-29T15:52:29.995Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:52:29.995Z] ---> Running in 301d86d8ee45 [2022-06-29T15:52:31.966Z] Removing intermediate container 301d86d8ee45 [2022-06-29T15:52:31.966Z] ---> 5fa9f7b22c48 [2022-06-29T15:52:31.966Z] Step 10/24 : COPY . . [2022-06-29T15:52:32.943Z] ---> 0faa7756c537 [2022-06-29T15:52:32.943Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:52:32.943Z] ---> Running in 365afa050ded [2022-06-29T15:52:33.217Z] Removing intermediate container 365afa050ded [2022-06-29T15:52:33.217Z] ---> 1fbf1298c74f [2022-06-29T15:52:33.217Z] Step 12/24 : RUN $MAKE [2022-06-29T15:52:33.217Z] ---> Running in c07d9dd39815 [2022-06-29T15:52:34.204Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-29T15:54:41.090Z] Removing intermediate container c07d9dd39815 [2022-06-29T15:54:41.090Z] ---> 308e75a0e312 [2022-06-29T15:54:41.090Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:54:41.090Z] 3.14: Pulling from library/alpine [2022-06-29T15:54:41.090Z] 455c02918c45: Pulling fs layer [2022-06-29T15:54:41.090Z] 455c02918c45: Verifying Checksum [2022-06-29T15:54:41.090Z] 455c02918c45: Download complete [2022-06-29T15:54:41.090Z] 455c02918c45: Pull complete [2022-06-29T15:54:41.090Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:54:41.090Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:54:41.090Z] ---> ac73e934f311 [2022-06-29T15:54:41.090Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:54:41.090Z] ---> Running in 5975195566c5 [2022-06-29T15:54:41.090Z] Removing intermediate container 5975195566c5 [2022-06-29T15:54:41.090Z] ---> 5db279b5e22d [2022-06-29T15:54:41.090Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:54:41.090Z] ---> Running in 82849b7c4451 [2022-06-29T15:54:41.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:54:41.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:54:41.090Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:54:41.090Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:54:41.090Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:54:41.090Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:54:41.090Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:54:41.090Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:54:41.090Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:54:41.090Z] OK: 8 MiB in 20 packages [2022-06-29T15:54:41.090Z] Removing intermediate container 82849b7c4451 [2022-06-29T15:54:41.090Z] ---> efb36fb91a51 [2022-06-29T15:54:41.090Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:54:41.090Z] ---> 18e16f37075f [2022-06-29T15:54:41.090Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:54:41.090Z] ---> 805be0567224 [2022-06-29T15:54:41.090Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:54:41.368Z] ---> 7bb305c0e22e [2022-06-29T15:54:41.368Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:54:41.368Z] ---> Running in dac1cb95b605 [2022-06-29T15:54:41.645Z] Removing intermediate container dac1cb95b605 [2022-06-29T15:54:41.645Z] ---> a714251801bb [2022-06-29T15:54:41.645Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:54:41.645Z] ---> Running in 4c06a6c5a029 [2022-06-29T15:54:41.919Z] Removing intermediate container 4c06a6c5a029 [2022-06-29T15:54:41.919Z] ---> 1c0d5aaa05d6 [2022-06-29T15:54:41.919Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:54:42.256Z] ---> Running in 466a2094b22f [2022-06-29T15:54:42.696Z] Removing intermediate container 466a2094b22f [2022-06-29T15:54:42.696Z] ---> 012aab6a3412 [2022-06-29T15:54:42.696Z] Step 22/24 : LABEL arch=arm64 [2022-06-29T15:54:42.696Z] ---> Running in 9542f2c36c33 [2022-06-29T15:54:42.978Z] Removing intermediate container 9542f2c36c33 [2022-06-29T15:54:42.978Z] ---> d5904165e8d8 [2022-06-29T15:54:42.978Z] Step 23/24 : LABEL git_sha=a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [2022-06-29T15:54:42.978Z] ---> Running in 609d0fdacca8 [2022-06-29T15:54:43.252Z] Removing intermediate container 609d0fdacca8 [2022-06-29T15:54:43.252Z] ---> bbcd76598d06 [2022-06-29T15:54:43.252Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:54:43.252Z] ---> Running in 77e91cde39aa [2022-06-29T15:54:43.526Z] Removing intermediate container 77e91cde39aa [2022-06-29T15:54:43.526Z] ---> ab7353a95fd6 [2022-06-29T15:54:43.526Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:54:43.526Z] Successfully built ab7353a95fd6 [2022-06-29T15:54:43.526Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:54:43.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:54:43.977Z] [2022-06-29T15:54:43.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:54:44.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:54:44.324Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T15:54:44.324Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T15:54:44.324Z] 04944245beec: Pulling fs layer [2022-06-29T15:54:44.324Z] 699f458cf7ca: Pulling fs layer [2022-06-29T15:54:44.324Z] 765212b225bb: Pulling fs layer [2022-06-29T15:54:44.324Z] f23df028b6ca: Pulling fs layer [2022-06-29T15:54:44.324Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T15:54:44.324Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T15:54:44.325Z] f23df028b6ca: Waiting [2022-06-29T15:54:44.325Z] d65c8cfc05b1: Waiting [2022-06-29T15:54:44.325Z] 2437ff75d9bd: Waiting [2022-06-29T15:54:44.325Z] 765212b225bb: Waiting [2022-06-29T15:54:44.595Z] 04944245beec: Verifying Checksum [2022-06-29T15:54:44.595Z] 04944245beec: Download complete [2022-06-29T15:54:44.595Z] 765212b225bb: Verifying Checksum [2022-06-29T15:54:44.595Z] 765212b225bb: Download complete [2022-06-29T15:54:44.595Z] f23df028b6ca: Verifying Checksum [2022-06-29T15:54:44.595Z] f23df028b6ca: Download complete [2022-06-29T15:54:44.595Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T15:54:44.595Z] d65c8cfc05b1: Download complete [2022-06-29T15:54:44.869Z] 699f458cf7ca: Verifying Checksum [2022-06-29T15:54:44.869Z] 699f458cf7ca: Download complete [2022-06-29T15:54:45.144Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T15:54:45.144Z] 8998bd30e6a1: Download complete [2022-06-29T15:54:47.143Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T15:54:47.143Z] 2437ff75d9bd: Download complete [2022-06-29T15:54:49.782Z] 8998bd30e6a1: Pull complete [2022-06-29T15:54:50.057Z] 04944245beec: Pull complete [2022-06-29T15:54:51.499Z] 699f458cf7ca: Pull complete [2022-06-29T15:54:51.773Z] 765212b225bb: Pull complete [2022-06-29T15:54:52.754Z] f23df028b6ca: Pull complete [2022-06-29T15:54:53.029Z] d65c8cfc05b1: Pull complete [2022-06-29T15:55:15.234Z] 2437ff75d9bd: Pull complete [2022-06-29T15:55:15.234Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T15:55:15.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:55:15.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:55:15.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-16351 does not seem to be running inside a container [2022-06-29T15:55:15.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T15:55:16.899Z] $ docker top c13ca81988b5c32aed97d7aeaefd1c95e53a8796bf363f5ea6f5fb99aa191ce9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:17.830Z] ---> job-cost.sh [2022-06-29T15:55:17.830Z] lf-activate-venv: SKIPPING [2022-06-29T15:55:17.830Z] INFO: No Stack... [2022-06-29T15:55:18.426Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T15:55:19.406Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:55:20.071Z] + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [2022-06-29T15:55:20.071Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T15:55:20.130Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] [2022-06-29T15:55:20.136Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] did not exist. Created. [2022-06-29T15:55:20.136Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:55:20.809Z] /w/workspace/device-mqtt-go/3@tmp/durable-bb543fc3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T15:55:21.483Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T15:55:21.511Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T15:55:21.554Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:55:21.560Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:55:21.576Z] $ docker stop --time=1 c13ca81988b5c32aed97d7aeaefd1c95e53a8796bf363f5ea6f5fb99aa191ce9 [2022-06-29T15:55:23.068Z] $ docker rm -f c13ca81988b5c32aed97d7aeaefd1c95e53a8796bf363f5ea6f5fb99aa191ce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-29T15:55:23.487Z] provisioning config files... [2022-06-29T15:55:23.495Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config8056608215614858927tmp [Pipeline] { [Pipeline] sh [2022-06-29T15:55:23.788Z] + set +x [2022-06-29T15:55:23.789Z] + curl -s https://codecov.io/bash [2022-06-29T15:55:23.789Z] + bash -s -- [2022-06-29T15:55:23.789Z] [2022-06-29T15:55:23.789Z] _____ _ [2022-06-29T15:55:23.789Z] / ____| | | [2022-06-29T15:55:23.789Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T15:55:23.789Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T15:55:23.789Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T15:55:23.789Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T15:55:23.789Z] Bash-1.0.6 [2022-06-29T15:55:23.789Z] [2022-06-29T15:55:23.789Z] [2022-06-29T15:55:23.789Z] ==> git version 2.25.1 found [2022-06-29T15:55:23.789Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-29T15:55:23.789Z] Release-Date: 2020-01-08 [2022-06-29T15:55:23.789Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-29T15:55:23.789Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T15:55:23.789Z] ==> Jenkins CI detected. [2022-06-29T15:55:23.789Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T15:55:23.789Z] project root: . [2022-06-29T15:55:23.789Z] --> token set from env [2022-06-29T15:55:23.789Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T15:55:23.789Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T15:55:23.789Z] ==> Python coveragepy not found [2022-06-29T15:55:23.789Z] ==> Searching for coverage reports in: [2022-06-29T15:55:23.789Z] + . [2022-06-29T15:55:23.789Z] -> Found 1 reports [2022-06-29T15:55:23.789Z] ==> Detecting git/mercurial file structure [2022-06-29T15:55:23.789Z] ==> Reading reports [2022-06-29T15:55:23.789Z] + ./coverage.out bytes=17887 [2022-06-29T15:55:23.789Z] ==> Appending adjustments [2022-06-29T15:55:23.789Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T15:55:24.049Z] + Found adjustments [2022-06-29T15:55:24.049Z] ==> Gzipping contents [2022-06-29T15:55:24.049Z] 4.0K /tmp/codecov.u0Kvhq.gz [2022-06-29T15:55:24.049Z] ==> Uploading reports [2022-06-29T15:55:24.049Z] url: https://codecov.io [2022-06-29T15:55:24.049Z] query: branch=PR-397&commit=a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T15:55:24.049Z] -> Pinging Codecov [2022-06-29T15:55:24.049Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-397&commit=a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T15:55:24.309Z] -> Uploading to [2022-06-29T15:55:24.309Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7D719EC7BBE17E464838252E33014C33/a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86/2bf8bae4-0467-481d-977d-485b98e226c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T155524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd73503bdd27b42974e98a06a54f0b34e4ab2c7937182bbf654221a169df4d32 [2022-06-29T15:55:24.309Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:55:24.309Z] Dload Upload Total Spent Left Speed [2022-06-29T15:55:24.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3233 0 0 100 3233 0 14563 --:--:-- --:--:-- --:--:-- 14497 100 3233 0 0 100 3233 0 13995 --:--:-- --:--:-- --:--:-- 13935 [2022-06-29T15:55:24.569Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 [Pipeline] } [2022-06-29T15:55:24.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-06-29T15:55:25.221Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives ] [2022-06-29T15:55:25.221Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:55:25.221Z] total 16 [2022-06-29T15:55:25.221Z] drwxr-xr-x 3 root root 4096 Jun 29 15:47 . [2022-06-29T15:55:25.221Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:47 .. [2022-06-29T15:55:25.221Z] drwxr-xr-x 2 root root 4096 Jun 29 15:47 cost [2022-06-29T15:55:25.221Z] -rw-r--r-- 1 root root 85 Jun 29 15:47 cost.csv [2022-06-29T15:55:25.221Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:55:25.221Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:55:25.221Z] total 16 [2022-06-29T15:55:25.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:47 . [2022-06-29T15:55:25.221Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:47 .. [2022-06-29T15:55:25.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 15:47 cost [2022-06-29T15:55:25.221Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 15:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:25.530Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:26.393Z] ---> package-listing.sh [2022-06-29T15:55:26.393Z] ++ facter osfamily [2022-06-29T15:55:26.393Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T15:55:26.657Z] + OS_FAMILY=debian [2022-06-29T15:55:26.657Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T15:55:26.657Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T15:55:26.657Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T15:55:26.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T15:55:26.657Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T15:55:26.657Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T15:55:26.657Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T15:55:26.657Z] + case "${OS_FAMILY}" in [2022-06-29T15:55:26.657Z] + dpkg -l [2022-06-29T15:55:26.657Z] + grep '^ii' [2022-06-29T15:55:26.657Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T15:55:26.657Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T15:55:26.657Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T15:55:26.657Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T15:55:26.657Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [2022-06-29T15:55:26.657Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [Pipeline] echo [2022-06-29T15:55:26.669Z] 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T15:55:26.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:55:27.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:55:27.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:55:27.594Z] prd-ubuntu20.04-docker-8c-8g-16350 does not seem to be running inside a container [2022-06-29T15:55:27.630Z] $ 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-397/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-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T15:55:27.843Z] $ docker top f069b8def9720c0a111141b0bef1791aa043d1ea1bbf0966532865cfd78b33eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:55:28.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T15:55:28.493Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T15:55:28.783Z] + ls /var/log/sa-host [2022-06-29T15:55:28.784Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:55:28.847Z] provisioning config files... [2022-06-29T15:55:28.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config5891264964491129791tmp [Pipeline] { [Pipeline] echo [2022-06-29T15:55:28.868Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:29.153Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T15:55:29.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:29.493Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T15:55:29.500Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:29.783Z] ---> sudo-logs.sh [2022-06-29T15:55:29.783Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T15:55:29.811Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:30.095Z] ---> job-cost.sh [2022-06-29T15:55:30.095Z] lf-activate-venv: SKIPPING [2022-06-29T15:55:30.095Z] DEBUG: total: 0.2199999988079071 [2022-06-29T15:55:30.095Z] INFO: Retrieving Stack Cost... [2022-06-29T15:55:30.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:55:30.926Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T15:55:31.196Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:55:31.481Z] ---> logs-deploy.sh [2022-06-29T15:55:31.481Z] lf-activate-venv: SKIPPING [2022-06-29T15:55:31.481Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-397/3 [2022-06-29T15:55:31.481Z] INFO: archiving workspace using pattern(s): [2022-06-29T15:55:32.423Z] Archives upload complete. [2022-06-29T15:55:32.423Z] INFO: archiving logs to Nexus