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