Pull request #428 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a484f07daf3599b56ef9bb689d608e21c46e7c57+6b3f84b720025cbd9914345d3acb7d77e6659599 (91354361b4e4bafdfab155f3a5011c633f6c3fc0) 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-ssh6756368493166732061.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6152997498429319530.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17165728622132547525.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12176969808083393579.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh3904986701756929250.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10552230857716673346.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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.18 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8926 in /w/workspace/gexfoundry_device-mqtt-go_PR-428 [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-428 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit a484f07daf3599b56ef9bb689d608e21c46e7c57 Merge succeeded, producing a484f07daf3599b56ef9bb689d608e21c46e7c57 Checking out Revision a484f07daf3599b56ef9bb689d608e21c46e7c57 (PR-428) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a484f07daf3599b56ef9bb689d608e21c46e7c57 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a484f07daf3599b56ef9bb689d608e21c46e7c57 # timeout=10 [Pipeline] timeout [2022-10-24T01:33:03.214Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T01:33:03.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T01:33:03.528Z] ========================================================= [2022-10-24T01:33:03.528Z] EdgeX Global Pipelines Version Info [2022-10-24T01:33:03.528Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:33:04.324Z] ------------------- [2022-10-24T01:33:04.324Z] stable info: [2022-10-24T01:33:04.324Z] ------------------- [2022-10-24T01:33:04.324Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T01:33:04.324Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:33:04.324Z] Message: update stable to v1.0.243 [2022-10-24T01:33:04.893Z] ------------------- [2022-10-24T01:33:04.893Z] experimental info: [2022-10-24T01:33:04.893Z] ------------------- [2022-10-24T01:33:04.893Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T01:33:04.893Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:33:04.893Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T01:33:05.182Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-24T01:33:05.227Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-24T01:33:05.279Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T01:33:05.322Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T01:33:05.371Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T01:33:05.418Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T01:33:05.462Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T01:33:05.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T01:33:05.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T01:33:05.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T01:33:05.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T01:33:05.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-24T01:33:05.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T01:33:05.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T01:33:05.806Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:33:05.846Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:33:05.886Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:33:05.925Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:33:05.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T01:33:05.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T01:33:06.041Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T01:33:06.085Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T01:33:06.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T01:33:06.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T01:33:06.213Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T01:33:06.252Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T01:33:06.290Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T01:33:06.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-428 [Pipeline] echo [2022-10-24T01:33:06.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-428 [Pipeline] echo [2022-10-24T01:33:06.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-428 [Pipeline] echo [2022-10-24T01:33:06.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo [2022-10-24T01:33:06.495Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a484f07 [Pipeline] echo [2022-10-24T01:33:06.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:33:06.659Z] provisioning config files... [2022-10-24T01:33:06.673Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config14680506169226933123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:33:07.012Z] ---> docker-login.sh [2022-10-24T01:33:07.012Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:33:07.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:07.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:07.272Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:07.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:07.272Z] [2022-10-24T01:33:07.272Z] Login Succeeded [2022-10-24T01:33:07.272Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:33:07.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:07.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:07.272Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:07.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:07.272Z] [2022-10-24T01:33:07.272Z] Login Succeeded [2022-10-24T01:33:07.272Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:33:07.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:07.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:07.533Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:07.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:07.533Z] [2022-10-24T01:33:07.533Z] Login Succeeded [2022-10-24T01:33:07.533Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:33:07.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:07.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:07.533Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:07.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:07.533Z] [2022-10-24T01:33:07.533Z] Login Succeeded [2022-10-24T01:33:07.533Z] docker.io [2022-10-24T01:33:07.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:08.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:08.057Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:08.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:08.057Z] [2022-10-24T01:33:08.057Z] Login Succeeded [2022-10-24T01:33:08.057Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:33:08.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T01:33:08.718Z] + git rev-list -1 --merges a484f07daf3599b56ef9bb689d608e21c46e7c57~1..a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo [2022-10-24T01:33:08.774Z] -----------> git rev-list -1 --merges a484f07daf3599b56ef9bb689d608e21c46e7c57~1..a484f07daf3599b56ef9bb689d608e21c46e7c57 a484f07daf3599b56ef9bb689d608e21c46e7c57 [false] [Pipeline] sh [2022-10-24T01:33:09.086Z] + git log --format=format:%s -1 a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo [2022-10-24T01:33:09.125Z] ========================================================= [2022-10-24T01:33:09.125Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T01:33:09.125Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:33:09.560Z] + git log --format=format:%s -1 a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo [2022-10-24T01:33:09.594Z] [semverPrep] GIT_COMMIT: a484f07daf3599b56ef9bb689d608e21c46e7c57, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T01:33:09.639Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T01:33:10.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T01:33:10.012Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T01:33:10.012Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T01:33:10.013Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T01:33:10.013Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T01:33:10.013Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T01:33:10.013Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:10.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:33:10.438Z] [2022-10-24T01:33:10.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:10.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:33:10.819Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T01:33:10.820Z] b85a868b505f: Pulling fs layer [2022-10-24T01:33:10.820Z] e2be974225ed: Pulling fs layer [2022-10-24T01:33:10.820Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T01:33:10.820Z] 988bab9f4d93: Pulling fs layer [2022-10-24T01:33:10.820Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T01:33:10.820Z] eaf3925da568: Pulling fs layer [2022-10-24T01:33:10.820Z] bab4dde63d76: Pulling fs layer [2022-10-24T01:33:10.820Z] bde34c3a00c8: Pulling fs layer [2022-10-24T01:33:10.820Z] b352a97aabf1: Pulling fs layer [2022-10-24T01:33:10.820Z] 4872d77fe225: Pulling fs layer [2022-10-24T01:33:10.820Z] 5851b861e8e6: Pulling fs layer [2022-10-24T01:33:10.820Z] bab4dde63d76: Waiting [2022-10-24T01:33:10.820Z] eaf3925da568: Waiting [2022-10-24T01:33:10.820Z] bde34c3a00c8: Waiting [2022-10-24T01:33:10.820Z] b352a97aabf1: Waiting [2022-10-24T01:33:10.820Z] 4872d77fe225: Waiting [2022-10-24T01:33:10.820Z] 1469e6f7b9e6: Waiting [2022-10-24T01:33:10.820Z] 988bab9f4d93: Waiting [2022-10-24T01:33:10.820Z] 5851b861e8e6: Waiting [2022-10-24T01:33:10.820Z] e2be974225ed: Verifying Checksum [2022-10-24T01:33:10.820Z] e2be974225ed: Download complete [2022-10-24T01:33:10.820Z] 988bab9f4d93: Verifying Checksum [2022-10-24T01:33:10.820Z] 988bab9f4d93: Download complete [2022-10-24T01:33:11.079Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T01:33:11.080Z] 1469e6f7b9e6: Download complete [2022-10-24T01:33:11.080Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T01:33:11.080Z] 339a4e72a1f5: Download complete [2022-10-24T01:33:11.080Z] eaf3925da568: Download complete [2022-10-24T01:33:11.080Z] bde34c3a00c8: Verifying Checksum [2022-10-24T01:33:11.080Z] bde34c3a00c8: Download complete [2022-10-24T01:33:11.080Z] b352a97aabf1: Download complete [2022-10-24T01:33:11.080Z] 4872d77fe225: Verifying Checksum [2022-10-24T01:33:11.080Z] 4872d77fe225: Download complete [2022-10-24T01:33:11.080Z] 5851b861e8e6: Download complete [2022-10-24T01:33:11.080Z] b85a868b505f: Verifying Checksum [2022-10-24T01:33:11.080Z] b85a868b505f: Download complete [2022-10-24T01:33:11.339Z] bab4dde63d76: Verifying Checksum [2022-10-24T01:33:11.339Z] bab4dde63d76: Download complete [2022-10-24T01:33:13.253Z] b85a868b505f: Pull complete [2022-10-24T01:33:13.253Z] e2be974225ed: Pull complete [2022-10-24T01:33:13.513Z] 339a4e72a1f5: Pull complete [2022-10-24T01:33:13.513Z] 988bab9f4d93: Pull complete [2022-10-24T01:33:14.081Z] 1469e6f7b9e6: Pull complete [2022-10-24T01:33:14.081Z] eaf3925da568: Pull complete [2022-10-24T01:33:15.988Z] bab4dde63d76: Pull complete [2022-10-24T01:33:15.988Z] bde34c3a00c8: Pull complete [2022-10-24T01:33:15.988Z] b352a97aabf1: Pull complete [2022-10-24T01:33:15.988Z] 4872d77fe225: Pull complete [2022-10-24T01:33:16.247Z] 5851b861e8e6: Pull complete [2022-10-24T01:33:16.247Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T01:33:16.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:33:16.247Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:33:16.457Z] prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container [2022-10-24T01:33:16.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-428 -v /w/workspace/gexfoundry_device-mqtt-go_PR-428:/w/workspace/gexfoundry_device-mqtt-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T01:33:17.928Z] $ docker top d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae -eo pid,comm [2022-10-24T01:33:17.983Z] 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-10-24T01:33:17.983Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T01:33:18.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:33:18.125Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:33:18.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:33:18.259Z] $ docker exec d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent [2022-10-24T01:33:18.364Z] SSH_AUTH_SOCK=/tmp/ssh-gSvxypCWENgN/agent.31 [2022-10-24T01:33:18.364Z] SSH_AGENT_PID=37 [2022-10-24T01:33:18.371Z] Running ssh-add (command line suppressed) [2022-10-24T01:33:18.484Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/private_key_10782244360446894132.key (/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/private_key_10782244360446894132.key) [2022-10-24T01:33:18.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:33:18.830Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T01:33:18.861Z] $ docker exec --env ******** --env ******** d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent -k [2022-10-24T01:33:18.954Z] unset SSH_AUTH_SOCK; [2022-10-24T01:33:18.954Z] unset SSH_AGENT_PID; [2022-10-24T01:33:18.954Z] echo Agent pid 37 killed; [2022-10-24T01:33:18.963Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T01:33:19.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:33:19.047Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:33:19.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:33:19.177Z] $ docker exec d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent [2022-10-24T01:33:19.285Z] SSH_AUTH_SOCK=/tmp/ssh-JuIGJc2Uw0d1/agent.69 [2022-10-24T01:33:19.285Z] SSH_AGENT_PID=75 [2022-10-24T01:33:19.292Z] Running ssh-add (command line suppressed) [2022-10-24T01:33:19.401Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/private_key_692201754797433690.key (/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/private_key_692201754797433690.key) [2022-10-24T01:33:19.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:33:19.739Z] + git semver init [2022-10-24T01:33:19.999Z] 2022-10-24 01:33:19,935 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T01:33:19.999Z] 2022-10-24 01:33:19,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver [2022-10-24T01:33:19.999Z] 2022-10-24 01:33:19,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver [2022-10-24T01:33:19.999Z] 2022-10-24 01:33:19,937 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-428, universal_newlines=False, shell=None, istream=None) [2022-10-24T01:33:20.935Z] 2022-10-24 01:33:20,877 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.git/info/exclude [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,878 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver/PR-428 with force:False [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,878 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver/PR-428 [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,883 [execute] INFO git cat-file --batch-check [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,891 [execute] INFO git cat-file --batch [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:33:20.936Z] 2022-10-24 01:33:20,897 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver/PR-428 [2022-10-24T01:33:20.936Z] 0.0.0 [Pipeline] } [2022-10-24T01:33:20.966Z] $ docker exec --env ******** --env ******** d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent -k [2022-10-24T01:33:21.073Z] unset SSH_AUTH_SOCK; [2022-10-24T01:33:21.073Z] unset SSH_AGENT_PID; [2022-10-24T01:33:21.073Z] echo Agent pid 75 killed; [2022-10-24T01:33:21.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T01:33:21.528Z] + git semver [Pipeline] } [2022-10-24T01:33:21.818Z] $ docker stop --time=1 d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae [2022-10-24T01:33:23.164Z] $ docker rm -f d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:33:23.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T01:33:23.825Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T01:33:23.844Z] [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-10-24T01:33:24.609Z] provisioning config files... [2022-10-24T01:33:24.623Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config1782008473015339365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:33:24.977Z] ---> docker-login.sh [2022-10-24T01:33:24.977Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:33:24.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:24.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:24.977Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:24.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:24.977Z] [2022-10-24T01:33:24.977Z] Login Succeeded [2022-10-24T01:33:24.977Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:33:24.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:24.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:24.977Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:24.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:24.977Z] [2022-10-24T01:33:24.977Z] Login Succeeded [2022-10-24T01:33:24.977Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:33:25.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:25.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:25.236Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:25.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:25.236Z] [2022-10-24T01:33:25.236Z] Login Succeeded [2022-10-24T01:33:25.236Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:33:25.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:25.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:25.236Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:25.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:25.236Z] [2022-10-24T01:33:25.236Z] Login Succeeded [2022-10-24T01:33:25.236Z] docker.io [2022-10-24T01:33:25.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:33:25.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:33:25.756Z] Configure a credential helper to remove this warning. See [2022-10-24T01:33:25.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:33:25.756Z] [2022-10-24T01:33:25.756Z] Login Succeeded [2022-10-24T01:33:25.756Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:33:25.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:33:25.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:33:26.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:33:26.042Z] ========================================================= [2022-10-24T01:33:26.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T01:33:26.042Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:26.504Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T01:33:26.504Z] Sending build context to Docker daemon 6.195MB [2022-10-24T01:33:26.504Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:33:26.505Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:33:26.505Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T01:33:26.505Z] 213ec9aee27d: Pulling fs layer [2022-10-24T01:33:26.505Z] 4583459ba037: Pulling fs layer [2022-10-24T01:33:26.505Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T01:33:26.505Z] 53926ce57604: Pulling fs layer [2022-10-24T01:33:26.505Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T01:33:26.505Z] 53926ce57604: Waiting [2022-10-24T01:33:26.505Z] 30f14e443154: Pulling fs layer [2022-10-24T01:33:26.505Z] 801331c1e519: Pulling fs layer [2022-10-24T01:33:26.505Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T01:33:26.505Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T01:33:26.505Z] 21b2b0c7a3f4: Waiting [2022-10-24T01:33:26.505Z] 801331c1e519: Waiting [2022-10-24T01:33:26.505Z] 7d9ed39f4882: Waiting [2022-10-24T01:33:26.505Z] 99cc6dd402b0: Waiting [2022-10-24T01:33:26.505Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T01:33:26.505Z] 93c1e223e6f2: Download complete [2022-10-24T01:33:26.505Z] 4583459ba037: Download complete [2022-10-24T01:33:26.763Z] 21b2b0c7a3f4: Download complete [2022-10-24T01:33:26.763Z] 30f14e443154: Verifying Checksum [2022-10-24T01:33:26.763Z] 30f14e443154: Download complete [2022-10-24T01:33:26.763Z] 213ec9aee27d: Verifying Checksum [2022-10-24T01:33:26.763Z] 213ec9aee27d: Download complete [2022-10-24T01:33:26.763Z] 801331c1e519: Verifying Checksum [2022-10-24T01:33:26.763Z] 801331c1e519: Download complete [2022-10-24T01:33:26.763Z] 213ec9aee27d: Pull complete [2022-10-24T01:33:27.021Z] 4583459ba037: Pull complete [2022-10-24T01:33:27.021Z] 93c1e223e6f2: Pull complete [2022-10-24T01:33:27.589Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T01:33:27.589Z] 7d9ed39f4882: Download complete [2022-10-24T01:33:27.848Z] 53926ce57604: Verifying Checksum [2022-10-24T01:33:27.848Z] 53926ce57604: Download complete [2022-10-24T01:33:27.848Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T01:33:27.848Z] 99cc6dd402b0: Download complete [2022-10-24T01:33:32.036Z] 53926ce57604: Pull complete [2022-10-24T01:33:32.036Z] 21b2b0c7a3f4: Pull complete [2022-10-24T01:33:32.036Z] 30f14e443154: Pull complete [2022-10-24T01:33:32.036Z] 801331c1e519: Pull complete [2022-10-24T01:33:34.567Z] 99cc6dd402b0: Pull complete [2022-10-24T01:33:35.503Z] 7d9ed39f4882: Pull complete [2022-10-24T01:33:35.503Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T01:33:35.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T01:33:35.503Z] ---> 1dedd983c030 [2022-10-24T01:33:35.503Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:33:37.411Z] ---> Running in ddd7628742eb [2022-10-24T01:33:37.411Z] Removing intermediate container ddd7628742eb [2022-10-24T01:33:37.411Z] ---> a546ec1047db [2022-10-24T01:33:37.411Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:33:37.411Z] ---> Running in ac83431cef59 [2022-10-24T01:33:37.411Z] Removing intermediate container ac83431cef59 [2022-10-24T01:33:37.411Z] ---> 5830a557512b [2022-10-24T01:33:37.411Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:33:37.670Z] ---> Running in bb169537a900 [2022-10-24T01:33:37.670Z] Removing intermediate container bb169537a900 [2022-10-24T01:33:37.670Z] ---> 8fa13ba537f2 [2022-10-24T01:33:37.670Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:33:37.670Z] ---> Running in a1dcc6ebdd7b [2022-10-24T01:33:37.930Z] Removing intermediate container a1dcc6ebdd7b [2022-10-24T01:33:37.930Z] ---> 899a879f0c37 [2022-10-24T01:33:37.930Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:33:37.930Z] ---> Running in 37e7872194c4 [2022-10-24T01:33:38.499Z] Removing intermediate container 37e7872194c4 [2022-10-24T01:33:38.499Z] ---> 0bc5539c1d72 [2022-10-24T01:33:38.499Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:33:38.499Z] ---> Running in cccd6fe49600 [2022-10-24T01:33:38.759Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:33:39.410Z] Still waiting to schedule task [2022-10-24T01:33:39.410Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T01:33:39.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:33:39.961Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:33:40.221Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:33:40.221Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:33:40.482Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:33:40.482Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:33:40.482Z] OK: 216 MiB in 55 packages [2022-10-24T01:33:41.050Z] Removing intermediate container cccd6fe49600 [2022-10-24T01:33:41.050Z] ---> 4e37ba1c279d [2022-10-24T01:33:41.050Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-24T01:33:41.050Z] ---> Running in dd3a09cf0841 [2022-10-24T01:33:41.050Z] Removing intermediate container dd3a09cf0841 [2022-10-24T01:33:41.050Z] ---> 28677716cc93 [2022-10-24T01:33:41.050Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:33:41.311Z] ---> ec5980d9f755 [2022-10-24T01:33:41.311Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:33:41.311Z] ---> Running in 2e2b49a10711 [2022-10-24T01:33:59.431Z] Removing intermediate container 2e2b49a10711 [2022-10-24T01:33:59.431Z] ---> ec85a66e7903 [2022-10-24T01:33:59.431Z] Step 12/13 : COPY . . [2022-10-24T01:33:59.431Z] ---> 6e08cee30ccf [2022-10-24T01:33:59.431Z] Step 13/13 : RUN $MAKE [2022-10-24T01:33:59.431Z] ---> Running in e5795adf6da9 [2022-10-24T01:33:59.431Z] noop [2022-10-24T01:33:59.431Z] Removing intermediate container e5795adf6da9 [2022-10-24T01:33:59.431Z] ---> 085c165410af [2022-10-24T01:33:59.431Z] Successfully built 085c165410af [2022-10-24T01:33:59.431Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:59.895Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:33:59.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:34:00.041Z] prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container [2022-10-24T01:34:00.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-428 -v /w/workspace/gexfoundry_device-mqtt-go_PR-428:/w/workspace/gexfoundry_device-mqtt-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T01:34:00.446Z] $ docker top 78d411a026703830e80477aa8b0e73d3bf796fd4eea06bd469a8fbb038f8a278 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:34:00.832Z] + go version [2022-10-24T01:34:00.832Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T01:34:00.862Z] $ docker stop --time=1 78d411a026703830e80477aa8b0e73d3bf796fd4eea06bd469a8fbb038f8a278 [2022-10-24T01:34:02.141Z] $ docker rm -f 78d411a026703830e80477aa8b0e73d3bf796fd4eea06bd469a8fbb038f8a278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:34:02.832Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:34:02.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:34:03.038Z] prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container [2022-10-24T01:34:03.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-428 -v /w/workspace/gexfoundry_device-mqtt-go_PR-428:/w/workspace/gexfoundry_device-mqtt-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T01:34:03.435Z] $ docker top 9cf07112ff69ca2334f23a3ed0c4a07d04365b8c1120c3f02c9a9cad4c0e543c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:34:03.888Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-428 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:34:04.243Z] + make test [2022-10-24T01:34:04.243Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:34:04.503Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-24T01:34:14.491Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-24T01:34:14.491Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-10-24T01:34:14.491Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-24T01:34:21.055Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-24T01:34:21.055Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:34:24.406Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:34:24.406Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:34:24.406Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:34:24.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:34:24.470Z] $ docker stop --time=1 9cf07112ff69ca2334f23a3ed0c4a07d04365b8c1120c3f02c9a9cad4c0e543c [2022-10-24T01:34:26.215Z] $ docker rm -f 9cf07112ff69ca2334f23a3ed0c4a07d04365b8c1120c3f02c9a9cad4c0e543c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:34:26.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:34:26.829Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T01:34:27.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:34:27.732Z] + ls -al . [2022-10-24T01:34:27.732Z] total 184 [2022-10-24T01:34:27.732Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:34 . [2022-10-24T01:34:27.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:33 .. [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:33 .dockerignore [2022-10-24T01:34:27.732Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:34 .git [2022-10-24T01:34:27.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:33 .github [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:33 .gitignore [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:33 .golangci.yml [2022-10-24T01:34:27.732Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:33 .semver [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:33 Attribution.txt [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:33 CHANGELOG.md [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:33 Dockerfile [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:33 GOVERNANCE.md [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:33 Jenkinsfile [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:33 LICENSE [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:33 Makefile [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:33 OWNERS.md [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:33 README.md [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:33 VERSION [2022-10-24T01:34:27.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:33 bin [2022-10-24T01:34:27.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:33 cmd [2022-10-24T01:34:27.732Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:34 coverage.out [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:33 go.mod [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 38123 Oct 24 01:33 go.sum [2022-10-24T01:34:27.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:33 internal [2022-10-24T01:34:27.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:33 mock [2022-10-24T01:34:27.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:33 snap [2022-10-24T01:34:27.732Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:34:28.131Z] + 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=a484f07daf3599b56ef9bb689d608e21c46e7c57 --label arch=amd64 --label version=0.0.0 . [2022-10-24T01:34:28.131Z] Sending build context to Docker daemon 6.214MB [2022-10-24T01:34:28.131Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:34:28.131Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T01:34:28.131Z] ---> 085c165410af [2022-10-24T01:34:28.131Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:34:28.131Z] ---> Running in 162e39068756 [2022-10-24T01:34:28.390Z] Removing intermediate container 162e39068756 [2022-10-24T01:34:28.390Z] ---> 0382dbce7e9f [2022-10-24T01:34:28.390Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:34:28.390Z] ---> Running in 07aafd2a30cb [2022-10-24T01:34:28.390Z] Removing intermediate container 07aafd2a30cb [2022-10-24T01:34:28.390Z] ---> d8a3fe7cb62d [2022-10-24T01:34:28.390Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:34:28.390Z] ---> Running in 718a8c304cc7 [2022-10-24T01:34:28.652Z] Removing intermediate container 718a8c304cc7 [2022-10-24T01:34:28.652Z] ---> da7f35d024d4 [2022-10-24T01:34:28.652Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:34:28.652Z] ---> Running in ae52dfe32e9c [2022-10-24T01:34:28.652Z] Removing intermediate container ae52dfe32e9c [2022-10-24T01:34:28.652Z] ---> 7ca3c7a31e98 [2022-10-24T01:34:28.652Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:34:28.652Z] ---> Running in ebd3dede6c68 [2022-10-24T01:34:29.229Z] Removing intermediate container ebd3dede6c68 [2022-10-24T01:34:29.229Z] ---> 41184bc6aae8 [2022-10-24T01:34:29.229Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:34:29.489Z] ---> Running in 56267d2c43a0 [2022-10-24T01:34:29.748Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:30.683Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:30.941Z] OK: 216 MiB in 55 packages [2022-10-24T01:34:31.878Z] Removing intermediate container 56267d2c43a0 [2022-10-24T01:34:31.878Z] ---> e8af5fd7f83f [2022-10-24T01:34:31.878Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-24T01:34:31.878Z] ---> Running in cbb693b847e7 [2022-10-24T01:34:32.136Z] Removing intermediate container cbb693b847e7 [2022-10-24T01:34:32.136Z] ---> cf5f633a25bb [2022-10-24T01:34:32.136Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T01:34:32.136Z] ---> a4418adf4924 [2022-10-24T01:34:32.136Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:34:32.398Z] ---> Running in f8a92322123b [2022-10-24T01:34:32.968Z] Removing intermediate container f8a92322123b [2022-10-24T01:34:32.968Z] ---> 1869d3317002 [2022-10-24T01:34:32.968Z] Step 12/25 : COPY . . [2022-10-24T01:34:33.226Z] ---> 745367759174 [2022-10-24T01:34:33.226Z] Step 13/25 : RUN $MAKE [2022-10-24T01:34:33.226Z] ---> Running in 71c73a6d8074 [2022-10-24T01:34:33.794Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-24T01:34:55.713Z] Removing intermediate container 71c73a6d8074 [2022-10-24T01:34:55.713Z] ---> 885246b039f1 [2022-10-24T01:34:55.713Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T01:34:55.713Z] 3.16: Pulling from library/alpine [2022-10-24T01:34:55.713Z] 213ec9aee27d: Already exists [2022-10-24T01:34:55.713Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:34:55.713Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:34:55.713Z] ---> 9c6f07244728 [2022-10-24T01:34:55.713Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-24T01:34:55.713Z] ---> Running in a23b39a95269 [2022-10-24T01:34:55.713Z] Removing intermediate container a23b39a95269 [2022-10-24T01:34:55.713Z] ---> c4747aefc9df [2022-10-24T01:34:55.713Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T01:34:55.713Z] ---> Running in afa6edb66f5b [2022-10-24T01:34:55.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:55.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:55.713Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T01:34:55.713Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:34:55.713Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T01:34:55.713Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:34:55.713Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T01:34:55.713Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T01:34:55.713Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:34:55.713Z] OK: 8 MiB in 20 packages [2022-10-24T01:34:55.713Z] Removing intermediate container afa6edb66f5b [2022-10-24T01:34:55.713Z] ---> aeab5cbc4f47 [2022-10-24T01:34:55.713Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-24T01:34:55.973Z] ---> 402a78e9e210 [2022-10-24T01:34:55.973Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-24T01:34:56.236Z] ---> ebc8e9f95746 [2022-10-24T01:34:56.236Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-24T01:34:56.236Z] ---> 66c347c3dcba [2022-10-24T01:34:56.236Z] Step 20/25 : EXPOSE 59982 [2022-10-24T01:34:56.496Z] ---> Running in ac325ad637a4 [2022-10-24T01:34:56.496Z] Removing intermediate container ac325ad637a4 [2022-10-24T01:34:56.496Z] ---> 13761e46cfdf [2022-10-24T01:34:56.496Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-24T01:34:56.496Z] ---> Running in 49eb5f92596b [2022-10-24T01:34:56.756Z] Removing intermediate container 49eb5f92596b [2022-10-24T01:34:56.756Z] ---> 4cdd5aa5c2b9 [2022-10-24T01:34:56.756Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:34:56.756Z] ---> Running in 3bf1270f4da4 [2022-10-24T01:34:56.756Z] Removing intermediate container 3bf1270f4da4 [2022-10-24T01:34:56.756Z] ---> 4e9376e20f2f [2022-10-24T01:34:56.756Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T01:34:56.756Z] ---> Running in d555343bc123 [2022-10-24T01:34:57.016Z] Removing intermediate container d555343bc123 [2022-10-24T01:34:57.016Z] ---> da4ae8d85d83 [2022-10-24T01:34:57.016Z] Step 24/25 : LABEL git_sha=a484f07daf3599b56ef9bb689d608e21c46e7c57 [2022-10-24T01:34:57.016Z] ---> Running in 1fe25433e650 [2022-10-24T01:34:57.016Z] Removing intermediate container 1fe25433e650 [2022-10-24T01:34:57.016Z] ---> 4590949105ec [2022-10-24T01:34:57.016Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T01:34:57.277Z] ---> Running in 4bf1f18e2b44 [2022-10-24T01:34:57.277Z] Removing intermediate container 4bf1f18e2b44 [2022-10-24T01:34:57.277Z] ---> fcb53dec9203 [2022-10-24T01:34:57.277Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:34:57.277Z] Successfully built fcb53dec9203 [2022-10-24T01:34:57.277Z] 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-10-24T01:34:58.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:34:58.171Z] [2022-10-24T01:34:58.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:34:58.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:34:58.544Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T01:34:58.544Z] 5eb5b503b376: Pulling fs layer [2022-10-24T01:34:58.544Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T01:34:58.544Z] ec43610c2a17: Pulling fs layer [2022-10-24T01:34:58.544Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T01:34:58.544Z] 33b1e0a273af: Pulling fs layer [2022-10-24T01:34:58.544Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T01:34:58.544Z] 2f39f015ded8: Pulling fs layer [2022-10-24T01:34:58.544Z] 3a2ae6a8a46f: Waiting [2022-10-24T01:34:58.544Z] 5d3b04190fa2: Waiting [2022-10-24T01:34:58.544Z] 33b1e0a273af: Waiting [2022-10-24T01:34:58.544Z] 2f39f015ded8: Waiting [2022-10-24T01:34:58.544Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T01:34:58.544Z] 5c69ac0246d0: Download complete [2022-10-24T01:34:58.544Z] 3a2ae6a8a46f: Download complete [2022-10-24T01:34:58.544Z] 33b1e0a273af: Verifying Checksum [2022-10-24T01:34:58.544Z] 33b1e0a273af: Download complete [2022-10-24T01:34:58.544Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T01:34:58.544Z] 5d3b04190fa2: Download complete [2022-10-24T01:34:58.806Z] ec43610c2a17: Verifying Checksum [2022-10-24T01:34:58.806Z] ec43610c2a17: Download complete [2022-10-24T01:34:58.806Z] 5eb5b503b376: Verifying Checksum [2022-10-24T01:34:58.806Z] 5eb5b503b376: Download complete [2022-10-24T01:34:59.374Z] 2f39f015ded8: Download complete [2022-10-24T01:34:59.943Z] 5eb5b503b376: Pull complete [2022-10-24T01:34:59.943Z] 5c69ac0246d0: Pull complete [2022-10-24T01:35:00.509Z] ec43610c2a17: Pull complete [2022-10-24T01:35:00.509Z] 3a2ae6a8a46f: Pull complete [2022-10-24T01:35:00.766Z] 33b1e0a273af: Pull complete [2022-10-24T01:35:00.766Z] 5d3b04190fa2: Pull complete [2022-10-24T01:35:04.964Z] 2f39f015ded8: Pull complete [2022-10-24T01:35:04.964Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T01:35:04.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:35:04.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:35:05.170Z] prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container [2022-10-24T01:35:05.201Z] $ 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-428 -v /w/workspace/gexfoundry_device-mqtt-go_PR-428:/w/workspace/gexfoundry_device-mqtt-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T01:35:06.900Z] $ docker top 1a9253b7e036bf3415bcebbeeca220352a676b76aa7f87c58df83a39a29f695d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:35:07.328Z] ---> job-cost.sh [2022-10-24T01:35:07.328Z] lf-activate-venv: SKIPPING [2022-10-24T01:35:07.328Z] INFO: No Stack... [2022-10-24T01:35:07.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:35:08.155Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:35:08.467Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives/cost.csv [2022-10-24T01:35:08.467Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:35:08.507Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [2022-10-24T01:35:08.512Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] did not exist. Created. [2022-10-24T01:35:08.512Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:35:08.910Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T01:35:08.965Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:35:09.055Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:35:09.128Z] $ docker stop --time=1 1a9253b7e036bf3415bcebbeeca220352a676b76aa7f87c58df83a39a29f695d [2022-10-24T01:35:10.305Z] $ docker rm -f 1a9253b7e036bf3415bcebbeeca220352a676b76aa7f87c58df83a39a29f695d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T01:36:21.960Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8930 in /w/workspace/gexfoundry_device-mqtt-go_PR-428 [Pipeline] { [Pipeline] ws [2022-10-24T01:36:21.997Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T01:36:22.079Z] Selected Git installation does not exist. Using Default [2022-10-24T01:36:22.079Z] The recommended git tool is: NONE [2022-10-24T01:36:28.237Z] using credential edgex-jenkins-ssh [2022-10-24T01:36:28.260Z] Cloning the remote Git repository [2022-10-24T01:36:28.316Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:36:28.400Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-24T01:36:28.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:36:28.582Z] > git --version # timeout=10 [2022-10-24T01:36:28.615Z] > git --version # 'git version 2.25.1' [2022-10-24T01:36:28.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:36:28.673Z] Verifying host key using known hosts file [2022-10-24T01:36:28.940Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T01:36:28.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:36:30.176Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-24T01:36:30.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:36:31.882Z] Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit a484f07daf3599b56ef9bb689d608e21c46e7c57 [2022-10-24T01:36:32.158Z] Merge succeeded, producing a484f07daf3599b56ef9bb689d608e21c46e7c57 [2022-10-24T01:36:32.159Z] Checking out Revision a484f07daf3599b56ef9bb689d608e21c46e7c57 (PR-428) [2022-10-24T01:36:31.182Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-24T01:36:31.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:36:31.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:36:31.239Z] Verifying host key using known hosts file [2022-10-24T01:36:31.247Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T01:36:31.268Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T01:36:31.906Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:36:31.925Z] > git checkout -f a484f07daf3599b56ef9bb689d608e21c46e7c57 # timeout=10 [2022-10-24T01:36:32.036Z] > git remote # timeout=10 [2022-10-24T01:36:32.059Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T01:36:32.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:36:32.090Z] Verifying host key using known hosts file [2022-10-24T01:36:32.096Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T01:36:32.107Z] > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 [2022-10-24T01:36:32.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T01:36:32.168Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:36:32.183Z] > git checkout -f a484f07daf3599b56ef9bb689d608e21c46e7c57 # timeout=10 [2022-10-24T01:36:32.703Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [2022-10-24T01:36:32.762Z] > git --version # timeout=10 [2022-10-24T01:36:32.778Z] > git --version # 'git version 2.25.1' [2022-10-24T01:36:32.809Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:36:33.899Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T01:36:33.899Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:36:33.899Z] Dload Upload Total Spent Left Speed [2022-10-24T01:36:33.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2022-10-24T01:36:34.525Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T01:36:34.872Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T01:36:34.872Z] sudo tee /etc/docker/daemon.new [2022-10-24T01:36:34.872Z] { [2022-10-24T01:36:34.872Z] "registry-mirrors": [ [2022-10-24T01:36:34.872Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T01:36:34.872Z] ], [2022-10-24T01:36:34.872Z] "bip": "10.250.0.254/24", [2022-10-24T01:36:34.872Z] "hosts": [ [2022-10-24T01:36:34.872Z] "tcp://0.0.0.0:5555", [2022-10-24T01:36:34.872Z] "unix:///var/run/docker.sock" [2022-10-24T01:36:34.872Z] ], [2022-10-24T01:36:34.872Z] "mtu": 1458, [2022-10-24T01:36:34.872Z] "selinux-enabled": true, [2022-10-24T01:36:34.872Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T01:36:34.872Z] } [Pipeline] sh [2022-10-24T01:36:35.227Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T01:36:35.583Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:36:54.157Z] provisioning config files... [2022-10-24T01:36:54.185Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config18099087501439168213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:36:54.583Z] ---> docker-login.sh [2022-10-24T01:36:54.583Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:36:55.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:55.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:55.173Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:55.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:55.173Z] [2022-10-24T01:36:55.173Z] Login Succeeded [2022-10-24T01:36:55.173Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:36:55.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:55.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:55.713Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:55.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:55.713Z] [2022-10-24T01:36:55.713Z] Login Succeeded [2022-10-24T01:36:55.713Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:36:55.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:55.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:55.983Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:55.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:55.983Z] [2022-10-24T01:36:55.983Z] Login Succeeded [2022-10-24T01:36:55.983Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:36:56.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:56.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:56.525Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:56.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:56.525Z] [2022-10-24T01:36:56.525Z] Login Succeeded [2022-10-24T01:36:56.525Z] docker.io [2022-10-24T01:36:56.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:57.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:57.060Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:57.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:57.060Z] [2022-10-24T01:36:57.060Z] Login Succeeded [2022-10-24T01:36:57.060Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:36:57.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:36:57.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:36:57.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:36:57.466Z] ========================================================= [2022-10-24T01:36:57.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T01:36:57.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:36:57.977Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T01:36:58.247Z] Sending build context to Docker daemon 3.208MB [2022-10-24T01:36:58.247Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:36:58.247Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:36:58.517Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T01:36:58.517Z] 9b18e9b68314: Pulling fs layer [2022-10-24T01:36:58.517Z] d32db5db7311: Pulling fs layer [2022-10-24T01:36:58.517Z] d0c4b47475fc: Pulling fs layer [2022-10-24T01:36:58.517Z] 5831b945b038: Pulling fs layer [2022-10-24T01:36:58.517Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T01:36:58.517Z] e10730c5d714: Pulling fs layer [2022-10-24T01:36:58.517Z] 5dd5c2283517: Pulling fs layer [2022-10-24T01:36:58.517Z] d5ac0230b979: Pulling fs layer [2022-10-24T01:36:58.517Z] 5831b945b038: Waiting [2022-10-24T01:36:58.517Z] 86bbec2aaacd: Waiting [2022-10-24T01:36:58.517Z] e10730c5d714: Waiting [2022-10-24T01:36:58.517Z] 5dd5c2283517: Waiting [2022-10-24T01:36:58.517Z] d5ac0230b979: Waiting [2022-10-24T01:36:58.517Z] d0c4b47475fc: Download complete [2022-10-24T01:36:58.517Z] d32db5db7311: Verifying Checksum [2022-10-24T01:36:58.517Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T01:36:58.517Z] 86bbec2aaacd: Download complete [2022-10-24T01:36:58.517Z] e10730c5d714: Verifying Checksum [2022-10-24T01:36:58.517Z] e10730c5d714: Download complete [2022-10-24T01:36:58.517Z] 9b18e9b68314: Verifying Checksum [2022-10-24T01:36:58.517Z] 9b18e9b68314: Download complete [2022-10-24T01:36:59.500Z] 9b18e9b68314: Pull complete [2022-10-24T01:36:59.770Z] d5ac0230b979: Verifying Checksum [2022-10-24T01:36:59.771Z] d5ac0230b979: Download complete [2022-10-24T01:37:00.042Z] d32db5db7311: Pull complete [2022-10-24T01:37:00.636Z] d0c4b47475fc: Pull complete [2022-10-24T01:37:00.905Z] 5dd5c2283517: Verifying Checksum [2022-10-24T01:37:00.905Z] 5dd5c2283517: Download complete [2022-10-24T01:37:01.498Z] 5831b945b038: Verifying Checksum [2022-10-24T01:37:01.498Z] 5831b945b038: Download complete [2022-10-24T01:37:13.892Z] 5831b945b038: Pull complete [2022-10-24T01:37:13.892Z] 86bbec2aaacd: Pull complete [2022-10-24T01:37:13.892Z] e10730c5d714: Pull complete [2022-10-24T01:37:19.236Z] 5dd5c2283517: Pull complete [2022-10-24T01:37:21.202Z] d5ac0230b979: Pull complete [2022-10-24T01:37:21.202Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T01:37:21.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T01:37:21.202Z] ---> 59b3b1a385d4 [2022-10-24T01:37:21.202Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:37:23.160Z] ---> Running in 3c0ac28140cb [2022-10-24T01:37:23.430Z] Removing intermediate container 3c0ac28140cb [2022-10-24T01:37:23.430Z] ---> 8206a56e404c [2022-10-24T01:37:23.430Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:37:23.430Z] ---> Running in 1d1ad0ea7c8b [2022-10-24T01:37:23.699Z] Removing intermediate container 1d1ad0ea7c8b [2022-10-24T01:37:23.699Z] ---> 9ff40bcccaa5 [2022-10-24T01:37:23.699Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:37:23.975Z] ---> Running in 4ec3d00373c2 [2022-10-24T01:37:24.244Z] Removing intermediate container 4ec3d00373c2 [2022-10-24T01:37:24.244Z] ---> 7034009f729a [2022-10-24T01:37:24.244Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:37:24.244Z] ---> Running in 3ddcf4bb03f8 [2022-10-24T01:37:24.512Z] Removing intermediate container 3ddcf4bb03f8 [2022-10-24T01:37:24.512Z] ---> fef49fa3880c [2022-10-24T01:37:24.512Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:37:24.780Z] ---> Running in a52bfcd20e17 [2022-10-24T01:37:26.732Z] Removing intermediate container a52bfcd20e17 [2022-10-24T01:37:26.732Z] ---> 6cd872d52b26 [2022-10-24T01:37:26.732Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:37:26.732Z] ---> Running in a384bcbcaf63 [2022-10-24T01:37:27.715Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:37:28.678Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:37:29.638Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:37:29.638Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:37:29.638Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:37:29.906Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:37:29.906Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:37:30.173Z] OK: 226 MiB in 55 packages [2022-10-24T01:37:32.766Z] Removing intermediate container a384bcbcaf63 [2022-10-24T01:37:32.766Z] ---> f6df534ac196 [2022-10-24T01:37:32.766Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-24T01:37:32.766Z] ---> Running in fb4cf0236073 [2022-10-24T01:37:32.766Z] Removing intermediate container fb4cf0236073 [2022-10-24T01:37:32.766Z] ---> 0addbe7ce57c [2022-10-24T01:37:32.766Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:37:33.358Z] ---> 64c0327123df [2022-10-24T01:37:33.358Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:37:33.358Z] ---> Running in 370a2a4588fa [2022-10-24T01:38:29.817Z] Removing intermediate container 370a2a4588fa [2022-10-24T01:38:29.817Z] ---> 80cee56131c4 [2022-10-24T01:38:29.817Z] Step 12/13 : COPY . . [2022-10-24T01:38:29.817Z] ---> 0e564480325c [2022-10-24T01:38:29.817Z] Step 13/13 : RUN $MAKE [2022-10-24T01:38:29.817Z] ---> Running in ae4cab4add3f [2022-10-24T01:38:29.817Z] noop [2022-10-24T01:38:29.817Z] Removing intermediate container ae4cab4add3f [2022-10-24T01:38:29.817Z] ---> 257d88b867ac [2022-10-24T01:38:29.817Z] Successfully built 257d88b867ac [2022-10-24T01:38:29.817Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:38:30.330Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:38:30.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:38:30.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-8930 does not seem to be running inside a container [2022-10-24T01:38:30.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:38:32.073Z] $ docker top d39d1384d5cb8a1313c9cb93f7b141957c173e10e30e6e6f022ec636edcf43c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:38:33.006Z] + go version [2022-10-24T01:38:33.006Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T01:38:33.045Z] $ docker stop --time=1 d39d1384d5cb8a1313c9cb93f7b141957c173e10e30e6e6f022ec636edcf43c7 [2022-10-24T01:38:34.767Z] $ docker rm -f d39d1384d5cb8a1313c9cb93f7b141957c173e10e30e6e6f022ec636edcf43c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:38:35.660Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:38:35.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:38:35.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-8930 does not seem to be running inside a container [2022-10-24T01:38:35.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:38:37.245Z] $ docker top f923809453f88d5fc94681ef0afc9c0e0ef2c5ead0d104b25d7f7aabeabde393 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:38:38.126Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:38:38.835Z] + make test [2022-10-24T01:38:38.835Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:38:40.788Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-24T01:40:17.452Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-24T01:40:17.452Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements [2022-10-24T01:40:17.452Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-24T01:40:17.452Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T01:40:17.452Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:40:39.551Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:40:39.551Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:40:39.551Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:40:39.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:40:39.884Z] $ docker stop --time=1 f923809453f88d5fc94681ef0afc9c0e0ef2c5ead0d104b25d7f7aabeabde393 [2022-10-24T01:40:41.615Z] $ docker rm -f f923809453f88d5fc94681ef0afc9c0e0ef2c5ead0d104b25d7f7aabeabde393 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:40:42.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:40:42.694Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T01:40:43.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:40:43.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:40:44.043Z] + ls -al . [2022-10-24T01:40:44.043Z] total 180 [2022-10-24T01:40:44.043Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:38 . [2022-10-24T01:40:44.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 .. [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:36 .dockerignore [2022-10-24T01:40:44.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:36 .git [2022-10-24T01:40:44.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 .github [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:36 .gitignore [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:36 .golangci.yml [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:36 Attribution.txt [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:36 CHANGELOG.md [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:36 Dockerfile [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:36 GOVERNANCE.md [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:36 Jenkinsfile [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:36 LICENSE [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:36 Makefile [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:36 OWNERS.md [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:36 README.md [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:33 VERSION [2022-10-24T01:40:44.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 bin [2022-10-24T01:40:44.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 cmd [2022-10-24T01:40:44.043Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:40 coverage.out [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:36 go.mod [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 38123 Oct 24 01:36 go.sum [2022-10-24T01:40:44.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 internal [2022-10-24T01:40:44.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 mock [2022-10-24T01:40:44.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 snap [2022-10-24T01:40:44.043Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:40:44.477Z] + 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=a484f07daf3599b56ef9bb689d608e21c46e7c57 --label arch=arm64 --label version=0.0.0 . [2022-10-24T01:40:44.745Z] Sending build context to Docker daemon 3.227MB [2022-10-24T01:40:44.746Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:40:44.746Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T01:40:44.746Z] ---> 257d88b867ac [2022-10-24T01:40:44.746Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:40:45.014Z] ---> Running in 08fa553d2746 [2022-10-24T01:40:45.281Z] Removing intermediate container 08fa553d2746 [2022-10-24T01:40:45.281Z] ---> cd568bc3a9ab [2022-10-24T01:40:45.281Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:40:45.574Z] ---> Running in 1f24e45a5005 [2022-10-24T01:40:45.847Z] Removing intermediate container 1f24e45a5005 [2022-10-24T01:40:45.847Z] ---> 520621828421 [2022-10-24T01:40:45.847Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:40:45.847Z] ---> Running in 22c6d93bd10a [2022-10-24T01:40:46.116Z] Removing intermediate container 22c6d93bd10a [2022-10-24T01:40:46.116Z] ---> 3851a9f9b5f1 [2022-10-24T01:40:46.116Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:40:46.384Z] ---> Running in f8ce8db95aa9 [2022-10-24T01:40:46.668Z] Removing intermediate container f8ce8db95aa9 [2022-10-24T01:40:46.668Z] ---> 71f10a2e4774 [2022-10-24T01:40:46.668Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:40:46.668Z] ---> Running in 6da4543def83 [2022-10-24T01:40:48.627Z] Removing intermediate container 6da4543def83 [2022-10-24T01:40:48.627Z] ---> b29e91474508 [2022-10-24T01:40:48.627Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:40:48.627Z] ---> Running in cb5ee530eaac [2022-10-24T01:40:49.593Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:40:50.571Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:40:51.986Z] OK: 226 MiB in 55 packages [2022-10-24T01:40:52.947Z] Removing intermediate container cb5ee530eaac [2022-10-24T01:40:52.947Z] ---> fd99e7513840 [2022-10-24T01:40:52.947Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-24T01:40:53.225Z] ---> Running in 86ab0766e600 [2022-10-24T01:40:53.811Z] Removing intermediate container 86ab0766e600 [2022-10-24T01:40:53.811Z] ---> 3b2f56e55b1d [2022-10-24T01:40:53.811Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T01:40:54.397Z] ---> 1dec7af6c0fd [2022-10-24T01:40:54.397Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:40:54.397Z] ---> Running in 5f776919764d [2022-10-24T01:40:56.343Z] Removing intermediate container 5f776919764d [2022-10-24T01:40:56.343Z] ---> 23cac830cdff [2022-10-24T01:40:56.343Z] Step 12/25 : COPY . . [2022-10-24T01:40:57.310Z] ---> 66638c12bdf9 [2022-10-24T01:40:57.310Z] Step 13/25 : RUN $MAKE [2022-10-24T01:40:57.310Z] ---> Running in 5865bf189e88 [2022-10-24T01:40:58.275Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-24T01:43:50.045Z] Removing intermediate container 5865bf189e88 [2022-10-24T01:43:50.045Z] ---> cc64f9401833 [2022-10-24T01:43:50.045Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T01:43:50.045Z] 3.16: Pulling from library/alpine [2022-10-24T01:43:50.045Z] 9b18e9b68314: Already exists [2022-10-24T01:43:50.045Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:43:50.045Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:43:50.045Z] ---> a6215f271958 [2022-10-24T01:43:50.045Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-24T01:43:50.045Z] ---> Running in cab54c527bb4 [2022-10-24T01:43:50.045Z] Removing intermediate container cab54c527bb4 [2022-10-24T01:43:50.045Z] ---> 69d06f66fd50 [2022-10-24T01:43:50.045Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T01:43:50.045Z] ---> Running in 61ef8c900ac9 [2022-10-24T01:43:50.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:43:50.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:43:50.045Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T01:43:50.045Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:43:50.045Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T01:43:50.045Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:43:50.045Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T01:43:50.045Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T01:43:50.045Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:43:50.045Z] OK: 8 MiB in 20 packages [2022-10-24T01:43:50.045Z] Removing intermediate container 61ef8c900ac9 [2022-10-24T01:43:50.045Z] ---> 71ff486bb15e [2022-10-24T01:43:50.045Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-24T01:43:50.045Z] ---> e3849ea4c786 [2022-10-24T01:43:50.045Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-24T01:43:50.045Z] ---> 77b1baaf6006 [2022-10-24T01:43:50.045Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-24T01:43:50.045Z] ---> 12394d23c71a [2022-10-24T01:43:50.045Z] Step 20/25 : EXPOSE 59982 [2022-10-24T01:43:50.045Z] ---> Running in 4b11945a4076 [2022-10-24T01:43:50.045Z] Removing intermediate container 4b11945a4076 [2022-10-24T01:43:50.045Z] ---> b6aaeb94bb29 [2022-10-24T01:43:50.045Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-24T01:43:50.045Z] ---> Running in f67dfb9b824a [2022-10-24T01:43:50.045Z] Removing intermediate container f67dfb9b824a [2022-10-24T01:43:50.045Z] ---> ac2b8dc07b27 [2022-10-24T01:43:50.045Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:43:50.045Z] ---> Running in b095e69de0d7 [2022-10-24T01:43:50.045Z] Removing intermediate container b095e69de0d7 [2022-10-24T01:43:50.045Z] ---> d4ded17f47d4 [2022-10-24T01:43:50.045Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T01:43:50.045Z] ---> Running in bf9afe1716ab [2022-10-24T01:43:50.045Z] Removing intermediate container bf9afe1716ab [2022-10-24T01:43:50.045Z] ---> 0097bb7409e3 [2022-10-24T01:43:50.045Z] Step 24/25 : LABEL git_sha=a484f07daf3599b56ef9bb689d608e21c46e7c57 [2022-10-24T01:43:50.045Z] ---> Running in c45e534b660f [2022-10-24T01:43:50.045Z] Removing intermediate container c45e534b660f [2022-10-24T01:43:50.045Z] ---> d62472dd026a [2022-10-24T01:43:50.045Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T01:43:50.045Z] ---> Running in ecf32c42a402 [2022-10-24T01:43:50.045Z] Removing intermediate container ecf32c42a402 [2022-10-24T01:43:50.045Z] ---> 36fbc7fca509 [2022-10-24T01:43:50.045Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:43:50.045Z] Successfully built 36fbc7fca509 [2022-10-24T01:43:50.045Z] 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-10-24T01:43:50.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:43:50.875Z] [2022-10-24T01:43:50.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:43:51.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:43:51.282Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T01:43:51.282Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T01:43:51.282Z] 04944245beec: Pulling fs layer [2022-10-24T01:43:51.282Z] 699f458cf7ca: Pulling fs layer [2022-10-24T01:43:51.282Z] 765212b225bb: Pulling fs layer [2022-10-24T01:43:51.282Z] f23df028b6ca: Pulling fs layer [2022-10-24T01:43:51.282Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T01:43:51.282Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T01:43:51.282Z] 765212b225bb: Waiting [2022-10-24T01:43:51.282Z] f23df028b6ca: Waiting [2022-10-24T01:43:51.282Z] d65c8cfc05b1: Waiting [2022-10-24T01:43:51.282Z] 2437ff75d9bd: Waiting [2022-10-24T01:43:51.554Z] 04944245beec: Verifying Checksum [2022-10-24T01:43:51.554Z] 04944245beec: Download complete [2022-10-24T01:43:51.554Z] 765212b225bb: Verifying Checksum [2022-10-24T01:43:51.554Z] 765212b225bb: Download complete [2022-10-24T01:43:51.554Z] f23df028b6ca: Verifying Checksum [2022-10-24T01:43:51.554Z] f23df028b6ca: Download complete [2022-10-24T01:43:51.554Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T01:43:51.554Z] d65c8cfc05b1: Download complete [2022-10-24T01:43:51.824Z] 699f458cf7ca: Verifying Checksum [2022-10-24T01:43:51.824Z] 699f458cf7ca: Download complete [2022-10-24T01:43:52.096Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T01:43:52.096Z] 8998bd30e6a1: Download complete [2022-10-24T01:43:54.680Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T01:43:54.680Z] 2437ff75d9bd: Download complete [2022-10-24T01:43:56.104Z] 8998bd30e6a1: Pull complete [2022-10-24T01:43:56.370Z] 04944245beec: Pull complete [2022-10-24T01:43:57.781Z] 699f458cf7ca: Pull complete [2022-10-24T01:43:58.050Z] 765212b225bb: Pull complete [2022-10-24T01:43:58.707Z] f23df028b6ca: Pull complete [2022-10-24T01:43:58.990Z] d65c8cfc05b1: Pull complete [2022-10-24T01:44:14.124Z] 2437ff75d9bd: Pull complete [2022-10-24T01:44:14.124Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T01:44:14.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:44:14.124Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:44:14.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-8930 does not seem to be running inside a container [2022-10-24T01:44:14.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T01:44:17.500Z] $ docker top 6b5a2250e3219e16e1cfd2d6116627ab5473590048be2260b23f54f53eda1b30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:18.421Z] ---> job-cost.sh [2022-10-24T01:44:18.421Z] lf-activate-venv: SKIPPING [2022-10-24T01:44:18.421Z] INFO: No Stack... [2022-10-24T01:44:18.688Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T01:44:19.647Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:44:20.307Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-24T01:44:20.307Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:44:20.407Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [2022-10-24T01:44:20.415Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] did not exist. Created. [2022-10-24T01:44:20.415Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:44:21.147Z] /w/workspace/device-mqtt-go/1@tmp/durable-92933521/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T01:44:21.822Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T01:44:21.859Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T01:44:21.910Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:44:21.926Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:44:22.005Z] $ docker stop --time=1 6b5a2250e3219e16e1cfd2d6116627ab5473590048be2260b23f54f53eda1b30 [2022-10-24T01:44:24.515Z] $ docker rm -f 6b5a2250e3219e16e1cfd2d6116627ab5473590048be2260b23f54f53eda1b30 [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-10-24T01:44:25.692Z] provisioning config files... [2022-10-24T01:44:25.700Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config15993662242183078389tmp [Pipeline] { [Pipeline] sh [2022-10-24T01:44:26.036Z] + set +x [2022-10-24T01:44:26.036Z] + bash -s -- [2022-10-24T01:44:26.036Z] + curl -s https://codecov.io/bash [2022-10-24T01:44:26.036Z] [2022-10-24T01:44:26.036Z] _____ _ [2022-10-24T01:44:26.036Z] / ____| | | [2022-10-24T01:44:26.036Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T01:44:26.036Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T01:44:26.036Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T01:44:26.036Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T01:44:26.036Z] Bash-1.0.6 [2022-10-24T01:44:26.036Z] [2022-10-24T01:44:26.036Z] [2022-10-24T01:44:26.036Z] ==> git version 2.25.1 found [2022-10-24T01:44:26.036Z] ==> 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-10-24T01:44:26.036Z] Release-Date: 2020-01-08 [2022-10-24T01:44:26.036Z] 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-10-24T01:44:26.036Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T01:44:26.036Z] ==> Jenkins CI detected. [2022-10-24T01:44:26.036Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-428 [2022-10-24T01:44:26.036Z] project root: . [2022-10-24T01:44:26.036Z] --> token set from env [2022-10-24T01:44:26.036Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T01:44:26.036Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T01:44:26.036Z] ==> Python coveragepy not found [2022-10-24T01:44:26.036Z] ==> Searching for coverage reports in: [2022-10-24T01:44:26.036Z] + . [2022-10-24T01:44:26.036Z] -> Found 1 reports [2022-10-24T01:44:26.036Z] ==> Detecting git/mercurial file structure [2022-10-24T01:44:26.036Z] ==> Reading reports [2022-10-24T01:44:26.036Z] + ./coverage.out bytes=17887 [2022-10-24T01:44:26.036Z] ==> Appending adjustments [2022-10-24T01:44:26.036Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T01:44:26.294Z] + Found adjustments [2022-10-24T01:44:26.294Z] ==> Gzipping contents [2022-10-24T01:44:26.294Z] 4.0K /tmp/codecov.4yYqrI.gz [2022-10-24T01:44:26.294Z] ==> Uploading reports [2022-10-24T01:44:26.294Z] url: https://codecov.io [2022-10-24T01:44:26.294Z] query: branch=PR-428&commit=a484f07daf3599b56ef9bb689d608e21c46e7c57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=428&job=&cmd_args= [2022-10-24T01:44:26.295Z] -> Pinging Codecov [2022-10-24T01:44:26.295Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-428&commit=a484f07daf3599b56ef9bb689d608e21c46e7c57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=428&job=&cmd_args= [2022-10-24T01:44:26.553Z] -> Uploading to [2022-10-24T01:44:26.553Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/a484f07daf3599b56ef9bb689d608e21c46e7c57/ddcd11f1-efee-4a8f-8cb7-b94ae21fdee5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T014426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18aec167eb731bb2f9a44db6df12136e6a55bea300844ed9edc58067c6422b94 [2022-10-24T01:44:26.553Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:44:26.553Z] Dload Upload Total Spent Left Speed [2022-10-24T01:44:26.814Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15768 --:--:-- --:--:-- --:--:-- 15691 100 3201 0 0 100 3201 0 13118 --:--:-- --:--:-- --:--:-- 13065 [2022-10-24T01:44:26.814Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] } [2022-10-24T01:44:26.844Z] 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-10-24T01:44:28.921Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives ] [2022-10-24T01:44:28.921Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives [2022-10-24T01:44:28.921Z] total 16 [2022-10-24T01:44:28.921Z] drwxr-xr-x 3 root root 4096 Oct 24 01:35 . [2022-10-24T01:44:28.921Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:35 .. [2022-10-24T01:44:28.921Z] drwxr-xr-x 2 root root 4096 Oct 24 01:35 cost [2022-10-24T01:44:28.922Z] -rw-r--r-- 1 root root 86 Oct 24 01:35 cost.csv [2022-10-24T01:44:28.922Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives [2022-10-24T01:44:28.922Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives [2022-10-24T01:44:28.922Z] total 16 [2022-10-24T01:44:28.922Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:35 . [2022-10-24T01:44:28.922Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:35 .. [2022-10-24T01:44:28.922Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:35 cost [2022-10-24T01:44:28.922Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 01:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:29.260Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:30.147Z] ---> package-listing.sh [2022-10-24T01:44:30.147Z] ++ facter osfamily [2022-10-24T01:44:30.147Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T01:44:30.405Z] + OS_FAMILY=debian [2022-10-24T01:44:30.405Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-428 [2022-10-24T01:44:30.405Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T01:44:30.405Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T01:44:30.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T01:44:30.405Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T01:44:30.405Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-428 ']' [2022-10-24T01:44:30.405Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T01:44:30.405Z] + case "${OS_FAMILY}" in [2022-10-24T01:44:30.405Z] + dpkg -l [2022-10-24T01:44:30.405Z] + grep '^ii' [2022-10-24T01:44:30.405Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T01:44:30.405Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T01:44:30.405Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T01:44:30.405Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-428 ']' [2022-10-24T01:44:30.405Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives/ [2022-10-24T01:44:30.405Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives/ [Pipeline] echo [2022-10-24T01:44:30.443Z] 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-428/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T01:44:30.736Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:44:31.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:44:31.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:44:31.539Z] prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container [2022-10-24T01:44:31.571Z] $ 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-428/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-428 -v /w/workspace/gexfoundry_device-mqtt-go_PR-428:/w/workspace/gexfoundry_device-mqtt-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T01:44:31.773Z] $ docker top f67ccce67066a12499694853a4630989b9eb85659c48f6a19befde8600dab876 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:44:32.175Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T01:44:32.488Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T01:44:32.807Z] + ls /var/log/sa-host [2022-10-24T01:44:32.807Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:44:32.948Z] provisioning config files... [2022-10-24T01:44:32.959Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config13504060237602092664tmp [Pipeline] { [Pipeline] echo [2022-10-24T01:44:33.011Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:33.325Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T01:44:33.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:33.774Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T01:44:33.808Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:34.123Z] ---> sudo-logs.sh [2022-10-24T01:44:34.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T01:44:34.214Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:34.560Z] ---> job-cost.sh [2022-10-24T01:44:34.560Z] lf-activate-venv: SKIPPING [2022-10-24T01:44:34.560Z] DEBUG: total: 0.2199999988079071 [2022-10-24T01:44:34.560Z] INFO: Retrieving Stack Cost... [2022-10-24T01:44:35.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:44:35.387Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T01:44:35.466Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:35.779Z] ---> logs-deploy.sh [2022-10-24T01:44:35.779Z] lf-activate-venv: SKIPPING [2022-10-24T01:44:35.779Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-428/1 [2022-10-24T01:44:35.779Z] INFO: archiving workspace using pattern(s): [2022-10-24T01:44:36.717Z] Archives upload complete. [2022-10-24T01:44:36.717Z] INFO: archiving logs to Nexus