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