Pull request #586 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 lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from c597fb52093f4e3a63fd195cf53ade63a9932301+44db128f908bb002eba25d15c491b9a779a086c0 (76e2ce8490935a584b4cec5fed158498d67fddbd) 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-ssh9925101849672219338.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-ssh6806306047672427784.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-586/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-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1505467173498020045.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-ssh9118537713103804058.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-586/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-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11661103525453355172.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-12258 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [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-586 # 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/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit c597fb52093f4e3a63fd195cf53ade63a9932301 Merge succeeded, producing c597fb52093f4e3a63fd195cf53ade63a9932301 Checking out Revision c597fb52093f4e3a63fd195cf53ade63a9932301 (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f c597fb52093f4e3a63fd195cf53ade63a9932301 # 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 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c597fb52093f4e3a63fd195cf53ade63a9932301 # timeout=10 Commit message: "feat!: Handle receiving multiple readings in the async payload" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:34:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:34:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:34:10 ========================================================= 23:34:10 EdgeX Global Pipelines Version Info 23:34:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:34:10 ------------------- 23:34:10 stable info: 23:34:10 ------------------- 23:34:10 Commited By: Bill Mahoney bill.mahoney@intel.com 23:34:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:34:10 Message: update stable to v1.0.248 23:34:11 ------------------- 23:34:11 experimental info: 23:34:11 ------------------- 23:34:11 Commited By: **** collab-it+edgex@linuxfoundation.org 23:34:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:34:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:34:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c597fb52093f4e3a63fd195cf53ade63a9932301 [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c597fb5 [Pipeline] echo 23:34:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:12 provisioning config files... 23:34:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config990579752111060217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:12 ---> docker-login.sh 23:34:12 nexus3.edgexfoundry.org:10001 23:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:12 Configure a credential helper to remove this warning. See 23:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:12 23:34:12 Login Succeeded 23:34:12 nexus3.edgexfoundry.org:10002 23:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:12 Configure a credential helper to remove this warning. See 23:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:12 23:34:12 Login Succeeded 23:34:12 nexus3.edgexfoundry.org:10003 23:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:13 Configure a credential helper to remove this warning. See 23:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:13 23:34:13 Login Succeeded 23:34:13 nexus3.edgexfoundry.org:10004 23:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:13 Configure a credential helper to remove this warning. See 23:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:13 23:34:13 Login Succeeded 23:34:13 docker.io 23:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:13 Configure a credential helper to remove this warning. See 23:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:13 23:34:13 Login Succeeded 23:34:13 ---> docker-login.sh ends [Pipeline] } 23:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:34:13 + git rev-list -1 --merges c597fb52093f4e3a63fd195cf53ade63a9932301~1..c597fb52093f4e3a63fd195cf53ade63a9932301 [Pipeline] echo 23:34:13 -----------> git rev-list -1 --merges c597fb52093f4e3a63fd195cf53ade63a9932301~1..c597fb52093f4e3a63fd195cf53ade63a9932301 c597fb52093f4e3a63fd195cf53ade63a9932301 [false] [Pipeline] sh 23:34:14 + git log --format=format:%s -1 c597fb52093f4e3a63fd195cf53ade63a9932301 [Pipeline] echo 23:34:14 ========================================================= 23:34:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:34:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:34:14 + git log --format=format:%s -1 c597fb52093f4e3a63fd195cf53ade63a9932301 [Pipeline] echo 23:34:14 [semverPrep] GIT_COMMIT: c597fb52093f4e3a63fd195cf53ade63a9932301, Commit Message: feat!: Handle receiving multiple readings in the async payload [Pipeline] echo 23:34:14 [semverPrep] This is not a build commit. [Pipeline] sh 23:34:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:34:14 + grep -v github /etc/ssh/ssh_known_hosts 23:34:14 + [ -e /tmp/ssh_known_hosts ] 23:34:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:34:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:34:14 + sudo tee -a /etc/ssh/ssh_known_hosts 23:34:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:15 23:34:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:15 0.1.4: Pulling from edgex-devops/py-git-semver 23:34:15 b85a868b505f: Pulling fs layer 23:34:15 e2be974225ed: Pulling fs layer 23:34:15 339a4e72a1f5: Pulling fs layer 23:34:15 988bab9f4d93: Pulling fs layer 23:34:15 1469e6f7b9e6: Pulling fs layer 23:34:15 eaf3925da568: Pulling fs layer 23:34:15 bab4dde63d76: Pulling fs layer 23:34:15 bde34c3a00c8: Pulling fs layer 23:34:15 b352a97aabf1: Pulling fs layer 23:34:15 4872d77fe225: Pulling fs layer 23:34:15 5851b861e8e6: Pulling fs layer 23:34:15 988bab9f4d93: Waiting 23:34:15 1469e6f7b9e6: Waiting 23:34:15 bab4dde63d76: Waiting 23:34:15 bde34c3a00c8: Waiting 23:34:15 eaf3925da568: Waiting 23:34:15 e2be974225ed: Verifying Checksum 23:34:15 e2be974225ed: Download complete 23:34:15 988bab9f4d93: Download complete 23:34:15 1469e6f7b9e6: Verifying Checksum 23:34:15 1469e6f7b9e6: Download complete 23:34:15 eaf3925da568: Verifying Checksum 23:34:15 eaf3925da568: Download complete 23:34:15 339a4e72a1f5: Verifying Checksum 23:34:15 339a4e72a1f5: Download complete 23:34:15 bde34c3a00c8: Verifying Checksum 23:34:15 bde34c3a00c8: Download complete 23:34:15 b352a97aabf1: Verifying Checksum 23:34:15 b352a97aabf1: Download complete 23:34:15 4872d77fe225: Download complete 23:34:15 5851b861e8e6: Download complete 23:34:15 b85a868b505f: Download complete 23:34:16 bab4dde63d76: Verifying Checksum 23:34:16 bab4dde63d76: Download complete 23:34:17 b85a868b505f: Pull complete 23:34:17 e2be974225ed: Pull complete 23:34:17 339a4e72a1f5: Pull complete 23:34:17 988bab9f4d93: Pull complete 23:34:18 1469e6f7b9e6: Pull complete 23:34:18 eaf3925da568: Pull complete 23:34:20 bab4dde63d76: Pull complete 23:34:20 bde34c3a00c8: Pull complete 23:34:20 b352a97aabf1: Pull complete 23:34:20 4872d77fe225: Pull complete 23:34:20 5851b861e8e6: Pull complete 23:34:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:20 prd-ubuntu20.04-docker-8c-8g-12258 does not seem to be running inside a container 23:34:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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-devops/py-git-semver:0.1.4 cat 23:34:23 $ docker top 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d -eo pid,comm 23:34:23 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). 23:34:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:23 [ssh-agent] Looking for ssh-agent implementation... 23:34:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:23 $ docker exec 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d ssh-agent 23:34:23 SSH_AUTH_SOCK=/tmp/ssh-qtRzNzIq5H9k/agent.33 23:34:23 SSH_AGENT_PID=39 23:34:23 Running ssh-add (command line suppressed) 23:34:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_1591376404848775524.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_1591376404848775524.key) 23:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:24 + git tag --points-at HEAD [Pipeline] } 23:34:24 $ docker exec --env ******** --env ******** 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d ssh-agent -k 23:34:24 unset SSH_AUTH_SOCK; 23:34:24 unset SSH_AGENT_PID; 23:34:24 echo Agent pid 39 killed; 23:34:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:34:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:24 [ssh-agent] Looking for ssh-agent implementation... 23:34:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:24 $ docker exec 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d ssh-agent 23:34:24 SSH_AUTH_SOCK=/tmp/ssh-orPMBT8aW0my/agent.71 23:34:24 SSH_AGENT_PID=77 23:34:24 Running ssh-add (command line suppressed) 23:34:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4759384508102370438.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4759384508102370438.key) 23:34:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:24 + git semver init 23:34:25 2023-05-01 23:34:24,974 [run_init] DEBUG init version:0.0.0 force:False 23:34:25 2023-05-01 23:34:24,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 23:34:25 2023-05-01 23:34:24,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 23:34:25 2023-05-01 23:34:24,976 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586, universal_newlines=False, shell=None, istream=None) 23:34:25 2023-05-01 23:34:25,774 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.git/info/exclude 23:34:25 2023-05-01 23:34:25,775 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 with force:False 23:34:25 2023-05-01 23:34:25,775 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 23:34:25 2023-05-01 23:34:25,779 [execute] INFO git cat-file --batch-check 23:34:25 2023-05-01 23:34:25,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 23:34:25 2023-05-01 23:34:25,785 [execute] INFO git cat-file --batch 23:34:25 2023-05-01 23:34:25,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 23:34:25 2023-05-01 23:34:25,790 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 23:34:25 0.0.0 [Pipeline] } 23:34:26 $ docker exec --env ******** --env ******** 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d ssh-agent -k 23:34:26 unset SSH_AUTH_SOCK; 23:34:26 unset SSH_AGENT_PID; 23:34:26 echo Agent pid 77 killed; 23:34:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:26 + git semver [Pipeline] } 23:34:26 $ docker stop --time=1 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d 23:34:27 $ docker rm -f --volumes 5bc26e12628d29945b5c9aea8ab9f9c943f129f76d3dfea5a54a7bbecc97547d [Pipeline] // withDockerContainer [Pipeline] sh 23:34:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:34:28 Stashed 1 file(s) [Pipeline] echo 23:34:28 [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 23:34:28 provisioning config files... 23:34:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config16161830071697852615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:28 ---> docker-login.sh 23:34:28 nexus3.edgexfoundry.org:10001 23:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:28 Configure a credential helper to remove this warning. See 23:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:28 23:34:28 Login Succeeded 23:34:28 nexus3.edgexfoundry.org:10002 23:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:28 Configure a credential helper to remove this warning. See 23:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:28 23:34:28 Login Succeeded 23:34:28 nexus3.edgexfoundry.org:10003 23:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:29 Configure a credential helper to remove this warning. See 23:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:29 23:34:29 Login Succeeded 23:34:29 nexus3.edgexfoundry.org:10004 23:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:29 Configure a credential helper to remove this warning. See 23:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:29 23:34:29 Login Succeeded 23:34:29 docker.io 23:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:29 Configure a credential helper to remove this warning. See 23:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:29 23:34:29 Login Succeeded 23:34:29 ---> docker-login.sh ends [Pipeline] } 23:34:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:34:29 ========================================================= 23:34:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:34:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:30 + 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 . 23:34:30 Sending build context to Docker daemon 6.52MB 23:34:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:34:30 Step 2/12 : FROM ${BASE} AS builder 23:34:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:34:30 f56be85fc22e: Pulling fs layer 23:34:30 85791d961cd3: Pulling fs layer 23:34:30 d694b5ae8c79: Pulling fs layer 23:34:30 9f32a84ed3da: Pulling fs layer 23:34:30 4d19c01a9841: Pulling fs layer 23:34:30 9f32a84ed3da: Waiting 23:34:30 9325e15d5711: Pulling fs layer 23:34:30 556b6ee489ea: Pulling fs layer 23:34:30 4d19c01a9841: Waiting 23:34:30 9325e15d5711: Waiting 23:34:30 556b6ee489ea: Waiting 23:34:30 c5a4b2cf53e6: Pulling fs layer 23:34:30 c5a4b2cf53e6: Waiting 23:34:30 85791d961cd3: Verifying Checksum 23:34:30 85791d961cd3: Download complete 23:34:30 9f32a84ed3da: Verifying Checksum 23:34:30 9f32a84ed3da: Download complete 23:34:30 4d19c01a9841: Verifying Checksum 23:34:30 4d19c01a9841: Download complete 23:34:30 f56be85fc22e: Verifying Checksum 23:34:30 f56be85fc22e: Download complete 23:34:30 9325e15d5711: Verifying Checksum 23:34:30 9325e15d5711: Download complete 23:34:30 f56be85fc22e: Pull complete 23:34:30 85791d961cd3: Pull complete 23:34:30 d694b5ae8c79: Verifying Checksum 23:34:30 d694b5ae8c79: Download complete 23:34:30 c5a4b2cf53e6: Verifying Checksum 23:34:30 c5a4b2cf53e6: Download complete 23:34:31 556b6ee489ea: Verifying Checksum 23:34:31 556b6ee489ea: Download complete 23:34:34 d694b5ae8c79: Pull complete 23:34:34 9f32a84ed3da: Pull complete 23:34:34 4d19c01a9841: Pull complete 23:34:34 9325e15d5711: Pull complete 23:34:36 556b6ee489ea: Pull complete 23:34:37 c5a4b2cf53e6: Pull complete 23:34:37 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:34:37 ---> c4be618373d6 23:34:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:34:42 ---> Running in 9651d2bec77a 23:34:42 Removing intermediate container 9651d2bec77a 23:34:42 ---> cc42a48b944b 23:34:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:34:42 ---> Running in d2a1a5ae9e2a 23:34:42 Removing intermediate container d2a1a5ae9e2a 23:34:42 ---> 5a30f612a070 23:34:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:34:42 ---> Running in 5bff507ad383 23:34:42 Removing intermediate container 5bff507ad383 23:34:42 ---> d07527b55d59 23:34:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:34:42 ---> Running in a43d2e162361 23:34:42 Removing intermediate container a43d2e162361 23:34:42 ---> c879b1a71ba0 23:34:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:42 ---> Running in a9b8837263f6 23:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:34:42 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:34:42 (2/4) Installing libedit (20221030.3.1-r0) 23:34:42 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:34:42 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:34:42 Executing busybox-1.35.0-r29.trigger 23:34:42 OK: 269 MiB in 57 packages 23:34:43 Removing intermediate container a9b8837263f6 23:34:43 ---> 9b7380525497 23:34:43 Step 8/12 : WORKDIR /device-mqtt-go 23:34:43 ---> Running in d0e4bd2a50d2 23:34:43 Removing intermediate container d0e4bd2a50d2 23:34:43 ---> 1852342af660 23:34:43 Step 9/12 : COPY go.mod vendor* ./ 23:34:43 ---> cbdfa5e88c24 23:34:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:34:43 ---> Running in 427c7aef712e 23:34:43 Still waiting to schedule task 23:34:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:35:39 Removing intermediate container 427c7aef712e 23:35:39 ---> d920ae235467 23:35:39 Step 11/12 : COPY . . 23:35:39 ---> 3fbb6f124949 23:35:39 Step 12/12 : RUN $MAKE 23:35:39 ---> Running in 71adb482a31e 23:35:39 noop 23:35:40 Removing intermediate container 71adb482a31e 23:35:40 ---> e0b7c2e92e11 23:35:40 Successfully built e0b7c2e92e11 23:35:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:40 + docker inspect -f . ci-base-image-x86_64 23:35:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:40 prd-ubuntu20.04-docker-8c-8g-12258 does not seem to be running inside a container 23:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** ci-base-image-x86_64 cat 23:35:40 $ docker top 445b5d4f14e62d8f7e305e72f5ad751167929690ea130b2f16da9836aaf3a408 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:41 + go version 23:35:41 go version go1.20.2 linux/amd64 [Pipeline] } 23:35:41 $ docker stop --time=1 445b5d4f14e62d8f7e305e72f5ad751167929690ea130b2f16da9836aaf3a408 23:35:42 $ docker rm -f --volumes 445b5d4f14e62d8f7e305e72f5ad751167929690ea130b2f16da9836aaf3a408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:42 + docker inspect -f . ci-base-image-x86_64 23:35:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:42 prd-ubuntu20.04-docker-8c-8g-12258 does not seem to be running inside a container 23:35:42 $ 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-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** ci-base-image-x86_64 cat 23:35:43 $ docker top 4e8a50c4977a4f64a7e599221971758e2436d709c039abf985e0e913014808d7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] fileExists [Pipeline] sh 23:35:43 + make test 23:35:43 go test ./... -coverprofile=coverage.out ./... 23:35:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:35:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:35:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:35:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 23.1% of statements 23:36:07 go vet ./... 23:36:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:09 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:36:10 $ docker stop --time=1 4e8a50c4977a4f64a7e599221971758e2436d709c039abf985e0e913014808d7 23:36:13 $ docker rm -f --volumes 4e8a50c4977a4f64a7e599221971758e2436d709c039abf985e0e913014808d7 [Pipeline] // withDockerContainer [Pipeline] sh 23:36:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:36:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:14 + ls -al . 23:36:14 total 180 23:36:14 drwxrwxr-x 10 jenkins jenkins 4096 May 1 23:35 . 23:36:14 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:34 .. 23:36:14 -rw-rw-r-- 1 jenkins jenkins 140 May 1 23:34 .dockerignore 23:36:14 drwxrwxr-x 8 jenkins jenkins 4096 May 1 23:34 .git 23:36:14 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:34 .github 23:36:14 -rw-rw-r-- 1 jenkins jenkins 329 May 1 23:34 .gitignore 23:36:14 -rw-rw-r-- 1 jenkins jenkins 41 May 1 23:34 .golangci.yml 23:36:14 drwxr-xr-x 3 jenkins jenkins 4096 May 1 23:34 .semver 23:36:14 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 23:34 Attribution.txt 23:36:14 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 23:34 CHANGELOG.md 23:36:14 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 23:34 Dockerfile 23:36:14 -rw-rw-r-- 1 jenkins jenkins 677 May 1 23:34 GOVERNANCE.md 23:36:14 -rw-rw-r-- 1 jenkins jenkins 678 May 1 23:34 Jenkinsfile 23:36:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 23:34 LICENSE 23:36:14 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 23:34 Makefile 23:36:14 -rw-rw-r-- 1 jenkins jenkins 620 May 1 23:34 OWNERS.md 23:36:14 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 23:34 README.md 23:36:14 -rw-rw-r-- 1 jenkins jenkins 5 May 1 23:34 VERSION 23:36:14 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:34 bin 23:36:14 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:34 cmd 23:36:14 -rw-r--r-- 1 jenkins jenkins 18144 May 1 23:35 coverage.out 23:36:14 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 23:34 go.mod 23:36:14 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 23:34 go.sum 23:36:14 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:34 internal 23:36:14 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:34 mock 23:36:14 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:34 snap 23:36:14 -rw-rw-r-- 1 jenkins jenkins 227 May 1 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:14 + 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=c597fb52093f4e3a63fd195cf53ade63a9932301 --label arch=amd64 --label version=0.0.0 . 23:36:14 Sending build context to Docker daemon 6.539MB 23:36:14 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:36:14 Step 2/24 : FROM ${BASE} AS builder 23:36:14 ---> e0b7c2e92e11 23:36:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:36:15 ---> Running in f836bb33a061 23:36:15 Removing intermediate container f836bb33a061 23:36:15 ---> 199a0c205f17 23:36:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:36:15 ---> Running in b18d9df69f1c 23:36:15 Removing intermediate container b18d9df69f1c 23:36:15 ---> 109001d895d7 23:36:15 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:36:15 ---> Running in e490b8ac5c47 23:36:15 Removing intermediate container e490b8ac5c47 23:36:15 ---> 84171200e5ac 23:36:15 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:36:15 ---> Running in 905d52cfed1f 23:36:15 Removing intermediate container 905d52cfed1f 23:36:15 ---> d2956b16a664 23:36:15 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:36:15 ---> Running in 4d08167f76f2 23:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:36:16 OK: 269 MiB in 57 packages 23:36:16 Removing intermediate container 4d08167f76f2 23:36:16 ---> 56c7c6ca8aea 23:36:16 Step 8/24 : WORKDIR /device-mqtt-go 23:36:16 ---> Running in 573ecd01f05b 23:36:16 Removing intermediate container 573ecd01f05b 23:36:16 ---> eed474a1e4e9 23:36:16 Step 9/24 : COPY go.mod vendor* ./ 23:36:16 ---> 25f5313ce644 23:36:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:16 ---> Running in 0c0e9fabefe8 23:36:17 Removing intermediate container 0c0e9fabefe8 23:36:17 ---> 2783594969c2 23:36:17 Step 11/24 : COPY . . 23:36:17 ---> 56c744f514ea 23:36:17 Step 12/24 : RUN $MAKE 23:36:17 ---> Running in 50587e0cb137 23:36:18 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 23:36:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12259 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] { [Pipeline] ws 23:36:25 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 23:36:25 Selected Git installation does not exist. Using Default 23:36:25 The recommended git tool is: NONE 23:36:30 using credential edgex-jenkins-ssh 23:36:30 Cloning the remote Git repository 23:36:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:36:30 > git init /w/workspace/device-mqtt-go/3 # timeout=10 23:36:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:36:30 > git --version # timeout=10 23:36:30 > git --version # 'git version 2.25.1' 23:36:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:36:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:36 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit c597fb52093f4e3a63fd195cf53ade63a9932301 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:36:36 Failed in branch arm64 23:36:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:36:36 > git config core.sparsecheckout # timeout=10 23:36:36 > git checkout -f c597fb52093f4e3a63fd195cf53ade63a9932301 # timeout=10 23:36:40 Removing intermediate container 50587e0cb137 23:36:40 ---> 3dd3119e6f18 23:36:40 Step 13/24 : FROM alpine:3.17 23:36:40 3.17: Pulling from library/alpine 23:36:40 f56be85fc22e: Already exists 23:36:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:36:40 Status: Downloaded newer image for alpine:3.17 23:36:40 ---> 9ed4aefc74f6 23:36:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:36:40 ---> Running in 930556135f6c 23:36:40 Removing intermediate container 930556135f6c 23:36:40 ---> c1eb7747a052 23:36:40 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:36:40 ---> Running in d39fbfc24b6e 23:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:36:40 (1/1) Installing dumb-init (1.2.5-r2) 23:36:40 Executing busybox-1.35.0-r29.trigger 23:36:40 OK: 7 MiB in 16 packages 23:36:40 Removing intermediate container d39fbfc24b6e 23:36:40 ---> dd973e2665f7 23:36:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:36:40 ---> 6b6d762baa6a 23:36:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:36:40 ---> 3b3925e3c13f 23:36:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:36:40 ---> f39fbc233af3 23:36:40 Step 19/24 : EXPOSE 59982 23:36:40 ---> Running in f87eabc026ae 23:36:40 Removing intermediate container f87eabc026ae 23:36:40 ---> 1a1aba68815d 23:36:40 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:36:40 ---> Running in 38e3d00f5bec 23:36:40 Removing intermediate container 38e3d00f5bec 23:36:40 ---> a920ef5aca31 23:36:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:36:40 ---> Running in 547ec56d3caa 23:36:40 Removing intermediate container 547ec56d3caa 23:36:40 ---> 32d445f1f961 23:36:40 Step 22/24 : LABEL arch=amd64 23:36:40 ---> Running in a04f3163a709 23:36:40 Removing intermediate container a04f3163a709 23:36:40 ---> 0c8aecc5fb1f 23:36:40 Step 23/24 : LABEL git_sha=c597fb52093f4e3a63fd195cf53ade63a9932301 23:36:40 ---> Running in e26bbcdcdef9 23:36:40 Removing intermediate container e26bbcdcdef9 23:36:40 ---> 12b49bd10149 23:36:40 Step 24/24 : LABEL version=0.0.0 23:36:40 ---> Running in f4aca4be32a1 23:36:41 Removing intermediate container f4aca4be32a1 23:36:41 ---> 73fb3219fbd3 23:36:41 [Warning] One or more build-args [ARCH] were not consumed 23:36:41 Successfully built 73fb3219fbd3 23:36:41 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 23:36:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:41 23:36:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:41 latest: Pulling from edgex-lftools-log-publisher 23:36:41 5eb5b503b376: Pulling fs layer 23:36:41 5c69ac0246d0: Pulling fs layer 23:36:41 ec43610c2a17: Pulling fs layer 23:36:41 3a2ae6a8a46f: Pulling fs layer 23:36:41 33b1e0a273af: Pulling fs layer 23:36:41 5d3b04190fa2: Pulling fs layer 23:36:41 2f39f015ded8: Pulling fs layer 23:36:41 3a2ae6a8a46f: Waiting 23:36:41 33b1e0a273af: Waiting 23:36:41 5d3b04190fa2: Waiting 23:36:41 2f39f015ded8: Waiting 23:36:41 5c69ac0246d0: Verifying Checksum 23:36:41 5c69ac0246d0: Download complete 23:36:41 3a2ae6a8a46f: Verifying Checksum 23:36:41 3a2ae6a8a46f: Download complete 23:36:41 33b1e0a273af: Verifying Checksum 23:36:41 33b1e0a273af: Download complete 23:36:41 5d3b04190fa2: Verifying Checksum 23:36:41 5d3b04190fa2: Download complete 23:36:41 ec43610c2a17: Download complete 23:36:42 5eb5b503b376: Verifying Checksum 23:36:42 5eb5b503b376: Download complete 23:36:42 2f39f015ded8: Download complete 23:36:43 5eb5b503b376: Pull complete 23:36:43 5c69ac0246d0: Pull complete 23:36:43 ec43610c2a17: Pull complete 23:36:44 3a2ae6a8a46f: Pull complete 23:36:44 33b1e0a273af: Pull complete 23:36:44 5d3b04190fa2: Pull complete 23:36:49 2f39f015ded8: Pull complete 23:36:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:36:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:49 prd-ubuntu20.04-docker-8c-8g-12258 does not seem to be running inside a container 23:36:49 $ 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-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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-lftools-log-publisher:latest cat 23:36:52 $ docker top ab7c519b13f15efb91ee1b78d18f940a3cef9288b4cf7bd6cf4c1d63c0d7c039 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:52 ---> job-cost.sh 23:36:52 lf-activate-venv: SKIPPING 23:36:52 INFO: No Stack... 23:36:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:36:53 INFO: Archiving Costs [Pipeline] sh 23:36:53 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/cost.csv 23:36:53 + cut -d, -f6 [Pipeline] lock 23:36:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-3-stack-cost] 23:36:53 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-3-stack-cost] did not exist. Created. 23:36:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:36:54 + echo total: 0.2199999988079071 [Pipeline] stash 23:36:54 Stashed 1 file(s) [Pipeline] } 23:36:54 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:36:54 $ docker stop --time=1 ab7c519b13f15efb91ee1b78d18f940a3cef9288b4cf7bd6cf4c1d63c0d7c039 23:36:55 $ docker rm -f --volumes ab7c519b13f15efb91ee1b78d18f940a3cef9288b4cf7bd6cf4c1d63c0d7c039 [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 23:36:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives ] 23:36:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 23:36:56 total 16 23:36:56 drwxr-xr-x 3 root root 4096 May 1 23:36 . 23:36:56 drwxrwxr-x 11 jenkins jenkins 4096 May 1 23:36 .. 23:36:56 drwxr-xr-x 2 root root 4096 May 1 23:36 cost 23:36:56 -rw-r--r-- 1 root root 86 May 1 23:36 cost.csv 23:36:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 23:36:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 23:36:56 total 16 23:36:56 drwxr-xr-x 3 jenkins jenkins 4096 May 1 23:36 . 23:36:56 drwxrwxr-x 11 jenkins jenkins 4096 May 1 23:36 .. 23:36:56 drwxr-xr-x 2 jenkins jenkins 4096 May 1 23:36 cost 23:36:56 -rw-r--r-- 1 jenkins jenkins 86 May 1 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:36:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:36:57 ---> package-listing.sh 23:36:57 ++ facter osfamily 23:36:57 ++ tr '[:upper:]' '[:lower:]' 23:36:57 + OS_FAMILY=debian 23:36:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-586 23:36:57 + START_PACKAGES=/tmp/packages_start.txt 23:36:57 + END_PACKAGES=/tmp/packages_end.txt 23:36:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:36:57 + PACKAGES=/tmp/packages_start.txt 23:36:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 23:36:57 + PACKAGES=/tmp/packages_end.txt 23:36:57 + case "${OS_FAMILY}" in 23:36:57 + dpkg -l 23:36:57 + grep '^ii' 23:36:57 + '[' -f /tmp/packages_start.txt ']' 23:36:57 + '[' -f /tmp/packages_end.txt ']' 23:36:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:36:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 23:36:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ 23:36:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ [Pipeline] echo 23:36:57 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-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:36:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:58 prd-ubuntu20.04-docker-8c-8g-12258 does not seem to be running inside a container 23:36:58 $ 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-586/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-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:36:58 $ docker top 6eed650fbe41d0e6bbeed420399782fd2592a5abc78dca2a24414604c25232b8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:36:59 + touch /tmp/pre-build-complete [Pipeline] sh 23:36:59 + mkdir -p /var/log/sysstat [Pipeline] sh 23:36:59 + ls /var/log/sa-host 23:36:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:59 provisioning config files... 23:36:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config5757190875796126321tmp [Pipeline] { [Pipeline] echo 23:36:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:37:00 ---> create-netrc.sh [Pipeline] } 23:37:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:37:00 ---> python-tools-install.sh [Pipeline] echo 23:37:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:37:00 ---> sudo-logs.sh 23:37:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:37:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:37:01 ---> job-cost.sh 23:37:01 lf-activate-venv: SKIPPING 23:37:01 DEBUG: total: 0.2199999988079071 23:37:01 INFO: Retrieving Stack Cost... 23:37:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:37:01 INFO: Archiving Costs [Pipeline] echo 23:37:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:37:01 ---> logs-deploy.sh 23:37:01 lf-activate-venv: SKIPPING 23:37:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-586/3 23:37:01 INFO: archiving workspace using pattern(s): 23:37:02 Archives upload complete. 23:37:03 INFO: archiving logs to Nexus