Pull request #508 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-rest-go Obtained Jenkinsfile from 17e0937ac09e8f33a94aa1594fa18defbe648bdf+538c49beec832bb608dadee327750284423bbdd1 (a18a5f9b72d66d5730b82303761bccfcc6b80dfb) 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-ssh7926900598835033092.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh13221497812635469902.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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-508/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-508/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9709174099495687295.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-508/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17054767404187757141.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh3364930428300181252.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-508/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-508/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5508239804536622976.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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.25 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-773590’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-773591’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-773671’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-773664’ is offline ‘prd-ubuntu20.04-docker-8c-8g-773666’ is offline ‘prd-ubuntu20.04-docker-8c-8g-773667’ is offline ‘prd-ubuntu20.04-docker-8c-8g-773669’ is offline ‘prd-ubuntu20.04-docker-8c-8g-773672’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-773670’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-773673 in /w/workspace/gexfoundry_device-rest-go_PR-508 [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-508 # 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 Merging remotes/origin/odessa commit 538c49beec832bb608dadee327750284423bbdd1 into PR head commit 17e0937ac09e8f33a94aa1594fa18defbe648bdf > 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/508/head:refs/remotes/origin/PR-508 +refs/heads/odessa:refs/remotes/origin/odessa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17e0937ac09e8f33a94aa1594fa18defbe648bdf # timeout=10 Merge succeeded, producing 17e0937ac09e8f33a94aa1594fa18defbe648bdf Checking out Revision 17e0937ac09e8f33a94aa1594fa18defbe648bdf (PR-508) Commit message: "build: Bump Alpine from 3.20 to 3.22" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 538c49beec832bb608dadee327750284423bbdd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17e0937ac09e8f33a94aa1594fa18defbe648bdf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:52:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:52:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:52:35 ========================================================= 01:52:35 EdgeX Global Pipelines Version Info 01:52:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:52:36 ------------------- 01:52:36 stable info: 01:52:36 ------------------- 01:52:36 Commited By: Cherry Wang cherry@iotechsys.com 01:52:36 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 01:52:36 Message: update stable to v1.0.278 01:52:37 ------------------- 01:52:37 experimental info: 01:52:37 ------------------- 01:52:37 Commited By: **** collab-it+edgex@linuxfoundation.org 01:52:37 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 01:52:37 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:52:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-508 [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-508 [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-508 [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17e0937ac09e8f33a94aa1594fa18defbe648bdf [Pipeline] echo 01:52:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17e0937 [Pipeline] echo 01:52:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:39 provisioning config files... 01:52:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-508@tmp/config18202391799357773812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:39 ---> ****-login.sh 01:52:39 nexus3.edgexfoundry.org:10001 01:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:39 01:52:39 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:52:39 Configure a credential helper to remove this warning. See 01:52:39 https://docs.****.com/go/credential-store/ 01:52:39 01:52:39 Login Succeeded 01:52:39 nexus3.edgexfoundry.org:10002 01:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:39 01:52:39 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:52:39 Configure a credential helper to remove this warning. See 01:52:39 https://docs.****.com/go/credential-store/ 01:52:39 01:52:39 Login Succeeded 01:52:39 nexus3.edgexfoundry.org:10003 01:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:40 01:52:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:52:40 Configure a credential helper to remove this warning. See 01:52:40 https://docs.****.com/go/credential-store/ 01:52:40 01:52:40 Login Succeeded 01:52:40 nexus3.edgexfoundry.org:10004 01:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:40 01:52:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:52:40 Configure a credential helper to remove this warning. See 01:52:40 https://docs.****.com/go/credential-store/ 01:52:40 01:52:40 Login Succeeded 01:52:40 ****.io 01:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:40 01:52:40 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:52:40 Configure a credential helper to remove this warning. See 01:52:40 https://docs.****.com/go/credential-store/ 01:52:40 01:52:40 Login Succeeded 01:52:40 ---> ****-login.sh ends [Pipeline] } 01:52:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:52:41 + git rev-list -1 --merges 17e0937ac09e8f33a94aa1594fa18defbe648bdf~1..17e0937ac09e8f33a94aa1594fa18defbe648bdf [Pipeline] echo 01:52:41 -----------> git rev-list -1 --merges 17e0937ac09e8f33a94aa1594fa18defbe648bdf~1..17e0937ac09e8f33a94aa1594fa18defbe648bdf 17e0937ac09e8f33a94aa1594fa18defbe648bdf [false] [Pipeline] sh 01:52:41 + git log --format=format:%s -1 17e0937ac09e8f33a94aa1594fa18defbe648bdf [Pipeline] echo 01:52:41 ========================================================= 01:52:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:52:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:41 + git log --format=format:%s -1 17e0937ac09e8f33a94aa1594fa18defbe648bdf [Pipeline] echo 01:52:41 [semverPrep] GIT_COMMIT: 17e0937ac09e8f33a94aa1594fa18defbe648bdf, Commit Message: build: Bump Alpine from 3.20 to 3.22 [Pipeline] echo 01:52:42 [semverPrep] This is not a build commit. [Pipeline] sh 01:52:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:52:42 + grep -v github /etc/ssh/ssh_known_hosts 01:52:42 + [ -e /tmp/ssh_known_hosts ] 01:52:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:52:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:52:42 + sudo tee -a /etc/ssh/ssh_known_hosts 01:52:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:42 01:52:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:43 0.1.4: Pulling from edgex-devops/py-git-semver 01:52:43 3dae71ba6b94: Pulling fs layer 01:52:43 6bf1a483ea7c: Pulling fs layer 01:52:43 f5dfc541a4d3: Pulling fs layer 01:52:43 461d9e800cba: Pulling fs layer 01:52:43 80192f66455f: Pulling fs layer 01:52:43 2e8e34ca0e6c: Pulling fs layer 01:52:43 a29436f7fd5d: Pulling fs layer 01:52:43 923cac83aea3: Pulling fs layer 01:52:43 25ad8b0a4227: Pulling fs layer 01:52:43 db01528c6b51: Pulling fs layer 01:52:43 28988de357af: Pulling fs layer 01:52:43 2e8e34ca0e6c: Waiting 01:52:43 923cac83aea3: Waiting 01:52:43 a29436f7fd5d: Waiting 01:52:43 25ad8b0a4227: Waiting 01:52:43 db01528c6b51: Waiting 01:52:43 461d9e800cba: Waiting 01:52:43 28988de357af: Waiting 01:52:43 80192f66455f: Waiting 01:52:43 6bf1a483ea7c: Verifying Checksum 01:52:43 6bf1a483ea7c: Download complete 01:52:43 461d9e800cba: Verifying Checksum 01:52:43 461d9e800cba: Download complete 01:52:43 80192f66455f: Verifying Checksum 01:52:43 80192f66455f: Download complete 01:52:43 f5dfc541a4d3: Verifying Checksum 01:52:43 f5dfc541a4d3: Download complete 01:52:43 3dae71ba6b94: Verifying Checksum 01:52:43 3dae71ba6b94: Download complete 01:52:43 923cac83aea3: Verifying Checksum 01:52:43 923cac83aea3: Download complete 01:52:43 25ad8b0a4227: Verifying Checksum 01:52:43 25ad8b0a4227: Download complete 01:52:43 db01528c6b51: Download complete 01:52:43 a29436f7fd5d: Verifying Checksum 01:52:43 a29436f7fd5d: Download complete 01:52:44 2e8e34ca0e6c: Verifying Checksum 01:52:44 2e8e34ca0e6c: Download complete 01:52:44 3dae71ba6b94: Pull complete 01:52:45 6bf1a483ea7c: Pull complete 01:52:46 f5dfc541a4d3: Pull complete 01:52:46 461d9e800cba: Pull complete 01:52:46 80192f66455f: Pull complete 01:52:50 2e8e34ca0e6c: Pull complete 01:52:50 a29436f7fd5d: Pull complete 01:52:51 923cac83aea3: Pull complete 01:52:51 25ad8b0a4227: Pull complete 01:52:51 db01528c6b51: Pull complete 01:52:51 28988de357af: Pull complete 01:52:51 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:51 prd-ubuntu20.04-docker-8c-8g-773673 does not seem to be running inside a container 01:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-508 -v /w/workspace/gexfoundry_device-rest-go_PR-508:/w/workspace/gexfoundry_device-rest-go_PR-508:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-508@tmp:/w/workspace/gexfoundry_device-rest-go_PR-508@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-devops/py-git-semver:0.1.4 cat 01:52:53 $ docker top ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 -eo pid,comm 01:52:53 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). 01:52:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:52:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:53 [ssh-agent] Looking for ssh-agent implementation... 01:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:54 $ docker exec ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 ssh-agent 01:52:54 SSH_AUTH_SOCK=/tmp/ssh-5zxD4PIStdoD/agent.33 01:52:54 SSH_AGENT_PID=39 01:52:54 Running ssh-add (command line suppressed) 01:52:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-508@tmp/private_key_12748218899992370376.key (/w/workspace/gexfoundry_device-rest-go_PR-508@tmp/private_key_12748218899992370376.key) 01:52:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-508 [Pipeline] sh 01:52:54 + git tag --points-at HEAD [Pipeline] } 01:52:54 $ docker exec --env ******** --env ******** ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 ssh-agent -k 01:52:55 unset SSH_AUTH_SOCK; 01:52:55 unset SSH_AGENT_PID; 01:52:55 echo Agent pid 39 killed; 01:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:52:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:55 [ssh-agent] Looking for ssh-agent implementation... 01:52:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:55 $ docker exec ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 ssh-agent 01:52:55 SSH_AUTH_SOCK=/tmp/ssh-OMTBBAHI5Jcc/agent.86 01:52:55 SSH_AGENT_PID=92 01:52:55 Running ssh-add (command line suppressed) 01:52:55 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-508@tmp/private_key_12454568836884618508.key (/w/workspace/gexfoundry_device-rest-go_PR-508@tmp/private_key_12454568836884618508.key) 01:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:55 + git semver init 01:52:56 2025-11-24 01:52:56,096 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:52:56 2025-11-24 01:52:56,100 [run_init] DEBUG init version:0.0.0 force:False 01:52:56 2025-11-24 01:52:56,101 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-508/.semver 01:52:56 2025-11-24 01:52:56,101 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-508/.semver 01:52:56 2025-11-24 01:52:56,101 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-508/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-508, stdin=None, shell=False, universal_newlines=False) 01:52:58 2025-11-24 01:52:57,694 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-508/.git/info/exclude 01:52:58 2025-11-24 01:52:57,695 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-508/.semver/PR-508 with force:False 01:52:58 2025-11-24 01:52:57,695 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-508/.semver/PR-508 01:52:58 2025-11-24 01:52:57,699 [execute] INFO git cat-file --batch-check 01:52:58 2025-11-24 01:52:57,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-508/.semver, stdin=, shell=False, universal_newlines=False) 01:52:58 2025-11-24 01:52:57,704 [execute] INFO git cat-file --batch 01:52:58 2025-11-24 01:52:57,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-508/.semver, stdin=, shell=False, universal_newlines=False) 01:52:58 2025-11-24 01:52:57,708 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-508/.semver/PR-508 01:52:58 0.0.0 [Pipeline] } 01:52:58 $ docker exec --env ******** --env ******** ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 ssh-agent -k 01:52:58 unset SSH_AUTH_SOCK; 01:52:58 unset SSH_AGENT_PID; 01:52:58 echo Agent pid 92 killed; 01:52:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:52:58 + git semver [Pipeline] } 01:52:58 $ docker stop --time=1 ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 01:53:00 $ docker rm -f --volumes ac06d3fca338d278d319a8c066a34d8c27c5ece6df784bd842c0d35f3c37a201 [Pipeline] // withDockerContainer [Pipeline] sh 01:53:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:53:00 Stashed 1 file(s) [Pipeline] echo 01:53:00 [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 01:53:02 provisioning config files... 01:53:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-508@tmp/config7965411775397188122tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:53:02 ---> ****-login.sh 01:53:02 nexus3.edgexfoundry.org:10001 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:02 Login Succeeded 01:53:02 nexus3.edgexfoundry.org:10002 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:02 Login Succeeded 01:53:02 nexus3.edgexfoundry.org:10003 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:02 Login Succeeded 01:53:02 nexus3.edgexfoundry.org:10004 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:02 Login Succeeded 01:53:02 ****.io 01:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:03 Login Succeeded 01:53:03 ---> ****-login.sh ends [Pipeline] } 01:53:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:53:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 01:53:03 + grep ^go [0-9].[0-9]* go.mod 01:53:03 + cut -d -f 2 01:53:03 + cut -d . -f1-2 [Pipeline] echo 01:53:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:53:03 ========================================================= 01:53:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 01:53:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:53:04 #0 building with "default" instance using docker driver 01:53:04 01:53:04 #1 [internal] load build definition from Dockerfile 01:53:04 #1 transferring dockerfile: 1.74kB done 01:53:04 #1 DONE 0.0s 01:53:04 01:53:04 #2 [internal] load metadata for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 01:53:04 #2 DONE 0.1s 01:53:05 01:53:05 #3 [internal] load .dockerignore 01:53:05 #3 transferring context: 193B done 01:53:05 #3 DONE 0.0s 01:53:05 01:53:05 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 01:53:05 #4 resolve nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 0.0s done 01:53:05 #4 sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 294.38kB / 294.38kB 0.1s done 01:53:05 #4 sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 2.21kB / 2.21kB done 01:53:05 #4 sha256:bc3d7bf65e2363f1bcda3738ec6be7c8ddbd609a9cc249afb7684dc2b54dd356 5.43kB / 5.43kB done 01:53:05 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s 01:53:05 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 2.10MB / 74.06MB 0.1s 01:53:05 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 01:53:05 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 12.58MB / 74.06MB 0.2s 01:53:05 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 01:53:05 #4 sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 126B / 126B 0.1s done 01:53:05 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:53:05 #4 sha256:012bb1f9d321339749de0031ed7c0df5e7017753dd01ba413db26430b180a314 439B / 439B 0.1s done 01:53:05 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 2.38MB / 2.38MB 0.2s 01:53:05 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 25.17MB / 74.06MB 0.3s 01:53:05 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 01:53:05 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 2.38MB / 2.38MB 0.2s done 01:53:05 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 10.49MB / 100.52MB 0.3s 01:53:05 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 5.24MB / 13.29MB 0.3s 01:53:05 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 58.72MB / 74.06MB 0.5s 01:53:05 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 35.65MB / 100.52MB 0.5s 01:53:05 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 13.29MB / 13.29MB 0.4s done 01:53:05 #4 extracting sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 0.1s done 01:53:05 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 74.06MB / 74.06MB 0.6s 01:53:05 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 53.48MB / 100.52MB 0.6s 01:53:05 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 74.45MB / 100.52MB 0.7s 01:53:05 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 74.06MB / 74.06MB 0.7s done 01:53:05 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 97.95MB / 100.52MB 0.8s 01:53:05 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 01:53:06 #4 ... 01:53:06 01:53:06 #5 [internal] load build context 01:53:06 #5 transferring context: 59.04MB 0.9s done 01:53:06 #5 DONE 1.0s 01:53:06 01:53:06 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 01:53:06 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 100.52MB / 100.52MB 1.0s done 01:53:10 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 4.4s done 01:53:10 #4 extracting sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 01:53:10 #4 extracting sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 done 01:53:10 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:53:10 #4 extracting sha256:012bb1f9d321339749de0031ed7c0df5e7017753dd01ba413db26430b180a314 done 01:53:10 #4 extracting sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 0.0s done 01:53:10 #4 extracting sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 01:53:12 #4 extracting sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 2.3s done 01:53:12 #4 extracting sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 01:53:13 #4 extracting sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 0.6s done 01:53:13 #4 DONE 8.6s 01:53:13 01:53:13 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:53:13 #6 0.203 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:53:13 #6 0.372 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:53:14 #6 0.705 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:53:14 #6 0.715 (2/4) Installing libedit (20240517.3.1-r0) 01:53:14 #6 0.720 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:53:14 #6 0.740 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:53:14 #6 0.750 Executing busybox-1.36.1-r29.trigger 01:53:14 #6 0.758 OK: 252 MiB in 62 packages 01:53:16 #6 DONE 3.0s 01:53:16 01:53:16 #7 [builder 3/7] WORKDIR /device-rest-go 01:53:16 #7 DONE 0.0s 01:53:16 01:53:16 #8 [builder 4/7] COPY go.mod vendor* ./ 01:53:16 #8 DONE 0.5s 01:53:17 01:53:17 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:29 #9 DONE 12.5s 01:53:29 01:53:29 #10 [builder 6/7] COPY . . 01:53:30 #10 DONE 0.5s 01:53:30 01:53:30 #11 [builder 7/7] RUN echo noop 01:53:30 #11 0.184 noop 01:53:30 #11 DONE 0.2s 01:53:30 01:53:30 #12 exporting to image 01:53:30 #12 exporting layers 01:53:38 #12 exporting layers 6.9s done 01:53:38 #12 writing image sha256:67a4f2a596626ea8bc0c3ba428be39b6de73199097aa089d5b97aea218322ecb done 01:53:38 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:53:38 #12 DONE 6.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:39 + docker inspect -f . ci-base-image-x86_64 01:53:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:39 prd-ubuntu20.04-docker-8c-8g-773673 does not seem to be running inside a container 01:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-508 -v /w/workspace/gexfoundry_device-rest-go_PR-508:/w/workspace/gexfoundry_device-rest-go_PR-508:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-508@tmp:/w/workspace/gexfoundry_device-rest-go_PR-508@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:53:39 $ docker top 68cdb43bf9a6978b0265d84fc654bc6aef324a998d43258e4b2ba6a899518b61 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:40 + go version 01:53:40 go version go1.23.7 linux/amd64 [Pipeline] } 01:53:40 $ docker stop --time=1 68cdb43bf9a6978b0265d84fc654bc6aef324a998d43258e4b2ba6a899518b61 01:53:41 $ docker rm -f --volumes 68cdb43bf9a6978b0265d84fc654bc6aef324a998d43258e4b2ba6a899518b61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:42 + docker inspect -f . ci-base-image-x86_64 01:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:42 prd-ubuntu20.04-docker-8c-8g-773673 does not seem to be running inside a container 01:53:42 $ 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-508 -v /w/workspace/gexfoundry_device-rest-go_PR-508:/w/workspace/gexfoundry_device-rest-go_PR-508:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-508@tmp:/w/workspace/gexfoundry_device-rest-go_PR-508@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:53:42 $ docker top 37d4eaf072f6217158c94a06fa44503f4eead4d638b16fa51c4c90f842e3fbc4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-508 [Pipeline] fileExists [Pipeline] sh 01:53:43 + make test 01:53:43 go test ./... -coverprofile=coverage.out ./... 01:53:44 ? github.com/edgexfoundry/device-rest-go [no test files] 01:54:02 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:54:02 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 01:54:10 go vet ./... 01:54:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:54:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:54:14 ./bin/test-attribution-txt.sh [Pipeline] echo 01:54:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:54:14 + go mod tidy [Pipeline] } 01:54:15 $ docker stop --time=1 37d4eaf072f6217158c94a06fa44503f4eead4d638b16fa51c4c90f842e3fbc4 01:54:18 $ docker rm -f --volumes 37d4eaf072f6217158c94a06fa44503f4eead4d638b16fa51c4c90f842e3fbc4 [Pipeline] // withDockerContainer [Pipeline] sh 01:54:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:54:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:54:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:54:19 + ls -al . 01:54:19 total 248 01:54:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 24 01:53 . 01:54:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 01:52 .. 01:54:19 -rw-rw-r-- 1 jenkins jenkins 151 Nov 24 01:52 .dockerignore 01:54:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 24 01:54 .git 01:54:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 01:52 .github 01:54:19 -rw-rw-r-- 1 jenkins jenkins 256 Nov 24 01:52 .gitignore 01:54:19 -rw-rw-r-- 1 jenkins jenkins 41 Nov 24 01:52 .golangci.yml 01:54:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 24 01:52 .semver 01:54:19 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 24 01:52 Attribution.txt 01:54:19 -rw-rw-r-- 1 jenkins jenkins 18492 Nov 24 01:52 CHANGELOG.md 01:54:19 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 24 01:52 Dockerfile 01:54:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 24 01:52 GOVERNANCE.md 01:54:19 -rw-rw-r-- 1 jenkins jenkins 680 Nov 24 01:52 Jenkinsfile 01:54:19 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 24 01:52 LICENSE 01:54:19 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 24 01:52 Makefile 01:54:19 -rw-rw-r-- 1 jenkins jenkins 620 Nov 24 01:52 OWNERS.md 01:54:19 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 24 01:52 README.md 01:54:19 -rw-rw-r-- 1 jenkins jenkins 5 Nov 24 01:53 VERSION 01:54:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 01:52 bin 01:54:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 01:52 cmd 01:54:19 -rw-r--r-- 1 jenkins jenkins 14565 Nov 24 01:54 coverage.out 01:54:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 01:52 driver 01:54:19 -rw-rw-r-- 1 jenkins jenkins 6246 Nov 24 01:52 go.mod 01:54:19 -rw-rw-r-- 1 jenkins jenkins 86532 Nov 24 01:52 go.sum 01:54:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 01:52 openapi 01:54:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 24 01:52 vendor 01:54:19 -rw-rw-r-- 1 jenkins jenkins 713 Nov 24 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:20 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=17e0937ac09e8f33a94aa1594fa18defbe648bdf --label arch=amd64 --label version=0.0.0 . 01:54:20 #0 building with "default" instance using docker driver 01:54:20 01:54:20 #1 [internal] load build definition from Dockerfile 01:54:20 #1 transferring dockerfile: 1.74kB done 01:54:20 #1 DONE 0.0s 01:54:20 01:54:20 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:54:20 #2 DONE 0.0s 01:54:20 01:54:20 #3 [internal] load metadata for docker.io/library/alpine:3.22 01:54:20 #3 DONE 0.1s 01:54:20 01:54:20 #4 [internal] load .dockerignore 01:54:20 #4 transferring context: 193B done 01:54:20 #4 DONE 0.0s 01:54:20 01:54:20 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 01:54:20 #5 resolve docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 done 01:54:20 #5 ... 01:54:20 01:54:20 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:54:20 #6 DONE 0.1s 01:54:20 01:54:20 #7 [internal] load build context 01:54:20 #7 transferring context: 420.66kB 0.2s done 01:54:20 #7 DONE 0.2s 01:54:20 01:54:20 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 01:54:20 #5 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 01:54:20 #5 sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 9.22kB / 9.22kB done 01:54:20 #5 sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f 1.02kB / 1.02kB done 01:54:20 #5 sha256:706db57fb2063f39f69632c5b5c9c439633fda35110e65587c5d85553fd1cc38 581B / 581B done 01:54:20 #5 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 01:54:20 #5 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.2s done 01:54:20 #5 DONE 0.3s 01:54:20 01:54:20 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:54:20 #8 0.235 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:54:21 #8 0.411 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:54:21 #8 0.815 OK: 252 MiB in 62 packages 01:54:21 #8 DONE 0.9s 01:54:21 01:54:21 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:54:21 #9 0.187 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 01:54:21 #9 0.262 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 01:54:21 #9 0.560 (1/1) Installing dumb-init (1.2.5-r3) 01:54:21 #9 0.582 Executing busybox-1.37.0-r19.trigger 01:54:21 #9 0.587 OK: 7 MiB in 17 packages 01:54:21 #9 DONE 0.7s 01:54:21 01:54:21 #10 [builder 3/7] WORKDIR /device-rest-go 01:54:21 #10 DONE 0.1s 01:54:21 01:54:21 #11 [builder 4/7] COPY go.mod vendor* ./ 01:54:22 #11 DONE 0.6s 01:54:22 01:54:22 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:54:22 #12 0.409 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 01:54:22 #12 0.476 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 01:54:22 #12 ... 01:54:22 01:54:22 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:22 #13 0.200 skipping... 01:54:22 #13 DONE 0.2s 01:54:22 01:54:22 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:54:22 #12 0.822 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 01:54:22 #12 0.865 Executing busybox-1.37.0-r20.post-upgrade 01:54:22 #12 0.903 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 01:54:22 #12 0.914 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 01:54:22 #12 0.919 Executing busybox-1.37.0-r20.trigger 01:54:22 #12 0.931 OK: 7 MiB in 17 packages 01:54:22 #12 DONE 1.2s 01:54:22 01:54:22 #14 [builder 6/7] COPY . . 01:54:22 #14 DONE 0.5s 01:54:23 01:54:23 #15 [builder 7/7] RUN make build 01:54:23 #15 0.224 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.1 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:54:44 #15 DONE 21.6s 01:54:44 01:54:44 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:54:44 #16 DONE 0.2s 01:54:44 01:54:44 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:54:44 #17 DONE 0.0s 01:54:44 01:54:44 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:54:44 #18 DONE 0.0s 01:54:44 01:54:44 #19 exporting to image 01:54:44 #19 exporting layers 0.1s done 01:54:44 #19 writing image sha256:35e5a0331620de01cdf22f5d79b89a6712e743804216d8a26213834675f90dfa done 01:54:44 #19 naming to docker.io/library/device-rest done 01:54:44 #19 DONE 0.1s 01:54:44 01:54:44 1 warning found (use docker --debug to expand): 01:54:44  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:45 01:54:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:46 latest: Pulling from edgex-lftools-log-publisher 01:54:46 5eb5b503b376: Pulling fs layer 01:54:46 5c69ac0246d0: Pulling fs layer 01:54:46 ec43610c2a17: Pulling fs layer 01:54:46 3a2ae6a8a46f: Pulling fs layer 01:54:46 33b1e0a273af: Pulling fs layer 01:54:46 5d3b04190fa2: Pulling fs layer 01:54:46 2f39f015ded8: Pulling fs layer 01:54:46 5d3b04190fa2: Waiting 01:54:46 2f39f015ded8: Waiting 01:54:46 3a2ae6a8a46f: Waiting 01:54:46 33b1e0a273af: Waiting 01:54:46 3a2ae6a8a46f: Download complete 01:54:46 33b1e0a273af: Verifying Checksum 01:54:46 33b1e0a273af: Download complete 01:54:46 5d3b04190fa2: Verifying Checksum 01:54:46 5d3b04190fa2: Download complete 01:54:46 ec43610c2a17: Verifying Checksum 01:54:46 ec43610c2a17: Download complete 01:54:46 5eb5b503b376: Verifying Checksum 01:54:46 5eb5b503b376: Download complete 01:54:47 2f39f015ded8: Verifying Checksum 01:54:47 2f39f015ded8: Download complete 01:54:48 5eb5b503b376: Pull complete 01:54:48 5c69ac0246d0: Pull complete 01:54:48 ec43610c2a17: Pull complete 01:54:48 3a2ae6a8a46f: Pull complete 01:54:48 33b1e0a273af: Pull complete 01:54:48 5d3b04190fa2: Pull complete 01:54:55 2f39f015ded8: Pull complete 01:54:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:55 prd-ubuntu20.04-docker-8c-8g-773673 does not seem to be running inside a container 01:54:55 $ 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-508 -v /w/workspace/gexfoundry_device-rest-go_PR-508:/w/workspace/gexfoundry_device-rest-go_PR-508:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-508@tmp:/w/workspace/gexfoundry_device-rest-go_PR-508@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:54:57 $ docker top 8cba48d8a513bcbd5fe6f4a4c4b97dbaaf72abe5dcd58c7f3e502e671de7b50e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:57 ---> job-cost.sh 01:54:57 lf-activate-venv: SKIPPING 01:54:57 INFO: No Stack... 01:54:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:58 INFO: Archiving Costs [Pipeline] sh 01:54:58 + cat /w/workspace/gexfoundry_device-rest-go_PR-508/archives/cost.csv 01:54:58 + cut -d, -f6 [Pipeline] lock 01:54:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-508-1-stack-cost] 01:54:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-508-1-stack-cost] did not exist. Created. 01:54:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-508-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:59 + echo total: 0.2199999988079071 [Pipeline] stash 01:54:59 Stashed 1 file(s) [Pipeline] } 01:54:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-508-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:59 $ docker stop --time=1 8cba48d8a513bcbd5fe6f4a4c4b97dbaaf72abe5dcd58c7f3e502e671de7b50e 01:55:00 $ docker rm -f --volumes 8cba48d8a513bcbd5fe6f4a4c4b97dbaaf72abe5dcd58c7f3e502e671de7b50e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:55:01 provisioning config files... 01:55:01 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-508@tmp/config18385448005382081480tmp [Pipeline] { [Pipeline] sh 01:55:01 + set +x 01:55:01 + bash -s -- 01:55:01 + curl -s https://codecov.io/bash 01:55:01 01:55:01 _____ _ 01:55:01 / ____| | | 01:55:01 | | ___ __| | ___ ___ _____ __ 01:55:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:01 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:01 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:01 Bash-1.0.6 01:55:01 01:55:01 01:55:01 ==> git version 2.25.1 found 01:55:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:55:01 Release-Date: 2020-01-08 01:55:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:55:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:55:01 ==> Jenkins CI detected. 01:55:01 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-508 01:55:01 project root: . 01:55:01 --> token set from env 01:55:01 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 01:55:01 ==> Running gcov in . (disable via -X gcov) 01:55:01 ==> Python coveragepy not found 01:55:01 ==> Searching for coverage reports in: 01:55:01 + . 01:55:01 -> Found 1 reports 01:55:01 ==> Detecting git/mercurial file structure 01:55:01 ==> Reading reports 01:55:01 + ./coverage.out bytes=14565 01:55:01 ==> Appending adjustments 01:55:01 https://docs.codecov.io/docs/fixing-reports 01:55:01 + Found adjustments 01:55:01 ==> Gzipping contents 01:55:01 28K /tmp/codecov.IPsc65.gz 01:55:02 ==> Uploading reports 01:55:02 url: https://codecov.io 01:55:02 query: branch=PR-508&commit=17e0937ac09e8f33a94aa1594fa18defbe648bdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-508%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=508&job=&cmd_args= 01:55:02 -> Pinging Codecov 01:55:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-508&commit=17e0937ac09e8f33a94aa1594fa18defbe648bdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-508%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=508&job=&cmd_args= 01:55:02 -> Uploading to 01:55:02 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/17e0937ac09e8f33a94aa1594fa18defbe648bdf/bb45c1e6-e1a9-45f6-af51-351499e5d44f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20251124%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20251124T015502Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=8ecf7a3284990a60c8492b2fb884f0c95798d7f312939bdb41f59c94dd50b7c0 01:55:02 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:02 Dload Upload Total Spent Left Speed 01:55:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 27364 0 0 100 27364 0 190k --:--:-- --:--:-- --:--:-- 190k 01:55:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/17e0937ac09e8f33a94aa1594fa18defbe648bdf [Pipeline] } 01:55:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:55:04 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-508/archives ] 01:55:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-508/archives 01:55:04 total 16 01:55:04 drwxr-xr-x 3 root root 4096 Nov 24 01:54 . 01:55:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 24 01:54 .. 01:55:04 drwxr-xr-x 2 root root 4096 Nov 24 01:54 cost 01:55:04 -rw-r--r-- 1 root root 86 Nov 24 01:54 cost.csv 01:55:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-508/archives 01:55:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-508/archives 01:55:04 total 16 01:55:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 24 01:54 . 01:55:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 24 01:54 .. 01:55:04 drwxr-xr-x 2 jenkins jenkins 4096 Nov 24 01:54 cost 01:55:04 -rw-r--r-- 1 jenkins jenkins 86 Nov 24 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:55:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:55:05 ---> package-listing.sh 01:55:05 ++ facter osfamily 01:55:05 ++ tr '[:upper:]' '[:lower:]' 01:55:05 + OS_FAMILY=debian 01:55:05 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-508 01:55:05 + START_PACKAGES=/tmp/packages_start.txt 01:55:05 + END_PACKAGES=/tmp/packages_end.txt 01:55:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:55:05 + PACKAGES=/tmp/packages_start.txt 01:55:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-508 ']' 01:55:05 + PACKAGES=/tmp/packages_end.txt 01:55:05 + case "${OS_FAMILY}" in 01:55:05 + dpkg -l 01:55:05 + grep '^ii' 01:55:05 + '[' -f /tmp/packages_start.txt ']' 01:55:05 + '[' -f /tmp/packages_end.txt ']' 01:55:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:55:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-508 ']' 01:55:05 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-508/archives/ 01:55:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-508/archives/ [Pipeline] echo 01:55:05 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-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:55:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:07 prd-ubuntu20.04-docker-8c-8g-773673 does not seem to be running inside a container 01:55:07 $ 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-508/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-508 -v /w/workspace/gexfoundry_device-rest-go_PR-508:/w/workspace/gexfoundry_device-rest-go_PR-508:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-508@tmp:/w/workspace/gexfoundry_device-rest-go_PR-508@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:55:07 $ docker top 8d6a53a79667e14c13d0443b843300cfdc95ca80cdf8ff7d9d2f48de02446c47 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:07 + touch /tmp/pre-build-complete [Pipeline] sh 01:55:08 + mkdir -p /var/log/sysstat [Pipeline] sh 01:55:08 + ls /var/log/sa-host 01:55:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:08 provisioning config files... 01:55:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-508@tmp/config5088913385392122095tmp [Pipeline] { [Pipeline] echo 01:55:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:55:08 ---> create-netrc.sh [Pipeline] } 01:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:55:09 ---> python-tools-install.sh [Pipeline] echo 01:55:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:55:09 ---> sudo-logs.sh 01:55:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:55:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:55:10 ---> job-cost.sh 01:55:10 lf-activate-venv: SKIPPING 01:55:10 DEBUG: total: 0.2199999988079071 01:55:10 INFO: Retrieving Stack Cost... 01:55:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:55:10 INFO: Archiving Costs [Pipeline] echo 01:55:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:55:10 ---> logs-deploy.sh 01:55:10 lf-activate-venv: SKIPPING 01:55:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-508/1 01:55:10 INFO: archiving workspace using pattern(s): 01:55:11 Archives upload complete. 01:55:11 INFO: archiving logs to Nexus