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 93cd00cd501c2eca969735f1113b792320d4638c 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-ssh7422032164216240921.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-ssh10740955336862885270.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-ssh7635792347393618569.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-ssh7327649674589472145.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-ssh7773009924559777723.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-16350’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16352 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 93cd00cd501c2eca969735f1113b792320d4638c Merge succeeded, producing 93cd00cd501c2eca969735f1113b792320d4638c Checking out Revision 93cd00cd501c2eca969735f1113b792320d4638c (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 93cd00cd501c2eca969735f1113b792320d4638c # 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 93cd00cd501c2eca969735f1113b792320d4638c # timeout=10 Commit message: "refactor(snap): upgrade configure hook's formatting" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk a2e1c7c0519cb6c334eb4c8770b8b8fadb090d86 # timeout=10 [Pipeline] timeout [2022-06-29T15:57:13.276Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T15:57:13.337Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T15:57:13.353Z] ========================================================= [2022-06-29T15:57:13.353Z] EdgeX Global Pipelines Version Info [2022-06-29T15:57:13.353Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:57:14.105Z] ------------------- [2022-06-29T15:57:14.105Z] stable info: [2022-06-29T15:57:14.105Z] ------------------- [2022-06-29T15:57:14.105Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T15:57:14.105Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:57:14.105Z] Message: update stable to v1.0.234 [2022-06-29T15:57:14.676Z] ------------------- [2022-06-29T15:57:14.676Z] experimental info: [2022-06-29T15:57:14.676Z] ------------------- [2022-06-29T15:57:14.676Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T15:57:14.676Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:57:14.676Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T15:57:14.870Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-29T15:57:14.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-29T15:57:14.894Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T15:57:14.909Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T15:57:14.924Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T15:57:14.940Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T15:57:14.956Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T15:57:14.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T15:57:14.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T15:57:15.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T15:57:15.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T15:57:15.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-29T15:57:15.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T15:57:15.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T15:57:15.093Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:57:15.112Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:57:15.126Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:57:15.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:57:15.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T15:57:15.168Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T15:57:15.181Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T15:57:15.196Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T15:57:15.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T15:57:15.221Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T15:57:15.238Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T15:57:15.257Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T15:57:15.274Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T15:57:15.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:57:15.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:57:15.313Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2022-06-29T15:57:15.323Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93cd00cd501c2eca969735f1113b792320d4638c [Pipeline] echo [2022-06-29T15:57:15.337Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93cd00c [Pipeline] echo [2022-06-29T15:57:15.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:57:15.394Z] provisioning config files... [2022-06-29T15:57:15.409Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config5845265913310816934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:57:15.736Z] ---> docker-login.sh [2022-06-29T15:57:15.736Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:57:15.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:15.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:15.997Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:15.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:15.997Z] [2022-06-29T15:57:15.997Z] Login Succeeded [2022-06-29T15:57:15.997Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:57:16.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:16.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:16.258Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:16.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:16.258Z] [2022-06-29T15:57:16.258Z] Login Succeeded [2022-06-29T15:57:16.258Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:57:16.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:16.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:16.258Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:16.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:16.258Z] [2022-06-29T15:57:16.258Z] Login Succeeded [2022-06-29T15:57:16.258Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:57:16.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:16.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:16.540Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:16.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:16.540Z] [2022-06-29T15:57:16.540Z] Login Succeeded [2022-06-29T15:57:16.540Z] docker.io [2022-06-29T15:57:16.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:17.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:17.121Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:17.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:17.121Z] [2022-06-29T15:57:17.121Z] Login Succeeded [2022-06-29T15:57:17.121Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:57:17.129Z] 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:57:17.529Z] + git rev-list -1 --merges 93cd00cd501c2eca969735f1113b792320d4638c~1..93cd00cd501c2eca969735f1113b792320d4638c [Pipeline] echo [2022-06-29T15:57:17.560Z] -----------> git rev-list -1 --merges 93cd00cd501c2eca969735f1113b792320d4638c~1..93cd00cd501c2eca969735f1113b792320d4638c 93cd00cd501c2eca969735f1113b792320d4638c [false] [Pipeline] sh [2022-06-29T15:57:17.864Z] + git log --format=format:%s -1 93cd00cd501c2eca969735f1113b792320d4638c [Pipeline] echo [2022-06-29T15:57:17.880Z] ========================================================= [2022-06-29T15:57:17.880Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T15:57:17.880Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:57:18.221Z] + git log --format=format:%s -1 93cd00cd501c2eca969735f1113b792320d4638c [Pipeline] echo [2022-06-29T15:57:18.237Z] [semverPrep] GIT_COMMIT: 93cd00cd501c2eca969735f1113b792320d4638c, Commit Message: refactor(snap): upgrade configure hook's formatting [Pipeline] echo [2022-06-29T15:57:18.247Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T15:57:18.634Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T15:57:18.635Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T15:57:18.635Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T15:57:18.635Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T15:57:18.635Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T15:57:18.635Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T15:57:18.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:57:19.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:57:19.047Z] [2022-06-29T15:57:19.047Z] 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:57:19.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:57:19.377Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T15:57:19.377Z] 42c077c10790: Pulling fs layer [2022-06-29T15:57:19.377Z] f63e77b7563a: Pulling fs layer [2022-06-29T15:57:19.377Z] bd5fdadae976: Pulling fs layer [2022-06-29T15:57:19.377Z] 205491f53016: Pulling fs layer [2022-06-29T15:57:19.377Z] df18705c85c3: Pulling fs layer [2022-06-29T15:57:19.377Z] bdb3f477010e: Pulling fs layer [2022-06-29T15:57:19.377Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T15:57:19.377Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T15:57:19.377Z] bdb8f0575790: Pulling fs layer [2022-06-29T15:57:19.377Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T15:57:19.377Z] 2343380bae48: Pulling fs layer [2022-06-29T15:57:19.377Z] bdb3f477010e: Waiting [2022-06-29T15:57:19.377Z] 2c6e9b1d212d: Waiting [2022-06-29T15:57:19.377Z] df18705c85c3: Waiting [2022-06-29T15:57:19.377Z] c8a8fc8e1c8f: Waiting [2022-06-29T15:57:19.377Z] 386e3cb2ff24: Waiting [2022-06-29T15:57:19.377Z] 2343380bae48: Waiting [2022-06-29T15:57:19.377Z] 205491f53016: Waiting [2022-06-29T15:57:19.377Z] f63e77b7563a: Verifying Checksum [2022-06-29T15:57:19.377Z] f63e77b7563a: Download complete [2022-06-29T15:57:19.377Z] 205491f53016: Verifying Checksum [2022-06-29T15:57:19.377Z] 205491f53016: Download complete [2022-06-29T15:57:19.639Z] df18705c85c3: Verifying Checksum [2022-06-29T15:57:19.639Z] df18705c85c3: Download complete [2022-06-29T15:57:19.639Z] bdb3f477010e: Verifying Checksum [2022-06-29T15:57:19.639Z] bdb3f477010e: Download complete [2022-06-29T15:57:19.639Z] bd5fdadae976: Verifying Checksum [2022-06-29T15:57:19.639Z] bd5fdadae976: Download complete [2022-06-29T15:57:19.639Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T15:57:19.639Z] 2c6e9b1d212d: Download complete [2022-06-29T15:57:19.639Z] bdb8f0575790: Verifying Checksum [2022-06-29T15:57:19.639Z] bdb8f0575790: Download complete [2022-06-29T15:57:19.639Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T15:57:19.639Z] 386e3cb2ff24: Download complete [2022-06-29T15:57:19.639Z] 2343380bae48: Verifying Checksum [2022-06-29T15:57:19.639Z] 2343380bae48: Download complete [2022-06-29T15:57:19.639Z] 42c077c10790: Verifying Checksum [2022-06-29T15:57:19.639Z] 42c077c10790: Download complete [2022-06-29T15:57:19.898Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T15:57:19.898Z] c8a8fc8e1c8f: Download complete [2022-06-29T15:57:21.285Z] 42c077c10790: Pull complete [2022-06-29T15:57:21.285Z] f63e77b7563a: Pull complete [2022-06-29T15:57:21.855Z] bd5fdadae976: Pull complete [2022-06-29T15:57:22.117Z] 205491f53016: Pull complete [2022-06-29T15:57:22.377Z] df18705c85c3: Pull complete [2022-06-29T15:57:22.377Z] bdb3f477010e: Pull complete [2022-06-29T15:57:24.927Z] c8a8fc8e1c8f: Pull complete [2022-06-29T15:57:24.927Z] 2c6e9b1d212d: Pull complete [2022-06-29T15:57:24.927Z] bdb8f0575790: Pull complete [2022-06-29T15:57:24.927Z] 386e3cb2ff24: Pull complete [2022-06-29T15:57:24.927Z] 2343380bae48: Pull complete [2022-06-29T15:57:24.927Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T15:57:24.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:57:24.927Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:57:25.038Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2022-06-29T15:57:25.086Z] $ 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:57:26.363Z] $ docker top 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e -eo pid,comm [2022-06-29T15:57:26.426Z] 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:57:26.426Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T15:57:26.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:57:26.459Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:57:26.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:57:26.623Z] $ docker exec 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e ssh-agent [2022-06-29T15:57:26.747Z] SSH_AUTH_SOCK=/tmp/ssh-RHfD5qgRoeBl/agent.33 [2022-06-29T15:57:26.747Z] SSH_AGENT_PID=39 [2022-06-29T15:57:26.753Z] Running ssh-add (command line suppressed) [2022-06-29T15:57:26.883Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_3526619756155296850.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_3526619756155296850.key) [2022-06-29T15:57:26.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:57:27.188Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T15:57:27.206Z] $ docker exec --env ******** --env ******** 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e ssh-agent -k [2022-06-29T15:57:27.322Z] unset SSH_AUTH_SOCK; [2022-06-29T15:57:27.323Z] unset SSH_AGENT_PID; [2022-06-29T15:57:27.323Z] echo Agent pid 39 killed; [2022-06-29T15:57:27.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T15:57:27.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:57:27.357Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:57:27.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:57:27.511Z] $ docker exec 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e ssh-agent [2022-06-29T15:57:27.645Z] SSH_AUTH_SOCK=/tmp/ssh-ih1EE0aATATj/agent.74 [2022-06-29T15:57:27.645Z] SSH_AGENT_PID=80 [2022-06-29T15:57:27.651Z] Running ssh-add (command line suppressed) [2022-06-29T15:57:27.795Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_4636917116444189325.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_4636917116444189325.key) [2022-06-29T15:57:27.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:57:28.096Z] + git semver init [2022-06-29T15:57:28.357Z] 2022-06-29 15:57:28,348 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T15:57:28.357Z] 2022-06-29 15:57:28,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T15:57:28.357Z] 2022-06-29 15:57:28,350 [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:57:28.357Z] 2022-06-29 15:57:28,350 [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:57:29.304Z] 2022-06-29 15:57:29,008 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.git/info/exclude [2022-06-29T15:57:29.304Z] 2022-06-29 15:57:29,008 [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:57:29.304Z] 2022-06-29 15:57:29,008 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:57:29.304Z] 2022-06-29 15:57:29,013 [execute] INFO git cat-file --batch-check [2022-06-29T15:57:29.304Z] 2022-06-29 15:57:29,013 [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:57:29.304Z] 2022-06-29 15:57:29,020 [execute] INFO git cat-file --batch [2022-06-29T15:57:29.304Z] 2022-06-29 15:57:29,021 [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:57:29.304Z] 2022-06-29 15:57:29,026 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:57:29.304Z] 0.0.0 [Pipeline] } [2022-06-29T15:57:29.321Z] $ docker exec --env ******** --env ******** 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e ssh-agent -k [2022-06-29T15:57:29.438Z] unset SSH_AUTH_SOCK; [2022-06-29T15:57:29.438Z] unset SSH_AGENT_PID; [2022-06-29T15:57:29.438Z] echo Agent pid 80 killed; [2022-06-29T15:57:29.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T15:57:29.794Z] + git semver [Pipeline] } [2022-06-29T15:57:30.070Z] $ docker stop --time=1 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e [2022-06-29T15:57:31.389Z] $ docker rm -f 16e6e2b33de6cf788a4e8972aa261ad984351ea975e1eaf94e40cd6c5d7dc60e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:57:31.740Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T15:57:32.005Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T15:57:32.008Z] [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:57:32.159Z] provisioning config files... [2022-06-29T15:57:32.170Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config6771607108224020006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:57:32.474Z] ---> docker-login.sh [2022-06-29T15:57:32.474Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:57:32.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:32.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:32.474Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:32.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:32.474Z] [2022-06-29T15:57:32.474Z] Login Succeeded [2022-06-29T15:57:32.474Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:57:32.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:32.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:32.735Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:32.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:32.735Z] [2022-06-29T15:57:32.735Z] Login Succeeded [2022-06-29T15:57:32.735Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:57:32.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:32.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:32.735Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:32.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:32.735Z] [2022-06-29T15:57:32.735Z] Login Succeeded [2022-06-29T15:57:32.735Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:57:32.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:32.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:32.996Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:32.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:32.996Z] [2022-06-29T15:57:32.996Z] Login Succeeded [2022-06-29T15:57:32.996Z] docker.io [2022-06-29T15:57:32.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:57:33.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:57:33.258Z] Configure a credential helper to remove this warning. See [2022-06-29T15:57:33.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:57:33.258Z] [2022-06-29T15:57:33.258Z] Login Succeeded [2022-06-29T15:57:33.258Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:57:33.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:57:33.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:57:33.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:57:33.373Z] ========================================================= [2022-06-29T15:57:33.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T15:57:33.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:57:33.696Z] + 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:57:33.697Z] Sending build context to Docker daemon 6.059MB [2022-06-29T15:57:33.697Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:57:33.697Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:57:33.697Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T15:57:33.697Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T15:57:33.697Z] 666ba61612fd: Pulling fs layer [2022-06-29T15:57:33.697Z] 8ed8ca486205: Pulling fs layer [2022-06-29T15:57:33.697Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T15:57:33.697Z] c516ae0d96e1: Pulling fs layer [2022-06-29T15:57:33.697Z] 684cea983483: Pulling fs layer [2022-06-29T15:57:33.697Z] dd3240ac7de5: Pulling fs layer [2022-06-29T15:57:33.697Z] b1e948a4e11c: Pulling fs layer [2022-06-29T15:57:33.697Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T15:57:33.697Z] 646ad004c059: Pulling fs layer [2022-06-29T15:57:33.697Z] 684cea983483: Waiting [2022-06-29T15:57:33.697Z] cc1cd167ecdc: Waiting [2022-06-29T15:57:33.697Z] dd3240ac7de5: Waiting [2022-06-29T15:57:33.697Z] b1e948a4e11c: Waiting [2022-06-29T15:57:33.697Z] a8fd76ee1af6: Waiting [2022-06-29T15:57:33.697Z] 646ad004c059: Waiting [2022-06-29T15:57:33.697Z] c516ae0d96e1: Waiting [2022-06-29T15:57:33.697Z] 8ed8ca486205: Verifying Checksum [2022-06-29T15:57:33.697Z] 8ed8ca486205: Download complete [2022-06-29T15:57:33.697Z] 666ba61612fd: Verifying Checksum [2022-06-29T15:57:33.697Z] 666ba61612fd: Download complete [2022-06-29T15:57:33.959Z] c516ae0d96e1: Verifying Checksum [2022-06-29T15:57:33.959Z] c516ae0d96e1: Download complete [2022-06-29T15:57:33.959Z] 684cea983483: Download complete [2022-06-29T15:57:33.959Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T15:57:33.959Z] 59bf1c3509f3: Download complete [2022-06-29T15:57:33.959Z] dd3240ac7de5: Verifying Checksum [2022-06-29T15:57:33.959Z] dd3240ac7de5: Download complete [2022-06-29T15:57:33.959Z] b1e948a4e11c: Verifying Checksum [2022-06-29T15:57:33.959Z] b1e948a4e11c: Download complete [2022-06-29T15:57:33.959Z] 59bf1c3509f3: Pull complete [2022-06-29T15:57:34.221Z] 666ba61612fd: Pull complete [2022-06-29T15:57:34.222Z] 8ed8ca486205: Pull complete [2022-06-29T15:57:34.484Z] 646ad004c059: Verifying Checksum [2022-06-29T15:57:34.484Z] 646ad004c059: Download complete [2022-06-29T15:57:34.484Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T15:57:34.484Z] a8fd76ee1af6: Download complete [2022-06-29T15:57:34.746Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T15:57:34.746Z] cc1cd167ecdc: Download complete [2022-06-29T15:57:38.941Z] cc1cd167ecdc: Pull complete [2022-06-29T15:57:38.941Z] c516ae0d96e1: Pull complete [2022-06-29T15:57:38.941Z] 684cea983483: Pull complete [2022-06-29T15:57:38.941Z] dd3240ac7de5: Pull complete [2022-06-29T15:57:38.941Z] b1e948a4e11c: Pull complete [2022-06-29T15:57:41.486Z] a8fd76ee1af6: Pull complete [2022-06-29T15:57:42.059Z] 646ad004c059: Pull complete [2022-06-29T15:57:42.059Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T15:57:42.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T15:57:42.059Z] ---> 8f69c11f6b0c [2022-06-29T15:57:42.059Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:57:43.446Z] ---> Running in 9279224b34d4 [2022-06-29T15:57:43.446Z] Removing intermediate container 9279224b34d4 [2022-06-29T15:57:43.446Z] ---> 6eb1cd94649e [2022-06-29T15:57:43.446Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:57:43.446Z] ---> Running in f1311937be6d [2022-06-29T15:57:43.446Z] Removing intermediate container f1311937be6d [2022-06-29T15:57:43.446Z] ---> 29cb20b6988b [2022-06-29T15:57:43.446Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:57:43.708Z] ---> Running in 4fa3992374a4 [2022-06-29T15:57:44.283Z] Removing intermediate container 4fa3992374a4 [2022-06-29T15:57:44.283Z] ---> 01b662efbffe [2022-06-29T15:57:44.283Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:57:44.283Z] ---> Running in d20645dcfb4f [2022-06-29T15:57:44.545Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:57:45.494Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:57:45.757Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:57:45.757Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:57:45.757Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:57:46.018Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:57:46.018Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:57:46.018Z] OK: 224 MiB in 56 packages [2022-06-29T15:57:46.589Z] Removing intermediate container d20645dcfb4f [2022-06-29T15:57:46.590Z] ---> 7282ff5d570c [2022-06-29T15:57:46.590Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:57:46.590Z] ---> Running in 863562ff6907 [2022-06-29T15:57:46.590Z] Removing intermediate container 863562ff6907 [2022-06-29T15:57:46.590Z] ---> 817fa2c03a85 [2022-06-29T15:57:46.590Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:57:46.590Z] ---> 92b101c8b00b [2022-06-29T15:57:46.590Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:57:46.852Z] ---> Running in 069a2c505ce5 [2022-06-29T15:57:47.123Z] Still waiting to schedule task [2022-06-29T15:57:47.123Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16351’ is offline [2022-06-29T15:58:01.778Z] Removing intermediate container 069a2c505ce5 [2022-06-29T15:58:01.778Z] ---> eae73c3ede80 [2022-06-29T15:58:01.778Z] Step 10/12 : COPY . . [2022-06-29T15:58:01.778Z] ---> 111f90dc9ee2 [2022-06-29T15:58:01.778Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:58:01.778Z] ---> Running in e44f60a20ff9 [2022-06-29T15:58:01.778Z] Removing intermediate container e44f60a20ff9 [2022-06-29T15:58:01.778Z] ---> 35356694ad9e [2022-06-29T15:58:01.778Z] Step 12/12 : RUN $MAKE [2022-06-29T15:58:01.778Z] ---> Running in f60ebc3e928f [2022-06-29T15:58:01.778Z] noop [2022-06-29T15:58:01.778Z] Removing intermediate container f60ebc3e928f [2022-06-29T15:58:01.778Z] ---> b53dbc187453 [2022-06-29T15:58:01.778Z] Successfully built b53dbc187453 [2022-06-29T15:58:01.778Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:58:02.114Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:58:02.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:58:02.204Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2022-06-29T15:58:02.250Z] $ 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:58:02.652Z] $ docker top 158b1994cfe73d67bd236eeefe4050c8b4233a38a4afe0af3338bf5958df4596 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:58:03.032Z] + go version [2022-06-29T15:58:03.032Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T15:58:03.047Z] $ docker stop --time=1 158b1994cfe73d67bd236eeefe4050c8b4233a38a4afe0af3338bf5958df4596 [2022-06-29T15:58:04.324Z] $ docker rm -f 158b1994cfe73d67bd236eeefe4050c8b4233a38a4afe0af3338bf5958df4596 [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:58:04.748Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:58:04.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:58:04.833Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2022-06-29T15:58:04.877Z] $ 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:58:05.271Z] $ docker top d1a88df9f7de21f4e333a40fcaec053b07b15cc6f02ae063767088ba3a71dd44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:58:05.780Z] + make test [2022-06-29T15:58:05.781Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:58:06.041Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:58:16.032Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:58:16.032Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-06-29T15:58:16.032Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:58:24.175Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:58:27.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:58:27.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:58:27.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:58:28.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:58:28.072Z] $ docker stop --time=1 d1a88df9f7de21f4e333a40fcaec053b07b15cc6f02ae063767088ba3a71dd44 [2022-06-29T15:58:29.754Z] $ docker rm -f d1a88df9f7de21f4e333a40fcaec053b07b15cc6f02ae063767088ba3a71dd44 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:58:30.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:58:30.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T15:58:30.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:58:31.056Z] + ls -al . [2022-06-29T15:58:31.056Z] total 180 [2022-06-29T15:58:31.056Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 15:58 . [2022-06-29T15:58:31.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:57 .. [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:57 .dockerignore [2022-06-29T15:58:31.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:57 .git [2022-06-29T15:58:31.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:57 .github [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:57 .gitignore [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:57 .golangci.yml [2022-06-29T15:58:31.056Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:57 .semver [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:57 Attribution.txt [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:57 CHANGELOG.md [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:57 Dockerfile [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:57 GOVERNANCE.md [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:57 Jenkinsfile [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:57 LICENSE [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:57 Makefile [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:57 OWNERS.md [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:57 README.md [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:57 VERSION [2022-06-29T15:58:31.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:57 bin [2022-06-29T15:58:31.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:57 cmd [2022-06-29T15:58:31.056Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:58 coverage.out [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:57 go.mod [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:57 go.sum [2022-06-29T15:58:31.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:57 internal [2022-06-29T15:58:31.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:57 mock [2022-06-29T15:58:31.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:57 snap [2022-06-29T15:58:31.056Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:58:31.376Z] + 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=93cd00cd501c2eca969735f1113b792320d4638c --label arch=amd64 --label version=0.0.0 . [2022-06-29T15:58:31.376Z] Sending build context to Docker daemon 6.077MB [2022-06-29T15:58:31.376Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:58:31.376Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:58:31.376Z] ---> b53dbc187453 [2022-06-29T15:58:31.377Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:58:31.377Z] ---> Running in 5621d12fe610 [2022-06-29T15:58:31.638Z] Removing intermediate container 5621d12fe610 [2022-06-29T15:58:31.638Z] ---> 90f80608d5a8 [2022-06-29T15:58:31.638Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:58:31.638Z] ---> Running in 19c35a57dc52 [2022-06-29T15:58:31.638Z] Removing intermediate container 19c35a57dc52 [2022-06-29T15:58:31.638Z] ---> 8cc3771ef804 [2022-06-29T15:58:31.638Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:58:31.638Z] ---> Running in 577520fe5618 [2022-06-29T15:58:32.212Z] Removing intermediate container 577520fe5618 [2022-06-29T15:58:32.212Z] ---> e5fecc1b3b7f [2022-06-29T15:58:32.212Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:58:32.212Z] ---> Running in eebd190998e4 [2022-06-29T15:58:32.784Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:58:33.728Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:58:33.728Z] OK: 224 MiB in 56 packages [2022-06-29T15:58:34.300Z] Removing intermediate container eebd190998e4 [2022-06-29T15:58:34.300Z] ---> 89fff769518a [2022-06-29T15:58:34.300Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:58:34.300Z] ---> Running in 5b8feab42c35 [2022-06-29T15:58:34.300Z] Removing intermediate container 5b8feab42c35 [2022-06-29T15:58:34.300Z] ---> afe8f6f0a548 [2022-06-29T15:58:34.300Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:58:34.561Z] ---> 65050a938ae1 [2022-06-29T15:58:34.561Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:58:34.561Z] ---> Running in 2ea22bbdebbc [2022-06-29T15:58:35.133Z] Removing intermediate container 2ea22bbdebbc [2022-06-29T15:58:35.133Z] ---> f0dc4d26f7ad [2022-06-29T15:58:35.133Z] Step 10/24 : COPY . . [2022-06-29T15:58:35.395Z] ---> 7472c07d07b8 [2022-06-29T15:58:35.395Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:58:35.395Z] ---> Running in 16182a5fd5eb [2022-06-29T15:58:35.395Z] Removing intermediate container 16182a5fd5eb [2022-06-29T15:58:35.395Z] ---> a585ce0994e8 [2022-06-29T15:58:35.395Z] Step 12/24 : RUN $MAKE [2022-06-29T15:58:35.655Z] ---> Running in ae591ab30f04 [2022-06-29T15:58:35.916Z] 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:58:57.880Z] Removing intermediate container ae591ab30f04 [2022-06-29T15:58:57.880Z] ---> 491b5ad105e6 [2022-06-29T15:58:57.880Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:58:57.880Z] 3.14: Pulling from library/alpine [2022-06-29T15:58:57.880Z] 8663204ce13b: Pulling fs layer [2022-06-29T15:58:57.880Z] 8663204ce13b: Verifying Checksum [2022-06-29T15:58:57.880Z] 8663204ce13b: Download complete [2022-06-29T15:58:57.880Z] 8663204ce13b: Pull complete [2022-06-29T15:58:57.880Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:58:57.880Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:58:57.880Z] ---> e04c818066af [2022-06-29T15:58:57.880Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:58:57.880Z] ---> Running in a214f5dc95f7 [2022-06-29T15:58:57.880Z] Removing intermediate container a214f5dc95f7 [2022-06-29T15:58:57.880Z] ---> 923e698dc60f [2022-06-29T15:58:57.880Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:58:57.880Z] ---> Running in 7536fd074086 [2022-06-29T15:58:57.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:58:57.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:58:57.880Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:58:57.880Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:58:57.880Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:58:57.880Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:58:57.880Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:58:57.880Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:58:57.880Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:58:57.880Z] OK: 8 MiB in 20 packages [2022-06-29T15:58:58.140Z] Removing intermediate container 7536fd074086 [2022-06-29T15:58:58.140Z] ---> 5cadd4e591f3 [2022-06-29T15:58:58.140Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:58:58.713Z] ---> 92b701c6fad4 [2022-06-29T15:58:58.713Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:58:58.713Z] ---> de13fcaa6cdd [2022-06-29T15:58:58.713Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:58:58.974Z] ---> 134d36a2ec2a [2022-06-29T15:58:58.974Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:58:58.974Z] ---> Running in 4cd3b87aaec4 [2022-06-29T15:58:58.974Z] Removing intermediate container 4cd3b87aaec4 [2022-06-29T15:58:58.974Z] ---> f9c608f4e25c [2022-06-29T15:58:58.974Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:58:58.974Z] ---> Running in 136ed94053aa [2022-06-29T15:58:59.234Z] Removing intermediate container 136ed94053aa [2022-06-29T15:58:59.234Z] ---> 4cea73c45f08 [2022-06-29T15:58:59.234Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:58:59.234Z] ---> Running in 4c6f58eb33b0 [2022-06-29T15:58:59.234Z] Removing intermediate container 4c6f58eb33b0 [2022-06-29T15:58:59.234Z] ---> 410d6a07d78e [2022-06-29T15:58:59.234Z] Step 22/24 : LABEL arch=amd64 [2022-06-29T15:58:59.234Z] ---> Running in 35a0e61f4976 [2022-06-29T15:58:59.496Z] Removing intermediate container 35a0e61f4976 [2022-06-29T15:58:59.496Z] ---> 917e7224121a [2022-06-29T15:58:59.496Z] Step 23/24 : LABEL git_sha=93cd00cd501c2eca969735f1113b792320d4638c [2022-06-29T15:58:59.496Z] ---> Running in b858792d1314 [2022-06-29T15:58:59.496Z] Removing intermediate container b858792d1314 [2022-06-29T15:58:59.496Z] ---> 771a2fef2e13 [2022-06-29T15:58:59.496Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:58:59.496Z] ---> Running in 5af6fb3afbdc [2022-06-29T15:58:59.757Z] Removing intermediate container 5af6fb3afbdc [2022-06-29T15:58:59.757Z] ---> 2473441e8209 [2022-06-29T15:58:59.757Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:58:59.757Z] Successfully built 2473441e8209 [2022-06-29T15:58:59.757Z] 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:59:00.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:59:00.223Z] [2022-06-29T15:59:00.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:59:00.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:59:00.527Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T15:59:00.527Z] 5eb5b503b376: Pulling fs layer [2022-06-29T15:59:00.527Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T15:59:00.527Z] ec43610c2a17: Pulling fs layer [2022-06-29T15:59:00.527Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T15:59:00.527Z] 33b1e0a273af: Pulling fs layer [2022-06-29T15:59:00.527Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T15:59:00.527Z] 2f39f015ded8: Pulling fs layer [2022-06-29T15:59:00.527Z] 33b1e0a273af: Waiting [2022-06-29T15:59:00.527Z] 2f39f015ded8: Waiting [2022-06-29T15:59:00.527Z] 5d3b04190fa2: Waiting [2022-06-29T15:59:00.527Z] 3a2ae6a8a46f: Waiting [2022-06-29T15:59:00.527Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T15:59:00.527Z] 5c69ac0246d0: Download complete [2022-06-29T15:59:00.527Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T15:59:00.527Z] 3a2ae6a8a46f: Download complete [2022-06-29T15:59:00.527Z] 33b1e0a273af: Verifying Checksum [2022-06-29T15:59:00.527Z] 33b1e0a273af: Download complete [2022-06-29T15:59:00.527Z] 5d3b04190fa2: Download complete [2022-06-29T15:59:00.790Z] ec43610c2a17: Verifying Checksum [2022-06-29T15:59:00.790Z] ec43610c2a17: Download complete [2022-06-29T15:59:00.790Z] 5eb5b503b376: Download complete [2022-06-29T15:59:01.361Z] 2f39f015ded8: Download complete [2022-06-29T15:59:02.301Z] 5eb5b503b376: Pull complete [2022-06-29T15:59:02.301Z] 5c69ac0246d0: Pull complete [2022-06-29T15:59:02.870Z] ec43610c2a17: Pull complete [2022-06-29T15:59:02.870Z] 3a2ae6a8a46f: Pull complete [2022-06-29T15:59:03.130Z] 33b1e0a273af: Pull complete [2022-06-29T15:59:03.130Z] 5d3b04190fa2: Pull complete [2022-06-29T15:59:08.416Z] 2f39f015ded8: Pull complete [2022-06-29T15:59:08.416Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T15:59:08.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:59:08.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:59:08.523Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2022-06-29T15:59:08.566Z] $ 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:59:09.947Z] $ docker top f787d219db3cb1e5e9a90780d0623a4a486863feee71b66df0ba919c3d7f80c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:59:10.360Z] ---> job-cost.sh [2022-06-29T15:59:10.360Z] lf-activate-venv: SKIPPING [2022-06-29T15:59:10.360Z] INFO: No Stack... [2022-06-29T15:59:10.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:59:11.193Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:59:11.486Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/cost.csv [2022-06-29T15:59:11.486Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T15:59:11.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] [2022-06-29T15:59:11.510Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] did not exist. Created. [2022-06-29T15:59:11.510Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:59:11.819Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T15:59:11.850Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:59:11.858Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:59:11.883Z] $ docker stop --time=1 f787d219db3cb1e5e9a90780d0623a4a486863feee71b66df0ba919c3d7f80c2 [2022-06-29T15:59:13.063Z] $ docker rm -f f787d219db3cb1e5e9a90780d0623a4a486863feee71b66df0ba919c3d7f80c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T15:59:26.334Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16353 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [Pipeline] { [Pipeline] ws [2022-06-29T15:59:26.347Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-06-29T15:59:26.447Z] Selected Git installation does not exist. Using Default [2022-06-29T15:59:26.447Z] The recommended git tool is: NONE [2022-06-29T15:59:33.321Z] using credential edgex-jenkins-ssh [2022-06-29T15:59:33.360Z] Cloning the remote Git repository [2022-06-29T15:59:33.454Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:59:33.561Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-06-29T15:59:33.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:59:33.697Z] > git --version # timeout=10 [2022-06-29T15:59:33.748Z] > git --version # 'git version 2.25.1' [2022-06-29T15:59:33.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:59:33.978Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:59:35.704Z] Merging remotes/origin/main commit 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit 93cd00cd501c2eca969735f1113b792320d4638c [2022-06-29T15:59:35.909Z] Merge succeeded, producing 93cd00cd501c2eca969735f1113b792320d4638c [2022-06-29T15:59:35.910Z] Checking out Revision 93cd00cd501c2eca969735f1113b792320d4638c (PR-397) [2022-06-29T15:59:35.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:59:35.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:59:35.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:59:35.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:59:35.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:59:35.120Z] > 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:59:35.723Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:59:35.738Z] > git checkout -f 93cd00cd501c2eca969735f1113b792320d4638c # timeout=10 [2022-06-29T15:59:35.820Z] > git remote # timeout=10 [2022-06-29T15:59:35.841Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T15:59:35.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:59:35.864Z] > git merge 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [2022-06-29T15:59:35.889Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T15:59:35.916Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:59:35.928Z] > git checkout -f 93cd00cd501c2eca969735f1113b792320d4638c # timeout=10 [2022-06-29T15:59:40.059Z] 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:59:40.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T15:59:40.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:59:40.920Z] Dload Upload Total Spent Left Speed [2022-06-29T15:59:40.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88151 0 --:--:-- --:--:-- --:--:-- 88151 [Pipeline] sh [2022-06-29T15:59:41.754Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T15:59:42.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T15:59:42.094Z] + sudo tee /etc/docker/daemon.new [2022-06-29T15:59:42.094Z] { [2022-06-29T15:59:42.094Z] "registry-mirrors": [ [2022-06-29T15:59:42.094Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T15:59:42.094Z] ], [2022-06-29T15:59:42.094Z] "bip": "10.250.0.254/24", [2022-06-29T15:59:42.094Z] "hosts": [ [2022-06-29T15:59:42.094Z] "tcp://0.0.0.0:5555", [2022-06-29T15:59:42.094Z] "unix:///var/run/docker.sock" [2022-06-29T15:59:42.094Z] ], [2022-06-29T15:59:42.094Z] "mtu": 1458, [2022-06-29T15:59:42.094Z] "selinux-enabled": true, [2022-06-29T15:59:42.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T15:59:42.094Z] } [Pipeline] sh [2022-06-29T15:59:42.434Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T15:59:42.775Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:00:01.103Z] provisioning config files... [2022-06-29T16:00:01.125Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config7157583755403380758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:00:01.703Z] ---> docker-login.sh [2022-06-29T16:00:01.703Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:00:02.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:00:02.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:00:02.577Z] Configure a credential helper to remove this warning. See [2022-06-29T16:00:02.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:00:02.577Z] [2022-06-29T16:00:02.577Z] Login Succeeded [2022-06-29T16:00:02.577Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:00:02.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:00:03.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:00:03.121Z] Configure a credential helper to remove this warning. See [2022-06-29T16:00:03.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:00:03.121Z] [2022-06-29T16:00:03.121Z] Login Succeeded [2022-06-29T16:00:03.121Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:00:03.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:00:03.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:00:03.669Z] Configure a credential helper to remove this warning. See [2022-06-29T16:00:03.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:00:03.669Z] [2022-06-29T16:00:03.669Z] Login Succeeded [2022-06-29T16:00:03.669Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:00:03.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:00:03.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:00:03.941Z] Configure a credential helper to remove this warning. See [2022-06-29T16:00:03.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:00:03.941Z] [2022-06-29T16:00:03.941Z] Login Succeeded [2022-06-29T16:00:03.941Z] docker.io [2022-06-29T16:00:04.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:00:05.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:00:05.956Z] Configure a credential helper to remove this warning. See [2022-06-29T16:00:05.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:00:05.956Z] [2022-06-29T16:00:05.956Z] Login Succeeded [2022-06-29T16:00:05.956Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:00:05.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:00:06.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:00:06.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:00:06.253Z] ========================================================= [2022-06-29T16:00:06.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T16:00:06.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:00:06.616Z] + 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-29T16:00:06.889Z] Sending build context to Docker daemon 3.152MB [2022-06-29T16:00:06.889Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:00:06.889Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:00:07.167Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T16:00:07.167Z] 9b3977197b4f: Pulling fs layer [2022-06-29T16:00:07.167Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T16:00:07.167Z] 94645a83ff95: Pulling fs layer [2022-06-29T16:00:07.167Z] e6fb740bc735: Pulling fs layer [2022-06-29T16:00:07.167Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T16:00:07.167Z] 355e64cbe906: Pulling fs layer [2022-06-29T16:00:07.167Z] 63ab81a10011: Pulling fs layer [2022-06-29T16:00:07.167Z] 555d1d1c4555: Pulling fs layer [2022-06-29T16:00:07.167Z] 7d9057610161: Pulling fs layer [2022-06-29T16:00:07.167Z] 355e64cbe906: Waiting [2022-06-29T16:00:07.167Z] 63ab81a10011: Waiting [2022-06-29T16:00:07.167Z] 555d1d1c4555: Waiting [2022-06-29T16:00:07.167Z] 7d9057610161: Waiting [2022-06-29T16:00:07.167Z] 3a77bd46dcc9: Waiting [2022-06-29T16:00:07.167Z] e6fb740bc735: Waiting [2022-06-29T16:00:07.167Z] 94645a83ff95: Verifying Checksum [2022-06-29T16:00:07.167Z] 94645a83ff95: Download complete [2022-06-29T16:00:07.167Z] 1a89e8eeedd5: Download complete [2022-06-29T16:00:07.167Z] 3a77bd46dcc9: Download complete [2022-06-29T16:00:07.167Z] 355e64cbe906: Verifying Checksum [2022-06-29T16:00:07.167Z] 355e64cbe906: Download complete [2022-06-29T16:00:07.167Z] 9b3977197b4f: Download complete [2022-06-29T16:00:07.167Z] 63ab81a10011: Verifying Checksum [2022-06-29T16:00:07.167Z] 63ab81a10011: Download complete [2022-06-29T16:00:08.152Z] 9b3977197b4f: Pull complete [2022-06-29T16:00:08.429Z] 7d9057610161: Verifying Checksum [2022-06-29T16:00:08.429Z] 7d9057610161: Download complete [2022-06-29T16:00:08.706Z] 1a89e8eeedd5: Pull complete [2022-06-29T16:00:08.980Z] 94645a83ff95: Pull complete [2022-06-29T16:00:09.582Z] 555d1d1c4555: Verifying Checksum [2022-06-29T16:00:09.582Z] 555d1d1c4555: Download complete [2022-06-29T16:00:10.187Z] e6fb740bc735: Verifying Checksum [2022-06-29T16:00:10.187Z] e6fb740bc735: Download complete [2022-06-29T16:00:22.613Z] e6fb740bc735: Pull complete [2022-06-29T16:00:22.613Z] 3a77bd46dcc9: Pull complete [2022-06-29T16:00:22.613Z] 355e64cbe906: Pull complete [2022-06-29T16:00:22.887Z] 63ab81a10011: Pull complete [2022-06-29T16:00:29.632Z] 555d1d1c4555: Pull complete [2022-06-29T16:00:31.071Z] 7d9057610161: Pull complete [2022-06-29T16:00:31.071Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T16:00:31.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T16:00:31.071Z] ---> 819e984ddca1 [2022-06-29T16:00:31.071Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:00:33.048Z] ---> Running in 71d36b609565 [2022-06-29T16:00:33.321Z] Removing intermediate container 71d36b609565 [2022-06-29T16:00:33.321Z] ---> 83abe2622292 [2022-06-29T16:00:33.321Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:00:33.321Z] ---> Running in dc76748e6871 [2022-06-29T16:00:33.599Z] Removing intermediate container dc76748e6871 [2022-06-29T16:00:33.599Z] ---> 126e05ea523e [2022-06-29T16:00:33.599Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:00:33.599Z] ---> Running in c651aa458d87 [2022-06-29T16:00:35.583Z] Removing intermediate container c651aa458d87 [2022-06-29T16:00:35.584Z] ---> 1510511f7c42 [2022-06-29T16:00:35.584Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:00:35.584Z] ---> Running in f7b67255cfa8 [2022-06-29T16:00:37.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:00:38.566Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:00:39.161Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T16:00:39.439Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T16:00:39.439Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T16:00:39.716Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T16:00:39.716Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:00:39.716Z] OK: 224 MiB in 56 packages [2022-06-29T16:00:40.707Z] Removing intermediate container f7b67255cfa8 [2022-06-29T16:00:40.707Z] ---> bd3efd916c31 [2022-06-29T16:00:40.707Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T16:00:40.707Z] ---> Running in 17b8a699c07f [2022-06-29T16:00:40.989Z] Removing intermediate container 17b8a699c07f [2022-06-29T16:00:40.989Z] ---> d410926e413a [2022-06-29T16:00:40.989Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T16:00:41.585Z] ---> 0b414d7bc83e [2022-06-29T16:00:41.585Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:00:41.585Z] ---> Running in dfbe87b5383d [2022-06-29T16:01:28.566Z] Removing intermediate container dfbe87b5383d [2022-06-29T16:01:28.566Z] ---> cebc0cc6f8e6 [2022-06-29T16:01:28.566Z] Step 10/12 : COPY . . [2022-06-29T16:01:28.566Z] ---> 8d6bb48e3a0c [2022-06-29T16:01:28.566Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T16:01:28.566Z] ---> Running in f2fe00b155a6 [2022-06-29T16:01:28.566Z] Removing intermediate container f2fe00b155a6 [2022-06-29T16:01:28.566Z] ---> db2ba4b18cd5 [2022-06-29T16:01:28.566Z] Step 12/12 : RUN $MAKE [2022-06-29T16:01:28.566Z] ---> Running in 1c9fc117f700 [2022-06-29T16:01:28.566Z] noop [2022-06-29T16:01:28.566Z] Removing intermediate container 1c9fc117f700 [2022-06-29T16:01:28.566Z] ---> 81963dc92da2 [2022-06-29T16:01:28.566Z] Successfully built 81963dc92da2 [2022-06-29T16:01:28.566Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:01:28.935Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:01:28.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:01:29.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container [2022-06-29T16:01:29.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-29T16:01:30.576Z] $ docker top eb9cea48e001fa78a8cc8ce193675f48387dccf8cc89dec6e76330336e1a548e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:01:31.471Z] + go version [2022-06-29T16:01:31.471Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T16:01:31.506Z] $ docker stop --time=1 eb9cea48e001fa78a8cc8ce193675f48387dccf8cc89dec6e76330336e1a548e [2022-06-29T16:01:33.140Z] $ docker rm -f eb9cea48e001fa78a8cc8ce193675f48387dccf8cc89dec6e76330336e1a548e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:01:33.743Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:01:33.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:01:33.974Z] prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container [2022-06-29T16:01:34.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-29T16:01:35.325Z] $ docker top 34c4fd18b06a11173f8d0d09dcbcb1f4d675b71e2ad312b410bff84b7d41fea1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:01:36.210Z] + make test [2022-06-29T16:01:36.210Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:01:37.647Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T16:02:59.478Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T16:02:59.478Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.8% of statements [2022-06-29T16:02:59.478Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T16:02:59.478Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T16:02:59.478Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:03:21.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:03:21.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:03:21.673Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:03:25.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:03:25.108Z] $ docker stop --time=1 34c4fd18b06a11173f8d0d09dcbcb1f4d675b71e2ad312b410bff84b7d41fea1 [2022-06-29T16:03:26.902Z] $ docker rm -f 34c4fd18b06a11173f8d0d09dcbcb1f4d675b71e2ad312b410bff84b7d41fea1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:03:27.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:03:27.887Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T16:03:28.390Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:03:28.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:03:29.143Z] + ls -al . [2022-06-29T16:03:29.143Z] total 176 [2022-06-29T16:03:29.143Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:03 . [2022-06-29T16:03:29.143Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:59 .. [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:59 .dockerignore [2022-06-29T16:03:29.143Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:59 .git [2022-06-29T16:03:29.143Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:59 .github [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:59 .gitignore [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:59 .golangci.yml [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:59 Attribution.txt [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:59 CHANGELOG.md [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:59 Dockerfile [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:59 GOVERNANCE.md [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:59 Jenkinsfile [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:59 LICENSE [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:59 Makefile [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:59 OWNERS.md [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:59 README.md [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:57 VERSION [2022-06-29T16:03:29.143Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:59 bin [2022-06-29T16:03:29.143Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:59 cmd [2022-06-29T16:03:29.143Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 16:02 coverage.out [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:59 go.mod [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:59 go.sum [2022-06-29T16:03:29.143Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:59 internal [2022-06-29T16:03:29.143Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:59 mock [2022-06-29T16:03:29.143Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:59 snap [2022-06-29T16:03:29.143Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:03:29.505Z] + 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=93cd00cd501c2eca969735f1113b792320d4638c --label arch=arm64 --label version=0.0.0 . [2022-06-29T16:03:29.780Z] Sending build context to Docker daemon 3.17MB [2022-06-29T16:03:29.780Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:03:29.780Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T16:03:29.780Z] ---> 81963dc92da2 [2022-06-29T16:03:29.780Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:03:30.063Z] ---> Running in d9b591046d69 [2022-06-29T16:03:30.337Z] Removing intermediate container d9b591046d69 [2022-06-29T16:03:30.337Z] ---> c1561f3aee7a [2022-06-29T16:03:30.337Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:03:30.337Z] ---> Running in 04f8bf368b7a [2022-06-29T16:03:30.619Z] Removing intermediate container 04f8bf368b7a [2022-06-29T16:03:30.619Z] ---> 2a2dbb6751f5 [2022-06-29T16:03:30.619Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:03:30.897Z] ---> Running in c917403bb593 [2022-06-29T16:03:32.345Z] Removing intermediate container c917403bb593 [2022-06-29T16:03:32.345Z] ---> 78e9a9c7f5b6 [2022-06-29T16:03:32.345Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:03:32.621Z] ---> Running in dae16a153a70 [2022-06-29T16:03:33.611Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:03:34.601Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:03:35.590Z] OK: 224 MiB in 56 packages [2022-06-29T16:03:36.208Z] Removing intermediate container dae16a153a70 [2022-06-29T16:03:36.208Z] ---> abd62468e4cd [2022-06-29T16:03:36.208Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T16:03:36.486Z] ---> Running in f73196e93255 [2022-06-29T16:03:36.761Z] Removing intermediate container f73196e93255 [2022-06-29T16:03:36.761Z] ---> d50b8177d6c5 [2022-06-29T16:03:36.761Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T16:03:37.361Z] ---> d670dccf32c9 [2022-06-29T16:03:37.361Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:03:37.361Z] ---> Running in d01e02992c47 [2022-06-29T16:03:39.345Z] Removing intermediate container d01e02992c47 [2022-06-29T16:03:39.345Z] ---> 015398e798d9 [2022-06-29T16:03:39.345Z] Step 10/24 : COPY . . [2022-06-29T16:03:40.333Z] ---> caf17fe6ad7a [2022-06-29T16:03:40.333Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T16:03:40.333Z] ---> Running in d47be8c6e857 [2022-06-29T16:03:40.611Z] Removing intermediate container d47be8c6e857 [2022-06-29T16:03:40.611Z] ---> ca437734f707 [2022-06-29T16:03:40.611Z] Step 12/24 : RUN $MAKE [2022-06-29T16:03:40.897Z] ---> Running in 7cc192a0e880 [2022-06-29T16:03:41.884Z] 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-29T16:06:03.837Z] Removing intermediate container 7cc192a0e880 [2022-06-29T16:06:03.837Z] ---> 1bc67c9bb676 [2022-06-29T16:06:03.837Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T16:06:03.837Z] 3.14: Pulling from library/alpine [2022-06-29T16:06:03.837Z] 455c02918c45: Pulling fs layer [2022-06-29T16:06:03.837Z] 455c02918c45: Verifying Checksum [2022-06-29T16:06:03.837Z] 455c02918c45: Download complete [2022-06-29T16:06:03.837Z] 455c02918c45: Pull complete [2022-06-29T16:06:03.837Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T16:06:03.837Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T16:06:03.837Z] ---> ac73e934f311 [2022-06-29T16:06:03.837Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T16:06:03.837Z] ---> Running in b422a1d74c51 [2022-06-29T16:06:03.837Z] Removing intermediate container b422a1d74c51 [2022-06-29T16:06:03.837Z] ---> 609d46e2bcd5 [2022-06-29T16:06:03.837Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:06:03.838Z] ---> Running in 46c87b1db403 [2022-06-29T16:06:03.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:06:03.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:06:03.838Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:06:03.838Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T16:06:03.838Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:06:03.838Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T16:06:03.838Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:06:03.838Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:06:03.838Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T16:06:03.838Z] OK: 8 MiB in 20 packages [2022-06-29T16:06:03.838Z] Removing intermediate container 46c87b1db403 [2022-06-29T16:06:03.838Z] ---> f44c3a95e87a [2022-06-29T16:06:03.838Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T16:06:03.838Z] ---> a894321eaa48 [2022-06-29T16:06:03.838Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T16:06:03.838Z] ---> 24bc5e91dfed [2022-06-29T16:06:03.838Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T16:06:03.838Z] ---> 472df8a0072a [2022-06-29T16:06:03.838Z] Step 19/24 : EXPOSE 59982 [2022-06-29T16:06:03.838Z] ---> Running in dd4da3d453a3 [2022-06-29T16:06:03.838Z] Removing intermediate container dd4da3d453a3 [2022-06-29T16:06:03.838Z] ---> 87b01f2a57d2 [2022-06-29T16:06:03.838Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T16:06:03.838Z] ---> Running in ba2c20419698 [2022-06-29T16:06:03.838Z] Removing intermediate container ba2c20419698 [2022-06-29T16:06:03.838Z] ---> 9d3719f54f35 [2022-06-29T16:06:03.838Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T16:06:03.838Z] ---> Running in f4df14189f44 [2022-06-29T16:06:03.838Z] Removing intermediate container f4df14189f44 [2022-06-29T16:06:03.838Z] ---> 3743f3eef32b [2022-06-29T16:06:03.838Z] Step 22/24 : LABEL arch=arm64 [2022-06-29T16:06:03.838Z] ---> Running in 06397c140e83 [2022-06-29T16:06:03.838Z] Removing intermediate container 06397c140e83 [2022-06-29T16:06:03.838Z] ---> 7a99f15f6a65 [2022-06-29T16:06:03.838Z] Step 23/24 : LABEL git_sha=93cd00cd501c2eca969735f1113b792320d4638c [2022-06-29T16:06:03.838Z] ---> Running in 511509ba5382 [2022-06-29T16:06:03.838Z] Removing intermediate container 511509ba5382 [2022-06-29T16:06:03.838Z] ---> f80182de3eed [2022-06-29T16:06:03.838Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T16:06:03.838Z] ---> Running in 39894304d262 [2022-06-29T16:06:04.111Z] Removing intermediate container 39894304d262 [2022-06-29T16:06:04.111Z] ---> 35af2989ea77 [2022-06-29T16:06:04.111Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:06:04.111Z] Successfully built 35af2989ea77 [2022-06-29T16:06:04.111Z] 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-29T16:06:04.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:06:04.585Z] [2022-06-29T16:06:04.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:06:04.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:06:05.222Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T16:06:05.222Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T16:06:05.222Z] 04944245beec: Pulling fs layer [2022-06-29T16:06:05.222Z] 699f458cf7ca: Pulling fs layer [2022-06-29T16:06:05.222Z] 765212b225bb: Pulling fs layer [2022-06-29T16:06:05.222Z] f23df028b6ca: Pulling fs layer [2022-06-29T16:06:05.222Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T16:06:05.222Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T16:06:05.222Z] 765212b225bb: Waiting [2022-06-29T16:06:05.222Z] f23df028b6ca: Waiting [2022-06-29T16:06:05.222Z] d65c8cfc05b1: Waiting [2022-06-29T16:06:05.222Z] 2437ff75d9bd: Waiting [2022-06-29T16:06:05.222Z] 04944245beec: Verifying Checksum [2022-06-29T16:06:05.222Z] 04944245beec: Download complete [2022-06-29T16:06:05.222Z] 765212b225bb: Verifying Checksum [2022-06-29T16:06:05.222Z] 765212b225bb: Download complete [2022-06-29T16:06:05.222Z] f23df028b6ca: Verifying Checksum [2022-06-29T16:06:05.222Z] f23df028b6ca: Download complete [2022-06-29T16:06:05.498Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T16:06:05.498Z] d65c8cfc05b1: Download complete [2022-06-29T16:06:05.498Z] 699f458cf7ca: Verifying Checksum [2022-06-29T16:06:05.498Z] 699f458cf7ca: Download complete [2022-06-29T16:06:05.776Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T16:06:05.776Z] 8998bd30e6a1: Download complete [2022-06-29T16:06:08.413Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T16:06:08.413Z] 2437ff75d9bd: Download complete [2022-06-29T16:06:10.413Z] 8998bd30e6a1: Pull complete [2022-06-29T16:06:11.016Z] 04944245beec: Pull complete [2022-06-29T16:06:12.466Z] 699f458cf7ca: Pull complete [2022-06-29T16:06:12.741Z] 765212b225bb: Pull complete [2022-06-29T16:06:13.723Z] f23df028b6ca: Pull complete [2022-06-29T16:06:13.723Z] d65c8cfc05b1: Pull complete [2022-06-29T16:06:32.069Z] 2437ff75d9bd: Pull complete [2022-06-29T16:06:32.069Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T16:06:32.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:06:32.069Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:06:32.329Z] prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container [2022-06-29T16:06:32.432Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-29T16:06:35.289Z] $ docker top 51e0fc6873d08ef13a34ebf06302ef74bb6345f4c099c827fb5d58bac78c20cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:36.230Z] ---> job-cost.sh [2022-06-29T16:06:36.230Z] lf-activate-venv: SKIPPING [2022-06-29T16:06:36.230Z] INFO: No Stack... [2022-06-29T16:06:36.503Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T16:06:37.479Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:06:38.145Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2022-06-29T16:06:38.145Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:06:38.208Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] [2022-06-29T16:06:38.213Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] did not exist. Created. [2022-06-29T16:06:38.213Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:06:38.891Z] /w/workspace/device-mqtt-go/4@tmp/durable-89c3c8d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T16:06:39.571Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T16:06:39.592Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T16:06:39.638Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:06:39.648Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:06:39.688Z] $ docker stop --time=1 51e0fc6873d08ef13a34ebf06302ef74bb6345f4c099c827fb5d58bac78c20cd [2022-06-29T16:06:41.198Z] $ docker rm -f 51e0fc6873d08ef13a34ebf06302ef74bb6345f4c099c827fb5d58bac78c20cd [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-29T16:06:41.643Z] provisioning config files... [2022-06-29T16:06:41.652Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config5383203060967916985tmp [Pipeline] { [Pipeline] sh [2022-06-29T16:06:41.947Z] + set +x [2022-06-29T16:06:41.947Z] + curl -s https://codecov.io/bash [2022-06-29T16:06:41.947Z] + bash -s -- [2022-06-29T16:06:41.947Z] [2022-06-29T16:06:41.947Z] _____ _ [2022-06-29T16:06:41.947Z] / ____| | | [2022-06-29T16:06:41.947Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T16:06:41.947Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T16:06:41.947Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T16:06:41.947Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T16:06:41.947Z] Bash-1.0.6 [2022-06-29T16:06:41.947Z] [2022-06-29T16:06:41.947Z] [2022-06-29T16:06:41.947Z] ==> git version 2.25.1 found [2022-06-29T16:06:41.947Z] ==> 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-29T16:06:41.947Z] Release-Date: 2020-01-08 [2022-06-29T16:06:41.947Z] 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-29T16:06:41.947Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T16:06:41.947Z] ==> Jenkins CI detected. [2022-06-29T16:06:41.947Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T16:06:41.947Z] project root: . [2022-06-29T16:06:41.947Z] --> token set from env [2022-06-29T16:06:41.947Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T16:06:41.947Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T16:06:41.947Z] ==> Python coveragepy not found [2022-06-29T16:06:41.947Z] ==> Searching for coverage reports in: [2022-06-29T16:06:41.947Z] + . [2022-06-29T16:06:41.947Z] -> Found 1 reports [2022-06-29T16:06:41.947Z] ==> Detecting git/mercurial file structure [2022-06-29T16:06:41.947Z] ==> Reading reports [2022-06-29T16:06:41.947Z] + ./coverage.out bytes=17887 [2022-06-29T16:06:42.208Z] ==> Appending adjustments [2022-06-29T16:06:42.208Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T16:06:42.208Z] + Found adjustments [2022-06-29T16:06:42.208Z] ==> Gzipping contents [2022-06-29T16:06:42.208Z] 4.0K /tmp/codecov.7GqIyx.gz [2022-06-29T16:06:42.208Z] ==> Uploading reports [2022-06-29T16:06:42.208Z] url: https://codecov.io [2022-06-29T16:06:42.208Z] query: branch=PR-397&commit=93cd00cd501c2eca969735f1113b792320d4638c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T16:06:42.208Z] -> Pinging Codecov [2022-06-29T16:06:42.209Z] 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=93cd00cd501c2eca969735f1113b792320d4638c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T16:06:42.468Z] -> Uploading to [2022-06-29T16:06:42.468Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7D719EC7BBE17E464838252E33014C33/93cd00cd501c2eca969735f1113b792320d4638c/85e136d2-331a-4fab-82f5-a1809960c08f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T160642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78281050d3ca385ae0946f0aea1fce04b2afadfe32e91910c13212cdbde4fc8e [2022-06-29T16:06:42.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:06:42.468Z] Dload Upload Total Spent Left Speed [2022-06-29T16:06:42.939Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3230 0 0 100 3230 0 14884 --:--:-- --:--:-- --:--:-- 14884 [2022-06-29T16:06:42.939Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/93cd00cd501c2eca969735f1113b792320d4638c [Pipeline] } [2022-06-29T16:06:42.948Z] 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-29T16:06:43.650Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives ] [2022-06-29T16:06:43.650Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T16:06:43.650Z] total 16 [2022-06-29T16:06:43.650Z] drwxr-xr-x 3 root root 4096 Jun 29 15:59 . [2022-06-29T16:06:43.650Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:59 .. [2022-06-29T16:06:43.651Z] drwxr-xr-x 2 root root 4096 Jun 29 15:59 cost [2022-06-29T16:06:43.651Z] -rw-r--r-- 1 root root 85 Jun 29 15:59 cost.csv [2022-06-29T16:06:43.651Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T16:06:43.651Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T16:06:43.651Z] total 16 [2022-06-29T16:06:43.651Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:59 . [2022-06-29T16:06:43.651Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:59 .. [2022-06-29T16:06:43.651Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 15:59 cost [2022-06-29T16:06:43.651Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:43.944Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:44.815Z] ---> package-listing.sh [2022-06-29T16:06:44.815Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T16:06:44.815Z] ++ facter osfamily [2022-06-29T16:06:45.076Z] + OS_FAMILY=debian [2022-06-29T16:06:45.076Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T16:06:45.076Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T16:06:45.076Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T16:06:45.076Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T16:06:45.076Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T16:06:45.076Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T16:06:45.076Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T16:06:45.076Z] + case "${OS_FAMILY}" in [2022-06-29T16:06:45.076Z] + dpkg -l [2022-06-29T16:06:45.076Z] + grep '^ii' [2022-06-29T16:06:45.076Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T16:06:45.076Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T16:06:45.076Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T16:06:45.076Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T16:06:45.076Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [2022-06-29T16:06:45.076Z] + 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-29T16:06:45.088Z] 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-29T16:06:45.371Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:06:45.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:06:45.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:06:46.024Z] prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container [2022-06-29T16:06:46.063Z] $ 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-29T16:06:46.272Z] $ docker top 265b62c02864265d677f2f35a1e9897ebde3434f793e0b3ce5c6a7d1ebfd0eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:06:46.633Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T16:06:46.922Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T16:06:47.211Z] + ls /var/log/sa-host [2022-06-29T16:06:47.211Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:06:47.342Z] provisioning config files... [2022-06-29T16:06:47.351Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config5602963095628456586tmp [Pipeline] { [Pipeline] echo [2022-06-29T16:06:47.362Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:47.653Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T16:06:47.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:48.000Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T16:06:48.009Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:48.296Z] ---> sudo-logs.sh [2022-06-29T16:06:48.296Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T16:06:48.319Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:48.603Z] ---> job-cost.sh [2022-06-29T16:06:48.603Z] lf-activate-venv: SKIPPING [2022-06-29T16:06:48.603Z] DEBUG: total: 0.2199999988079071 [2022-06-29T16:06:48.603Z] INFO: Retrieving Stack Cost... [2022-06-29T16:06:48.864Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:06:49.435Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T16:06:49.447Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:06:49.731Z] ---> logs-deploy.sh [2022-06-29T16:06:49.732Z] lf-activate-venv: SKIPPING [2022-06-29T16:06:49.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-397/4 [2022-06-29T16:06:49.732Z] INFO: archiving workspace using pattern(s): [2022-06-29T16:06:50.672Z] Archives upload complete. [2022-06-29T16:06:50.672Z] INFO: archiving logs to Nexus