Pull request #611 opened 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 jumpingliu for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 019c60404bb83e30963e3ac75b0107041a510748 rather than 72eb72345f55b5e22716de37693d23a8ba04bb9a Obtained Jenkinsfile from 019c60404bb83e30963e3ac75b0107041a510748 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-ssh4947307754676236097.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13869348144051413748.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-611/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-611/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2068657527649131980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-611/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14307526361201830832.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh507724287499626015.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-611/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-611/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7075221335777410490.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-17016 in /w/workspace/gexfoundry_device-mqtt-go_PR-611 [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-611 # 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/611/head:refs/remotes/origin/PR-611 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit 72eb72345f55b5e22716de37693d23a8ba04bb9a Merge succeeded, producing 72eb72345f55b5e22716de37693d23a8ba04bb9a Checking out Revision 72eb72345f55b5e22716de37693d23a8ba04bb9a (PR-611) > git config core.sparsecheckout # timeout=10 > git checkout -f 72eb72345f55b5e22716de37693d23a8ba04bb9a # 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 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72eb72345f55b5e22716de37693d23a8ba04bb9a # timeout=10 Commit message: "Replace slack chat with github discussion" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:37:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:37:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:37:33 ========================================================= 07:37:33 EdgeX Global Pipelines Version Info 07:37:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:37:33 ------------------- 07:37:33 stable info: 07:37:33 ------------------- 07:37:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:37:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:37:33 Message: update stable to v1.0.249 07:37:34 ------------------- 07:37:34 experimental info: 07:37:34 ------------------- 07:37:34 Commited By: **** collab-it+edgex@linuxfoundation.org 07:37:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:37:34 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:37:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-611 [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-611 [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-611 [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72eb72345f55b5e22716de37693d23a8ba04bb9a [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72eb723 [Pipeline] echo 07:37:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:36 provisioning config files... 07:37:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config13270690751723622950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:36 ---> docker-login.sh 07:37:36 nexus3.edgexfoundry.org:10001 07:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:36 Configure a credential helper to remove this warning. See 07:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:36 07:37:36 Login Succeeded 07:37:36 nexus3.edgexfoundry.org:10002 07:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:36 Configure a credential helper to remove this warning. See 07:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:36 07:37:36 Login Succeeded 07:37:36 nexus3.edgexfoundry.org:10003 07:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:36 Configure a credential helper to remove this warning. See 07:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:36 07:37:36 Login Succeeded 07:37:36 nexus3.edgexfoundry.org:10004 07:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:37 Configure a credential helper to remove this warning. See 07:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:37 07:37:37 Login Succeeded 07:37:37 docker.io 07:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:37 Configure a credential helper to remove this warning. See 07:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:37 07:37:37 Login Succeeded 07:37:37 ---> docker-login.sh ends [Pipeline] } 07:37:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:37:38 + git rev-list -1 --merges 72eb72345f55b5e22716de37693d23a8ba04bb9a~1..72eb72345f55b5e22716de37693d23a8ba04bb9a [Pipeline] echo 07:37:38 -----------> git rev-list -1 --merges 72eb72345f55b5e22716de37693d23a8ba04bb9a~1..72eb72345f55b5e22716de37693d23a8ba04bb9a 72eb72345f55b5e22716de37693d23a8ba04bb9a [false] [Pipeline] sh 07:37:38 + git log --format=format:%s -1 72eb72345f55b5e22716de37693d23a8ba04bb9a [Pipeline] echo 07:37:38 ========================================================= 07:37:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:37:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:39 + git log --format=format:%s -1 72eb72345f55b5e22716de37693d23a8ba04bb9a [Pipeline] echo 07:37:39 [semverPrep] GIT_COMMIT: 72eb72345f55b5e22716de37693d23a8ba04bb9a, Commit Message: Replace slack chat with github discussion [Pipeline] echo 07:37:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:37:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:37:39 + grep -v github /etc/ssh/ssh_known_hosts 07:37:39 + [ -e /tmp/ssh_known_hosts ] 07:37:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:37:39 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:37:39 sudo tee -a /etc/ssh/ssh_known_hosts 07:37:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:40 07:37:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:40 0.1.4: Pulling from edgex-devops/py-git-semver 07:37:40 b85a868b505f: Pulling fs layer 07:37:40 e2be974225ed: Pulling fs layer 07:37:40 339a4e72a1f5: Pulling fs layer 07:37:40 988bab9f4d93: Pulling fs layer 07:37:40 1469e6f7b9e6: Pulling fs layer 07:37:40 eaf3925da568: Pulling fs layer 07:37:40 bab4dde63d76: Pulling fs layer 07:37:40 bde34c3a00c8: Pulling fs layer 07:37:40 b352a97aabf1: Pulling fs layer 07:37:40 4872d77fe225: Pulling fs layer 07:37:40 5851b861e8e6: Pulling fs layer 07:37:40 bab4dde63d76: Waiting 07:37:40 bde34c3a00c8: Waiting 07:37:40 b352a97aabf1: Waiting 07:37:40 4872d77fe225: Waiting 07:37:40 5851b861e8e6: Waiting 07:37:40 988bab9f4d93: Waiting 07:37:40 1469e6f7b9e6: Waiting 07:37:40 eaf3925da568: Waiting 07:37:40 e2be974225ed: Download complete 07:37:40 988bab9f4d93: Verifying Checksum 07:37:40 988bab9f4d93: Download complete 07:37:40 1469e6f7b9e6: Verifying Checksum 07:37:40 1469e6f7b9e6: Download complete 07:37:40 eaf3925da568: Verifying Checksum 07:37:40 eaf3925da568: Download complete 07:37:40 339a4e72a1f5: Verifying Checksum 07:37:40 339a4e72a1f5: Download complete 07:37:40 bde34c3a00c8: Verifying Checksum 07:37:40 bde34c3a00c8: Download complete 07:37:40 b352a97aabf1: Verifying Checksum 07:37:40 b352a97aabf1: Download complete 07:37:40 4872d77fe225: Verifying Checksum 07:37:40 4872d77fe225: Download complete 07:37:40 5851b861e8e6: Download complete 07:37:40 b85a868b505f: Verifying Checksum 07:37:40 b85a868b505f: Download complete 07:37:40 bab4dde63d76: Verifying Checksum 07:37:40 bab4dde63d76: Download complete 07:37:41 b85a868b505f: Pull complete 07:37:42 e2be974225ed: Pull complete 07:37:42 339a4e72a1f5: Pull complete 07:37:42 988bab9f4d93: Pull complete 07:37:42 1469e6f7b9e6: Pull complete 07:37:42 eaf3925da568: Pull complete 07:37:44 bab4dde63d76: Pull complete 07:37:44 bde34c3a00c8: Pull complete 07:37:44 b352a97aabf1: Pull complete 07:37:44 4872d77fe225: Pull complete 07:37:45 5851b861e8e6: Pull complete 07:37:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:45 prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container 07:37:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@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 07:37:46 $ docker top e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 -eo pid,comm 07:37:46 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). 07:37:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:37:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:46 [ssh-agent] Looking for ssh-agent implementation... 07:37:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:46 $ docker exec e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 ssh-agent 07:37:46 SSH_AUTH_SOCK=/tmp/ssh-Zd3qddViHRi6/agent.31 07:37:46 SSH_AGENT_PID=37 07:37:46 Running ssh-add (command line suppressed) 07:37:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_6760939760901351026.key (/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_6760939760901351026.key) 07:37:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:47 + git tag --points-at HEAD [Pipeline] } 07:37:47 $ docker exec --env ******** --env ******** e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 ssh-agent -k 07:37:47 unset SSH_AUTH_SOCK; 07:37:47 unset SSH_AGENT_PID; 07:37:47 echo Agent pid 37 killed; 07:37:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:37:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:47 [ssh-agent] Looking for ssh-agent implementation... 07:37:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:47 $ docker exec e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 ssh-agent 07:37:47 SSH_AUTH_SOCK=/tmp/ssh-WaM9q8G8N5ux/agent.70 07:37:47 SSH_AGENT_PID=76 07:37:47 Running ssh-add (command line suppressed) 07:37:47 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_8972955601958985276.key (/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_8972955601958985276.key) 07:37:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:48 + git semver init 07:37:48 2023-05-26 07:37:48,462 [run_init] DEBUG init version:0.0.0 force:False 07:37:48 2023-05-26 07:37:48,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver 07:37:48 2023-05-26 07:37:48,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver 07:37:48 2023-05-26 07:37:48,464 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-611, universal_newlines=False, shell=None, istream=None) 07:37:49 2023-05-26 07:37:49,191 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.git/info/exclude 07:37:49 2023-05-26 07:37:49,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver/PR-611 with force:False 07:37:49 2023-05-26 07:37:49,192 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver/PR-611 07:37:49 2023-05-26 07:37:49,197 [execute] INFO git cat-file --batch-check 07:37:49 2023-05-26 07:37:49,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver, universal_newlines=False, shell=None, istream=) 07:37:49 2023-05-26 07:37:49,204 [execute] INFO git cat-file --batch 07:37:49 2023-05-26 07:37:49,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver, universal_newlines=False, shell=None, istream=) 07:37:49 2023-05-26 07:37:49,209 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver/PR-611 07:37:49 0.0.0 [Pipeline] } 07:37:49 $ docker exec --env ******** --env ******** e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 ssh-agent -k 07:37:49 unset SSH_AUTH_SOCK; 07:37:49 unset SSH_AGENT_PID; 07:37:49 echo Agent pid 76 killed; 07:37:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:37:50 + git semver [Pipeline] } 07:37:50 $ docker stop --time=1 e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 07:37:51 $ docker rm -f --volumes e2270debbbb17516cd30907718eb7416f7c42580f55b4861483c94651e3b6e84 [Pipeline] // withDockerContainer [Pipeline] sh 07:37:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:37:52 Stashed 1 file(s) [Pipeline] echo 07:37:52 [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 07:37:52 provisioning config files... 07:37:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config10213157937907047807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:53 ---> docker-login.sh 07:37:53 nexus3.edgexfoundry.org:10001 07:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:53 Configure a credential helper to remove this warning. See 07:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:53 07:37:53 Login Succeeded 07:37:53 nexus3.edgexfoundry.org:10002 07:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:53 Configure a credential helper to remove this warning. See 07:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:53 07:37:53 Login Succeeded 07:37:53 nexus3.edgexfoundry.org:10003 07:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:53 Configure a credential helper to remove this warning. See 07:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:53 07:37:53 Login Succeeded 07:37:53 nexus3.edgexfoundry.org:10004 07:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:53 Configure a credential helper to remove this warning. See 07:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:53 07:37:53 Login Succeeded 07:37:53 docker.io 07:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:53 Configure a credential helper to remove this warning. See 07:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:53 07:37:53 Login Succeeded 07:37:53 ---> docker-login.sh ends [Pipeline] } 07:37:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:54 ========================================================= 07:37:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:37:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:54 + 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 . 07:37:54 Sending build context to Docker daemon 6.619MB 07:37:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:37:54 Step 2/12 : FROM ${BASE} AS builder 07:37:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:37:54 f56be85fc22e: Pulling fs layer 07:37:54 85791d961cd3: Pulling fs layer 07:37:54 d694b5ae8c79: Pulling fs layer 07:37:54 9f32a84ed3da: Pulling fs layer 07:37:54 4d19c01a9841: Pulling fs layer 07:37:54 9325e15d5711: Pulling fs layer 07:37:54 556b6ee489ea: Pulling fs layer 07:37:54 c5a4b2cf53e6: Pulling fs layer 07:37:54 9f32a84ed3da: Waiting 07:37:54 4d19c01a9841: Waiting 07:37:54 9325e15d5711: Waiting 07:37:54 556b6ee489ea: Waiting 07:37:54 c5a4b2cf53e6: Waiting 07:37:54 85791d961cd3: Verifying Checksum 07:37:54 85791d961cd3: Download complete 07:37:54 9f32a84ed3da: Download complete 07:37:54 4d19c01a9841: Verifying Checksum 07:37:54 4d19c01a9841: Download complete 07:37:54 f56be85fc22e: Verifying Checksum 07:37:54 f56be85fc22e: Download complete 07:37:54 9325e15d5711: Verifying Checksum 07:37:54 9325e15d5711: Download complete 07:37:54 f56be85fc22e: Pull complete 07:37:55 85791d961cd3: Pull complete 07:37:55 d694b5ae8c79: Verifying Checksum 07:37:55 d694b5ae8c79: Download complete 07:37:55 c5a4b2cf53e6: Verifying Checksum 07:37:55 c5a4b2cf53e6: Download complete 07:37:55 556b6ee489ea: Verifying Checksum 07:37:55 556b6ee489ea: Download complete 07:37:58 d694b5ae8c79: Pull complete 07:37:58 9f32a84ed3da: Pull complete 07:37:58 4d19c01a9841: Pull complete 07:37:58 9325e15d5711: Pull complete 07:38:01 556b6ee489ea: Pull complete 07:38:01 c5a4b2cf53e6: Pull complete 07:38:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 07:38:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:38:01 ---> c4be618373d6 07:38:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:38:03 ---> Running in adc422c874ca 07:38:03 Removing intermediate container adc422c874ca 07:38:03 ---> e791282b81ba 07:38:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:03 ---> Running in 131bd3cd4b39 07:38:03 Removing intermediate container 131bd3cd4b39 07:38:03 ---> e6c71b90b9cb 07:38:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:38:03 ---> Running in d38c4f119339 07:38:03 Removing intermediate container d38c4f119339 07:38:03 ---> e833cdd6dd5e 07:38:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:38:03 ---> Running in cebb85072d57 07:38:03 Removing intermediate container cebb85072d57 07:38:03 ---> 24f4d0d1be52 07:38:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:38:03 ---> Running in 1f42fd2bcef7 07:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:38:04 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:38:04 (2/4) Installing libedit (20221030.3.1-r0) 07:38:04 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:38:04 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:38:04 Executing busybox-1.35.0-r29.trigger 07:38:04 OK: 269 MiB in 57 packages 07:38:04 Removing intermediate container 1f42fd2bcef7 07:38:04 ---> c834a33bb534 07:38:04 Step 8/12 : WORKDIR /device-mqtt-go 07:38:04 ---> Running in abd25db46300 07:38:04 Removing intermediate container abd25db46300 07:38:04 ---> ad4e8a809c22 07:38:04 Step 9/12 : COPY go.mod vendor* ./ 07:38:05 ---> 1804f28d313e 07:38:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:05 ---> Running in cae4f53d08e5 07:38:07 Still waiting to schedule task 07:38:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:38:51 Removing intermediate container cae4f53d08e5 07:38:51 ---> bff5bd3906d8 07:38:51 Step 11/12 : COPY . . 07:38:51 ---> ebce618c0b71 07:38:51 Step 12/12 : RUN $MAKE 07:38:51 ---> Running in 0b501f8f9ebc 07:38:51 noop 07:38:51 Removing intermediate container 0b501f8f9ebc 07:38:51 ---> 3c5ef1330b94 07:38:51 Successfully built 3c5ef1330b94 07:38:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:52 + docker inspect -f . ci-base-image-x86_64 07:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:52 prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container 07:38:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@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 07:38:52 $ docker top 034b0ab6d8e5418d74039f70c8d4bd5eb3dd59c9adff6e795df583a106e18255 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:53 + go version 07:38:53 go version go1.20.2 linux/amd64 [Pipeline] } 07:38:53 $ docker stop --time=1 034b0ab6d8e5418d74039f70c8d4bd5eb3dd59c9adff6e795df583a106e18255 07:38:54 $ docker rm -f --volumes 034b0ab6d8e5418d74039f70c8d4bd5eb3dd59c9adff6e795df583a106e18255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:55 + docker inspect -f . ci-base-image-x86_64 07:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:55 prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container 07:38:55 $ 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-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@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 07:38:55 $ docker top 9a0eccddafa6348e5bebab5eac9a0a3a1fce4d72acd1a2f8f21ba17bfffb8b7b -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-611 [Pipeline] fileExists [Pipeline] sh 07:38:56 + make test 07:38:56 go test ./... -coverprofile=coverage.out ./... 07:39:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:39:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:39:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:39:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 22.8% of statements 07:39:18 go vet ./... 07:39:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:39:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:39:21 ./bin/test-attribution-txt.sh [Pipeline] echo 07:39:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:39:21 $ docker stop --time=1 9a0eccddafa6348e5bebab5eac9a0a3a1fce4d72acd1a2f8f21ba17bfffb8b7b 07:39:24 $ docker rm -f --volumes 9a0eccddafa6348e5bebab5eac9a0a3a1fce4d72acd1a2f8f21ba17bfffb8b7b [Pipeline] // withDockerContainer [Pipeline] sh 07:39:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:39:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:39:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:39:25 + ls -al . 07:39:25 total 184 07:39:25 drwxrwxr-x 10 jenkins jenkins 4096 May 26 07:38 . 07:39:25 drwxrwxr-x 4 jenkins jenkins 4096 May 26 07:37 .. 07:39:25 -rw-rw-r-- 1 jenkins jenkins 140 May 26 07:37 .dockerignore 07:39:25 drwxrwxr-x 8 jenkins jenkins 4096 May 26 07:37 .git 07:39:25 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:37 .github 07:39:25 -rw-rw-r-- 1 jenkins jenkins 329 May 26 07:37 .gitignore 07:39:25 -rw-rw-r-- 1 jenkins jenkins 41 May 26 07:37 .golangci.yml 07:39:25 drwxr-xr-x 3 jenkins jenkins 4096 May 26 07:37 .semver 07:39:25 -rw-rw-r-- 1 jenkins jenkins 9417 May 26 07:37 Attribution.txt 07:39:25 -rw-rw-r-- 1 jenkins jenkins 17522 May 26 07:37 CHANGELOG.md 07:39:25 -rw-rw-r-- 1 jenkins jenkins 1689 May 26 07:37 Dockerfile 07:39:25 -rw-rw-r-- 1 jenkins jenkins 677 May 26 07:37 GOVERNANCE.md 07:39:25 -rw-rw-r-- 1 jenkins jenkins 678 May 26 07:37 Jenkinsfile 07:39:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 07:37 LICENSE 07:39:25 -rw-rw-r-- 1 jenkins jenkins 1732 May 26 07:37 Makefile 07:39:25 -rw-rw-r-- 1 jenkins jenkins 620 May 26 07:37 OWNERS.md 07:39:25 -rw-rw-r-- 1 jenkins jenkins 3189 May 26 07:37 README.md 07:39:25 -rw-rw-r-- 1 jenkins jenkins 5 May 26 07:37 VERSION 07:39:25 drwxrwxr-x 2 jenkins jenkins 4096 May 26 07:37 bin 07:39:25 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:37 cmd 07:39:25 -rw-r--r-- 1 jenkins jenkins 18506 May 26 07:39 coverage.out 07:39:25 -rw-rw-r-- 1 jenkins jenkins 3285 May 26 07:37 go.mod 07:39:25 -rw-rw-r-- 1 jenkins jenkins 31232 May 26 07:37 go.sum 07:39:25 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:37 internal 07:39:25 drwxrwxr-x 2 jenkins jenkins 4096 May 26 07:37 mock 07:39:25 drwxrwxr-x 4 jenkins jenkins 4096 May 26 07:37 snap 07:39:25 -rw-rw-r-- 1 jenkins jenkins 227 May 26 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:26 + 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=72eb72345f55b5e22716de37693d23a8ba04bb9a --label arch=amd64 --label version=0.0.0 . 07:39:26 Sending build context to Docker daemon 6.638MB 07:39:26 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:39:26 Step 2/24 : FROM ${BASE} AS builder 07:39:26 ---> 3c5ef1330b94 07:39:26 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:39:26 ---> Running in 56d86eca3366 07:39:26 Removing intermediate container 56d86eca3366 07:39:26 ---> 0db23eaaebe7 07:39:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:26 ---> Running in 8147d44b68e8 07:39:26 Removing intermediate container 8147d44b68e8 07:39:26 ---> 6fb14fb38400 07:39:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:26 ---> Running in ff183263ff8b 07:39:26 Removing intermediate container ff183263ff8b 07:39:26 ---> 39edd9dadbf7 07:39:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:39:26 ---> Running in b9247ce8ab04 07:39:26 Removing intermediate container b9247ce8ab04 07:39:26 ---> 6434fa282200 07:39:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:26 ---> Running in 4edc0ae4e22e 07:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:39:27 OK: 269 MiB in 57 packages 07:39:27 Removing intermediate container 4edc0ae4e22e 07:39:27 ---> 476d5d282f41 07:39:27 Step 8/24 : WORKDIR /device-mqtt-go 07:39:27 ---> Running in ecc45a069201 07:39:27 Removing intermediate container ecc45a069201 07:39:27 ---> 52b6e8a36a49 07:39:27 Step 9/24 : COPY go.mod vendor* ./ 07:39:27 ---> 2cd91eee33d6 07:39:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:27 ---> Running in 16beb2277a71 07:39:28 Removing intermediate container 16beb2277a71 07:39:28 ---> 1646e14f8eeb 07:39:28 Step 11/24 : COPY . . 07:39:28 ---> de176313370f 07:39:28 Step 12/24 : RUN $MAKE 07:39:28 ---> Running in 9c143a7883ef 07:39:29 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 07:39:47 Removing intermediate container 9c143a7883ef 07:39:47 ---> f3a7af80d186 07:39:47 Step 13/24 : FROM alpine:3.17 07:39:47 3.17: Pulling from library/alpine 07:39:47 f56be85fc22e: Already exists 07:39:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:39:47 Status: Downloaded newer image for alpine:3.17 07:39:47 ---> 9ed4aefc74f6 07:39:47 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:39:47 ---> Running in 079dbdcb6ccf 07:39:47 Removing intermediate container 079dbdcb6ccf 07:39:47 ---> 9a346eee60fb 07:39:47 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:39:47 ---> Running in 60ab695993da 07:39:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:39:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:39:47 (1/1) Installing dumb-init (1.2.5-r2) 07:39:47 Executing busybox-1.35.0-r29.trigger 07:39:47 OK: 7 MiB in 16 packages 07:39:47 Removing intermediate container 60ab695993da 07:39:47 ---> 011649860f67 07:39:47 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:39:48 ---> b32916c1d230 07:39:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:39:48 ---> bbab1eef2c16 07:39:48 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:39:48 ---> 96b0cc3ab781 07:39:48 Step 19/24 : EXPOSE 59982 07:39:48 ---> Running in 9ddd67145e62 07:39:48 Removing intermediate container 9ddd67145e62 07:39:48 ---> 22e86ac3aea9 07:39:48 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:39:48 ---> Running in dd955d17d856 07:39:48 Removing intermediate container dd955d17d856 07:39:48 ---> 9f9d9e04950c 07:39:48 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:39:48 ---> Running in f3a1729d6882 07:39:48 Removing intermediate container f3a1729d6882 07:39:48 ---> ce31d92abe03 07:39:48 Step 22/24 : LABEL arch=amd64 07:39:48 ---> Running in 6d8990f4245b 07:39:48 Removing intermediate container 6d8990f4245b 07:39:48 ---> 1155e076a17c 07:39:48 Step 23/24 : LABEL git_sha=72eb72345f55b5e22716de37693d23a8ba04bb9a 07:39:48 ---> Running in 546c22eb7b0a 07:39:48 Removing intermediate container 546c22eb7b0a 07:39:48 ---> a4c664bcc96c 07:39:48 Step 24/24 : LABEL version=0.0.0 07:39:48 ---> Running in db1a437b42ae 07:39:48 Removing intermediate container db1a437b42ae 07:39:48 ---> b30068b1584e 07:39:48 [Warning] One or more build-args [ARCH] were not consumed 07:39:48 Successfully built b30068b1584e 07:39:48 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 07:39:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:49 07:39:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:50 latest: Pulling from edgex-lftools-log-publisher 07:39:50 5eb5b503b376: Pulling fs layer 07:39:50 5c69ac0246d0: Pulling fs layer 07:39:50 ec43610c2a17: Pulling fs layer 07:39:50 3a2ae6a8a46f: Pulling fs layer 07:39:50 33b1e0a273af: Pulling fs layer 07:39:50 5d3b04190fa2: Pulling fs layer 07:39:50 2f39f015ded8: Pulling fs layer 07:39:50 3a2ae6a8a46f: Waiting 07:39:50 2f39f015ded8: Waiting 07:39:50 33b1e0a273af: Waiting 07:39:50 5d3b04190fa2: Waiting 07:39:50 5c69ac0246d0: Download complete 07:39:50 3a2ae6a8a46f: Download complete 07:39:50 33b1e0a273af: Verifying Checksum 07:39:50 33b1e0a273af: Download complete 07:39:50 5d3b04190fa2: Verifying Checksum 07:39:50 5d3b04190fa2: Download complete 07:39:50 ec43610c2a17: Verifying Checksum 07:39:50 5eb5b503b376: Verifying Checksum 07:39:50 5eb5b503b376: Download complete 07:39:50 2f39f015ded8: Download complete 07:39:51 5eb5b503b376: Pull complete 07:39:51 5c69ac0246d0: Pull complete 07:39:52 ec43610c2a17: Pull complete 07:39:52 3a2ae6a8a46f: Pull complete 07:39:52 33b1e0a273af: Pull complete 07:39:52 5d3b04190fa2: Pull complete 07:39:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17017 in /w/workspace/gexfoundry_device-mqtt-go_PR-611 [Pipeline] { [Pipeline] ws 07:39:56 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 07:39:56 Selected Git installation does not exist. Using Default 07:39:56 The recommended git tool is: NONE 07:39:56 2f39f015ded8: Pull complete 07:39:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:39:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:57 prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container 07:39:57 $ 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-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@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 07:39:58 $ docker top 76738060ba537c69cc8dcd5311955689edc0cfb48dda98e94a06585db76b489e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:59 ---> job-cost.sh 07:39:59 lf-activate-venv: SKIPPING 07:39:59 INFO: No Stack... 07:39:59 INFO: Retrieving Pricing Info for: v3-standard-8 07:39:59 INFO: Archiving Costs [Pipeline] sh 07:40:00 + cut -d, -f6 07:40:00 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives/cost.csv [Pipeline] lock 07:40:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-611-1-stack-cost] 07:40:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-611-1-stack-cost] did not exist. Created. 07:40:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-611-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:40:00 + echo total: 0.2199999988079071 [Pipeline] stash 07:40:00 Stashed 1 file(s) [Pipeline] } 07:40:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-611-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:40:00 $ docker stop --time=1 76738060ba537c69cc8dcd5311955689edc0cfb48dda98e94a06585db76b489e 07:40:01 $ docker rm -f --volumes 76738060ba537c69cc8dcd5311955689edc0cfb48dda98e94a06585db76b489e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:40:05 using credential edgex-jenkins-ssh 07:40:05 Cloning the remote Git repository 07:40:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:40:06 > git init /w/workspace/device-mqtt-go/1 # timeout=10 07:40:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:40:06 > git --version # timeout=10 07:40:06 > git --version # 'git version 2.25.1' 07:40:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:40:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:40:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:40:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:40:10 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit 72eb72345f55b5e22716de37693d23a8ba04bb9a [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:40:11 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 07:40:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:40:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:40:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:40:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/611/head:refs/remotes/origin/PR-611 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:40:11 > git config core.sparsecheckout # timeout=10 07:40:11 > git checkout -f 72eb72345f55b5e22716de37693d23a8ba04bb9a # timeout=10 [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 07:40:13 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives ] 07:40:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives 07:40:13 total 16 07:40:13 drwxr-xr-x 3 root root 4096 May 26 07:39 . 07:40:13 drwxrwxr-x 11 jenkins jenkins 4096 May 26 07:40 .. 07:40:13 drwxr-xr-x 2 root root 4096 May 26 07:39 cost 07:40:13 -rw-r--r-- 1 root root 86 May 26 07:39 cost.csv 07:40:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives 07:40:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives 07:40:13 total 16 07:40:13 drwxr-xr-x 3 jenkins jenkins 4096 May 26 07:39 . 07:40:13 drwxrwxr-x 11 jenkins jenkins 4096 May 26 07:40 .. 07:40:13 drwxr-xr-x 2 jenkins jenkins 4096 May 26 07:39 cost 07:40:13 -rw-r--r-- 1 jenkins jenkins 86 May 26 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:40:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:40:14 ---> package-listing.sh 07:40:14 ++ tr '[:upper:]' '[:lower:]' 07:40:14 ++ facter osfamily 07:40:14 + OS_FAMILY=debian 07:40:14 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-611 07:40:14 + START_PACKAGES=/tmp/packages_start.txt 07:40:14 + END_PACKAGES=/tmp/packages_end.txt 07:40:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:40:14 + PACKAGES=/tmp/packages_start.txt 07:40:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-611 ']' 07:40:14 + PACKAGES=/tmp/packages_end.txt 07:40:14 + case "${OS_FAMILY}" in 07:40:14 + dpkg -l 07:40:14 + grep '^ii' 07:40:14 + '[' -f /tmp/packages_start.txt ']' 07:40:14 + '[' -f /tmp/packages_end.txt ']' 07:40:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:40:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-611 ']' 07:40:14 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives/ 07:40:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives/ [Pipeline] echo 07:40:14 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-611/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:40:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:15 prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container 07:40:15 $ 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-611/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-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@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 07:40:16 $ docker top 81d32024475d47b30a0d8a93600b7acc08b045e49fbdfd0171695e98228097e2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:16 + touch /tmp/pre-build-complete [Pipeline] sh 07:40:16 + mkdir -p /var/log/sysstat [Pipeline] sh 07:40:17 + ls /var/log/sa-host 07:40:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:17 provisioning config files... 07:40:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config2217891418782098006tmp [Pipeline] { [Pipeline] echo 07:40:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:40:17 ---> create-netrc.sh [Pipeline] } 07:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:40:18 ---> python-tools-install.sh [Pipeline] echo 07:40:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:40:18 ---> sudo-logs.sh 07:40:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:40:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:40:18 ---> job-cost.sh 07:40:18 lf-activate-venv: SKIPPING 07:40:18 DEBUG: total: 0.2199999988079071 07:40:18 INFO: Retrieving Stack Cost... 07:40:19 INFO: Retrieving Pricing Info for: v3-standard-8 07:40:19 INFO: Archiving Costs [Pipeline] echo 07:40:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:40:19 ---> logs-deploy.sh 07:40:19 lf-activate-venv: SKIPPING 07:40:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-611/1 07:40:19 INFO: archiving workspace using pattern(s): 07:40:20 Archives upload complete. 07:40:20 INFO: archiving logs to Nexus