Pull request #720 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d64719a8bca710aae408130e3b913050575f1b08+241a878cec89566ff21da3f2869313bdc7ed294a (5b54e17a36f2661db0ed46eb7e95888a7f32aa06) 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-ssh13823465236512758783.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh12927678107127037756.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-720/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-720/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5415632728045433930.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-720/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16969322075481918388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh6396657050435520734.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-720/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-720/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3076287839141537037.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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] ========================================================= [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.23 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-36401 in /w/workspace/gexfoundry_device-mqtt-go_PR-720 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-720 # 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 Merging remotes/origin/main commit 241a878cec89566ff21da3f2869313bdc7ed294a into PR head commit d64719a8bca710aae408130e3b913050575f1b08 Merge succeeded, producing d64719a8bca710aae408130e3b913050575f1b08 Checking out Revision d64719a8bca710aae408130e3b913050575f1b08 (PR-720) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > 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/720/head:refs/remotes/origin/PR-720 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d64719a8bca710aae408130e3b913050575f1b08 # 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 241a878cec89566ff21da3f2869313bdc7ed294a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d64719a8bca710aae408130e3b913050575f1b08 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:35:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:35:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:35:25 ========================================================= 13:35:25 EdgeX Global Pipelines Version Info 13:35:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:35:27 ------------------- 13:35:27 stable info: 13:35:27 ------------------- 13:35:27 Commited By: Cherry Wang cherry@iotechsys.com 13:35:27 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 13:35:27 Message: update stable to v1.0.269 13:35:27 ------------------- 13:35:27 experimental info: 13:35:27 ------------------- 13:35:27 Commited By: **** collab-it+edgex@linuxfoundation.org 13:35:27 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 13:35:27 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:35:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 13:35:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 13:35:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:35:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-720 [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-720 [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-720 [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d64719a8bca710aae408130e3b913050575f1b08 [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d64719a [Pipeline] echo 13:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:29 provisioning config files... 13:35:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/config14223430898637122252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:30 ---> ****-login.sh 13:35:30 nexus3.edgexfoundry.org:10001 13:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:30 Configure a credential helper to remove this warning. See 13:35:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:30 13:35:30 Login Succeeded 13:35:30 nexus3.edgexfoundry.org:10002 13:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:31 Configure a credential helper to remove this warning. See 13:35:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:31 13:35:31 Login Succeeded 13:35:31 nexus3.edgexfoundry.org:10003 13:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:31 Configure a credential helper to remove this warning. See 13:35:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:31 13:35:31 Login Succeeded 13:35:31 nexus3.edgexfoundry.org:10004 13:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:31 Configure a credential helper to remove this warning. See 13:35:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:31 13:35:31 Login Succeeded 13:35:31 ****.io 13:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:31 Configure a credential helper to remove this warning. See 13:35:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:31 13:35:31 Login Succeeded 13:35:31 ---> ****-login.sh ends [Pipeline] } 13:35:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:35:32 + git rev-list -1 --merges d64719a8bca710aae408130e3b913050575f1b08~1..d64719a8bca710aae408130e3b913050575f1b08 [Pipeline] echo 13:35:32 -----------> git rev-list -1 --merges d64719a8bca710aae408130e3b913050575f1b08~1..d64719a8bca710aae408130e3b913050575f1b08 d64719a8bca710aae408130e3b913050575f1b08 [false] [Pipeline] sh 13:35:32 + git log --format=format:%s -1 d64719a8bca710aae408130e3b913050575f1b08 [Pipeline] echo 13:35:32 ========================================================= 13:35:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:35:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:33 + git log --format=format:%s -1 d64719a8bca710aae408130e3b913050575f1b08 [Pipeline] echo 13:35:33 [semverPrep] GIT_COMMIT: d64719a8bca710aae408130e3b913050575f1b08, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 13:35:33 [semverPrep] This is not a build commit. [Pipeline] sh 13:35:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:35:33 + grep -v github /etc/ssh/ssh_known_hosts 13:35:33 + [ -e /tmp/ssh_known_hosts ] 13:35:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:35:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:35:33 sudo tee -a /etc/ssh/ssh_known_hosts 13:35:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:35:34 13:35:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:35:35 0.1.4: Pulling from edgex-devops/py-git-semver 13:35:35 b85a868b505f: Pulling fs layer 13:35:35 e2be974225ed: Pulling fs layer 13:35:35 339a4e72a1f5: Pulling fs layer 13:35:35 988bab9f4d93: Pulling fs layer 13:35:35 1469e6f7b9e6: Pulling fs layer 13:35:35 eaf3925da568: Pulling fs layer 13:35:35 bab4dde63d76: Pulling fs layer 13:35:35 bde34c3a00c8: Pulling fs layer 13:35:35 b352a97aabf1: Pulling fs layer 13:35:35 4872d77fe225: Pulling fs layer 13:35:35 5851b861e8e6: Pulling fs layer 13:35:35 988bab9f4d93: Waiting 13:35:35 1469e6f7b9e6: Waiting 13:35:35 eaf3925da568: Waiting 13:35:35 bab4dde63d76: Waiting 13:35:35 bde34c3a00c8: Waiting 13:35:35 b352a97aabf1: Waiting 13:35:35 4872d77fe225: Waiting 13:35:35 5851b861e8e6: Waiting 13:35:35 e2be974225ed: Verifying Checksum 13:35:35 e2be974225ed: Download complete 13:35:35 988bab9f4d93: Verifying Checksum 13:35:35 988bab9f4d93: Download complete 13:35:35 1469e6f7b9e6: Verifying Checksum 13:35:35 1469e6f7b9e6: Download complete 13:35:35 eaf3925da568: Verifying Checksum 13:35:35 eaf3925da568: Download complete 13:35:35 339a4e72a1f5: Verifying Checksum 13:35:35 339a4e72a1f5: Download complete 13:35:35 bde34c3a00c8: Download complete 13:35:35 b352a97aabf1: Download complete 13:35:35 4872d77fe225: Verifying Checksum 13:35:35 4872d77fe225: Download complete 13:35:35 5851b861e8e6: Download complete 13:35:35 b85a868b505f: Verifying Checksum 13:35:35 b85a868b505f: Download complete 13:35:36 bab4dde63d76: Verifying Checksum 13:35:37 b85a868b505f: Pull complete 13:35:37 e2be974225ed: Pull complete 13:35:38 339a4e72a1f5: Pull complete 13:35:39 988bab9f4d93: Pull complete 13:35:39 1469e6f7b9e6: Pull complete 13:35:39 eaf3925da568: Pull complete 13:35:41 bab4dde63d76: Pull complete 13:35:41 bde34c3a00c8: Pull complete 13:35:41 b352a97aabf1: Pull complete 13:35:42 4872d77fe225: Pull complete 13:35:42 5851b861e8e6: Pull complete 13:35:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:35:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:35:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:44 prd-ubuntu20.04-docker-8c-8g-36401 does not seem to be running inside a container 13:35:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-720 -v /w/workspace/gexfoundry_device-mqtt-go_PR-720:/w/workspace/gexfoundry_device-mqtt-go_PR-720:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:35:54 $ docker top ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f -eo pid,comm 13:35:54 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). 13:35:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:35:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:35:54 [ssh-agent] Looking for ssh-agent implementation... 13:35:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:35:54 $ docker exec ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f ssh-agent 13:35:54 SSH_AUTH_SOCK=/tmp/ssh-oZebqIUcNx1P/agent.14 13:35:54 SSH_AGENT_PID=20 13:35:54 Running ssh-add (command line suppressed) 13:35:54 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/private_key_3158177972637794962.key (/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/private_key_3158177972637794962.key) 13:35:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:35:55 + git tag --points-at HEAD [Pipeline] } 13:35:55 $ docker exec --env ******** --env ******** ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f ssh-agent -k 13:35:55 unset SSH_AUTH_SOCK; 13:35:55 unset SSH_AGENT_PID; 13:35:55 echo Agent pid 20 killed; 13:35:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:35:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:35:55 [ssh-agent] Looking for ssh-agent implementation... 13:35:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:35:55 $ docker exec ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f ssh-agent 13:35:55 SSH_AUTH_SOCK=/tmp/ssh-BveWugcpvlYa/agent.72 13:35:55 SSH_AGENT_PID=79 13:35:55 Running ssh-add (command line suppressed) 13:35:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/private_key_10961928950067211617.key (/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/private_key_10961928950067211617.key) 13:35:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:35:56 + git semver init 13:35:56 2025-01-09 13:35:56,163 [run_init] DEBUG init version:0.0.0 force:False 13:35:56 2025-01-09 13:35:56,164 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver 13:35:56 2025-01-09 13:35:56,165 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver 13:35:56 2025-01-09 13:35:56,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-720, universal_newlines=False, shell=None, istream=None) 13:35:58 2025-01-09 13:35:57,793 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-720/.git/info/exclude 13:35:58 2025-01-09 13:35:57,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver/PR-720 with force:False 13:35:58 2025-01-09 13:35:57,794 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver/PR-720 13:35:58 2025-01-09 13:35:57,797 [execute] INFO git cat-file --batch-check 13:35:58 2025-01-09 13:35:57,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver, universal_newlines=False, shell=None, istream=) 13:35:58 2025-01-09 13:35:57,804 [execute] INFO git cat-file --batch 13:35:58 2025-01-09 13:35:57,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver, universal_newlines=False, shell=None, istream=) 13:35:58 2025-01-09 13:35:57,829 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-720/.semver/PR-720 13:35:58 0.0.0 [Pipeline] } 13:35:58 $ docker exec --env ******** --env ******** ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f ssh-agent -k 13:35:58 unset SSH_AUTH_SOCK; 13:35:58 unset SSH_AGENT_PID; 13:35:58 echo Agent pid 79 killed; 13:35:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:35:58 + git semver [Pipeline] } 13:35:59 $ docker stop --time=1 ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f 13:36:00 $ docker rm -f --volumes ba36a2a81f442f818956ca766cf33998187da4060d50305a1c0a5c16ae21263f [Pipeline] // withDockerContainer [Pipeline] sh 13:36:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:36:01 Stashed 1 file(s) [Pipeline] echo 13:36:01 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:36:02 provisioning config files... [Pipeline] // stage [Pipeline] } 13:36:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/config15828939571038154715tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 13:36:03 ---> ****-login.sh 13:36:03 nexus3.edgexfoundry.org:10001 13:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:03 Configure a credential helper to remove this warning. See 13:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:03 13:36:03 Login Succeeded 13:36:03 nexus3.edgexfoundry.org:10002 13:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:03 Configure a credential helper to remove this warning. See 13:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:03 13:36:03 Login Succeeded 13:36:03 nexus3.edgexfoundry.org:10003 13:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:03 Configure a credential helper to remove this warning. See 13:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:03 13:36:03 Login Succeeded 13:36:03 nexus3.edgexfoundry.org:10004 13:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:03 Configure a credential helper to remove this warning. See 13:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:03 13:36:03 Login Succeeded 13:36:03 ****.io 13:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:03 Configure a credential helper to remove this warning. See 13:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:03 13:36:03 Login Succeeded 13:36:03 ---> ****-login.sh ends [Pipeline] } 13:36:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:36:04 ========================================================= 13:36:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 13:36:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 13:36:04 Sending build context to Docker daemon 21.12MB 13:36:04 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 13:36:04 Step 2/12 : FROM ${BASE} AS builder 13:36:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 13:36:04 da9db072f522: Pulling fs layer 13:36:04 6ef4a4ee8ca5: Pulling fs layer 13:36:04 06f05ace1117: Pulling fs layer 13:36:04 5fe327b54edc: Pulling fs layer 13:36:04 4f4fb700ef54: Pulling fs layer 13:36:04 92a5565b7b96: Pulling fs layer 13:36:04 ff9bb7016b71: Pulling fs layer 13:36:04 b67dba6c2c7d: Pulling fs layer 13:36:04 a813b0c90790: Pulling fs layer 13:36:04 5fe327b54edc: Waiting 13:36:04 4f4fb700ef54: Waiting 13:36:04 92a5565b7b96: Waiting 13:36:04 ff9bb7016b71: Waiting 13:36:04 b67dba6c2c7d: Waiting 13:36:04 a813b0c90790: Waiting 13:36:04 6ef4a4ee8ca5: Verifying Checksum 13:36:04 6ef4a4ee8ca5: Download complete 13:36:04 5fe327b54edc: Download complete 13:36:04 4f4fb700ef54: Verifying Checksum 13:36:04 4f4fb700ef54: Download complete 13:36:05 da9db072f522: Download complete 13:36:05 92a5565b7b96: Download complete 13:36:05 ff9bb7016b71: Verifying Checksum 13:36:05 ff9bb7016b71: Download complete 13:36:05 a813b0c90790: Verifying Checksum 13:36:05 a813b0c90790: Download complete 13:36:05 da9db072f522: Pull complete 13:36:05 06f05ace1117: Verifying Checksum 13:36:05 06f05ace1117: Download complete 13:36:05 6ef4a4ee8ca5: Pull complete 13:36:06 b67dba6c2c7d: Verifying Checksum 13:36:06 b67dba6c2c7d: Download complete 13:36:09 06f05ace1117: Pull complete 13:36:10 5fe327b54edc: Pull complete 13:36:10 4f4fb700ef54: Pull complete 13:36:10 92a5565b7b96: Pull complete 13:36:11 ff9bb7016b71: Pull complete 13:36:14 b67dba6c2c7d: Pull complete 13:36:14 a813b0c90790: Pull complete 13:36:14 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 13:36:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 13:36:14 ---> 3ba60ce46760 13:36:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:36:32 ---> Running in ced4df02fd24 13:36:32 Removing intermediate container ced4df02fd24 13:36:32 ---> b60c081c0b25 13:36:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:36:32 ---> Running in 17e5b1e5ad8e 13:36:32 Removing intermediate container 17e5b1e5ad8e 13:36:32 ---> a47ba309b7b6 13:36:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:36:32 ---> Running in 0591fa7f6ded 13:36:32 Removing intermediate container 0591fa7f6ded 13:36:32 ---> f40303c3f178 13:36:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:36:32 ---> Running in e71317dbe2c7 13:36:32 Removing intermediate container e71317dbe2c7 13:36:32 ---> f8d66ff89e8b 13:36:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:36:32 ---> Running in 946d57619bf7 13:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:36:32 (1/4) Installing openssh-keygen (9.7_p1-r4) 13:36:32 (2/4) Installing libedit (20240517.3.1-r0) 13:36:32 (3/4) Installing openssh-client-common (9.7_p1-r4) 13:36:32 (4/4) Installing openssh-client-default (9.7_p1-r4) 13:36:32 Executing busybox-1.36.1-r29.trigger 13:36:32 OK: 252 MiB in 62 packages 13:36:34 Removing intermediate container 946d57619bf7 13:36:34 ---> 899af091efa0 13:36:34 Step 8/12 : WORKDIR /device-mqtt-go 13:36:34 ---> Running in f78447ffd7f2 13:36:34 Removing intermediate container f78447ffd7f2 13:36:34 ---> cd5b8eea4cd4 13:36:34 Step 9/12 : COPY go.mod vendor* ./ 13:36:35 ---> 1acc460bab94 13:36:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:36:35 ---> Running in 9b7ac20292a6 13:38:12 Removing intermediate container 9b7ac20292a6 13:38:12 ---> 14af03cc38f2 13:38:12 Step 11/12 : COPY . . 13:38:12 ---> 5c0e82f2b5c9 13:38:12 Step 12/12 : RUN $MAKE 13:38:12 ---> Running in 8811271928c8 13:38:12 noop 13:38:12 Removing intermediate container 8811271928c8 13:38:12 ---> 78faec666c49 13:38:12 Successfully built 78faec666c49 13:38:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:12 + docker inspect -f . ci-base-image-x86_64 13:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:13 prd-ubuntu20.04-docker-8c-8g-36401 does not seem to be running inside a container 13:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-720 -v /w/workspace/gexfoundry_device-mqtt-go_PR-720:/w/workspace/gexfoundry_device-mqtt-go_PR-720:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:38:13 $ docker top 48eab029be6f3aad7f70df5df3b4dd96d52071282095c1d828bb34e5e58946bd -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:14 + go version 13:38:14 go version go1.23.4 linux/amd64 [Pipeline] } 13:38:14 $ docker stop --time=1 48eab029be6f3aad7f70df5df3b4dd96d52071282095c1d828bb34e5e58946bd 13:38:15 $ docker rm -f --volumes 48eab029be6f3aad7f70df5df3b4dd96d52071282095c1d828bb34e5e58946bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:16 + docker inspect -f . ci-base-image-x86_64 13:38:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:16 prd-ubuntu20.04-docker-8c-8g-36401 does not seem to be running inside a container 13:38:16 $ 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-720 -v /w/workspace/gexfoundry_device-mqtt-go_PR-720:/w/workspace/gexfoundry_device-mqtt-go_PR-720:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:38:17 $ docker top 4b5edd78fdafc73b30db843a01bdda7cb1932ad3e7e3f6f074c0a0aea4c304ce -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-720 [Pipeline] fileExists [Pipeline] sh 13:38:18 + make test 13:38:18 go test ./... -coverprofile=coverage.out ./... 13:38:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:38:38 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 13:38:38 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 13:38:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 13:38:46 go vet ./... 13:38:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:38:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:38:51 ./bin/test-attribution-txt.sh [Pipeline] echo 13:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:38:51 $ docker stop --time=1 4b5edd78fdafc73b30db843a01bdda7cb1932ad3e7e3f6f074c0a0aea4c304ce 13:38:59 $ docker rm -f --volumes 4b5edd78fdafc73b30db843a01bdda7cb1932ad3e7e3f6f074c0a0aea4c304ce [Pipeline] // withDockerContainer [Pipeline] sh 13:39:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:39:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:39:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:39:01 + ls -al . 13:39:01 total 252 13:39:01 drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 13:38 . 13:39:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:35 .. 13:39:01 -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 13:35 .dockerignore 13:39:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:38 .git 13:39:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:35 .github 13:39:01 -rw-rw-r-- 1 jenkins jenkins 264 Jan 9 13:35 .gitignore 13:39:01 -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 13:35 .golangci.yml 13:39:01 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 13:35 .semver 13:39:01 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 9 13:35 Attribution.txt 13:39:01 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 9 13:35 CHANGELOG.md 13:39:01 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 9 13:35 Dockerfile 13:39:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 13:35 GOVERNANCE.md 13:39:01 -rw-rw-r-- 1 jenkins jenkins 657 Jan 9 13:35 Jenkinsfile 13:39:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 13:35 LICENSE 13:39:01 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 9 13:35 Makefile 13:39:01 -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 13:35 OWNERS.md 13:39:01 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 9 13:35 README.md 13:39:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:36 VERSION 13:39:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:35 bin 13:39:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:35 cmd 13:39:01 -rw-r--r-- 1 jenkins jenkins 21039 Jan 9 13:38 coverage.out 13:39:01 -rw-rw-r-- 1 jenkins jenkins 6269 Jan 9 13:35 go.mod 13:39:01 -rw-rw-r-- 1 jenkins jenkins 87156 Jan 9 13:35 go.sum 13:39:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:35 internal 13:39:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:35 mock 13:39:01 -rw-rw-r-- 1 jenkins jenkins 227 Jan 9 13:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:01 + 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=d64719a8bca710aae408130e3b913050575f1b08 --label arch=amd64 --label version=0.0.0 . 13:39:01 Sending build context to Docker daemon 21.14MB 13:39:01 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 13:39:01 Step 2/25 : FROM ${BASE} AS builder 13:39:01 ---> 78faec666c49 13:39:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:39:02 ---> Running in f1e1e5d7b749 13:39:02 Removing intermediate container f1e1e5d7b749 13:39:02 ---> 2afd03351577 13:39:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:39:02 ---> Running in da6920a736b5 13:39:02 Removing intermediate container da6920a736b5 13:39:02 ---> bfc6b50dab73 13:39:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:39:02 ---> Running in 170f9f8bc23b 13:39:02 Removing intermediate container 170f9f8bc23b 13:39:02 ---> 4a44e023883b 13:39:02 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:39:02 ---> Running in aaa3cc39cfa8 13:39:02 Removing intermediate container aaa3cc39cfa8 13:39:02 ---> 2c8fbde96678 13:39:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:39:02 ---> Running in 9996343dadf9 13:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:39:03 OK: 252 MiB in 62 packages 13:39:03 Removing intermediate container 9996343dadf9 13:39:03 ---> 8a9b5ea0d25f 13:39:03 Step 8/25 : WORKDIR /device-mqtt-go 13:39:03 ---> Running in 51ebd3c93d93 13:39:04 Removing intermediate container 51ebd3c93d93 13:39:04 ---> e50923c5ba98 13:39:04 Step 9/25 : COPY go.mod vendor* ./ 13:39:04 ---> b20fee016408 13:39:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:39:04 ---> Running in b033b783913a 13:39:04 Removing intermediate container b033b783913a 13:39:04 ---> 5749aa869c15 13:39:04 Step 11/25 : COPY . . 13:39:05 ---> 8b41ea56a40c 13:39:05 Step 12/25 : RUN $MAKE 13:39:05 ---> Running in b9eb9b6587a1 13:39:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.14 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 13:39:44 Removing intermediate container b9eb9b6587a1 13:39:44 ---> 8848cf9c66f0 13:39:44 Step 13/25 : FROM alpine:3.20 13:39:44 3.20: Pulling from library/alpine 13:39:44 66a3d608f3fa: Pulling fs layer 13:39:44 66a3d608f3fa: Download complete 13:39:44 66a3d608f3fa: Pull complete 13:39:44 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 13:39:44 Status: Downloaded newer image for alpine:3.20 13:39:44 ---> e29df9b510ff 13:39:44 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 13:39:44 ---> Running in 6936aac623f3 13:39:44 Removing intermediate container 6936aac623f3 13:39:44 ---> 486cd837dff3 13:39:44 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:39:44 ---> Running in 8840f992230c 13:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:39:44 (1/1) Installing dumb-init (1.2.5-r3) 13:39:44 Executing busybox-1.36.1-r29.trigger 13:39:44 OK: 8 MiB in 15 packages 13:39:45 Removing intermediate container 8840f992230c 13:39:45 ---> eca399277be8 13:39:45 Step 16/25 : RUN apk --no-cache upgrade 13:39:45 ---> Running in b1162cd0a6eb 13:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:39:46 OK: 8 MiB in 15 packages 13:39:46 Removing intermediate container b1162cd0a6eb 13:39:46 ---> f9f8135d12b5 13:39:46 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 13:39:50 ---> 38cbe5cea18c 13:39:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 13:39:50 ---> 99ef81ad3b46 13:39:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:39:50 ---> c07b3e7a46e3 13:39:50 Step 20/25 : EXPOSE 59982 13:39:50 ---> Running in fa0d85267567 13:39:50 Removing intermediate container fa0d85267567 13:39:50 ---> 77c96ee964ea 13:39:50 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 13:39:50 ---> Running in 65efaab4d1b8 13:39:50 Removing intermediate container 65efaab4d1b8 13:39:50 ---> 4edcd11f6141 13:39:50 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 13:39:50 ---> Running in ec44bd38b8a1 13:39:50 Removing intermediate container ec44bd38b8a1 13:39:50 ---> e3c433e312bd 13:39:50 Step 23/25 : LABEL arch=amd64 13:39:50 ---> Running in 51b7e476de50 13:39:50 Removing intermediate container 51b7e476de50 13:39:50 ---> 02d97ce00e8d 13:39:50 Step 24/25 : LABEL git_sha=d64719a8bca710aae408130e3b913050575f1b08 13:39:51 ---> Running in 27f3b5da2ea9 13:39:51 Removing intermediate container 27f3b5da2ea9 13:39:51 ---> 3c14e6da6c8b 13:39:51 Step 25/25 : LABEL version=0.0.0 13:39:51 ---> Running in 49615305599b 13:39:51 Removing intermediate container 49615305599b 13:39:51 ---> 4e1ca89a0913 13:39:51 [Warning] One or more build-args [ARCH] were not consumed 13:39:51 Successfully built 4e1ca89a0913 13:39:51 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:52 13:39:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:52 latest: Pulling from edgex-lftools-log-publisher 13:39:52 5eb5b503b376: Pulling fs layer 13:39:52 5c69ac0246d0: Pulling fs layer 13:39:52 ec43610c2a17: Pulling fs layer 13:39:52 3a2ae6a8a46f: Pulling fs layer 13:39:52 33b1e0a273af: Pulling fs layer 13:39:52 5d3b04190fa2: Pulling fs layer 13:39:52 2f39f015ded8: Pulling fs layer 13:39:52 3a2ae6a8a46f: Waiting 13:39:52 33b1e0a273af: Waiting 13:39:52 5d3b04190fa2: Waiting 13:39:52 2f39f015ded8: Waiting 13:39:52 5c69ac0246d0: Download complete 13:39:52 3a2ae6a8a46f: Download complete 13:39:52 33b1e0a273af: Verifying Checksum 13:39:52 33b1e0a273af: Download complete 13:39:52 5d3b04190fa2: Verifying Checksum 13:39:52 5d3b04190fa2: Download complete 13:39:52 ec43610c2a17: Verifying Checksum 13:39:52 ec43610c2a17: Download complete 13:39:52 5eb5b503b376: Verifying Checksum 13:39:52 5eb5b503b376: Download complete 13:39:53 2f39f015ded8: Download complete 13:39:55 5eb5b503b376: Pull complete 13:39:56 5c69ac0246d0: Pull complete 13:39:57 ec43610c2a17: Pull complete 13:39:57 3a2ae6a8a46f: Pull complete 13:39:57 33b1e0a273af: Pull complete 13:39:57 5d3b04190fa2: Pull complete 13:40:01 2f39f015ded8: Pull complete 13:40:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:40:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:01 prd-ubuntu20.04-docker-8c-8g-36401 does not seem to be running inside a container 13:40:01 $ 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-720 -v /w/workspace/gexfoundry_device-mqtt-go_PR-720:/w/workspace/gexfoundry_device-mqtt-go_PR-720:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:40:07 $ docker top d6c4b37d4ddbd0de84221a967abcab05d58e592d89c8e08179094e9d76ce26fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:40:07 ---> job-cost.sh 13:40:07 lf-activate-venv: SKIPPING 13:40:07 INFO: No Stack... 13:40:08 INFO: Retrieving Pricing Info for: v3-standard-8 13:40:08 INFO: Archiving Costs [Pipeline] sh 13:40:09 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives/cost.csv 13:40:09 + cut -d, -f6 [Pipeline] lock 13:40:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-720-1-stack-cost] 13:40:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-720-1-stack-cost] did not exist. Created. 13:40:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-720-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:40:09 + echo total: 0.2199999988079071 [Pipeline] stash 13:40:09 Stashed 1 file(s) [Pipeline] } 13:40:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-720-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:40:09 $ docker stop --time=1 d6c4b37d4ddbd0de84221a967abcab05d58e592d89c8e08179094e9d76ce26fb 13:40:10 $ docker rm -f --volumes d6c4b37d4ddbd0de84221a967abcab05d58e592d89c8e08179094e9d76ce26fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:40:11 provisioning config files... 13:40:11 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/config11024156959670151822tmp [Pipeline] { [Pipeline] sh 13:40:11 + set +x 13:40:11 + curl -s https://codecov.io/bash 13:40:11 + bash -s -- 13:40:12 13:40:12 _____ _ 13:40:12 / ____| | | 13:40:12 | | ___ __| | ___ ___ _____ __ 13:40:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:40:12 | |___| (_) | (_| | __/ (_| (_) \ V / 13:40:12 \_____\___/ \__,_|\___|\___\___/ \_/ 13:40:12 Bash-1.0.6 13:40:12 13:40:12 13:40:12 ==> git version 2.25.1 found 13:40:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:40:12 Release-Date: 2020-01-08 13:40:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:40:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:40:12 ==> Jenkins CI detected. 13:40:12 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-720 13:40:12 project root: . 13:40:12 --> token set from env 13:40:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:40:12 ==> Running gcov in . (disable via -X gcov) 13:40:12 ==> Python coveragepy not found 13:40:12 ==> Searching for coverage reports in: 13:40:12 + . 13:40:12 -> Found 1 reports 13:40:12 ==> Detecting git/mercurial file structure 13:40:12 ==> Reading reports 13:40:12 + ./coverage.out bytes=21039 13:40:12 ==> Appending adjustments 13:40:12 https://docs.codecov.io/docs/fixing-reports 13:40:12 + Found adjustments 13:40:12 ==> Gzipping contents 13:40:12 4.0K /tmp/codecov.pXDLUU.gz 13:40:12 ==> Uploading reports 13:40:12 url: https://codecov.io 13:40:12 query: branch=PR-720&commit=d64719a8bca710aae408130e3b913050575f1b08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-720%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=720&job=&cmd_args= 13:40:12 -> Pinging Codecov 13:40:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-720&commit=d64719a8bca710aae408130e3b913050575f1b08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-720%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=720&job=&cmd_args= 13:40:12 -> Uploading to 13:40:12 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/d64719a8bca710aae408130e3b913050575f1b08/e277a6a6-ce1c-48d8-b1dd-daf369c837b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250109%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250109T134012Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f320b95e1c4dcebb4107fcb2dc7c8711bb8da58d3c24192e49958c08f1d1ae94 13:40:12 % Total % Received % Xferd Average Speed Time Time Time Current 13:40:12 Dload Upload Total Spent Left Speed 13:40:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 10423 --:--:-- --:--:-- --:--:-- 10423 13:40:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d64719a8bca710aae408130e3b913050575f1b08 [Pipeline] } 13:40:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:40:14 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives ] 13:40:14 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives 13:40:14 total 16 13:40:14 drwxr-xr-x 3 root root 4096 Jan 9 13:40 . 13:40:14 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:40 .. 13:40:14 drwxr-xr-x 2 root root 4096 Jan 9 13:40 cost 13:40:14 -rw-r--r-- 1 root root 86 Jan 9 13:40 cost.csv 13:40:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives 13:40:14 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives 13:40:14 total 16 13:40:14 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 13:40 . 13:40:14 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:40 .. 13:40:14 drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 13:40 cost 13:40:14 -rw-r--r-- 1 jenkins jenkins 86 Jan 9 13:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:40:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:40:16 ---> package-listing.sh 13:40:16 ++ facter osfamily 13:40:16 ++ tr '[:upper:]' '[:lower:]' 13:40:16 + OS_FAMILY=debian 13:40:16 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-720 13:40:16 + START_PACKAGES=/tmp/packages_start.txt 13:40:16 + END_PACKAGES=/tmp/packages_end.txt 13:40:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:40:16 + PACKAGES=/tmp/packages_start.txt 13:40:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-720 ']' 13:40:16 + PACKAGES=/tmp/packages_end.txt 13:40:16 + case "${OS_FAMILY}" in 13:40:16 + dpkg -l 13:40:16 + grep '^ii' 13:40:16 + '[' -f /tmp/packages_start.txt ']' 13:40:16 + '[' -f /tmp/packages_end.txt ']' 13:40:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:40:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-720 ']' 13:40:16 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives/ 13:40:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-720/archives/ [Pipeline] echo 13:40:16 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-720/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:40:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:17 prd-ubuntu20.04-docker-8c-8g-36401 does not seem to be running inside a container 13:40:17 $ 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-720/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-720 -v /w/workspace/gexfoundry_device-mqtt-go_PR-720:/w/workspace/gexfoundry_device-mqtt-go_PR-720:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:40:17 $ docker top e86edb7b51a754ecda4cd452b0868f3e3ded5b3581a028942151325dd097dc44 -eo pid,comm [Pipeline] { [Pipeline] sh 13:40:18 + touch /tmp/pre-build-complete [Pipeline] sh 13:40:18 + mkdir -p /var/log/sysstat [Pipeline] sh 13:40:18 + ls /var/log/sa-host 13:40:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:40:19 provisioning config files... 13:40:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-720@tmp/config9946050404530599598tmp [Pipeline] { [Pipeline] echo 13:40:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:40:19 ---> create-netrc.sh [Pipeline] } 13:40:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:40:19 ---> python-tools-install.sh [Pipeline] echo 13:40:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:40:20 ---> sudo-logs.sh 13:40:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:40:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:40:20 ---> job-cost.sh 13:40:20 lf-activate-venv: SKIPPING 13:40:20 DEBUG: total: 0.2199999988079071 13:40:20 INFO: Retrieving Stack Cost... 13:40:20 INFO: Retrieving Pricing Info for: v3-standard-8 13:40:20 INFO: Archiving Costs [Pipeline] echo 13:40:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:40:21 ---> logs-deploy.sh 13:40:21 lf-activate-venv: SKIPPING 13:40:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-720/1 13:40:21 INFO: archiving workspace using pattern(s): 13:40:22 Archives upload complete. 13:40:22 INFO: archiving logs to Nexus