Pull request #739 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from accac07039eb9b6d606bdd6fd2963db363368259+cd3c9672bc7e677ee544375ab4ea4dc728bfac3d (65d18dbf43ada2fdb9d1f03d64a3dc230bc07f07) 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-ssh13105049969550606359.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh11907042232039714011.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-739/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-739/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17624109257942900235.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-739/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9754967689147541324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh5705469031956034616.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-739/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-739/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7251377653256007869.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-44954 in /w/workspace/gexfoundry_device-mqtt-go_PR-739 [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-739 # 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/739/head:refs/remotes/origin/PR-739 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cd3c9672bc7e677ee544375ab4ea4dc728bfac3d into PR head commit accac07039eb9b6d606bdd6fd2963db363368259 Merge succeeded, producing accac07039eb9b6d606bdd6fd2963db363368259 Checking out Revision accac07039eb9b6d606bdd6fd2963db363368259 (PR-739) Commit message: "build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > git config core.sparsecheckout # timeout=10 > git checkout -f accac07039eb9b6d606bdd6fd2963db363368259 # 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 cd3c9672bc7e677ee544375ab4ea4dc728bfac3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f accac07039eb9b6d606bdd6fd2963db363368259 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:47 ========================================================= 20:04:47 EdgeX Global Pipelines Version Info 20:04:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:48 ------------------- 20:04:48 stable info: 20:04:48 ------------------- 20:04:48 Commited By: Ginny Guan ginny@iotechsys.com 20:04:48 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 20:04:48 Message: update stable to v1.0.274 20:04:48 ------------------- 20:04:48 experimental info: 20:04:48 ------------------- 20:04:48 Commited By: Ginny Guan ginny@iotechsys.com 20:04:48 Commit SHA: 8f81f3482e950ecb1e6e8190bfb15181b73b14c5 20:04:48 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:04:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-739 [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-739 [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-739 [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = accac07039eb9b6d606bdd6fd2963db363368259 [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = accac07 [Pipeline] echo 20:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:54 provisioning config files... 20:04:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/config17886050293011974018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:54 ---> ****-login.sh 20:04:54 nexus3.edgexfoundry.org:10001 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 nexus3.edgexfoundry.org:10002 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 nexus3.edgexfoundry.org:10003 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 nexus3.edgexfoundry.org:10004 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 ****.io 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 ---> ****-login.sh ends [Pipeline] } 20:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:56 + git rev-list -1 --merges accac07039eb9b6d606bdd6fd2963db363368259~1..accac07039eb9b6d606bdd6fd2963db363368259 [Pipeline] echo 20:04:56 -----------> git rev-list -1 --merges accac07039eb9b6d606bdd6fd2963db363368259~1..accac07039eb9b6d606bdd6fd2963db363368259 accac07039eb9b6d606bdd6fd2963db363368259 [false] [Pipeline] sh 20:04:57 + git log --format=format:%s -1 accac07039eb9b6d606bdd6fd2963db363368259 [Pipeline] echo 20:04:57 ========================================================= 20:04:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:58 + git log --format=format:%s -1 accac07039eb9b6d606bdd6fd2963db363368259 [Pipeline] echo 20:04:58 [semverPrep] GIT_COMMIT: accac07039eb9b6d606bdd6fd2963db363368259, Commit Message: build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0 [Pipeline] echo 20:04:58 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:58 + grep -v github /etc/ssh/ssh_known_hosts 20:04:58 + [ -e /tmp/ssh_known_hosts ] 20:04:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:58 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:59 20:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:00 0.1.4: Pulling from edgex-devops/py-git-semver 20:05:00 b85a868b505f: Pulling fs layer 20:05:00 e2be974225ed: Pulling fs layer 20:05:00 339a4e72a1f5: Pulling fs layer 20:05:00 988bab9f4d93: Pulling fs layer 20:05:00 1469e6f7b9e6: Pulling fs layer 20:05:00 eaf3925da568: Pulling fs layer 20:05:00 bab4dde63d76: Pulling fs layer 20:05:00 bde34c3a00c8: Pulling fs layer 20:05:00 b352a97aabf1: Pulling fs layer 20:05:00 4872d77fe225: Pulling fs layer 20:05:00 5851b861e8e6: Pulling fs layer 20:05:00 bab4dde63d76: Waiting 20:05:00 bde34c3a00c8: Waiting 20:05:00 b352a97aabf1: Waiting 20:05:00 4872d77fe225: Waiting 20:05:00 5851b861e8e6: Waiting 20:05:00 988bab9f4d93: Waiting 20:05:00 1469e6f7b9e6: Waiting 20:05:00 eaf3925da568: Waiting 20:05:00 e2be974225ed: Verifying Checksum 20:05:00 e2be974225ed: Download complete 20:05:00 988bab9f4d93: Verifying Checksum 20:05:00 988bab9f4d93: Download complete 20:05:00 1469e6f7b9e6: Download complete 20:05:00 eaf3925da568: Verifying Checksum 20:05:00 eaf3925da568: Download complete 20:05:00 339a4e72a1f5: Verifying Checksum 20:05:00 339a4e72a1f5: Download complete 20:05:00 bde34c3a00c8: Download complete 20:05:00 b352a97aabf1: Verifying Checksum 20:05:00 b352a97aabf1: Download complete 20:05:00 4872d77fe225: Verifying Checksum 20:05:00 4872d77fe225: Download complete 20:05:00 5851b861e8e6: Download complete 20:05:00 b85a868b505f: Verifying Checksum 20:05:00 b85a868b505f: Download complete 20:05:00 bab4dde63d76: Verifying Checksum 20:05:00 bab4dde63d76: Download complete 20:05:01 b85a868b505f: Pull complete 20:05:01 e2be974225ed: Pull complete 20:05:02 339a4e72a1f5: Pull complete 20:05:02 988bab9f4d93: Pull complete 20:05:02 1469e6f7b9e6: Pull complete 20:05:02 eaf3925da568: Pull complete 20:05:04 bab4dde63d76: Pull complete 20:05:04 bde34c3a00c8: Pull complete 20:05:04 b352a97aabf1: Pull complete 20:05:04 4872d77fe225: Pull complete 20:05:04 5851b861e8e6: Pull complete 20:05:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:04 prd-ubuntu20.04-docker-8c-8g-44954 does not seem to be running inside a container 20:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-739 -v /w/workspace/gexfoundry_device-mqtt-go_PR-739:/w/workspace/gexfoundry_device-mqtt-go_PR-739:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-739@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 20:05:06 $ docker top 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 -eo pid,comm 20:05:06 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). 20:05:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:06 [ssh-agent] Looking for ssh-agent implementation... 20:05:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:06 $ docker exec 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 ssh-agent 20:05:06 SSH_AUTH_SOCK=/tmp/ssh-g3JBpvm11wBT/agent.32 20:05:06 SSH_AGENT_PID=38 20:05:07 Running ssh-add (command line suppressed) 20:05:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/private_key_14119392629581419326.key (/w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/private_key_14119392629581419326.key) 20:05:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:07 + git tag --points-at HEAD [Pipeline] } 20:05:07 $ docker exec --env ******** --env ******** 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 ssh-agent -k 20:05:07 unset SSH_AUTH_SOCK; 20:05:07 unset SSH_AGENT_PID; 20:05:07 echo Agent pid 38 killed; 20:05:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:08 [ssh-agent] Looking for ssh-agent implementation... 20:05:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:08 $ docker exec 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 ssh-agent 20:05:08 SSH_AUTH_SOCK=/tmp/ssh-aibCW4IWribz/agent.72 20:05:08 SSH_AGENT_PID=78 20:05:08 Running ssh-add (command line suppressed) 20:05:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/private_key_3947764313074930434.key (/w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/private_key_3947764313074930434.key) 20:05:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:08 + git semver init 20:05:09 2025-04-14 20:05:08,992 [run_init] DEBUG init version:0.0.0 force:False 20:05:09 2025-04-14 20:05:08,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver 20:05:09 2025-04-14 20:05:08,993 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver 20:05:09 2025-04-14 20:05:08,993 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-739, universal_newlines=False, shell=None, istream=None) 20:05:10 2025-04-14 20:05:10,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-739/.git/info/exclude 20:05:10 2025-04-14 20:05:10,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver/PR-739 with force:False 20:05:10 2025-04-14 20:05:10,236 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver/PR-739 20:05:10 2025-04-14 20:05:10,240 [execute] INFO git cat-file --batch-check 20:05:10 2025-04-14 20:05:10,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver, universal_newlines=False, shell=None, istream=) 20:05:10 2025-04-14 20:05:10,246 [execute] INFO git cat-file --batch 20:05:10 2025-04-14 20:05:10,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver, universal_newlines=False, shell=None, istream=) 20:05:10 2025-04-14 20:05:10,250 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-739/.semver/PR-739 20:05:10 0.0.0 [Pipeline] } 20:05:10 $ docker exec --env ******** --env ******** 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 ssh-agent -k 20:05:10 unset SSH_AUTH_SOCK; 20:05:10 unset SSH_AGENT_PID; 20:05:10 echo Agent pid 78 killed; 20:05:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:11 + git semver [Pipeline] } 20:05:11 $ docker stop --time=1 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 20:05:13 $ docker rm -f --volumes 481a19d3e52b97c36bdbc77e8f1e8136a014108dd1af385789c7cec6efa597c6 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:15 Stashed 1 file(s) [Pipeline] echo 20:05:15 [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 20:05:17 provisioning config files... 20:05:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/config12871701307256980257tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 20:05:18 ---> ****-login.sh 20:05:18 nexus3.edgexfoundry.org:10001 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 nexus3.edgexfoundry.org:10002 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 nexus3.edgexfoundry.org:10003 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 nexus3.edgexfoundry.org:10004 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 ****.io 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 ---> ****-login.sh ends [Pipeline] } 20:05:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 20:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 20:05:19 ========================================================= 20:05:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:05:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:20 + 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 . 20:05:20 Sending build context to Docker daemon 30.72MB 20:05:20 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:05:20 Step 2/12 : FROM ${BASE} AS builder 20:05:20 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:20 0a9a5dfd008f: Pulling fs layer 20:05:20 dbfa0bcfca99: Pulling fs layer 20:05:20 70eabb1d9476: Pulling fs layer 20:05:20 957bedc73fa3: Pulling fs layer 20:05:20 4f4fb700ef54: Pulling fs layer 20:05:20 f40432e63723: Pulling fs layer 20:05:20 90b4343acab7: Pulling fs layer 20:05:20 9f67ea4ac784: Pulling fs layer 20:05:20 9228b9a606be: Pulling fs layer 20:05:20 f40432e63723: Waiting 20:05:20 957bedc73fa3: Waiting 20:05:20 90b4343acab7: Waiting 20:05:20 9228b9a606be: Waiting 20:05:20 9f67ea4ac784: Waiting 20:05:20 dbfa0bcfca99: Verifying Checksum 20:05:20 dbfa0bcfca99: Download complete 20:05:20 957bedc73fa3: Download complete 20:05:20 4f4fb700ef54: Verifying Checksum 20:05:20 4f4fb700ef54: Download complete 20:05:20 f40432e63723: Verifying Checksum 20:05:20 f40432e63723: Download complete 20:05:20 0a9a5dfd008f: Download complete 20:05:20 90b4343acab7: Verifying Checksum 20:05:20 90b4343acab7: Download complete 20:05:20 0a9a5dfd008f: Pull complete 20:05:20 9228b9a606be: Download complete 20:05:20 dbfa0bcfca99: Pull complete 20:05:21 9f67ea4ac784: Verifying Checksum 20:05:21 9f67ea4ac784: Download complete 20:05:24 70eabb1d9476: Pull complete 20:05:24 957bedc73fa3: Pull complete 20:05:24 4f4fb700ef54: Pull complete 20:05:24 f40432e63723: Pull complete 20:05:24 90b4343acab7: Pull complete 20:05:27 9f67ea4ac784: Pull complete 20:05:27 9228b9a606be: Pull complete 20:05:27 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 20:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:05:27 ---> 69404ca5bff2 20:05:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:05:29 ---> Running in 6d1a1ef9ef93 20:05:29 Removing intermediate container 6d1a1ef9ef93 20:05:29 ---> d11166b7deb3 20:05:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:29 ---> Running in cccf5f671973 20:05:29 Removing intermediate container cccf5f671973 20:05:29 ---> 525ac7971730 20:05:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:05:29 ---> Running in 92f5b311ebba 20:05:29 Removing intermediate container 92f5b311ebba 20:05:29 ---> ee9f9455ec9d 20:05:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:05:29 ---> Running in 20e004f3c330 20:05:29 Removing intermediate container 20e004f3c330 20:05:29 ---> 456c831f6428 20:05:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:29 ---> Running in fbebe950a801 20:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:05:30 (1/4) Installing openssh-keygen (9.7_p1-r5) 20:05:30 (2/4) Installing libedit (20240517.3.1-r0) 20:05:30 (3/4) Installing openssh-client-common (9.7_p1-r5) 20:05:30 (4/4) Installing openssh-client-default (9.7_p1-r5) 20:05:30 Executing busybox-1.36.1-r29.trigger 20:05:30 OK: 252 MiB in 62 packages 20:05:30 Removing intermediate container fbebe950a801 20:05:30 ---> 2c6567c3943e 20:05:30 Step 8/12 : WORKDIR /device-mqtt-go 20:05:31 ---> Running in 1a2cc3f41934 20:05:31 Removing intermediate container 1a2cc3f41934 20:05:31 ---> cee4f77fe025 20:05:31 Step 9/12 : COPY go.mod vendor* ./ 20:05:31 ---> 13f8e25ca1af 20:05:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:31 ---> Running in 9a356445a3ac 20:06:03 Removing intermediate container 9a356445a3ac 20:06:03 ---> e77e2b1868cb 20:06:03 Step 11/12 : COPY . . 20:06:03 ---> 37dd175dab08 20:06:03 Step 12/12 : RUN $MAKE 20:06:03 ---> Running in 5c0684760b65 20:06:03 noop 20:06:04 Removing intermediate container 5c0684760b65 20:06:04 ---> 6bc0c7edb43a 20:06:04 Successfully built 6bc0c7edb43a 20:06:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:04 + docker inspect -f . ci-base-image-x86_64 20:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:05 prd-ubuntu20.04-docker-8c-8g-44954 does not seem to be running inside a container 20:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-739 -v /w/workspace/gexfoundry_device-mqtt-go_PR-739:/w/workspace/gexfoundry_device-mqtt-go_PR-739:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-739@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 20:06:05 $ docker top 4a01eb99ee5b947aa6152d27031c4b06349da025d960653ebc3f9ac94460924c -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:06 + go version 20:06:06 go version go1.23.8 linux/amd64 [Pipeline] } 20:06:06 $ docker stop --time=1 4a01eb99ee5b947aa6152d27031c4b06349da025d960653ebc3f9ac94460924c 20:06:07 $ docker rm -f --volumes 4a01eb99ee5b947aa6152d27031c4b06349da025d960653ebc3f9ac94460924c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:08 + docker inspect -f . ci-base-image-x86_64 20:06:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:08 prd-ubuntu20.04-docker-8c-8g-44954 does not seem to be running inside a container 20:06:08 $ 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-739 -v /w/workspace/gexfoundry_device-mqtt-go_PR-739:/w/workspace/gexfoundry_device-mqtt-go_PR-739:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-739@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 20:06:09 $ docker top 43e73118c2ad0521ce5bdd39fd6c85bc9030cc24130b96d87cba43923290ee9d -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-739 [Pipeline] fileExists [Pipeline] sh 20:06:09 + make test 20:06:09 go test ./... -coverprofile=coverage.out ./... 20:06:10 go: updates to go.mod needed; to update it: 20:06:10 go mod tidy 20:06:10 make: *** [Makefile:47: unittest] Error 1 [Pipeline] } 20:06:10 $ docker stop --time=1 43e73118c2ad0521ce5bdd39fd6c85bc9030cc24130b96d87cba43923290ee9d 20:06:11 $ docker rm -f --volumes 43e73118c2ad0521ce5bdd39fd6c85bc9030cc24130b96d87cba43923290ee9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:13 20:06:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:14 latest: Pulling from edgex-lftools-log-publisher 20:06:14 5eb5b503b376: Pulling fs layer 20:06:14 5c69ac0246d0: Pulling fs layer 20:06:14 ec43610c2a17: Pulling fs layer 20:06:14 3a2ae6a8a46f: Pulling fs layer 20:06:14 33b1e0a273af: Pulling fs layer 20:06:14 3a2ae6a8a46f: Waiting 20:06:14 5d3b04190fa2: Pulling fs layer 20:06:14 2f39f015ded8: Pulling fs layer 20:06:14 33b1e0a273af: Waiting 20:06:14 5d3b04190fa2: Waiting 20:06:14 5c69ac0246d0: Verifying Checksum 20:06:14 5c69ac0246d0: Download complete 20:06:14 3a2ae6a8a46f: Verifying Checksum 20:06:14 3a2ae6a8a46f: Download complete 20:06:14 33b1e0a273af: Verifying Checksum 20:06:14 33b1e0a273af: Download complete 20:06:14 5d3b04190fa2: Verifying Checksum 20:06:14 5d3b04190fa2: Download complete 20:06:14 ec43610c2a17: Verifying Checksum 20:06:14 ec43610c2a17: Download complete 20:06:14 5eb5b503b376: Verifying Checksum 20:06:14 5eb5b503b376: Download complete 20:06:15 2f39f015ded8: Download complete 20:06:15 5eb5b503b376: Pull complete 20:06:15 5c69ac0246d0: Pull complete 20:06:15 ec43610c2a17: Pull complete 20:06:15 3a2ae6a8a46f: Pull complete 20:06:16 33b1e0a273af: Pull complete 20:06:16 5d3b04190fa2: Pull complete 20:06:20 2f39f015ded8: Pull complete 20:06:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:20 prd-ubuntu20.04-docker-8c-8g-44954 does not seem to be running inside a container 20:06:20 $ 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-739 -v /w/workspace/gexfoundry_device-mqtt-go_PR-739:/w/workspace/gexfoundry_device-mqtt-go_PR-739:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-739@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 20:06:22 $ docker top 023ec19bc5bc154e1a48d477b870f0a721e011e33a122c9f39bf61bb7d71d145 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:22 ---> job-cost.sh 20:06:22 lf-activate-venv: SKIPPING 20:06:22 INFO: No Stack... 20:06:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:23 INFO: Archiving Costs [Pipeline] sh 20:06:23 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives/cost.csv 20:06:23 + cut -d, -f6 [Pipeline] lock 20:06:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-739-1-stack-cost] 20:06:23 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-739-1-stack-cost] did not exist. Created. 20:06:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-739-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:24 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:24 Stashed 1 file(s) [Pipeline] } 20:06:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-739-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:24 $ docker stop --time=1 023ec19bc5bc154e1a48d477b870f0a721e011e33a122c9f39bf61bb7d71d145 20:06:25 $ docker rm -f --volumes 023ec19bc5bc154e1a48d477b870f0a721e011e33a122c9f39bf61bb7d71d145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:26 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 20:06:30 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives ] 20:06:30 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives 20:06:30 total 16 20:06:30 drwxr-xr-x 3 root root 4096 Apr 14 20:06 . 20:06:30 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 20:06 .. 20:06:30 drwxr-xr-x 2 root root 4096 Apr 14 20:06 cost 20:06:30 -rw-r--r-- 1 root root 86 Apr 14 20:06 cost.csv 20:06:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives 20:06:30 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives 20:06:30 total 16 20:06:30 drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 20:06 . 20:06:30 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 20:06 .. 20:06:30 drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 20:06 cost 20:06:30 -rw-r--r-- 1 jenkins jenkins 86 Apr 14 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:06:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:06:31 ---> package-listing.sh 20:06:31 ++ facter osfamily 20:06:31 ++ tr '[:upper:]' '[:lower:]' 20:06:32 + OS_FAMILY=debian 20:06:32 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-739 20:06:32 + START_PACKAGES=/tmp/packages_start.txt 20:06:32 + END_PACKAGES=/tmp/packages_end.txt 20:06:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:06:32 + PACKAGES=/tmp/packages_start.txt 20:06:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-739 ']' 20:06:32 + PACKAGES=/tmp/packages_end.txt 20:06:32 + case "${OS_FAMILY}" in 20:06:32 + dpkg -l 20:06:32 + grep '^ii' 20:06:32 + '[' -f /tmp/packages_start.txt ']' 20:06:32 + '[' -f /tmp/packages_end.txt ']' 20:06:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:06:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-739 ']' 20:06:32 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives/ 20:06:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-739/archives/ [Pipeline] echo 20:06:32 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-739/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:06:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:33 prd-ubuntu20.04-docker-8c-8g-44954 does not seem to be running inside a container 20:06:33 $ 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-739/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-739 -v /w/workspace/gexfoundry_device-mqtt-go_PR-739:/w/workspace/gexfoundry_device-mqtt-go_PR-739:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-739@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 20:06:33 $ docker top 5db78f72b8a2c1bb340c9fe98709506064a59c777220bdcfe2d9b6879affcde6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:34 + touch /tmp/pre-build-complete [Pipeline] sh 20:06:34 + mkdir -p /var/log/sysstat [Pipeline] sh 20:06:34 + ls /var/log/sa-host 20:06:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:34 provisioning config files... 20:06:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-739@tmp/config15553195806787183056tmp [Pipeline] { [Pipeline] echo 20:06:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:06:35 ---> create-netrc.sh [Pipeline] } 20:06:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:06:35 ---> python-tools-install.sh [Pipeline] echo 20:06:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:06:36 ---> sudo-logs.sh 20:06:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:06:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:06:36 ---> job-cost.sh 20:06:36 lf-activate-venv: SKIPPING 20:06:36 DEBUG: total: 0.2199999988079071 20:06:36 INFO: Retrieving Stack Cost... 20:06:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:37 INFO: Archiving Costs [Pipeline] echo 20:06:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:06:37 ---> logs-deploy.sh 20:06:37 lf-activate-venv: SKIPPING 20:06:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-739/1 20:06:37 INFO: archiving workspace using pattern(s): 20:06:38 Archives upload complete. 20:06:38 INFO: archiving logs to Nexus