Pull request #579 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at e2c07314706493d6366513279fddb5169d0fbe38 rather than c9306f6a6e60c124e47a89135bfc167c769896d1 Obtained Jenkinsfile from e2c07314706493d6366513279fddb5169d0fbe38 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-ssh11317723113806095701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4943552021842538964.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15747649008577575107.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh184762327504430885.key > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10243609112575624356.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10873 in /w/workspace/gexfoundry_device-mqtt-go_PR-579 [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-579 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit c9306f6a6e60c124e47a89135bfc167c769896d1 Merge succeeded, producing eedb304eb4788769c8a02ef4d55b570767c07729 Checking out Revision eedb304eb4788769c8a02ef4d55b570767c07729 (PR-579) > git config core.sparsecheckout # timeout=10 > git checkout -f c9306f6a6e60c124e47a89135bfc167c769896d1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eedb304eb4788769c8a02ef4d55b570767c07729 # timeout=10 Commit message: "Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 481898a812190d9751794065b05ae235fd744a6b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:03:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:03:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:03:44 ========================================================= 22:03:44 EdgeX Global Pipelines Version Info 22:03:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:03:45 ------------------- 22:03:45 stable info: 22:03:45 ------------------- 22:03:45 Commited By: Bill Mahoney bill.mahoney@intel.com 22:03:45 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:03:45 Message: update stable to v1.0.248 22:03:45 ------------------- 22:03:45 experimental info: 22:03:45 ------------------- 22:03:45 Commited By: **** collab-it+edgex@linuxfoundation.org 22:03:45 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:03:45 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eedb304eb4788769c8a02ef4d55b570767c07729 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eedb304 [Pipeline] echo 22:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:46 provisioning config files... 22:03:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config16685761537233276323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:47 ---> docker-login.sh 22:03:47 nexus3.edgexfoundry.org:10001 22:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:47 Configure a credential helper to remove this warning. See 22:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:47 22:03:47 Login Succeeded 22:03:47 nexus3.edgexfoundry.org:10002 22:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:47 Configure a credential helper to remove this warning. See 22:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:47 22:03:47 Login Succeeded 22:03:47 nexus3.edgexfoundry.org:10003 22:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:47 Configure a credential helper to remove this warning. See 22:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:47 22:03:47 Login Succeeded 22:03:47 nexus3.edgexfoundry.org:10004 22:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:47 Configure a credential helper to remove this warning. See 22:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:47 22:03:47 Login Succeeded 22:03:47 docker.io 22:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:48 Configure a credential helper to remove this warning. See 22:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:48 22:03:48 Login Succeeded 22:03:48 ---> docker-login.sh ends [Pipeline] } 22:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:03:48 + git rev-list -1 --merges eedb304eb4788769c8a02ef4d55b570767c07729~1..eedb304eb4788769c8a02ef4d55b570767c07729 [Pipeline] echo 22:03:48 -----------> git rev-list -1 --merges eedb304eb4788769c8a02ef4d55b570767c07729~1..eedb304eb4788769c8a02ef4d55b570767c07729 eedb304eb4788769c8a02ef4d55b570767c07729 22:03:48 eedb304eb4788769c8a02ef4d55b570767c07729 [false] [Pipeline] sh 22:03:48 + git log --format=format:%s -1 eedb304eb4788769c8a02ef4d55b570767c07729 [Pipeline] echo 22:03:48 ========================================================= 22:03:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:03:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:49 + git log --format=format:%s -1 eedb304eb4788769c8a02ef4d55b570767c07729 [Pipeline] echo 22:03:49 [semverPrep] GIT_COMMIT: eedb304eb4788769c8a02ef4d55b570767c07729, Commit Message: Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD [Pipeline] echo 22:03:49 [semverPrep] This is not a build commit. [Pipeline] sh 22:03:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:49 + grep -v github /etc/ssh/ssh_known_hosts 22:03:49 + [ -e /tmp/ssh_known_hosts ] 22:03:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:03:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:03:49 + sudo tee -a /etc/ssh/ssh_known_hosts 22:03:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:49 22:03:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:50 0.1.4: Pulling from edgex-devops/py-git-semver 22:03:50 b85a868b505f: Pulling fs layer 22:03:50 e2be974225ed: Pulling fs layer 22:03:50 339a4e72a1f5: Pulling fs layer 22:03:50 988bab9f4d93: Pulling fs layer 22:03:50 1469e6f7b9e6: Pulling fs layer 22:03:50 eaf3925da568: Pulling fs layer 22:03:50 bab4dde63d76: Pulling fs layer 22:03:50 bde34c3a00c8: Pulling fs layer 22:03:50 b352a97aabf1: Pulling fs layer 22:03:50 4872d77fe225: Pulling fs layer 22:03:50 1469e6f7b9e6: Waiting 22:03:50 eaf3925da568: Waiting 22:03:50 bab4dde63d76: Waiting 22:03:50 bde34c3a00c8: Waiting 22:03:50 b352a97aabf1: Waiting 22:03:50 988bab9f4d93: Waiting 22:03:50 5851b861e8e6: Pulling fs layer 22:03:50 4872d77fe225: Waiting 22:03:50 5851b861e8e6: Waiting 22:03:50 e2be974225ed: Download complete 22:03:50 988bab9f4d93: Verifying Checksum 22:03:50 988bab9f4d93: Download complete 22:03:50 1469e6f7b9e6: Verifying Checksum 22:03:50 1469e6f7b9e6: Download complete 22:03:50 eaf3925da568: Verifying Checksum 22:03:50 eaf3925da568: Download complete 22:03:50 339a4e72a1f5: Verifying Checksum 22:03:50 339a4e72a1f5: Download complete 22:03:50 bde34c3a00c8: Verifying Checksum 22:03:50 bde34c3a00c8: Download complete 22:03:50 b352a97aabf1: Download complete 22:03:50 4872d77fe225: Verifying Checksum 22:03:50 4872d77fe225: Download complete 22:03:50 5851b861e8e6: Verifying Checksum 22:03:50 5851b861e8e6: Download complete 22:03:50 b85a868b505f: Download complete 22:03:50 bab4dde63d76: Verifying Checksum 22:03:50 bab4dde63d76: Download complete 22:03:51 b85a868b505f: Pull complete 22:03:51 e2be974225ed: Pull complete 22:03:52 339a4e72a1f5: Pull complete 22:03:52 988bab9f4d93: Pull complete 22:03:52 1469e6f7b9e6: Pull complete 22:03:52 eaf3925da568: Pull complete 22:03:54 bab4dde63d76: Pull complete 22:03:54 bde34c3a00c8: Pull complete 22:03:54 b352a97aabf1: Pull complete 22:03:54 4872d77fe225: Pull complete 22:03:54 5851b861e8e6: Pull complete 22:03:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:54 prd-ubuntu20.04-docker-8c-8g-10873 does not seem to be running inside a container 22:03:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:57 $ docker top d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 -eo pid,comm 22:03:57 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). 22:03:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:03:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:57 [ssh-agent] Looking for ssh-agent implementation... 22:03:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:57 $ docker exec d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 ssh-agent 22:03:57 SSH_AUTH_SOCK=/tmp/ssh-eO0hCZD9Li5x/agent.32 22:03:57 SSH_AGENT_PID=38 22:03:57 Running ssh-add (command line suppressed) 22:03:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_8132004353169667350.key (/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_8132004353169667350.key) 22:03:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:58 + git tag --points-at HEAD [Pipeline] } 22:03:58 $ docker exec --env ******** --env ******** d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 ssh-agent -k 22:03:58 unset SSH_AUTH_SOCK; 22:03:58 unset SSH_AGENT_PID; 22:03:58 echo Agent pid 38 killed; 22:03:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:03:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:58 [ssh-agent] Looking for ssh-agent implementation... 22:03:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:58 $ docker exec d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 ssh-agent 22:03:58 SSH_AUTH_SOCK=/tmp/ssh-R4allGWCwGdF/agent.70 22:03:58 SSH_AGENT_PID=76 22:03:58 Running ssh-add (command line suppressed) 22:03:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_11912139759222811880.key (/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_11912139759222811880.key) 22:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:58 + git semver init 22:03:59 2023-04-25 22:03:59,015 [run_init] DEBUG init version:0.0.0 force:False 22:03:59 2023-04-25 22:03:59,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver 22:03:59 2023-04-25 22:03:59,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver 22:03:59 2023-04-25 22:03:59,016 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-579, universal_newlines=False, shell=None, istream=None) 22:04:00 2023-04-25 22:03:59,827 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.git/info/exclude 22:04:00 2023-04-25 22:03:59,828 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver/PR-579 with force:False 22:04:00 2023-04-25 22:03:59,828 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver/PR-579 22:04:00 2023-04-25 22:03:59,833 [execute] INFO git cat-file --batch-check 22:04:00 2023-04-25 22:03:59,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver, universal_newlines=False, shell=None, istream=) 22:04:00 2023-04-25 22:03:59,837 [execute] INFO git cat-file --batch 22:04:00 2023-04-25 22:03:59,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver, universal_newlines=False, shell=None, istream=) 22:04:00 2023-04-25 22:03:59,841 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver/PR-579 22:04:00 0.0.0 [Pipeline] } 22:04:00 $ docker exec --env ******** --env ******** d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 ssh-agent -k 22:04:00 unset SSH_AUTH_SOCK; 22:04:00 unset SSH_AGENT_PID; 22:04:00 echo Agent pid 76 killed; 22:04:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:00 + git semver [Pipeline] } 22:04:00 $ docker stop --time=1 d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 22:04:02 $ docker rm -f --volumes d5deb9d30b39fd01c444eed3160f1c95c73c18d1c070e845113205e859487b43 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:04:02 Stashed 1 file(s) [Pipeline] echo 22:04:02 [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 22:04:02 provisioning config files... 22:04:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config5238936150988263843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:03 ---> docker-login.sh 22:04:03 nexus3.edgexfoundry.org:10001 22:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:03 Configure a credential helper to remove this warning. See 22:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:03 22:04:03 Login Succeeded 22:04:03 nexus3.edgexfoundry.org:10002 22:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:03 Configure a credential helper to remove this warning. See 22:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:03 22:04:03 Login Succeeded 22:04:03 nexus3.edgexfoundry.org:10003 22:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:03 Configure a credential helper to remove this warning. See 22:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:03 22:04:03 Login Succeeded 22:04:03 nexus3.edgexfoundry.org:10004 22:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:03 Configure a credential helper to remove this warning. See 22:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:03 22:04:03 Login Succeeded 22:04:03 docker.io 22:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:03 Configure a credential helper to remove this warning. See 22:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:03 22:04:03 Login Succeeded 22:04:03 ---> docker-login.sh ends [Pipeline] } 22:04:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:03 ========================================================= 22:04:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:04:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:04:03 Sending build context to Docker daemon 6.527MB 22:04:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:04:03 Step 2/12 : FROM ${BASE} AS builder 22:04:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:04:03 f56be85fc22e: Pulling fs layer 22:04:03 85791d961cd3: Pulling fs layer 22:04:03 d694b5ae8c79: Pulling fs layer 22:04:03 9f32a84ed3da: Pulling fs layer 22:04:03 4d19c01a9841: Pulling fs layer 22:04:03 9325e15d5711: Pulling fs layer 22:04:03 556b6ee489ea: Pulling fs layer 22:04:03 c5a4b2cf53e6: Pulling fs layer 22:04:03 9f32a84ed3da: Waiting 22:04:03 556b6ee489ea: Waiting 22:04:03 c5a4b2cf53e6: Waiting 22:04:03 4d19c01a9841: Waiting 22:04:03 9325e15d5711: Waiting 22:04:03 85791d961cd3: Verifying Checksum 22:04:03 85791d961cd3: Download complete 22:04:04 9f32a84ed3da: Verifying Checksum 22:04:04 9f32a84ed3da: Download complete 22:04:04 4d19c01a9841: Verifying Checksum 22:04:04 4d19c01a9841: Download complete 22:04:04 f56be85fc22e: Verifying Checksum 22:04:04 f56be85fc22e: Download complete 22:04:04 9325e15d5711: Verifying Checksum 22:04:04 9325e15d5711: Download complete 22:04:04 f56be85fc22e: Pull complete 22:04:04 85791d961cd3: Pull complete 22:04:04 c5a4b2cf53e6: Verifying Checksum 22:04:04 c5a4b2cf53e6: Download complete 22:04:04 d694b5ae8c79: Verifying Checksum 22:04:04 d694b5ae8c79: Download complete 22:04:04 556b6ee489ea: Verifying Checksum 22:04:04 556b6ee489ea: Download complete 22:04:08 d694b5ae8c79: Pull complete 22:04:08 9f32a84ed3da: Pull complete 22:04:08 4d19c01a9841: Pull complete 22:04:08 9325e15d5711: Pull complete 22:04:10 556b6ee489ea: Pull complete 22:04:11 c5a4b2cf53e6: Pull complete 22:04:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:04:11 ---> c4be618373d6 22:04:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:04:15 ---> Running in 836efbb798be 22:04:15 Removing intermediate container 836efbb798be 22:04:15 ---> c723086f3c69 22:04:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:04:15 ---> Running in 9227c9717917 22:04:15 Removing intermediate container 9227c9717917 22:04:15 ---> d26f483e8449 22:04:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:04:15 ---> Running in 4924fb178688 22:04:15 Removing intermediate container 4924fb178688 22:04:15 ---> b87bf6b17e3b 22:04:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:04:15 ---> Running in 721349c6161d 22:04:15 Removing intermediate container 721349c6161d 22:04:15 ---> 134bc2a66e96 22:04:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:15 ---> Running in c18d55c71905 22:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:04:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:04:16 (2/4) Installing libedit (20221030.3.1-r0) 22:04:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:04:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:04:16 Executing busybox-1.35.0-r29.trigger 22:04:16 OK: 269 MiB in 57 packages 22:04:16 Removing intermediate container c18d55c71905 22:04:16 ---> b287d5b51c06 22:04:16 Step 8/12 : WORKDIR /device-mqtt-go 22:04:16 ---> Running in bee177589cf0 22:04:16 Removing intermediate container bee177589cf0 22:04:16 ---> 19a670a998e5 22:04:16 Step 9/12 : COPY go.mod vendor* ./ 22:04:16 ---> 269126ecdf42 22:04:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:16 ---> Running in 05e2fd7e0ebf 22:04:17 Still waiting to schedule task 22:04:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:04:55 Removing intermediate container 05e2fd7e0ebf 22:04:55 ---> 4040654b0d96 22:04:55 Step 11/12 : COPY . . 22:04:55 ---> 4e0abab05bbc 22:04:55 Step 12/12 : RUN $MAKE 22:04:55 ---> Running in b1938faac890 22:04:55 noop 22:04:55 Removing intermediate container b1938faac890 22:04:55 ---> 517af54f8cb6 22:04:55 Successfully built 517af54f8cb6 22:04:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:55 + docker inspect -f . ci-base-image-x86_64 22:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:55 prd-ubuntu20.04-docker-8c-8g-10873 does not seem to be running inside a container 22:04:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:04:56 $ docker top f3b65229735c44d835a1d01ba5ee2060c7115a3ab997704a2949fb50fcb6bdec -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:56 + go version 22:04:56 go version go1.20.2 linux/amd64 [Pipeline] } 22:04:56 $ docker stop --time=1 f3b65229735c44d835a1d01ba5ee2060c7115a3ab997704a2949fb50fcb6bdec 22:04:57 $ docker rm -f --volumes f3b65229735c44d835a1d01ba5ee2060c7115a3ab997704a2949fb50fcb6bdec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:58 + docker inspect -f . ci-base-image-x86_64 22:04:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:58 prd-ubuntu20.04-docker-8c-8g-10873 does not seem to be running inside a container 22:04:58 $ 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-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:04:58 $ docker top 841154aee95793a7bd2bd9fa116f78c08ef9b7a12e5186f93d4059f0f5741952 -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-579 [Pipeline] fileExists [Pipeline] sh 22:04:59 + make test 22:04:59 go test ./... -coverprofile=coverage.out ./... 22:05:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:05:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:05:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:05:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 24.6% of statements 22:05:19 go vet ./... 22:05:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:05:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:05:23 ./bin/test-attribution-txt.sh [Pipeline] echo 22:05:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:05:23 $ docker stop --time=1 841154aee95793a7bd2bd9fa116f78c08ef9b7a12e5186f93d4059f0f5741952 22:05:26 $ docker rm -f --volumes 841154aee95793a7bd2bd9fa116f78c08ef9b7a12e5186f93d4059f0f5741952 [Pipeline] // withDockerContainer [Pipeline] sh 22:05:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:05:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:05:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:05:27 + ls -al . 22:05:27 total 180 22:05:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 22:04 . 22:05:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:03 .. 22:05:27 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 22:03 .dockerignore 22:05:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:04 .git 22:05:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:03 .github 22:05:27 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 22:03 .gitignore 22:05:27 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 22:03 .golangci.yml 22:05:27 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:03 .semver 22:05:27 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 25 22:03 Attribution.txt 22:05:27 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 25 22:03 CHANGELOG.md 22:05:27 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 25 22:03 Dockerfile 22:05:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:03 GOVERNANCE.md 22:05:27 -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 22:03 Jenkinsfile 22:05:27 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 22:03 LICENSE 22:05:27 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 25 22:03 Makefile 22:05:27 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 22:03 OWNERS.md 22:05:27 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 25 22:03 README.md 22:05:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:04 VERSION 22:05:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:03 bin 22:05:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:03 cmd 22:05:27 -rw-r--r-- 1 jenkins jenkins 16535 Apr 25 22:05 coverage.out 22:05:27 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 25 22:03 go.mod 22:05:27 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 22:03 go.sum 22:05:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:03 internal 22:05:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:03 mock 22:05:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:03 snap 22:05:27 -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 22:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05: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=eedb304eb4788769c8a02ef4d55b570767c07729 --label arch=amd64 --label version=0.0.0 . 22:05:28 Sending build context to Docker daemon 6.544MB 22:05:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 22:05:28 Step 2/24 : FROM ${BASE} AS builder 22:05:28 ---> 517af54f8cb6 22:05:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:05:28 ---> Running in e74ac1ea5628 22:05:28 Removing intermediate container e74ac1ea5628 22:05:28 ---> b300d546c042 22:05:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:05:28 ---> Running in 7bfa8396e5ad 22:05:28 Removing intermediate container 7bfa8396e5ad 22:05:28 ---> 9ffabe97e537 22:05:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:05:28 ---> Running in d890ee04f68f 22:05:28 Removing intermediate container d890ee04f68f 22:05:28 ---> fdce9715feb5 22:05:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:05:28 ---> Running in 997ca3699c7f 22:05:28 Removing intermediate container 997ca3699c7f 22:05:28 ---> 87f89bddf0b8 22:05:28 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:05:28 ---> Running in 39c8a89e69fe 22:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:05:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:05:29 OK: 269 MiB in 57 packages 22:05:29 Removing intermediate container 39c8a89e69fe 22:05:29 ---> 5fefbe528edb 22:05:29 Step 8/24 : WORKDIR /device-mqtt-go 22:05:29 ---> Running in b5f1d16ef552 22:05:29 Removing intermediate container b5f1d16ef552 22:05:29 ---> 6c3bcb7dbd8e 22:05:29 Step 9/24 : COPY go.mod vendor* ./ 22:05:29 ---> 83485d55949f 22:05:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:05:29 ---> Running in fb5bcdc16e81 22:05:30 Removing intermediate container fb5bcdc16e81 22:05:30 ---> ebd6d0f8d7d1 22:05:30 Step 11/24 : COPY . . 22:05:31 ---> 64c0c6e6b17a 22:05:31 Step 12/24 : RUN $MAKE 22:05:31 ---> Running in 73efc938ac9e 22:05:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 22:05:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10875 in /w/workspace/gexfoundry_device-mqtt-go_PR-579 [Pipeline] { [Pipeline] ws 22:05:48 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 22:05:48 Selected Git installation does not exist. Using Default 22:05:48 The recommended git tool is: NONE 22:05:53 Removing intermediate container 73efc938ac9e 22:05:53 ---> ede7b2cd2b84 22:05:53 Step 13/24 : FROM alpine:3.17 22:05:53 3.17: Pulling from library/alpine 22:05:53 f56be85fc22e: Already exists 22:05:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:05:53 Status: Downloaded newer image for alpine:3.17 22:05:53 ---> 9ed4aefc74f6 22:05:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:05:53 ---> Running in 4406c3d7a3eb 22:05:53 Removing intermediate container 4406c3d7a3eb 22:05:53 ---> 04e49fe9f72a 22:05:53 Step 15/24 : RUN apk add --update --no-cache dumb-init 22:05:53 ---> Running in 5e6182c2536a 22:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:05:53 (1/1) Installing dumb-init (1.2.5-r2) 22:05:53 Executing busybox-1.35.0-r29.trigger 22:05:53 OK: 7 MiB in 16 packages 22:05:53 Removing intermediate container 5e6182c2536a 22:05:53 ---> 34f2b71b600a 22:05:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:05:53 ---> 9150ac200b40 22:05:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:05:53 ---> 56c5e602942c 22:05:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:05:53 ---> e075964bf1c4 22:05:53 Step 19/24 : EXPOSE 59982 22:05:53 ---> Running in 6effab95887d 22:05:53 Removing intermediate container 6effab95887d 22:05:53 ---> 5ac4dd618fef 22:05:53 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:05:53 ---> Running in 9a0811dca75e 22:05:53 Removing intermediate container 9a0811dca75e 22:05:53 ---> b9cea48277cc 22:05:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:05:53 ---> Running in 762bff3a35d2 22:05:53 Removing intermediate container 762bff3a35d2 22:05:53 ---> da1a205c7038 22:05:53 Step 22/24 : LABEL arch=amd64 22:05:53 ---> Running in 80c1574d9018 22:05:53 Removing intermediate container 80c1574d9018 22:05:53 ---> 26a6430b2eed 22:05:53 Step 23/24 : LABEL git_sha=eedb304eb4788769c8a02ef4d55b570767c07729 22:05:53 ---> Running in 166c4859d5a1 22:05:53 Removing intermediate container 166c4859d5a1 22:05:53 ---> 32ef09106fc1 22:05:53 Step 24/24 : LABEL version=0.0.0 22:05:53 ---> Running in 1000069926b1 22:05:53 Removing intermediate container 1000069926b1 22:05:53 ---> 04a19c2fbdce 22:05:53 [Warning] One or more build-args [ARCH] were not consumed 22:05:53 Successfully built 04a19c2fbdce 22:05:53 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 22:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:53 22:05:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:53 latest: Pulling from edgex-lftools-log-publisher 22:05:53 5eb5b503b376: Pulling fs layer 22:05:53 5c69ac0246d0: Pulling fs layer 22:05:53 ec43610c2a17: Pulling fs layer 22:05:53 3a2ae6a8a46f: Pulling fs layer 22:05:53 33b1e0a273af: Pulling fs layer 22:05:53 5d3b04190fa2: Pulling fs layer 22:05:53 2f39f015ded8: Pulling fs layer 22:05:53 33b1e0a273af: Waiting 22:05:53 5d3b04190fa2: Waiting 22:05:53 2f39f015ded8: Waiting 22:05:53 5c69ac0246d0: Verifying Checksum 22:05:53 3a2ae6a8a46f: Verifying Checksum 22:05:53 3a2ae6a8a46f: Download complete 22:05:53 33b1e0a273af: Verifying Checksum 22:05:53 33b1e0a273af: Download complete 22:05:53 5d3b04190fa2: Download complete 22:05:53 ec43610c2a17: Verifying Checksum 22:05:53 ec43610c2a17: Download complete 22:05:53 using credential edgex-jenkins-ssh 22:05:53 Cloning the remote Git repository 22:05:54 5eb5b503b376: Verifying Checksum 22:05:54 5eb5b503b376: Download complete 22:05:54 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:05:54 > git init /w/workspace/device-mqtt-go/2 # timeout=10 22:05:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:05:54 > git --version # timeout=10 22:05:54 > git --version # 'git version 2.25.1' 22:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:54 2f39f015ded8: Verifying Checksum 22:05:54 2f39f015ded8: Download complete 22:05:55 5eb5b503b376: Pull complete 22:05:55 5c69ac0246d0: Pull complete 22:05:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:05:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:55 ec43610c2a17: Pull complete 22:05:56 3a2ae6a8a46f: Pull complete 22:05:56 33b1e0a273af: Pull complete 22:05:56 5d3b04190fa2: Pull complete 22:05:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:05:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:05:57 Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit c9306f6a6e60c124e47a89135bfc167c769896d1 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:05:57 Failed in branch arm64 22:05:57 > git config core.sparsecheckout # timeout=10 22:05:57 > git checkout -f c9306f6a6e60c124e47a89135bfc167c769896d1 # timeout=10 22:06:00 2f39f015ded8: Pull complete 22:06:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:00 prd-ubuntu20.04-docker-8c-8g-10873 does not seem to be running inside a container 22:06:00 $ 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-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:06:04 $ docker top 7f16360c65220df0457a20cb71578e1a733b95809d041df9db86c903f0136e12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:05 ---> job-cost.sh 22:06:05 lf-activate-venv: SKIPPING 22:06:05 INFO: No Stack... 22:06:05 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:05 INFO: Archiving Costs [Pipeline] sh 22:06:05 + cut -d, -f6 22:06:05 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives/cost.csv [Pipeline] lock 22:06:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-579-2-stack-cost] 22:06:05 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-579-2-stack-cost] did not exist. Created. 22:06:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-579-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:06 + echo total: 0.2199999988079071 [Pipeline] stash 22:06:06 Stashed 1 file(s) [Pipeline] } 22:06:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-579-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:06 $ docker stop --time=1 7f16360c65220df0457a20cb71578e1a733b95809d041df9db86c903f0136e12 22:06:07 $ docker rm -f --volumes 7f16360c65220df0457a20cb71578e1a733b95809d041df9db86c903f0136e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:06:08 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives ] 22:06:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives 22:06:08 total 16 22:06:08 drwxr-xr-x 3 root root 4096 Apr 25 22:06 . 22:06:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:06 .. 22:06:08 drwxr-xr-x 2 root root 4096 Apr 25 22:06 cost 22:06:08 -rw-r--r-- 1 root root 86 Apr 25 22:06 cost.csv 22:06:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives 22:06:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives 22:06:08 total 16 22:06:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:06 . 22:06:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:06 .. 22:06:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 22:06 cost 22:06:08 -rw-r--r-- 1 jenkins jenkins 86 Apr 25 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:06:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:06:09 ---> package-listing.sh 22:06:09 ++ facter osfamily 22:06:09 ++ tr '[:upper:]' '[:lower:]' 22:06:09 + OS_FAMILY=debian 22:06:09 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-579 22:06:09 + START_PACKAGES=/tmp/packages_start.txt 22:06:09 + END_PACKAGES=/tmp/packages_end.txt 22:06:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:06:09 + PACKAGES=/tmp/packages_start.txt 22:06:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-579 ']' 22:06:09 + PACKAGES=/tmp/packages_end.txt 22:06:09 + case "${OS_FAMILY}" in 22:06:09 + dpkg -l 22:06:09 + grep '^ii' 22:06:09 + '[' -f /tmp/packages_start.txt ']' 22:06:09 + '[' -f /tmp/packages_end.txt ']' 22:06:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:06:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-579 ']' 22:06:09 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives/ 22:06:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives/ [Pipeline] echo 22:06:09 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-579/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:06:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:10 prd-ubuntu20.04-docker-8c-8g-10873 does not seem to be running inside a container 22:06:10 $ 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-579/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-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:06:10 $ docker top 7373196eaebec75cd9c6af6d11def886a5f104c4a3c48e2e650a8a0037042bcb -eo pid,comm [Pipeline] { [Pipeline] sh 22:06:11 + touch /tmp/pre-build-complete [Pipeline] sh 22:06:11 + mkdir -p /var/log/sysstat [Pipeline] sh 22:06:11 + ls /var/log/sa-host 22:06:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:11 provisioning config files... 22:06:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config10719696530852081923tmp [Pipeline] { [Pipeline] echo 22:06:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:06:12 ---> create-netrc.sh [Pipeline] } 22:06:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:06:12 ---> python-tools-install.sh [Pipeline] echo 22:06:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:06:12 ---> sudo-logs.sh 22:06:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:06:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:06:12 ---> job-cost.sh 22:06:12 lf-activate-venv: SKIPPING 22:06:12 DEBUG: total: 0.2199999988079071 22:06:12 INFO: Retrieving Stack Cost... 22:06:12 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:13 INFO: Archiving Costs [Pipeline] echo 22:06:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:06:13 ---> logs-deploy.sh 22:06:13 lf-activate-venv: SKIPPING 22:06:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-579/2 22:06:13 INFO: archiving workspace using pattern(s): 22:06:14 Archives upload complete. 22:06:14 INFO: archiving logs to Nexus