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 01:33:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:33:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:33:03 ========================================================= 01:33:03 EdgeX Global Pipelines Version Info 01:33:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:33:04 ------------------- 01:33:04 stable info: 01:33:04 ------------------- 01:33:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:33:04 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:33:04 Message: update stable to v1.0.243 01:33:04 ------------------- 01:33:04 experimental info: 01:33:04 ------------------- 01:33:04 Commited By: **** collab-it+edgex@linuxfoundation.org 01:33:04 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:33:04 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:33:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-428 [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-428 [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-428 [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a484f07 [Pipeline] echo 01:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:06 provisioning config files... 01:33:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config14680506169226933123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:07 ---> docker-login.sh 01:33:07 nexus3.edgexfoundry.org:10001 01:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:07 Configure a credential helper to remove this warning. See 01:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:07 01:33:07 Login Succeeded 01:33:07 nexus3.edgexfoundry.org:10002 01:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:07 Configure a credential helper to remove this warning. See 01:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:07 01:33:07 Login Succeeded 01:33:07 nexus3.edgexfoundry.org:10003 01:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:07 Configure a credential helper to remove this warning. See 01:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:07 01:33:07 Login Succeeded 01:33:07 nexus3.edgexfoundry.org:10004 01:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:07 Configure a credential helper to remove this warning. See 01:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:07 01:33:07 Login Succeeded 01:33:07 docker.io 01:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:08 Configure a credential helper to remove this warning. See 01:33:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:08 01:33:08 Login Succeeded 01:33:08 ---> docker-login.sh ends [Pipeline] } 01:33:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:33:08 + git rev-list -1 --merges a484f07daf3599b56ef9bb689d608e21c46e7c57~1..a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo 01:33:08 -----------> git rev-list -1 --merges a484f07daf3599b56ef9bb689d608e21c46e7c57~1..a484f07daf3599b56ef9bb689d608e21c46e7c57 a484f07daf3599b56ef9bb689d608e21c46e7c57 [false] [Pipeline] sh 01:33:09 + git log --format=format:%s -1 a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo 01:33:09 ========================================================= 01:33:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:33:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:09 + git log --format=format:%s -1 a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] echo 01:33:09 [semverPrep] GIT_COMMIT: a484f07daf3599b56ef9bb689d608e21c46e7c57, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 01:33:09 [semverPrep] This is not a build commit. [Pipeline] sh 01:33:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:33:10 + grep -v github /etc/ssh/ssh_known_hosts 01:33:10 + [ -e /tmp/ssh_known_hosts ] 01:33:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:33:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:33:10 + sudo tee -a /etc/ssh/ssh_known_hosts 01:33:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:10 01:33:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:10 0.1.4: Pulling from edgex-devops/py-git-semver 01:33:10 b85a868b505f: Pulling fs layer 01:33:10 e2be974225ed: Pulling fs layer 01:33:10 339a4e72a1f5: Pulling fs layer 01:33:10 988bab9f4d93: Pulling fs layer 01:33:10 1469e6f7b9e6: Pulling fs layer 01:33:10 eaf3925da568: Pulling fs layer 01:33:10 bab4dde63d76: Pulling fs layer 01:33:10 bde34c3a00c8: Pulling fs layer 01:33:10 b352a97aabf1: Pulling fs layer 01:33:10 4872d77fe225: Pulling fs layer 01:33:10 5851b861e8e6: Pulling fs layer 01:33:10 bab4dde63d76: Waiting 01:33:10 eaf3925da568: Waiting 01:33:10 bde34c3a00c8: Waiting 01:33:10 b352a97aabf1: Waiting 01:33:10 4872d77fe225: Waiting 01:33:10 1469e6f7b9e6: Waiting 01:33:10 988bab9f4d93: Waiting 01:33:10 5851b861e8e6: Waiting 01:33:10 e2be974225ed: Verifying Checksum 01:33:10 e2be974225ed: Download complete 01:33:10 988bab9f4d93: Verifying Checksum 01:33:10 988bab9f4d93: Download complete 01:33:11 1469e6f7b9e6: Verifying Checksum 01:33:11 1469e6f7b9e6: Download complete 01:33:11 339a4e72a1f5: Verifying Checksum 01:33:11 339a4e72a1f5: Download complete 01:33:11 eaf3925da568: Download complete 01:33:11 bde34c3a00c8: Verifying Checksum 01:33:11 bde34c3a00c8: Download complete 01:33:11 b352a97aabf1: Download complete 01:33:11 4872d77fe225: Verifying Checksum 01:33:11 4872d77fe225: Download complete 01:33:11 5851b861e8e6: Download complete 01:33:11 b85a868b505f: Verifying Checksum 01:33:11 b85a868b505f: Download complete 01:33:11 bab4dde63d76: Verifying Checksum 01:33:11 bab4dde63d76: Download complete 01:33:13 b85a868b505f: Pull complete 01:33:13 e2be974225ed: Pull complete 01:33:13 339a4e72a1f5: Pull complete 01:33:13 988bab9f4d93: Pull complete 01:33:14 1469e6f7b9e6: Pull complete 01:33:14 eaf3925da568: Pull complete 01:33:15 bab4dde63d76: Pull complete 01:33:15 bde34c3a00c8: Pull complete 01:33:15 b352a97aabf1: Pull complete 01:33:15 4872d77fe225: Pull complete 01:33:16 5851b861e8e6: Pull complete 01:33:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:33:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:16 prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container 01:33:16 $ 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 01:33:17 $ docker top d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae -eo pid,comm 01:33:17 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). 01:33:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:33:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:18 [ssh-agent] Looking for ssh-agent implementation... 01:33:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:18 $ docker exec d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent 01:33:18 SSH_AUTH_SOCK=/tmp/ssh-gSvxypCWENgN/agent.31 01:33:18 SSH_AGENT_PID=37 01:33:18 Running ssh-add (command line suppressed) 01:33:18 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) 01:33:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:18 + git tag --points-at HEAD [Pipeline] } 01:33:18 $ docker exec --env ******** --env ******** d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent -k 01:33:18 unset SSH_AUTH_SOCK; 01:33:18 unset SSH_AGENT_PID; 01:33:18 echo Agent pid 37 killed; 01:33:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:33:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:19 [ssh-agent] Looking for ssh-agent implementation... 01:33:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:19 $ docker exec d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent 01:33:19 SSH_AUTH_SOCK=/tmp/ssh-JuIGJc2Uw0d1/agent.69 01:33:19 SSH_AGENT_PID=75 01:33:19 Running ssh-add (command line suppressed) 01:33:19 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) 01:33:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:19 + git semver init 01:33:19 2022-10-24 01:33:19,935 [run_init] DEBUG init version:0.0.0 force:False 01:33:19 2022-10-24 01:33:19,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver 01:33:19 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 01:33:19 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) 01:33:20 2022-10-24 01:33:20,877 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.git/info/exclude 01:33:20 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 01:33:20 2022-10-24 01:33:20,878 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver/PR-428 01:33:20 2022-10-24 01:33:20,883 [execute] INFO git cat-file --batch-check 01:33:20 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=) 01:33:20 2022-10-24 01:33:20,891 [execute] INFO git cat-file --batch 01:33:20 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=) 01:33:20 2022-10-24 01:33:20,897 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-428/.semver/PR-428 01:33:20 0.0.0 [Pipeline] } 01:33:20 $ docker exec --env ******** --env ******** d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae ssh-agent -k 01:33:21 unset SSH_AUTH_SOCK; 01:33:21 unset SSH_AGENT_PID; 01:33:21 echo Agent pid 75 killed; 01:33:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:33:21 + git semver [Pipeline] } 01:33:21 $ docker stop --time=1 d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae 01:33:23 $ docker rm -f d46a18d765de63546248448fcfa2dffce892f5bc5a53678b1154dcfd65a3e8ae [Pipeline] // withDockerContainer [Pipeline] sh 01:33:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:33:23 Stashed 1 file(s) [Pipeline] echo 01:33:23 [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 01:33:24 provisioning config files... 01:33:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config1782008473015339365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:24 ---> docker-login.sh 01:33:24 nexus3.edgexfoundry.org:10001 01:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:24 Configure a credential helper to remove this warning. See 01:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:24 01:33:24 Login Succeeded 01:33:24 nexus3.edgexfoundry.org:10002 01:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:24 Configure a credential helper to remove this warning. See 01:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:24 01:33:24 Login Succeeded 01:33:24 nexus3.edgexfoundry.org:10003 01:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:25 Configure a credential helper to remove this warning. See 01:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:25 01:33:25 Login Succeeded 01:33:25 nexus3.edgexfoundry.org:10004 01:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:25 Configure a credential helper to remove this warning. See 01:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:25 01:33:25 Login Succeeded 01:33:25 docker.io 01:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:25 Configure a credential helper to remove this warning. See 01:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:25 01:33:25 Login Succeeded 01:33:25 ---> docker-login.sh ends [Pipeline] } 01:33:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:33:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:26 ========================================================= 01:33:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:33:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:26 + 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 . 01:33:26 Sending build context to Docker daemon 6.195MB 01:33:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:33:26 Step 2/13 : FROM ${BASE} AS builder 01:33:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:33:26 213ec9aee27d: Pulling fs layer 01:33:26 4583459ba037: Pulling fs layer 01:33:26 93c1e223e6f2: Pulling fs layer 01:33:26 53926ce57604: Pulling fs layer 01:33:26 21b2b0c7a3f4: Pulling fs layer 01:33:26 53926ce57604: Waiting 01:33:26 30f14e443154: Pulling fs layer 01:33:26 801331c1e519: Pulling fs layer 01:33:26 99cc6dd402b0: Pulling fs layer 01:33:26 7d9ed39f4882: Pulling fs layer 01:33:26 21b2b0c7a3f4: Waiting 01:33:26 801331c1e519: Waiting 01:33:26 7d9ed39f4882: Waiting 01:33:26 99cc6dd402b0: Waiting 01:33:26 93c1e223e6f2: Verifying Checksum 01:33:26 93c1e223e6f2: Download complete 01:33:26 4583459ba037: Download complete 01:33:26 21b2b0c7a3f4: Download complete 01:33:26 30f14e443154: Verifying Checksum 01:33:26 30f14e443154: Download complete 01:33:26 213ec9aee27d: Verifying Checksum 01:33:26 213ec9aee27d: Download complete 01:33:26 801331c1e519: Verifying Checksum 01:33:26 801331c1e519: Download complete 01:33:26 213ec9aee27d: Pull complete 01:33:27 4583459ba037: Pull complete 01:33:27 93c1e223e6f2: Pull complete 01:33:27 7d9ed39f4882: Verifying Checksum 01:33:27 7d9ed39f4882: Download complete 01:33:27 53926ce57604: Verifying Checksum 01:33:27 53926ce57604: Download complete 01:33:27 99cc6dd402b0: Verifying Checksum 01:33:27 99cc6dd402b0: Download complete 01:33:32 53926ce57604: Pull complete 01:33:32 21b2b0c7a3f4: Pull complete 01:33:32 30f14e443154: Pull complete 01:33:32 801331c1e519: Pull complete 01:33:34 99cc6dd402b0: Pull complete 01:33:35 7d9ed39f4882: Pull complete 01:33:35 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:33:35 ---> 1dedd983c030 01:33:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:33:37 ---> Running in ddd7628742eb 01:33:37 Removing intermediate container ddd7628742eb 01:33:37 ---> a546ec1047db 01:33:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:37 ---> Running in ac83431cef59 01:33:37 Removing intermediate container ac83431cef59 01:33:37 ---> 5830a557512b 01:33:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:37 ---> Running in bb169537a900 01:33:37 Removing intermediate container bb169537a900 01:33:37 ---> 8fa13ba537f2 01:33:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:33:37 ---> Running in a1dcc6ebdd7b 01:33:37 Removing intermediate container a1dcc6ebdd7b 01:33:37 ---> 899a879f0c37 01:33:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:37 ---> Running in 37e7872194c4 01:33:38 Removing intermediate container 37e7872194c4 01:33:38 ---> 0bc5539c1d72 01:33:38 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:38 ---> Running in cccd6fe49600 01:33:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:33:39 Still waiting to schedule task 01:33:39 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:33:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:33:40 (2/4) Installing libedit (20210910.3.1-r0) 01:33:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:33:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:33:40 Executing busybox-1.35.0-r17.trigger 01:33:40 OK: 216 MiB in 55 packages 01:33:41 Removing intermediate container cccd6fe49600 01:33:41 ---> 4e37ba1c279d 01:33:41 Step 9/13 : WORKDIR /device-mqtt-go 01:33:41 ---> Running in dd3a09cf0841 01:33:41 Removing intermediate container dd3a09cf0841 01:33:41 ---> 28677716cc93 01:33:41 Step 10/13 : COPY go.mod vendor* ./ 01:33:41 ---> ec5980d9f755 01:33:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:41 ---> Running in 2e2b49a10711 01:33:59 Removing intermediate container 2e2b49a10711 01:33:59 ---> ec85a66e7903 01:33:59 Step 12/13 : COPY . . 01:33:59 ---> 6e08cee30ccf 01:33:59 Step 13/13 : RUN $MAKE 01:33:59 ---> Running in e5795adf6da9 01:33:59 noop 01:33:59 Removing intermediate container e5795adf6da9 01:33:59 ---> 085c165410af 01:33:59 Successfully built 085c165410af 01:33:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:59 + docker inspect -f . ci-base-image-x86_64 01:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:00 prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container 01:34:00 $ 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 01:34:00 $ docker top 78d411a026703830e80477aa8b0e73d3bf796fd4eea06bd469a8fbb038f8a278 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:00 + go version 01:34:00 go version go1.18.7 linux/amd64 [Pipeline] } 01:34:00 $ docker stop --time=1 78d411a026703830e80477aa8b0e73d3bf796fd4eea06bd469a8fbb038f8a278 01:34:02 $ 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 01:34:02 + docker inspect -f . ci-base-image-x86_64 01:34:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:03 prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container 01:34:03 $ 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 01:34:03 $ docker top 9cf07112ff69ca2334f23a3ed0c4a07d04365b8c1120c3f02c9a9cad4c0e543c -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-428 [Pipeline] fileExists [Pipeline] sh 01:34:04 + make test 01:34:04 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:34:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:34:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:34:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 01:34:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:34:21 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." 01:34:21 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:34:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:34:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:34:24 ./bin/test-attribution-txt.sh [Pipeline] echo 01:34:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:34:24 $ docker stop --time=1 9cf07112ff69ca2334f23a3ed0c4a07d04365b8c1120c3f02c9a9cad4c0e543c 01:34:26 $ docker rm -f 9cf07112ff69ca2334f23a3ed0c4a07d04365b8c1120c3f02c9a9cad4c0e543c [Pipeline] // withDockerContainer [Pipeline] sh 01:34:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:34:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:34:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:27 + ls -al . 01:34:27 total 184 01:34:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:34 . 01:34:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:33 .. 01:34:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:33 .dockerignore 01:34:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:34 .git 01:34:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:33 .github 01:34:27 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:33 .gitignore 01:34:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:33 .golangci.yml 01:34:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:33 .semver 01:34:27 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:33 Attribution.txt 01:34:27 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:33 CHANGELOG.md 01:34:27 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:33 Dockerfile 01:34:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:33 GOVERNANCE.md 01:34:27 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:33 Jenkinsfile 01:34:27 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:33 LICENSE 01:34:27 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:33 Makefile 01:34:27 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:33 OWNERS.md 01:34:27 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:33 README.md 01:34:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:33 VERSION 01:34:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:33 bin 01:34:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:33 cmd 01:34:27 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:34 coverage.out 01:34:27 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:33 go.mod 01:34:27 -rw-rw-r-- 1 jenkins jenkins 38123 Oct 24 01:33 go.sum 01:34:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:33 internal 01:34:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:33 mock 01:34:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:33 snap 01:34:27 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:28 + 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 . 01:34:28 Sending build context to Docker daemon 6.214MB 01:34:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:34:28 Step 2/25 : FROM ${BASE} AS builder 01:34:28 ---> 085c165410af 01:34:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:34:28 ---> Running in 162e39068756 01:34:28 Removing intermediate container 162e39068756 01:34:28 ---> 0382dbce7e9f 01:34:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:34:28 ---> Running in 07aafd2a30cb 01:34:28 Removing intermediate container 07aafd2a30cb 01:34:28 ---> d8a3fe7cb62d 01:34:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:28 ---> Running in 718a8c304cc7 01:34:28 Removing intermediate container 718a8c304cc7 01:34:28 ---> da7f35d024d4 01:34:28 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:34:28 ---> Running in ae52dfe32e9c 01:34:28 Removing intermediate container ae52dfe32e9c 01:34:28 ---> 7ca3c7a31e98 01:34:28 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:28 ---> Running in ebd3dede6c68 01:34:29 Removing intermediate container ebd3dede6c68 01:34:29 ---> 41184bc6aae8 01:34:29 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:29 ---> Running in 56267d2c43a0 01:34:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:30 OK: 216 MiB in 55 packages 01:34:31 Removing intermediate container 56267d2c43a0 01:34:31 ---> e8af5fd7f83f 01:34:31 Step 9/25 : WORKDIR /device-mqtt-go 01:34:31 ---> Running in cbb693b847e7 01:34:32 Removing intermediate container cbb693b847e7 01:34:32 ---> cf5f633a25bb 01:34:32 Step 10/25 : COPY go.mod vendor* ./ 01:34:32 ---> a4418adf4924 01:34:32 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:32 ---> Running in f8a92322123b 01:34:32 Removing intermediate container f8a92322123b 01:34:32 ---> 1869d3317002 01:34:32 Step 12/25 : COPY . . 01:34:33 ---> 745367759174 01:34:33 Step 13/25 : RUN $MAKE 01:34:33 ---> Running in 71c73a6d8074 01:34:33 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 01:34:55 Removing intermediate container 71c73a6d8074 01:34:55 ---> 885246b039f1 01:34:55 Step 14/25 : FROM alpine:3.16 01:34:55 3.16: Pulling from library/alpine 01:34:55 213ec9aee27d: Already exists 01:34:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:34:55 Status: Downloaded newer image for alpine:3.16 01:34:55 ---> 9c6f07244728 01:34:55 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:34:55 ---> Running in a23b39a95269 01:34:55 Removing intermediate container a23b39a95269 01:34:55 ---> c4747aefc9df 01:34:55 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:34:55 ---> Running in afa6edb66f5b 01:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:55 (1/6) Installing dumb-init (1.2.5-r1) 01:34:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:34:55 (3/6) Installing libsodium (1.0.18-r0) 01:34:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:34:55 (5/6) Installing libzmq (4.3.4-r0) 01:34:55 (6/6) Installing zeromq (4.3.4-r0) 01:34:55 Executing busybox-1.35.0-r17.trigger 01:34:55 OK: 8 MiB in 20 packages 01:34:55 Removing intermediate container afa6edb66f5b 01:34:55 ---> aeab5cbc4f47 01:34:55 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:34:55 ---> 402a78e9e210 01:34:55 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:34:56 ---> ebc8e9f95746 01:34:56 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:34:56 ---> 66c347c3dcba 01:34:56 Step 20/25 : EXPOSE 59982 01:34:56 ---> Running in ac325ad637a4 01:34:56 Removing intermediate container ac325ad637a4 01:34:56 ---> 13761e46cfdf 01:34:56 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:34:56 ---> Running in 49eb5f92596b 01:34:56 Removing intermediate container 49eb5f92596b 01:34:56 ---> 4cdd5aa5c2b9 01:34:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:56 ---> Running in 3bf1270f4da4 01:34:56 Removing intermediate container 3bf1270f4da4 01:34:56 ---> 4e9376e20f2f 01:34:56 Step 23/25 : LABEL arch=amd64 01:34:56 ---> Running in d555343bc123 01:34:57 Removing intermediate container d555343bc123 01:34:57 ---> da4ae8d85d83 01:34:57 Step 24/25 : LABEL git_sha=a484f07daf3599b56ef9bb689d608e21c46e7c57 01:34:57 ---> Running in 1fe25433e650 01:34:57 Removing intermediate container 1fe25433e650 01:34:57 ---> 4590949105ec 01:34:57 Step 25/25 : LABEL version=0.0.0 01:34:57 ---> Running in 4bf1f18e2b44 01:34:57 Removing intermediate container 4bf1f18e2b44 01:34:57 ---> fcb53dec9203 01:34:57 [Warning] One or more build-args [ARCH] were not consumed 01:34:57 Successfully built fcb53dec9203 01:34:57 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 01:34:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:58 01:34:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:58 latest: Pulling from edgex-lftools-log-publisher 01:34:58 5eb5b503b376: Pulling fs layer 01:34:58 5c69ac0246d0: Pulling fs layer 01:34:58 ec43610c2a17: Pulling fs layer 01:34:58 3a2ae6a8a46f: Pulling fs layer 01:34:58 33b1e0a273af: Pulling fs layer 01:34:58 5d3b04190fa2: Pulling fs layer 01:34:58 2f39f015ded8: Pulling fs layer 01:34:58 3a2ae6a8a46f: Waiting 01:34:58 5d3b04190fa2: Waiting 01:34:58 33b1e0a273af: Waiting 01:34:58 2f39f015ded8: Waiting 01:34:58 5c69ac0246d0: Verifying Checksum 01:34:58 5c69ac0246d0: Download complete 01:34:58 3a2ae6a8a46f: Download complete 01:34:58 33b1e0a273af: Verifying Checksum 01:34:58 33b1e0a273af: Download complete 01:34:58 5d3b04190fa2: Verifying Checksum 01:34:58 5d3b04190fa2: Download complete 01:34:58 ec43610c2a17: Verifying Checksum 01:34:58 ec43610c2a17: Download complete 01:34:58 5eb5b503b376: Verifying Checksum 01:34:58 5eb5b503b376: Download complete 01:34:59 2f39f015ded8: Download complete 01:34:59 5eb5b503b376: Pull complete 01:34:59 5c69ac0246d0: Pull complete 01:35:00 ec43610c2a17: Pull complete 01:35:00 3a2ae6a8a46f: Pull complete 01:35:00 33b1e0a273af: Pull complete 01:35:00 5d3b04190fa2: Pull complete 01:35:04 2f39f015ded8: Pull complete 01:35:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:35:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:05 prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container 01:35:05 $ 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 01:35:06 $ docker top 1a9253b7e036bf3415bcebbeeca220352a676b76aa7f87c58df83a39a29f695d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:07 ---> job-cost.sh 01:35:07 lf-activate-venv: SKIPPING 01:35:07 INFO: No Stack... 01:35:07 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:08 INFO: Archiving Costs [Pipeline] sh 01:35:08 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives/cost.csv 01:35:08 + cut -d, -f6 [Pipeline] lock 01:35:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] 01:35:08 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] did not exist. Created. 01:35:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:08 + echo total: 0.2199999988079071 [Pipeline] stash 01:35:08 Stashed 1 file(s) [Pipeline] } 01:35:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:09 $ docker stop --time=1 1a9253b7e036bf3415bcebbeeca220352a676b76aa7f87c58df83a39a29f695d 01:35:10 $ docker rm -f 1a9253b7e036bf3415bcebbeeca220352a676b76aa7f87c58df83a39a29f695d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:36:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8930 in /w/workspace/gexfoundry_device-mqtt-go_PR-428 [Pipeline] { [Pipeline] ws 01:36:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:36:22 Selected Git installation does not exist. Using Default 01:36:22 The recommended git tool is: NONE 01:36:28 using credential edgex-jenkins-ssh 01:36:28 Cloning the remote Git repository 01:36:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:36:28 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:36:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:36:28 > git --version # timeout=10 01:36:28 > git --version # 'git version 2.25.1' 01:36:28 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:28 Verifying host key using known hosts file 01:36:28 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. 01:36:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:36:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:36:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:36:31 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit a484f07daf3599b56ef9bb689d608e21c46e7c57 01:36:32 Merge succeeded, producing a484f07daf3599b56ef9bb689d608e21c46e7c57 01:36:32 Checking out Revision a484f07daf3599b56ef9bb689d608e21c46e7c57 (PR-428) 01:36:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:36:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:36:31 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:31 Verifying host key using known hosts file 01:36:31 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. 01:36:31 > 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 01:36:31 > git config core.sparsecheckout # timeout=10 01:36:31 > git checkout -f a484f07daf3599b56ef9bb689d608e21c46e7c57 # timeout=10 01:36:32 > git remote # timeout=10 01:36:32 > git config --get remote.origin.url # timeout=10 01:36:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:32 Verifying host key using known hosts file 01:36:32 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. 01:36:32 > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 01:36:32 > git rev-parse HEAD^{commit} # timeout=10 01:36:32 > git config core.sparsecheckout # timeout=10 01:36:32 > git checkout -f a484f07daf3599b56ef9bb689d608e21c46e7c57 # timeout=10 01:36:32 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 01:36:32 > git --version # timeout=10 01:36:32 > git --version # 'git version 2.25.1' 01:36:32 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:36:33 % Total % Received % Xferd Average Speed Time Time Time Current 01:36:33 Dload Upload Total Spent Left Speed 01:36:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 01:36:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:36:34 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:36:34 sudo tee /etc/docker/daemon.new 01:36:34 { 01:36:34 "registry-mirrors": [ 01:36:34 "https://nexus3.edgexfoundry.org:10001" 01:36:34 ], 01:36:34 "bip": "10.250.0.254/24", 01:36:34 "hosts": [ 01:36:34 "tcp://0.0.0.0:5555", 01:36:34 "unix:///var/run/docker.sock" 01:36:34 ], 01:36:34 "mtu": 1458, 01:36:34 "selinux-enabled": true, 01:36:34 "seccomp-profile": "/etc/docker/seccomp.json" 01:36:34 } [Pipeline] sh 01:36:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:36:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:54 provisioning config files... 01:36:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config18099087501439168213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:54 ---> docker-login.sh 01:36:54 nexus3.edgexfoundry.org:10001 01:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:55 Configure a credential helper to remove this warning. See 01:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:55 01:36:55 Login Succeeded 01:36:55 nexus3.edgexfoundry.org:10002 01:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:55 Configure a credential helper to remove this warning. See 01:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:55 01:36:55 Login Succeeded 01:36:55 nexus3.edgexfoundry.org:10003 01:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:55 Configure a credential helper to remove this warning. See 01:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:55 01:36:55 Login Succeeded 01:36:55 nexus3.edgexfoundry.org:10004 01:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:56 Configure a credential helper to remove this warning. See 01:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:56 01:36:56 Login Succeeded 01:36:56 docker.io 01:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:57 Configure a credential helper to remove this warning. See 01:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:57 01:36:57 Login Succeeded 01:36:57 ---> docker-login.sh ends [Pipeline] } 01:36:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:57 ========================================================= 01:36:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:36:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:57 + 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 . 01:36:58 Sending build context to Docker daemon 3.208MB 01:36:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:36:58 Step 2/13 : FROM ${BASE} AS builder 01:36:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:36:58 9b18e9b68314: Pulling fs layer 01:36:58 d32db5db7311: Pulling fs layer 01:36:58 d0c4b47475fc: Pulling fs layer 01:36:58 5831b945b038: Pulling fs layer 01:36:58 86bbec2aaacd: Pulling fs layer 01:36:58 e10730c5d714: Pulling fs layer 01:36:58 5dd5c2283517: Pulling fs layer 01:36:58 d5ac0230b979: Pulling fs layer 01:36:58 5831b945b038: Waiting 01:36:58 86bbec2aaacd: Waiting 01:36:58 e10730c5d714: Waiting 01:36:58 5dd5c2283517: Waiting 01:36:58 d5ac0230b979: Waiting 01:36:58 d0c4b47475fc: Download complete 01:36:58 d32db5db7311: Verifying Checksum 01:36:58 86bbec2aaacd: Verifying Checksum 01:36:58 86bbec2aaacd: Download complete 01:36:58 e10730c5d714: Verifying Checksum 01:36:58 e10730c5d714: Download complete 01:36:58 9b18e9b68314: Verifying Checksum 01:36:58 9b18e9b68314: Download complete 01:36:59 9b18e9b68314: Pull complete 01:36:59 d5ac0230b979: Verifying Checksum 01:36:59 d5ac0230b979: Download complete 01:37:00 d32db5db7311: Pull complete 01:37:00 d0c4b47475fc: Pull complete 01:37:00 5dd5c2283517: Verifying Checksum 01:37:00 5dd5c2283517: Download complete 01:37:01 5831b945b038: Verifying Checksum 01:37:01 5831b945b038: Download complete 01:37:13 5831b945b038: Pull complete 01:37:13 86bbec2aaacd: Pull complete 01:37:13 e10730c5d714: Pull complete 01:37:19 5dd5c2283517: Pull complete 01:37:21 d5ac0230b979: Pull complete 01:37:21 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:37:21 ---> 59b3b1a385d4 01:37:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:37:23 ---> Running in 3c0ac28140cb 01:37:23 Removing intermediate container 3c0ac28140cb 01:37:23 ---> 8206a56e404c 01:37:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:23 ---> Running in 1d1ad0ea7c8b 01:37:23 Removing intermediate container 1d1ad0ea7c8b 01:37:23 ---> 9ff40bcccaa5 01:37:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:37:23 ---> Running in 4ec3d00373c2 01:37:24 Removing intermediate container 4ec3d00373c2 01:37:24 ---> 7034009f729a 01:37:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:37:24 ---> Running in 3ddcf4bb03f8 01:37:24 Removing intermediate container 3ddcf4bb03f8 01:37:24 ---> fef49fa3880c 01:37:24 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:24 ---> Running in a52bfcd20e17 01:37:26 Removing intermediate container a52bfcd20e17 01:37:26 ---> 6cd872d52b26 01:37:26 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:26 ---> Running in a384bcbcaf63 01:37:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:37:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:37:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:37:29 (2/4) Installing libedit (20210910.3.1-r0) 01:37:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:37:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:37:29 Executing busybox-1.35.0-r17.trigger 01:37:30 OK: 226 MiB in 55 packages 01:37:32 Removing intermediate container a384bcbcaf63 01:37:32 ---> f6df534ac196 01:37:32 Step 9/13 : WORKDIR /device-mqtt-go 01:37:32 ---> Running in fb4cf0236073 01:37:32 Removing intermediate container fb4cf0236073 01:37:32 ---> 0addbe7ce57c 01:37:32 Step 10/13 : COPY go.mod vendor* ./ 01:37:33 ---> 64c0327123df 01:37:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:33 ---> Running in 370a2a4588fa 01:38:29 Removing intermediate container 370a2a4588fa 01:38:29 ---> 80cee56131c4 01:38:29 Step 12/13 : COPY . . 01:38:29 ---> 0e564480325c 01:38:29 Step 13/13 : RUN $MAKE 01:38:29 ---> Running in ae4cab4add3f 01:38:29 noop 01:38:29 Removing intermediate container ae4cab4add3f 01:38:29 ---> 257d88b867ac 01:38:29 Successfully built 257d88b867ac 01:38:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:30 + docker inspect -f . ci-base-image-arm64 01:38:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:30 prd-ubuntu20.04-docker-arm64-4c-16g-8930 does not seem to be running inside a container 01:38:30 $ 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 01:38:32 $ docker top d39d1384d5cb8a1313c9cb93f7b141957c173e10e30e6e6f022ec636edcf43c7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:33 + go version 01:38:33 go version go1.18.7 linux/arm64 [Pipeline] } 01:38:33 $ docker stop --time=1 d39d1384d5cb8a1313c9cb93f7b141957c173e10e30e6e6f022ec636edcf43c7 01:38:34 $ 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 01:38:35 + docker inspect -f . ci-base-image-arm64 01:38:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:35 prd-ubuntu20.04-docker-arm64-4c-16g-8930 does not seem to be running inside a container 01:38:35 $ 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 01:38:37 $ docker top f923809453f88d5fc94681ef0afc9c0e0ef2c5ead0d104b25d7f7aabeabde393 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:38 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:38:38 + make test 01:38:38 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:38:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:40:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:40:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements 01:40:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:40:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:40:17 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:40:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:39 ./bin/test-attribution-txt.sh [Pipeline] echo 01:40:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:39 $ docker stop --time=1 f923809453f88d5fc94681ef0afc9c0e0ef2c5ead0d104b25d7f7aabeabde393 01:40:41 $ docker rm -f f923809453f88d5fc94681ef0afc9c0e0ef2c5ead0d104b25d7f7aabeabde393 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:42 Warning: overwriting stash ‘coverage-report’ 01:40:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:44 + ls -al . 01:40:44 total 180 01:40:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:38 . 01:40:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 .. 01:40:44 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:36 .dockerignore 01:40:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:36 .git 01:40:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 .github 01:40:44 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:36 .gitignore 01:40:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:36 .golangci.yml 01:40:44 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:36 Attribution.txt 01:40:44 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:36 CHANGELOG.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:36 Dockerfile 01:40:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:36 GOVERNANCE.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:36 Jenkinsfile 01:40:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:36 LICENSE 01:40:44 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:36 Makefile 01:40:44 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:36 OWNERS.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:36 README.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:33 VERSION 01:40:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 bin 01:40:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 cmd 01:40:44 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:40 coverage.out 01:40:44 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:36 go.mod 01:40:44 -rw-rw-r-- 1 jenkins jenkins 38123 Oct 24 01:36 go.sum 01:40:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 internal 01:40:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 mock 01:40:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 snap 01:40:44 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:44 + 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 . 01:40:44 Sending build context to Docker daemon 3.227MB 01:40:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:40:44 Step 2/25 : FROM ${BASE} AS builder 01:40:44 ---> 257d88b867ac 01:40:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:40:45 ---> Running in 08fa553d2746 01:40:45 Removing intermediate container 08fa553d2746 01:40:45 ---> cd568bc3a9ab 01:40:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:45 ---> Running in 1f24e45a5005 01:40:45 Removing intermediate container 1f24e45a5005 01:40:45 ---> 520621828421 01:40:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:45 ---> Running in 22c6d93bd10a 01:40:46 Removing intermediate container 22c6d93bd10a 01:40:46 ---> 3851a9f9b5f1 01:40:46 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:40:46 ---> Running in f8ce8db95aa9 01:40:46 Removing intermediate container f8ce8db95aa9 01:40:46 ---> 71f10a2e4774 01:40:46 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:46 ---> Running in 6da4543def83 01:40:48 Removing intermediate container 6da4543def83 01:40:48 ---> b29e91474508 01:40:48 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:48 ---> Running in cb5ee530eaac 01:40:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:40:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:40:51 OK: 226 MiB in 55 packages 01:40:52 Removing intermediate container cb5ee530eaac 01:40:52 ---> fd99e7513840 01:40:52 Step 9/25 : WORKDIR /device-mqtt-go 01:40:53 ---> Running in 86ab0766e600 01:40:53 Removing intermediate container 86ab0766e600 01:40:53 ---> 3b2f56e55b1d 01:40:53 Step 10/25 : COPY go.mod vendor* ./ 01:40:54 ---> 1dec7af6c0fd 01:40:54 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:54 ---> Running in 5f776919764d 01:40:56 Removing intermediate container 5f776919764d 01:40:56 ---> 23cac830cdff 01:40:56 Step 12/25 : COPY . . 01:40:57 ---> 66638c12bdf9 01:40:57 Step 13/25 : RUN $MAKE 01:40:57 ---> Running in 5865bf189e88 01:40:58 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 01:43:50 Removing intermediate container 5865bf189e88 01:43:50 ---> cc64f9401833 01:43:50 Step 14/25 : FROM alpine:3.16 01:43:50 3.16: Pulling from library/alpine 01:43:50 9b18e9b68314: Already exists 01:43:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:43:50 Status: Downloaded newer image for alpine:3.16 01:43:50 ---> a6215f271958 01:43:50 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:43:50 ---> Running in cab54c527bb4 01:43:50 Removing intermediate container cab54c527bb4 01:43:50 ---> 69d06f66fd50 01:43:50 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:43:50 ---> Running in 61ef8c900ac9 01:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:43:50 (1/6) Installing dumb-init (1.2.5-r1) 01:43:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:43:50 (3/6) Installing libsodium (1.0.18-r0) 01:43:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:43:50 (5/6) Installing libzmq (4.3.4-r0) 01:43:50 (6/6) Installing zeromq (4.3.4-r0) 01:43:50 Executing busybox-1.35.0-r17.trigger 01:43:50 OK: 8 MiB in 20 packages 01:43:50 Removing intermediate container 61ef8c900ac9 01:43:50 ---> 71ff486bb15e 01:43:50 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:43:50 ---> e3849ea4c786 01:43:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:43:50 ---> 77b1baaf6006 01:43:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:43:50 ---> 12394d23c71a 01:43:50 Step 20/25 : EXPOSE 59982 01:43:50 ---> Running in 4b11945a4076 01:43:50 Removing intermediate container 4b11945a4076 01:43:50 ---> b6aaeb94bb29 01:43:50 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:43:50 ---> Running in f67dfb9b824a 01:43:50 Removing intermediate container f67dfb9b824a 01:43:50 ---> ac2b8dc07b27 01:43:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:43:50 ---> Running in b095e69de0d7 01:43:50 Removing intermediate container b095e69de0d7 01:43:50 ---> d4ded17f47d4 01:43:50 Step 23/25 : LABEL arch=arm64 01:43:50 ---> Running in bf9afe1716ab 01:43:50 Removing intermediate container bf9afe1716ab 01:43:50 ---> 0097bb7409e3 01:43:50 Step 24/25 : LABEL git_sha=a484f07daf3599b56ef9bb689d608e21c46e7c57 01:43:50 ---> Running in c45e534b660f 01:43:50 Removing intermediate container c45e534b660f 01:43:50 ---> d62472dd026a 01:43:50 Step 25/25 : LABEL version=0.0.0 01:43:50 ---> Running in ecf32c42a402 01:43:50 Removing intermediate container ecf32c42a402 01:43:50 ---> 36fbc7fca509 01:43:50 [Warning] One or more build-args [ARCH] were not consumed 01:43:50 Successfully built 36fbc7fca509 01:43:50 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 01:43:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:50 01:43:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:51 arm64: Pulling from edgex-lftools-log-publisher 01:43:51 8998bd30e6a1: Pulling fs layer 01:43:51 04944245beec: Pulling fs layer 01:43:51 699f458cf7ca: Pulling fs layer 01:43:51 765212b225bb: Pulling fs layer 01:43:51 f23df028b6ca: Pulling fs layer 01:43:51 d65c8cfc05b1: Pulling fs layer 01:43:51 2437ff75d9bd: Pulling fs layer 01:43:51 765212b225bb: Waiting 01:43:51 f23df028b6ca: Waiting 01:43:51 d65c8cfc05b1: Waiting 01:43:51 2437ff75d9bd: Waiting 01:43:51 04944245beec: Verifying Checksum 01:43:51 04944245beec: Download complete 01:43:51 765212b225bb: Verifying Checksum 01:43:51 765212b225bb: Download complete 01:43:51 f23df028b6ca: Verifying Checksum 01:43:51 f23df028b6ca: Download complete 01:43:51 d65c8cfc05b1: Verifying Checksum 01:43:51 d65c8cfc05b1: Download complete 01:43:51 699f458cf7ca: Verifying Checksum 01:43:51 699f458cf7ca: Download complete 01:43:52 8998bd30e6a1: Verifying Checksum 01:43:52 8998bd30e6a1: Download complete 01:43:54 2437ff75d9bd: Verifying Checksum 01:43:54 2437ff75d9bd: Download complete 01:43:56 8998bd30e6a1: Pull complete 01:43:56 04944245beec: Pull complete 01:43:57 699f458cf7ca: Pull complete 01:43:58 765212b225bb: Pull complete 01:43:58 f23df028b6ca: Pull complete 01:43:58 d65c8cfc05b1: Pull complete 01:44:14 2437ff75d9bd: Pull complete 01:44:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:14 prd-ubuntu20.04-docker-arm64-4c-16g-8930 does not seem to be running inside a container 01:44:14 $ 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 01:44:17 $ docker top 6b5a2250e3219e16e1cfd2d6116627ab5473590048be2260b23f54f53eda1b30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:18 ---> job-cost.sh 01:44:18 lf-activate-venv: SKIPPING 01:44:18 INFO: No Stack... 01:44:18 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:19 INFO: Archiving Costs [Pipeline] sh 01:44:20 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:44:20 + cut -d, -f6 [Pipeline] lock 01:44:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] 01:44:20 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] did not exist. Created. 01:44:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:21 /w/workspace/device-mqtt-go/1@tmp/durable-92933521/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:21 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:21 Warning: overwriting stash ‘stack-cost’ 01:44:21 Stashed 1 file(s) [Pipeline] } 01:44:21 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:22 $ docker stop --time=1 6b5a2250e3219e16e1cfd2d6116627ab5473590048be2260b23f54f53eda1b30 01:44:24 $ 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 01:44:25 provisioning config files... 01:44:25 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config15993662242183078389tmp [Pipeline] { [Pipeline] sh 01:44:26 + set +x 01:44:26 + bash -s -- 01:44:26 + curl -s https://codecov.io/bash 01:44:26 01:44:26 _____ _ 01:44:26 / ____| | | 01:44:26 | | ___ __| | ___ ___ _____ __ 01:44:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:26 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:26 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:26 Bash-1.0.6 01:44:26 01:44:26 01:44:26 ==> git version 2.25.1 found 01:44:26 ==> 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 01:44:26 Release-Date: 2020-01-08 01:44:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:26 ==> Jenkins CI detected. 01:44:26 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-428 01:44:26 project root: . 01:44:26 --> token set from env 01:44:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:26 ==> Running gcov in . (disable via -X gcov) 01:44:26 ==> Python coveragepy not found 01:44:26 ==> Searching for coverage reports in: 01:44:26 + . 01:44:26 -> Found 1 reports 01:44:26 ==> Detecting git/mercurial file structure 01:44:26 ==> Reading reports 01:44:26 + ./coverage.out bytes=17887 01:44:26 ==> Appending adjustments 01:44:26 https://docs.codecov.io/docs/fixing-reports 01:44:26 + Found adjustments 01:44:26 ==> Gzipping contents 01:44:26 4.0K /tmp/codecov.4yYqrI.gz 01:44:26 ==> Uploading reports 01:44:26 url: https://codecov.io 01:44:26 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= 01:44:26 -> Pinging Codecov 01:44:26 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= 01:44:26 -> Uploading to 01:44:26 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 01:44:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:26 Dload Upload Total Spent Left Speed 01:44:26 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 01:44:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a484f07daf3599b56ef9bb689d608e21c46e7c57 [Pipeline] } 01:44:26 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 01:44:28 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives ] 01:44:28 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives 01:44:28 total 16 01:44:28 drwxr-xr-x 3 root root 4096 Oct 24 01:35 . 01:44:28 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:35 .. 01:44:28 drwxr-xr-x 2 root root 4096 Oct 24 01:35 cost 01:44:28 -rw-r--r-- 1 root root 86 Oct 24 01:35 cost.csv 01:44:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives 01:44:28 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives 01:44:28 total 16 01:44:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:35 . 01:44:28 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:35 .. 01:44:28 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:35 cost 01:44:28 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 01:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:30 ---> package-listing.sh 01:44:30 ++ facter osfamily 01:44:30 ++ tr '[:upper:]' '[:lower:]' 01:44:30 + OS_FAMILY=debian 01:44:30 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-428 01:44:30 + START_PACKAGES=/tmp/packages_start.txt 01:44:30 + END_PACKAGES=/tmp/packages_end.txt 01:44:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:30 + PACKAGES=/tmp/packages_start.txt 01:44:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-428 ']' 01:44:30 + PACKAGES=/tmp/packages_end.txt 01:44:30 + case "${OS_FAMILY}" in 01:44:30 + dpkg -l 01:44:30 + grep '^ii' 01:44:30 + '[' -f /tmp/packages_start.txt ']' 01:44:30 + '[' -f /tmp/packages_end.txt ']' 01:44:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-428 ']' 01:44:30 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-428/archives/ 01:44:30 + 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 01:44:30 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 01:44:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:31 prd-ubuntu20.04-docker-8c-8g-8926 does not seem to be running inside a container 01:44:31 $ 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 01:44:31 $ docker top f67ccce67066a12499694853a4630989b9eb85659c48f6a19befde8600dab876 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:32 + ls /var/log/sa-host 01:44:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:32 provisioning config files... 01:44:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-428@tmp/config13504060237602092664tmp [Pipeline] { [Pipeline] echo 01:44:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:33 ---> create-netrc.sh [Pipeline] } 01:44:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:33 ---> python-tools-install.sh [Pipeline] echo 01:44:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:34 ---> sudo-logs.sh 01:44:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:34 ---> job-cost.sh 01:44:34 lf-activate-venv: SKIPPING 01:44:34 DEBUG: total: 0.2199999988079071 01:44:34 INFO: Retrieving Stack Cost... 01:44:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:35 INFO: Archiving Costs [Pipeline] echo 01:44:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:35 ---> logs-deploy.sh 01:44:35 lf-activate-venv: SKIPPING 01:44:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-428/1 01:44:35 INFO: archiving workspace using pattern(s): 01:44:36 Archives upload complete. 01:44:36 INFO: archiving logs to Nexus