Pull request #631 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b+2f15f281678cccf9a75033b18da75fe627dd9e87 (b917019747d8235af2611b2d1bbabd75616ff111) 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-ssh1999027987560902204.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-ssh7460386875450248822.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-modbus-go/branches/PR-631/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-modbus-go/branches/PR-631/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10089390828467225047.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-modbus-go/branches/PR-631/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9874488827031136619.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-ssh13024385607285407039.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-modbus-go/branches/PR-631/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-modbus-go/branches/PR-631/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17495148557970260445.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-modbus-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-modbus-go-settings PROJECT: device-modbus-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-modbus 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-44952 in /w/workspace/xfoundry_device-modbus-go_PR-631 [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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-631 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2f15f281678cccf9a75033b18da75fe627dd9e87 into PR head commit 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b # timeout=10 Merge succeeded, producing 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b Checking out Revision 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b (PR-631) 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 remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:58:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:58:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:58:03 ========================================================= 19:58:03 EdgeX Global Pipelines Version Info 19:58:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:58:04 ------------------- 19:58:04 stable info: 19:58:04 ------------------- 19:58:04 Commited By: Ginny Guan ginny@iotechsys.com 19:58:04 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 19:58:04 Message: update stable to v1.0.274 19:58:04 ------------------- 19:58:04 experimental info: 19:58:04 ------------------- 19:58:04 Commited By: Ginny Guan ginny@iotechsys.com 19:58:04 Commit SHA: 8f81f3482e950ecb1e6e8190bfb15181b73b14c5 19:58:04 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:58:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-631 [Pipeline] echo 19:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-631 [Pipeline] echo 19:58:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-631 [Pipeline] echo 19:58:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b [Pipeline] echo 19:58:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c104f8 [Pipeline] echo 19:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:58:07 provisioning config files... 19:58:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-631@tmp/config12923165287219911066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:58:07 ---> ****-login.sh 19:58:07 nexus3.edgexfoundry.org:10001 19:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:08 Configure a credential helper to remove this warning. See 19:58:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:08 19:58:08 Login Succeeded 19:58:08 nexus3.edgexfoundry.org:10002 19:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:08 Configure a credential helper to remove this warning. See 19:58:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:08 19:58:08 Login Succeeded 19:58:08 nexus3.edgexfoundry.org:10003 19:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:08 Configure a credential helper to remove this warning. See 19:58:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:08 19:58:08 Login Succeeded 19:58:08 nexus3.edgexfoundry.org:10004 19:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:08 Configure a credential helper to remove this warning. See 19:58:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:08 19:58:08 Login Succeeded 19:58:08 ****.io 19:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:08 Configure a credential helper to remove this warning. See 19:58:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:08 19:58:08 Login Succeeded 19:58:08 ---> ****-login.sh ends [Pipeline] } 19:58:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:58:09 + git rev-list -1 --merges 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b~1..1c104f8b13f7cc8f9c547192b5f7314e6cd1921b [Pipeline] echo 19:58:09 -----------> git rev-list -1 --merges 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b~1..1c104f8b13f7cc8f9c547192b5f7314e6cd1921b 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b [false] [Pipeline] sh 19:58:10 + git log --format=format:%s -1 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b [Pipeline] echo 19:58:10 ========================================================= 19:58:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:58:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:58:10 + git log --format=format:%s -1 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b [Pipeline] echo 19:58:10 [semverPrep] GIT_COMMIT: 1c104f8b13f7cc8f9c547192b5f7314e6cd1921b, Commit Message: build(deps): Bump golang.org/x/crypto from 0.33.0 to 0.35.0 [Pipeline] echo 19:58:10 [semverPrep] This is not a build commit. [Pipeline] sh 19:58:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:58:11 + grep -v github /etc/ssh/ssh_known_hosts 19:58:11 + [ -e /tmp/ssh_known_hosts ] 19:58:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:58:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:58:11 + sudo tee -a /etc/ssh/ssh_known_hosts 19:58:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:11 19:58:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:12 0.1.4: Pulling from edgex-devops/py-git-semver 19:58:12 b85a868b505f: Pulling fs layer 19:58:12 e2be974225ed: Pulling fs layer 19:58:12 339a4e72a1f5: Pulling fs layer 19:58:12 988bab9f4d93: Pulling fs layer 19:58:12 1469e6f7b9e6: Pulling fs layer 19:58:12 eaf3925da568: Pulling fs layer 19:58:12 bab4dde63d76: Pulling fs layer 19:58:12 bde34c3a00c8: Pulling fs layer 19:58:12 b352a97aabf1: Pulling fs layer 19:58:12 4872d77fe225: Pulling fs layer 19:58:12 5851b861e8e6: Pulling fs layer 19:58:12 1469e6f7b9e6: Waiting 19:58:12 eaf3925da568: Waiting 19:58:12 bde34c3a00c8: Waiting 19:58:12 b352a97aabf1: Waiting 19:58:12 bab4dde63d76: Waiting 19:58:12 4872d77fe225: Waiting 19:58:12 988bab9f4d93: Waiting 19:58:12 5851b861e8e6: Waiting 19:58:12 e2be974225ed: Download complete 19:58:12 988bab9f4d93: Download complete 19:58:12 1469e6f7b9e6: Verifying Checksum 19:58:12 1469e6f7b9e6: Download complete 19:58:12 339a4e72a1f5: Verifying Checksum 19:58:12 339a4e72a1f5: Download complete 19:58:12 eaf3925da568: Verifying Checksum 19:58:12 eaf3925da568: Download complete 19:58:12 bde34c3a00c8: Verifying Checksum 19:58:12 bde34c3a00c8: Download complete 19:58:12 b352a97aabf1: Verifying Checksum 19:58:12 b352a97aabf1: Download complete 19:58:12 4872d77fe225: Download complete 19:58:12 5851b861e8e6: Verifying Checksum 19:58:12 5851b861e8e6: Download complete 19:58:12 b85a868b505f: Verifying Checksum 19:58:12 b85a868b505f: Download complete 19:58:12 bab4dde63d76: Verifying Checksum 19:58:12 bab4dde63d76: Download complete 19:58:13 b85a868b505f: Pull complete 19:58:14 e2be974225ed: Pull complete 19:58:14 339a4e72a1f5: Pull complete 19:58:14 988bab9f4d93: Pull complete 19:58:14 1469e6f7b9e6: Pull complete 19:58:14 eaf3925da568: Pull complete 19:58:16 bab4dde63d76: Pull complete 19:58:16 bde34c3a00c8: Pull complete 19:58:16 b352a97aabf1: Pull complete 19:58:16 4872d77fe225: Pull complete 19:58:16 5851b861e8e6: Pull complete 19:58:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:17 prd-ubuntu20.04-docker-8c-8g-44952 does not seem to be running inside a container 19:58:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-631 -v /w/workspace/xfoundry_device-modbus-go_PR-631:/w/workspace/xfoundry_device-modbus-go_PR-631:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-631@tmp:/w/workspace/xfoundry_device-modbus-go_PR-631@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 19:58:19 $ docker top c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 -eo pid,comm 19:58:19 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). 19:58:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:58:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:19 [ssh-agent] Looking for ssh-agent implementation... 19:58:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:19 $ docker exec c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 ssh-agent 19:58:19 SSH_AUTH_SOCK=/tmp/ssh-5sHdXAMfWuXQ/agent.32 19:58:19 SSH_AGENT_PID=38 19:58:19 Running ssh-add (command line suppressed) 19:58:19 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-631@tmp/private_key_4439338260214715216.key (/w/workspace/xfoundry_device-modbus-go_PR-631@tmp/private_key_4439338260214715216.key) 19:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:20 + git tag --points-at HEAD [Pipeline] } 19:58:20 $ docker exec --env ******** --env ******** c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 ssh-agent -k 19:58:20 unset SSH_AUTH_SOCK; 19:58:20 unset SSH_AGENT_PID; 19:58:20 echo Agent pid 38 killed; 19:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:58:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:58:20 [ssh-agent] Looking for ssh-agent implementation... 19:58:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:58:20 $ docker exec c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 ssh-agent 19:58:20 SSH_AUTH_SOCK=/tmp/ssh-sH5njEG88J8X/agent.71 19:58:20 SSH_AGENT_PID=77 19:58:20 Running ssh-add (command line suppressed) 19:58:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-631@tmp/private_key_5619548070804829260.key (/w/workspace/xfoundry_device-modbus-go_PR-631@tmp/private_key_5619548070804829260.key) 19:58:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:58:21 + git semver init 19:58:21 2025-04-14 19:58:21,315 [run_init] DEBUG init version:0.0.0 force:False 19:58:21 2025-04-14 19:58:21,316 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-631/.semver 19:58:21 2025-04-14 19:58:21,316 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-631/.semver 19:58:21 2025-04-14 19:58:21,317 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-631/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-631, universal_newlines=False, shell=None, istream=None) 19:58:22 2025-04-14 19:58:22,498 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-631/.git/info/exclude 19:58:22 2025-04-14 19:58:22,499 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-631/.semver/PR-631 with force:False 19:58:22 2025-04-14 19:58:22,499 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-631/.semver/PR-631 19:58:22 2025-04-14 19:58:22,503 [execute] INFO git cat-file --batch-check 19:58:22 2025-04-14 19:58:22,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-631/.semver, universal_newlines=False, shell=None, istream=) 19:58:22 2025-04-14 19:58:22,509 [execute] INFO git cat-file --batch 19:58:22 2025-04-14 19:58:22,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-631/.semver, universal_newlines=False, shell=None, istream=) 19:58:22 2025-04-14 19:58:22,517 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-631/.semver/PR-631 19:58:22 0.0.0 [Pipeline] } 19:58:22 $ docker exec --env ******** --env ******** c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 ssh-agent -k 19:58:22 unset SSH_AUTH_SOCK; 19:58:22 unset SSH_AGENT_PID; 19:58:22 echo Agent pid 77 killed; 19:58:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:58:23 + git semver [Pipeline] } 19:58:23 $ docker stop --time=1 c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 19:58:25 $ docker rm -f --volumes c04a077876a0d3194174ff54b753fb6e7543fada95d122e937f8963f0a8a8047 [Pipeline] // withDockerContainer [Pipeline] sh 19:58:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:58:25 Stashed 1 file(s) [Pipeline] echo 19:58:25 [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 19:58:27 provisioning config files... 19:58:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-631@tmp/config8419637526874827660tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 19:58:28 ---> ****-login.sh 19:58:28 nexus3.edgexfoundry.org:10001 19:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:28 Configure a credential helper to remove this warning. See 19:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:28 19:58:28 Login Succeeded 19:58:28 nexus3.edgexfoundry.org:10002 19:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:28 Configure a credential helper to remove this warning. See 19:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:28 19:58:28 Login Succeeded 19:58:28 nexus3.edgexfoundry.org:10003 19:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:28 Configure a credential helper to remove this warning. See 19:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:28 19:58:28 Login Succeeded 19:58:28 nexus3.edgexfoundry.org:10004 19:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:28 Configure a credential helper to remove this warning. See 19:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:28 19:58:28 Login Succeeded 19:58:28 ****.io 19:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:58:28 Configure a credential helper to remove this warning. See 19:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:58:28 19:58:28 Login Succeeded 19:58:28 ---> ****-login.sh ends [Pipeline] } 19:58:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:58:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 19:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 19:58:29 ========================================================= 19:58:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:58:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:29 + 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 . 19:58:29 Sending build context to Docker daemon 27.97MB 19:58:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:58:29 Step 2/10 : FROM ${BASE} AS builder 19:58:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 19:58:29 0a9a5dfd008f: Pulling fs layer 19:58:29 dbfa0bcfca99: Pulling fs layer 19:58:29 70eabb1d9476: Pulling fs layer 19:58:29 957bedc73fa3: Pulling fs layer 19:58:29 4f4fb700ef54: Pulling fs layer 19:58:29 f40432e63723: Pulling fs layer 19:58:29 4f4fb700ef54: Waiting 19:58:29 957bedc73fa3: Waiting 19:58:29 90b4343acab7: Pulling fs layer 19:58:29 9f67ea4ac784: Pulling fs layer 19:58:29 9228b9a606be: Pulling fs layer 19:58:29 f40432e63723: Waiting 19:58:29 9f67ea4ac784: Waiting 19:58:29 90b4343acab7: Waiting 19:58:29 9228b9a606be: Waiting 19:58:29 dbfa0bcfca99: Verifying Checksum 19:58:29 dbfa0bcfca99: Download complete 19:58:29 957bedc73fa3: Download complete 19:58:29 4f4fb700ef54: Download complete 19:58:29 f40432e63723: Download complete 19:58:29 0a9a5dfd008f: Verifying Checksum 19:58:29 0a9a5dfd008f: Download complete 19:58:29 90b4343acab7: Verifying Checksum 19:58:29 90b4343acab7: Download complete 19:58:30 0a9a5dfd008f: Pull complete 19:58:30 9228b9a606be: Verifying Checksum 19:58:30 9228b9a606be: Download complete 19:58:30 dbfa0bcfca99: Pull complete 19:58:30 70eabb1d9476: Download complete 19:58:30 9f67ea4ac784: Verifying Checksum 19:58:30 9f67ea4ac784: Download complete 19:58:34 70eabb1d9476: Pull complete 19:58:34 957bedc73fa3: Pull complete 19:58:34 4f4fb700ef54: Pull complete 19:58:34 f40432e63723: Pull complete 19:58:34 90b4343acab7: Pull complete 19:58:36 9f67ea4ac784: Pull complete 19:58:37 9228b9a606be: Pull complete 19:58:37 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 19:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:58:37 ---> 69404ca5bff2 19:58:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:58:38 ---> Running in 0126cb95d716 19:58:38 Removing intermediate container 0126cb95d716 19:58:38 ---> bff314654270 19:58:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:58:38 ---> Running in c7ff95eb866e 19:58:38 Removing intermediate container c7ff95eb866e 19:58:38 ---> 396b67a982a3 19:58:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:58:38 ---> Running in d5d9beaf0ec6 19:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:58:39 (1/8) Installing openssh-keygen (9.7_p1-r5) 19:58:39 (2/8) Installing libedit (20240517.3.1-r0) 19:58:39 (3/8) Installing openssh-client-common (9.7_p1-r5) 19:58:39 (4/8) Installing openssh-client-default (9.7_p1-r5) 19:58:39 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 19:58:39 (6/8) Installing openssh-server-common (9.7_p1-r5) 19:58:39 (7/8) Installing openssh-server (9.7_p1-r5) 19:58:39 (8/8) Installing openssh (9.7_p1-r5) 19:58:39 Executing busybox-1.36.1-r29.trigger 19:58:39 OK: 253 MiB in 66 packages 19:58:39 Removing intermediate container d5d9beaf0ec6 19:58:39 ---> e75081cf35ee 19:58:39 Step 6/10 : WORKDIR /device-modbus-go 19:58:39 ---> Running in ec6feb995570 19:58:40 Removing intermediate container ec6feb995570 19:58:40 ---> 48f953e4d0e8 19:58:40 Step 7/10 : COPY go.mod vendor* ./ 19:58:40 ---> a10dd5df0e1f 19:58:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:40 ---> Running in 3e0e32ab660a 19:59:19 Removing intermediate container 3e0e32ab660a 19:59:19 ---> daf95a7fca1d 19:59:19 Step 9/10 : COPY . . 19:59:19 ---> 24c299613291 19:59:19 Step 10/10 : RUN ${MAKE} 19:59:19 ---> Running in 17899e2cd62a 19:59:19 noop 19:59:19 Removing intermediate container 17899e2cd62a 19:59:19 ---> 955eefebec5b 19:59:19 Successfully built 955eefebec5b 19:59:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:19 + docker inspect -f . ci-base-image-x86_64 19:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:20 prd-ubuntu20.04-docker-8c-8g-44952 does not seem to be running inside a container 19:59:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-631 -v /w/workspace/xfoundry_device-modbus-go_PR-631:/w/workspace/xfoundry_device-modbus-go_PR-631:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-631@tmp:/w/workspace/xfoundry_device-modbus-go_PR-631@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 19:59:20 $ docker top 053ece812ff77875e02b06be4b11c4627c6262581279b4f495c746b26122abc6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:20 + go version 19:59:20 go version go1.23.8 linux/amd64 [Pipeline] } 19:59:20 $ docker stop --time=1 053ece812ff77875e02b06be4b11c4627c6262581279b4f495c746b26122abc6 19:59:22 $ docker rm -f --volumes 053ece812ff77875e02b06be4b11c4627c6262581279b4f495c746b26122abc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:23 + docker inspect -f . ci-base-image-x86_64 19:59:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:23 prd-ubuntu20.04-docker-8c-8g-44952 does not seem to be running inside a container 19:59:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-631 -v /w/workspace/xfoundry_device-modbus-go_PR-631:/w/workspace/xfoundry_device-modbus-go_PR-631:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-631@tmp:/w/workspace/xfoundry_device-modbus-go_PR-631@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 19:59:23 $ docker top d477ca8ead04775d20adec783a07d1b61c90d512584827ed6cdd99275b6e2d4b -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-631 [Pipeline] fileExists [Pipeline] sh 19:59:24 + make test 19:59:24 go test ./... -coverprofile=coverage.out 19:59:25 go: updates to go.mod needed; to update it: 19:59:25 go mod tidy 19:59:25 make: *** [Makefile:47: unittest] Error 1 [Pipeline] } 19:59:25 $ docker stop --time=1 d477ca8ead04775d20adec783a07d1b61c90d512584827ed6cdd99275b6e2d4b 19:59:26 $ docker rm -f --volumes d477ca8ead04775d20adec783a07d1b61c90d512584827ed6cdd99275b6e2d4b [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 19:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:28 19:59:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:28 latest: Pulling from edgex-lftools-log-publisher 19:59:28 5eb5b503b376: Pulling fs layer 19:59:28 5c69ac0246d0: Pulling fs layer 19:59:28 ec43610c2a17: Pulling fs layer 19:59:28 3a2ae6a8a46f: Pulling fs layer 19:59:28 33b1e0a273af: Pulling fs layer 19:59:28 5d3b04190fa2: Pulling fs layer 19:59:28 2f39f015ded8: Pulling fs layer 19:59:28 3a2ae6a8a46f: Waiting 19:59:28 33b1e0a273af: Waiting 19:59:28 5d3b04190fa2: Waiting 19:59:28 2f39f015ded8: Waiting 19:59:28 5c69ac0246d0: Verifying Checksum 19:59:28 5c69ac0246d0: Download complete 19:59:28 3a2ae6a8a46f: Download complete 19:59:28 33b1e0a273af: Verifying Checksum 19:59:28 33b1e0a273af: Download complete 19:59:28 5d3b04190fa2: Verifying Checksum 19:59:28 5d3b04190fa2: Download complete 19:59:28 ec43610c2a17: Verifying Checksum 19:59:28 ec43610c2a17: Download complete 19:59:29 5eb5b503b376: Verifying Checksum 19:59:29 5eb5b503b376: Download complete 19:59:29 2f39f015ded8: Download complete 19:59:30 5eb5b503b376: Pull complete 19:59:30 5c69ac0246d0: Pull complete 19:59:30 ec43610c2a17: Pull complete 19:59:30 3a2ae6a8a46f: Pull complete 19:59:31 33b1e0a273af: Pull complete 19:59:31 5d3b04190fa2: Pull complete 19:59:35 2f39f015ded8: Pull complete 19:59:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:36 prd-ubuntu20.04-docker-8c-8g-44952 does not seem to be running inside a container 19:59:36 $ 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/xfoundry_device-modbus-go_PR-631 -v /w/workspace/xfoundry_device-modbus-go_PR-631:/w/workspace/xfoundry_device-modbus-go_PR-631:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-631@tmp:/w/workspace/xfoundry_device-modbus-go_PR-631@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 19:59:37 $ docker top 029fd20e43e95bd0c8f49e0b615a05b1aaf696ec3f4402741c561b9b1ada6bf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:38 ---> job-cost.sh 19:59:38 lf-activate-venv: SKIPPING 19:59:38 INFO: No Stack... 19:59:38 INFO: Retrieving Pricing Info for: v3-standard-8 19:59:39 INFO: Archiving Costs [Pipeline] sh 19:59:39 + cat /w/workspace/xfoundry_device-modbus-go_PR-631/archives/cost.csv 19:59:39 + cut -d, -f6 [Pipeline] lock 19:59:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-631-1-stack-cost] 19:59:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-631-1-stack-cost] did not exist. Created. 19:59:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-631-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:59:40 + echo total: 0.2199999988079071 [Pipeline] stash 19:59:40 Stashed 1 file(s) [Pipeline] } 19:59:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-631-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:59:40 $ docker stop --time=1 029fd20e43e95bd0c8f49e0b615a05b1aaf696ec3f4402741c561b9b1ada6bf4 19:59:41 $ docker rm -f --volumes 029fd20e43e95bd0c8f49e0b615a05b1aaf696ec3f4402741c561b9b1ada6bf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:59:42 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 19:59:45 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-631/archives ] 19:59:45 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-631/archives 19:59:45 total 16 19:59:45 drwxr-xr-x 3 root root 4096 Apr 14 19:59 . 19:59:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 19:59 .. 19:59:45 drwxr-xr-x 2 root root 4096 Apr 14 19:59 cost 19:59:45 -rw-r--r-- 1 root root 88 Apr 14 19:59 cost.csv 19:59:45 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-631/archives 19:59:45 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-631/archives 19:59:45 total 16 19:59:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 19:59 . 19:59:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 19:59 .. 19:59:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 19:59 cost 19:59:45 -rw-r--r-- 1 jenkins jenkins 88 Apr 14 19:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:59:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:59:46 ---> package-listing.sh 19:59:46 ++ facter osfamily 19:59:46 ++ tr '[:upper:]' '[:lower:]' 19:59:46 + OS_FAMILY=debian 19:59:46 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-631 19:59:46 + START_PACKAGES=/tmp/packages_start.txt 19:59:46 + END_PACKAGES=/tmp/packages_end.txt 19:59:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:59:46 + PACKAGES=/tmp/packages_start.txt 19:59:46 + '[' /w/workspace/xfoundry_device-modbus-go_PR-631 ']' 19:59:46 + PACKAGES=/tmp/packages_end.txt 19:59:46 + case "${OS_FAMILY}" in 19:59:46 + dpkg -l 19:59:46 + grep '^ii' 19:59:46 + '[' -f /tmp/packages_start.txt ']' 19:59:46 + '[' -f /tmp/packages_end.txt ']' 19:59:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:59:46 + '[' /w/workspace/xfoundry_device-modbus-go_PR-631 ']' 19:59:46 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-631/archives/ 19:59:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-631/archives/ [Pipeline] echo 19:59:46 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/xfoundry_device-modbus-go_PR-631/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:59:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:48 prd-ubuntu20.04-docker-8c-8g-44952 does not seem to be running inside a container 19:59:48 $ 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/xfoundry_device-modbus-go_PR-631/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-631 -v /w/workspace/xfoundry_device-modbus-go_PR-631:/w/workspace/xfoundry_device-modbus-go_PR-631:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-631@tmp:/w/workspace/xfoundry_device-modbus-go_PR-631@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 19:59:48 $ docker top 1e7bc116207708e16934350cafaa43a177adc75f879bc922ae642c0631a2b914 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:48 + touch /tmp/pre-build-complete [Pipeline] sh 19:59:49 + mkdir -p /var/log/sysstat [Pipeline] sh 19:59:49 + ls /var/log/sa-host 19:59:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:49 provisioning config files... 19:59:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-631@tmp/config12328707760318027565tmp [Pipeline] { [Pipeline] echo 19:59:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:59:50 ---> create-netrc.sh [Pipeline] } 19:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:59:50 ---> python-tools-install.sh [Pipeline] echo 19:59:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:59:51 ---> sudo-logs.sh 19:59:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:59:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:59:51 ---> job-cost.sh 19:59:51 lf-activate-venv: SKIPPING 19:59:51 DEBUG: total: 0.2199999988079071 19:59:51 INFO: Retrieving Stack Cost... 19:59:51 INFO: Retrieving Pricing Info for: v3-standard-8 19:59:51 INFO: Archiving Costs [Pipeline] echo 19:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:59:52 ---> logs-deploy.sh 19:59:52 lf-activate-venv: SKIPPING 19:59:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-631/1 19:59:52 INFO: archiving workspace using pattern(s): 19:59:53 Archives upload complete. 19:59:53 INFO: archiving logs to Nexus