Pull request #460 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae22e8240974ddb6b254a6b780f06d03e8edddef+b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e (14a04bf85628bf72f84ed0f358b29d77b3c54aa5) 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-ssh9236292536558810529.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-ssh8322662810191980150.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14520171509941695828.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 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-ssh6717281026264318740.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18044247516658659903.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-899 in /w/workspace/gexfoundry_device-rest-go_PR-460 [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-460 # 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 Merging remotes/origin/main commit b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e into PR head commit ae22e8240974ddb6b254a6b780f06d03e8edddef Merge succeeded, producing 35aeca8b4efd32c92943a088abdcf29278ef963f Checking out Revision 35aeca8b4efd32c92943a088abdcf29278ef963f (PR-460) > 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/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae22e8240974ddb6b254a6b780f06d03e8edddef # 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 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35aeca8b4efd32c92943a088abdcf29278ef963f # timeout=10 Commit message: "Merge commit 'b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 40a47eeb0d9dd94bc967740dd803188b061eb46b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:28:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:28:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:28:24 ========================================================= 01:28:24 EdgeX Global Pipelines Version Info 01:28:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:28:25 ------------------- 01:28:25 stable info: 01:28:25 ------------------- 01:28:25 Commited By: Ginny Guan ginny@iotechsys.com 01:28:25 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:28:25 Message: update stable to v1.0.274 01:28:25 ------------------- 01:28:25 experimental info: 01:28:25 ------------------- 01:28:25 Commited By: Ginny Guan ginny@iotechsys.com 01:28:25 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 01:28:25 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:28:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:28:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:28:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:28:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:28:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:28:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-460 [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-460 [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-460 [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35aeca8b4efd32c92943a088abdcf29278ef963f [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35aeca8 [Pipeline] echo 01:28:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:26 provisioning config files... 01:28:26 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-460@tmp/config1637014184625004704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:27 ---> ****-login.sh 01:28:27 nexus3.edgexfoundry.org:10001 01:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:27 Configure a credential helper to remove this warning. See 01:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:27 01:28:27 Login Succeeded 01:28:27 nexus3.edgexfoundry.org:10002 01:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:27 Configure a credential helper to remove this warning. See 01:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:27 01:28:27 Login Succeeded 01:28:27 nexus3.edgexfoundry.org:10003 01:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 nexus3.edgexfoundry.org:10004 01:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 ****.io 01:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 ---> ****-login.sh ends [Pipeline] } 01:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:28:28 + git rev-list -1 --merges 35aeca8b4efd32c92943a088abdcf29278ef963f~1..35aeca8b4efd32c92943a088abdcf29278ef963f [Pipeline] echo 01:28:28 -----------> git rev-list -1 --merges 35aeca8b4efd32c92943a088abdcf29278ef963f~1..35aeca8b4efd32c92943a088abdcf29278ef963f 35aeca8b4efd32c92943a088abdcf29278ef963f 01:28:28 35aeca8b4efd32c92943a088abdcf29278ef963f [false] [Pipeline] sh 01:28:28 + git log --format=format:%s -1 35aeca8b4efd32c92943a088abdcf29278ef963f [Pipeline] echo 01:28:29 ========================================================= 01:28:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:28:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:30 + git log --format=format:%s -1 35aeca8b4efd32c92943a088abdcf29278ef963f [Pipeline] echo 01:28:30 [semverPrep] GIT_COMMIT: 35aeca8b4efd32c92943a088abdcf29278ef963f, Commit Message: Merge commit 'b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e' into HEAD [Pipeline] echo 01:28:30 [semverPrep] This is not a build commit. [Pipeline] sh 01:28:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:30 + grep -v github /etc/ssh/ssh_known_hosts 01:28:30 + [ -e /tmp/ssh_known_hosts ] 01:28:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:28:30 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:28:30 sudo tee -a /etc/ssh/ssh_known_hosts 01:28:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:30 01:28:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:31 0.1.4: Pulling from edgex-devops/py-git-semver 01:28:31 b85a868b505f: Pulling fs layer 01:28:31 e2be974225ed: Pulling fs layer 01:28:31 339a4e72a1f5: Pulling fs layer 01:28:31 988bab9f4d93: Pulling fs layer 01:28:31 1469e6f7b9e6: Pulling fs layer 01:28:31 eaf3925da568: Pulling fs layer 01:28:31 1469e6f7b9e6: Waiting 01:28:31 988bab9f4d93: Waiting 01:28:31 bab4dde63d76: Pulling fs layer 01:28:31 bde34c3a00c8: Pulling fs layer 01:28:31 b352a97aabf1: Pulling fs layer 01:28:31 4872d77fe225: Pulling fs layer 01:28:31 5851b861e8e6: Pulling fs layer 01:28:31 4872d77fe225: Waiting 01:28:31 5851b861e8e6: Waiting 01:28:31 bde34c3a00c8: Waiting 01:28:31 b352a97aabf1: Waiting 01:28:31 eaf3925da568: Waiting 01:28:31 bab4dde63d76: Waiting 01:28:31 e2be974225ed: Download complete 01:28:31 988bab9f4d93: Verifying Checksum 01:28:31 988bab9f4d93: Download complete 01:28:31 1469e6f7b9e6: Verifying Checksum 01:28:31 1469e6f7b9e6: Download complete 01:28:31 eaf3925da568: Verifying Checksum 01:28:31 eaf3925da568: Download complete 01:28:31 339a4e72a1f5: Verifying Checksum 01:28:31 339a4e72a1f5: Download complete 01:28:31 bde34c3a00c8: Verifying Checksum 01:28:31 bde34c3a00c8: Download complete 01:28:31 b352a97aabf1: Download complete 01:28:31 4872d77fe225: Verifying Checksum 01:28:31 4872d77fe225: Download complete 01:28:31 5851b861e8e6: Download complete 01:28:31 b85a868b505f: Verifying Checksum 01:28:31 b85a868b505f: Download complete 01:28:31 bab4dde63d76: Verifying Checksum 01:28:31 bab4dde63d76: Download complete 01:28:32 b85a868b505f: Pull complete 01:28:32 e2be974225ed: Pull complete 01:28:33 339a4e72a1f5: Pull complete 01:28:33 988bab9f4d93: Pull complete 01:28:33 1469e6f7b9e6: Pull complete 01:28:33 eaf3925da568: Pull complete 01:28:35 bab4dde63d76: Pull complete 01:28:35 bde34c3a00c8: Pull complete 01:28:35 b352a97aabf1: Pull complete 01:28:35 4872d77fe225: Pull complete 01:28:35 5851b861e8e6: Pull complete 01:28:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:35 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 01:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-460 -v /w/workspace/gexfoundry_device-rest-go_PR-460:/w/workspace/gexfoundry_device-rest-go_PR-460:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-460@tmp:/w/workspace/gexfoundry_device-rest-go_PR-460@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:28:37 $ docker top 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 -eo pid,comm 01:28:37 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:28:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:37 [ssh-agent] Looking for ssh-agent implementation... 01:28:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:37 $ docker exec 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 ssh-agent 01:28:37 SSH_AUTH_SOCK=/tmp/ssh-QX6X7fyeFu2G/agent.31 01:28:37 SSH_AGENT_PID=37 01:28:37 Running ssh-add (command line suppressed) 01:28:37 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-460@tmp/private_key_17510982533510321823.key (/w/workspace/gexfoundry_device-rest-go_PR-460@tmp/private_key_17510982533510321823.key) 01:28:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:38 + git tag --points-at HEAD [Pipeline] } 01:28:38 $ docker exec --env ******** --env ******** 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 ssh-agent -k 01:28:38 unset SSH_AUTH_SOCK; 01:28:38 unset SSH_AGENT_PID; 01:28:38 echo Agent pid 37 killed; 01:28:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:28:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:38 [ssh-agent] Looking for ssh-agent implementation... 01:28:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:38 $ docker exec 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 ssh-agent 01:28:38 SSH_AUTH_SOCK=/tmp/ssh-p8Nw8tWP4xlX/agent.70 01:28:38 SSH_AGENT_PID=76 01:28:38 Running ssh-add (command line suppressed) 01:28:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-460@tmp/private_key_9801850038807350016.key (/w/workspace/gexfoundry_device-rest-go_PR-460@tmp/private_key_9801850038807350016.key) 01:28:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:38 + git semver init 01:28:39 2025-05-05 01:28:39,117 [run_init] DEBUG init version:0.0.0 force:False 01:28:39 2025-05-05 01:28:39,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-460/.semver 01:28:39 2025-05-05 01:28:39,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-460/.semver 01:28:39 2025-05-05 01:28:39,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-460/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-460, universal_newlines=False, shell=None, istream=None) 01:28:40 2025-05-05 01:28:40,504 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-460/.git/info/exclude 01:28:40 2025-05-05 01:28:40,504 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-460/.semver/PR-460 with force:False 01:28:40 2025-05-05 01:28:40,504 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-460/.semver/PR-460 01:28:40 2025-05-05 01:28:40,508 [execute] INFO git cat-file --batch-check 01:28:40 2025-05-05 01:28:40,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-460/.semver, universal_newlines=False, shell=None, istream=) 01:28:40 2025-05-05 01:28:40,515 [execute] INFO git cat-file --batch 01:28:40 2025-05-05 01:28:40,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-460/.semver, universal_newlines=False, shell=None, istream=) 01:28:40 2025-05-05 01:28:40,521 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-460/.semver/PR-460 01:28:40 0.0.0 [Pipeline] } 01:28:40 $ docker exec --env ******** --env ******** 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 ssh-agent -k 01:28:40 unset SSH_AUTH_SOCK; 01:28:40 unset SSH_AGENT_PID; 01:28:40 echo Agent pid 76 killed; 01:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:41 + git semver [Pipeline] } 01:28:41 $ docker stop --time=1 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 01:28:42 $ docker rm -f --volumes 337aefa87a569b627f7e9e0dce285b0d75fc58ad6614c275c9226eff8194cd90 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:28:43 Stashed 1 file(s) [Pipeline] echo 01:28:43 [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:28:43 provisioning config files... 01:28:43 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-460@tmp/config8813977063607624476tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:28:43 ---> ****-login.sh 01:28:43 nexus3.edgexfoundry.org:10001 01:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:43 Configure a credential helper to remove this warning. See 01:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:43 01:28:43 Login Succeeded 01:28:43 nexus3.edgexfoundry.org:10002 01:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:43 Configure a credential helper to remove this warning. See 01:28:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:43 01:28:43 Login Succeeded 01:28:43 nexus3.edgexfoundry.org:10003 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 nexus3.edgexfoundry.org:10004 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 ****.io 01:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:44 Configure a credential helper to remove this warning. See 01:28:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:44 01:28:44 Login Succeeded 01:28:44 ---> ****-login.sh ends [Pipeline] } 01:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:44 ========================================================= 01:28:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:28:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:44 + 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 . 01:28:44 Sending build context to Docker daemon 21.63MB 01:28:44 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:28:44 Step 2/12 : FROM ${BASE} AS builder 01:28:45 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:28:45 0a9a5dfd008f: Pulling fs layer 01:28:45 dbfa0bcfca99: Pulling fs layer 01:28:45 70eabb1d9476: Pulling fs layer 01:28:45 957bedc73fa3: Pulling fs layer 01:28:45 4f4fb700ef54: Pulling fs layer 01:28:45 f40432e63723: Pulling fs layer 01:28:45 90b4343acab7: Pulling fs layer 01:28:45 9f67ea4ac784: Pulling fs layer 01:28:45 9228b9a606be: Pulling fs layer 01:28:45 4f4fb700ef54: Waiting 01:28:45 90b4343acab7: Waiting 01:28:45 f40432e63723: Waiting 01:28:45 957bedc73fa3: Waiting 01:28:45 9f67ea4ac784: Waiting 01:28:45 9228b9a606be: Waiting 01:28:45 dbfa0bcfca99: Verifying Checksum 01:28:45 dbfa0bcfca99: Download complete 01:28:45 957bedc73fa3: Download complete 01:28:45 4f4fb700ef54: Download complete 01:28:45 f40432e63723: Download complete 01:28:45 0a9a5dfd008f: Verifying Checksum 01:28:45 0a9a5dfd008f: Download complete 01:28:45 90b4343acab7: Verifying Checksum 01:28:45 90b4343acab7: Download complete 01:28:45 0a9a5dfd008f: Pull complete 01:28:45 9228b9a606be: Verifying Checksum 01:28:45 9228b9a606be: Download complete 01:28:45 dbfa0bcfca99: Pull complete 01:28:45 70eabb1d9476: Download complete 01:28:45 9f67ea4ac784: Verifying Checksum 01:28:49 70eabb1d9476: Pull complete 01:28:49 957bedc73fa3: Pull complete 01:28:49 4f4fb700ef54: Pull complete 01:28:49 f40432e63723: Pull complete 01:28:49 90b4343acab7: Pull complete 01:28:50 9f67ea4ac784: Pull complete 01:28:51 9228b9a606be: Pull complete 01:28:51 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 01:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:28:51 ---> 69404ca5bff2 01:28:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:28:54 ---> Running in c78696329352 01:28:54 Removing intermediate container c78696329352 01:28:54 ---> b58c737d6b38 01:28:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:28:54 ---> Running in 88cf652d8927 01:28:54 Removing intermediate container 88cf652d8927 01:28:54 ---> d19ea260fa81 01:28:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:28:54 ---> Running in 0e052e13e21d 01:28:54 Removing intermediate container 0e052e13e21d 01:28:54 ---> db970d3e22d9 01:28:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:28:54 ---> Running in 94b43333d8d3 01:28:54 Removing intermediate container 94b43333d8d3 01:28:54 ---> 59006ba5d50b 01:28:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:54 ---> Running in 14967afb10df 01:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:28:54 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:28:54 (2/4) Installing libedit (20240517.3.1-r0) 01:28:54 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:28:55 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:28:55 Executing busybox-1.36.1-r29.trigger 01:28:55 OK: 252 MiB in 62 packages 01:28:55 Removing intermediate container 14967afb10df 01:28:55 ---> 9b2cf22b0974 01:28:55 Step 8/12 : WORKDIR /device-rest-go 01:28:55 ---> Running in e8e44ce662dd 01:28:55 Removing intermediate container e8e44ce662dd 01:28:55 ---> 2ebe9e4ef833 01:28:55 Step 9/12 : COPY go.mod vendor* ./ 01:28:55 ---> b7c767bf25cd 01:28:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:55 ---> Running in 72a19958b7d9 01:29:42 Removing intermediate container 72a19958b7d9 01:29:42 ---> 0defbd5f7279 01:29:42 Step 11/12 : COPY . . 01:29:42 ---> a3ec00c722a5 01:29:42 Step 12/12 : RUN $MAKE 01:29:42 ---> Running in 8d9fcd59eb83 01:29:42 noop 01:29:42 Removing intermediate container 8d9fcd59eb83 01:29:42 ---> f9f32f4bae6e 01:29:42 Successfully built f9f32f4bae6e 01:29:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:42 + docker inspect -f . ci-base-image-x86_64 01:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:42 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 01:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-460 -v /w/workspace/gexfoundry_device-rest-go_PR-460:/w/workspace/gexfoundry_device-rest-go_PR-460:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-460@tmp:/w/workspace/gexfoundry_device-rest-go_PR-460@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:29:43 $ docker top d1a40f975094f68e7c8932a0e96042da556a538a35fee9690018cc03712e6c75 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:43 + go version 01:29:43 go version go1.23.8 linux/amd64 [Pipeline] } 01:29:43 $ docker stop --time=1 d1a40f975094f68e7c8932a0e96042da556a538a35fee9690018cc03712e6c75 01:29:44 $ docker rm -f --volumes d1a40f975094f68e7c8932a0e96042da556a538a35fee9690018cc03712e6c75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:45 + docker inspect -f . ci-base-image-x86_64 01:29:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:45 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 01:29:45 $ 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-460 -v /w/workspace/gexfoundry_device-rest-go_PR-460:/w/workspace/gexfoundry_device-rest-go_PR-460:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-460@tmp:/w/workspace/gexfoundry_device-rest-go_PR-460@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:29:45 $ docker top 8b9dd405ef23b6a5a68ce1d53a7b6267bcbfd34f376b30cef4700331b5a8a15e -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-460 [Pipeline] fileExists [Pipeline] sh 01:29:46 + make test 01:29:46 go test ./... -coverprofile=coverage.out ./... 01:29:47 ? github.com/edgexfoundry/device-rest-go [no test files] 01:30:05 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:30:05 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 01:30:15 go vet ./... 01:30:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:30:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:30:20 ./bin/test-attribution-txt.sh [Pipeline] echo 01:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:30:20 $ docker stop --time=1 8b9dd405ef23b6a5a68ce1d53a7b6267bcbfd34f376b30cef4700331b5a8a15e 01:30:22 $ docker rm -f --volumes 8b9dd405ef23b6a5a68ce1d53a7b6267bcbfd34f376b30cef4700331b5a8a15e [Pipeline] // withDockerContainer [Pipeline] sh 01:30:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:30:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:30:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:30:24 + ls -al . 01:30:24 total 244 01:30:24 drwxrwxr-x 9 jenkins jenkins 4096 May 5 01:29 . 01:30:24 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:28 .. 01:30:24 -rw-rw-r-- 1 jenkins jenkins 151 May 5 01:28 .dockerignore 01:30:24 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:30 .git 01:30:24 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:28 .github 01:30:24 -rw-rw-r-- 1 jenkins jenkins 264 May 5 01:28 .gitignore 01:30:24 -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:28 .golangci.yml 01:30:24 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:28 .semver 01:30:24 -rw-rw-r-- 1 jenkins jenkins 20138 May 5 01:28 Attribution.txt 01:30:24 -rw-rw-r-- 1 jenkins jenkins 18492 May 5 01:28 CHANGELOG.md 01:30:24 -rw-rw-r-- 1 jenkins jenkins 1697 May 5 01:28 Dockerfile 01:30:24 -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:28 GOVERNANCE.md 01:30:24 -rw-rw-r-- 1 jenkins jenkins 680 May 5 01:28 Jenkinsfile 01:30:24 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:28 LICENSE 01:30:24 -rw-rw-r-- 1 jenkins jenkins 2598 May 5 01:28 Makefile 01:30:24 -rw-rw-r-- 1 jenkins jenkins 620 May 5 01:28 OWNERS.md 01:30:24 -rw-rw-r-- 1 jenkins jenkins 3989 May 5 01:28 README.md 01:30:24 -rw-rw-r-- 1 jenkins jenkins 5 May 5 01:28 VERSION 01:30:24 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:28 bin 01:30:24 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:28 cmd 01:30:24 -rw-r--r-- 1 jenkins jenkins 14565 May 5 01:30 coverage.out 01:30:24 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:28 driver 01:30:24 -rw-rw-r-- 1 jenkins jenkins 6244 May 5 01:28 go.mod 01:30:24 -rw-rw-r-- 1 jenkins jenkins 86532 May 5 01:28 go.sum 01:30:24 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:28 openapi 01:30:24 -rw-rw-r-- 1 jenkins jenkins 713 May 5 01:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:24 + 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=35aeca8b4efd32c92943a088abdcf29278ef963f --label arch=amd64 --label version=0.0.0 . 01:30:24 Sending build context to Docker daemon 21.65MB 01:30:24 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:30:24 Step 2/26 : FROM ${BASE} AS builder 01:30:24 ---> f9f32f4bae6e 01:30:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:30:24 ---> Running in 342bf73fa765 01:30:24 Removing intermediate container 342bf73fa765 01:30:24 ---> 4b24f290b900 01:30:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:24 ---> Running in 7e4175cd25bd 01:30:24 Removing intermediate container 7e4175cd25bd 01:30:24 ---> 054211657b43 01:30:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:24 ---> Running in fae3bbea34f8 01:30:25 Removing intermediate container fae3bbea34f8 01:30:25 ---> c17e2de66596 01:30:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:30:25 ---> Running in fffca034135c 01:30:25 Removing intermediate container fffca034135c 01:30:25 ---> 358e731654e1 01:30:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:25 ---> Running in e87ec2051264 01:30:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:30:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:30:26 OK: 252 MiB in 62 packages 01:30:26 Removing intermediate container e87ec2051264 01:30:26 ---> 49c8c9ccdc2d 01:30:26 Step 8/26 : WORKDIR /device-rest-go 01:30:26 ---> Running in c4d862c63e15 01:30:26 Removing intermediate container c4d862c63e15 01:30:26 ---> 23ab100ed571 01:30:26 Step 9/26 : COPY go.mod vendor* ./ 01:30:26 ---> faabdf2aadf3 01:30:26 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:26 ---> Running in fe15b0e40d3e 01:30:27 Removing intermediate container fe15b0e40d3e 01:30:27 ---> 44ccf3786bbd 01:30:27 Step 11/26 : COPY . . 01:30:27 ---> 3f2cd5cd8d92 01:30:27 Step 12/26 : RUN $MAKE 01:30:27 ---> Running in ee7531a30a20 01:30:28 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.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:30:54 Removing intermediate container ee7531a30a20 01:30:54 ---> 996b214ed09a 01:30:54 Step 13/26 : FROM alpine:3.20 01:30:54 3.20: Pulling from library/alpine 01:30:54 0a9a5dfd008f: Already exists 01:30:54 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:30:54 Status: Downloaded newer image for alpine:3.20 01:30:54 ---> ff221270b9fb 01:30:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:30:54 ---> Running in a7bdc6ea7181 01:30:54 Removing intermediate container a7bdc6ea7181 01:30:54 ---> c049e1641b68 01:30:54 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:30:54 ---> Running in 53eefbad837b 01:30:54 Removing intermediate container 53eefbad837b 01:30:54 ---> 2f7d35cc855a 01:30:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:30:54 ---> Running in 56b4180f2bcb 01:30:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:30:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:30:55 (1/1) Installing dumb-init (1.2.5-r3) 01:30:55 Executing busybox-1.36.1-r29.trigger 01:30:55 OK: 8 MiB in 15 packages 01:30:56 Removing intermediate container 56b4180f2bcb 01:30:56 ---> 7b6390147070 01:30:56 Step 17/26 : RUN apk --no-cache upgrade 01:30:56 ---> Running in f17e940acd19 01:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:30:56 OK: 8 MiB in 15 packages 01:30:56 Removing intermediate container f17e940acd19 01:30:56 ---> fc95f912af25 01:30:56 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:30:57 ---> 9b4832180d4b 01:30:57 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:30:57 ---> 5ba3c6b63d3f 01:30:57 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:30:57 ---> 842e25d190ca 01:30:57 Step 21/26 : EXPOSE 59986 01:30:57 ---> Running in 0f15d42860b7 01:30:57 Removing intermediate container 0f15d42860b7 01:30:57 ---> 458873cd1e02 01:30:57 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:30:57 ---> Running in 64344ad8765e 01:30:57 Removing intermediate container 64344ad8765e 01:30:57 ---> 8607e7740607 01:30:57 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:30:57 ---> Running in 5ab6a9497805 01:30:57 Removing intermediate container 5ab6a9497805 01:30:57 ---> 918779ba05f0 01:30:57 Step 24/26 : LABEL arch=amd64 01:30:57 ---> Running in b256bd6b2bbc 01:30:57 Removing intermediate container b256bd6b2bbc 01:30:57 ---> bc86c532753c 01:30:57 Step 25/26 : LABEL git_sha=35aeca8b4efd32c92943a088abdcf29278ef963f 01:30:57 ---> Running in 1e65abe68a7b 01:30:58 Removing intermediate container 1e65abe68a7b 01:30:58 ---> fdb2e4007f98 01:30:58 Step 26/26 : LABEL version=0.0.0 01:30:58 ---> Running in d63c27d21d74 01:30:58 Removing intermediate container d63c27d21d74 01:30:58 ---> 64dbca4c1d25 01:30:58 [Warning] One or more build-args [ARCH] were not consumed 01:30:58 Successfully built 64dbca4c1d25 01:30:58 Successfully tagged device-rest:latest [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:30:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:58 01:30:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:58 latest: Pulling from edgex-lftools-log-publisher 01:30:58 5eb5b503b376: Pulling fs layer 01:30:58 5c69ac0246d0: Pulling fs layer 01:30:58 ec43610c2a17: Pulling fs layer 01:30:58 3a2ae6a8a46f: Pulling fs layer 01:30:58 33b1e0a273af: Pulling fs layer 01:30:58 5d3b04190fa2: Pulling fs layer 01:30:58 2f39f015ded8: Pulling fs layer 01:30:58 5d3b04190fa2: Waiting 01:30:58 3a2ae6a8a46f: Waiting 01:30:58 2f39f015ded8: Waiting 01:30:58 33b1e0a273af: Waiting 01:30:58 5c69ac0246d0: Download complete 01:30:58 3a2ae6a8a46f: Verifying Checksum 01:30:58 3a2ae6a8a46f: Download complete 01:30:58 33b1e0a273af: Verifying Checksum 01:30:58 33b1e0a273af: Download complete 01:30:59 ec43610c2a17: Verifying Checksum 01:30:59 ec43610c2a17: Download complete 01:30:59 5d3b04190fa2: Verifying Checksum 01:30:59 5d3b04190fa2: Download complete 01:30:59 5eb5b503b376: Verifying Checksum 01:30:59 5eb5b503b376: Download complete 01:30:59 2f39f015ded8: Download complete 01:31:00 5eb5b503b376: Pull complete 01:31:00 5c69ac0246d0: Pull complete 01:31:00 ec43610c2a17: Pull complete 01:31:01 3a2ae6a8a46f: Pull complete 01:31:01 33b1e0a273af: Pull complete 01:31:01 5d3b04190fa2: Pull complete 01:31:05 2f39f015ded8: Pull complete 01:31:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:31:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:05 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 01:31:05 $ 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-460 -v /w/workspace/gexfoundry_device-rest-go_PR-460:/w/workspace/gexfoundry_device-rest-go_PR-460:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-460@tmp:/w/workspace/gexfoundry_device-rest-go_PR-460@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:31:07 $ docker top bacaf503306616ab4423798ebdb00c2c15ff291296b12e251a85c884f37c23c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:07 ---> job-cost.sh 01:31:07 lf-activate-venv: SKIPPING 01:31:07 INFO: No Stack... 01:31:07 INFO: Retrieving Pricing Info for: v3-standard-8 01:31:08 INFO: Archiving Costs [Pipeline] sh 01:31:08 + cat /w/workspace/gexfoundry_device-rest-go_PR-460/archives/cost.csv 01:31:08 + cut -d, -f6 [Pipeline] lock 01:31:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-460-3-stack-cost] 01:31:08 Resource [jenkins-edgexfoundry-device-rest-go-PR-460-3-stack-cost] did not exist. Created. 01:31:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-460-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:08 + echo total: 0.2199999988079071 [Pipeline] stash 01:31:08 Stashed 1 file(s) [Pipeline] } 01:31:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-460-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:31:08 $ docker stop --time=1 bacaf503306616ab4423798ebdb00c2c15ff291296b12e251a85c884f37c23c3 01:31:09 $ docker rm -f --volumes bacaf503306616ab4423798ebdb00c2c15ff291296b12e251a85c884f37c23c3 [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:31:10 provisioning config files... 01:31:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-460@tmp/config1743876018513723282tmp [Pipeline] { [Pipeline] sh 01:31:10 + set +x 01:31:10 + curl -s https://codecov.io/bash 01:31:10 + bash -s -- 01:31:10 01:31:10 _____ _ 01:31:10 / ____| | | 01:31:10 | | ___ __| | ___ ___ _____ __ 01:31:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:31:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:31:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:31:10 Bash-1.0.6 01:31:10 01:31:10 01:31:10 ==> git version 2.25.1 found 01:31:10 ==> 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:31:10 Release-Date: 2020-01-08 01:31:10 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:31:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:31:10 ==> Jenkins CI detected. 01:31:10 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-460 01:31:10 project root: . 01:31:10 --> token set from env 01:31:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:31:10 ==> Running gcov in . (disable via -X gcov) 01:31:10 ==> Python coveragepy not found 01:31:10 ==> Searching for coverage reports in: 01:31:10 + . 01:31:10 -> Found 1 reports 01:31:10 ==> Detecting git/mercurial file structure 01:31:10 ==> Reading reports 01:31:10 + ./coverage.out bytes=14565 01:31:10 ==> Appending adjustments 01:31:10 https://docs.codecov.io/docs/fixing-reports 01:31:10 + Found adjustments 01:31:10 ==> Gzipping contents 01:31:10 4.0K /tmp/codecov.s7E872.gz 01:31:10 ==> Uploading reports 01:31:10 url: https://codecov.io 01:31:10 query: branch=PR-460&commit=35aeca8b4efd32c92943a088abdcf29278ef963f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-460%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=460&job=&cmd_args= 01:31:10 -> Pinging Codecov 01:31:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-460&commit=35aeca8b4efd32c92943a088abdcf29278ef963f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-460%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=460&job=&cmd_args= 01:31:11 -> Uploading to 01:31:11 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/35aeca8b4efd32c92943a088abdcf29278ef963f/64ab155f-c1ac-4869-94ca-cf2262e47d5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250505%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250505T013110Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=22ee2c21e106a36535a525966ab23e614443afa7df3ace8fccebf03906fac3c3 01:31:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:11 Dload Upload Total Spent Left Speed 01:31:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14103 --:--:-- --:--:-- --:--:-- 14103 01:31:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/35aeca8b4efd32c92943a088abdcf29278ef963f [Pipeline] } 01:31:11 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:31:11 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-460/archives ] 01:31:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-460/archives 01:31:11 total 16 01:31:11 drwxr-xr-x 3 root root 4096 May 5 01:31 . 01:31:11 drwxrwxr-x 10 jenkins jenkins 4096 May 5 01:31 .. 01:31:11 drwxr-xr-x 2 root root 4096 May 5 01:31 cost 01:31:11 -rw-r--r-- 1 root root 86 May 5 01:31 cost.csv 01:31:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-460/archives 01:31:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-460/archives 01:31:11 total 16 01:31:11 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:31 . 01:31:11 drwxrwxr-x 10 jenkins jenkins 4096 May 5 01:31 .. 01:31:11 drwxr-xr-x 2 jenkins jenkins 4096 May 5 01:31 cost 01:31:11 -rw-r--r-- 1 jenkins jenkins 86 May 5 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:31:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:31:13 ---> package-listing.sh 01:31:13 ++ facter osfamily 01:31:13 ++ tr '[:upper:]' '[:lower:]' 01:31:13 + OS_FAMILY=debian 01:31:13 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-460 01:31:13 + START_PACKAGES=/tmp/packages_start.txt 01:31:13 + END_PACKAGES=/tmp/packages_end.txt 01:31:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:31:13 + PACKAGES=/tmp/packages_start.txt 01:31:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-460 ']' 01:31:13 + PACKAGES=/tmp/packages_end.txt 01:31:13 + case "${OS_FAMILY}" in 01:31:13 + dpkg -l 01:31:13 + grep '^ii' 01:31:13 + '[' -f /tmp/packages_start.txt ']' 01:31:13 + '[' -f /tmp/packages_end.txt ']' 01:31:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:31:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-460 ']' 01:31:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-460/archives/ 01:31:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-460/archives/ [Pipeline] echo 01:31:13 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-460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:31:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:14 prd-ubuntu20.04-docker-8c-8g-899 does not seem to be running inside a container 01:31:14 $ 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-460/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-460 -v /w/workspace/gexfoundry_device-rest-go_PR-460:/w/workspace/gexfoundry_device-rest-go_PR-460:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-460@tmp:/w/workspace/gexfoundry_device-rest-go_PR-460@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:31:14 $ docker top 1479e2abeca57ba928f869ede01c59ca6cd715b7d6974ff7a76ea38a344c72b1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:14 + touch /tmp/pre-build-complete [Pipeline] sh 01:31:15 + mkdir -p /var/log/sysstat [Pipeline] sh 01:31:15 + ls /var/log/sa-host 01:31:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:15 provisioning config files... 01:31:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-460@tmp/config1314500769767983528tmp [Pipeline] { [Pipeline] echo 01:31:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:31:16 ---> create-netrc.sh [Pipeline] } 01:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:31:16 ---> python-tools-install.sh [Pipeline] echo 01:31:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:31:16 ---> sudo-logs.sh 01:31:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:31:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:31:17 ---> job-cost.sh 01:31:17 lf-activate-venv: SKIPPING 01:31:17 DEBUG: total: 0.2199999988079071 01:31:17 INFO: Retrieving Stack Cost... 01:31:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:31:17 INFO: Archiving Costs [Pipeline] echo 01:31:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:31:17 ---> logs-deploy.sh 01:31:17 lf-activate-venv: SKIPPING 01:31:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-460/3 01:31:17 INFO: archiving workspace using pattern(s): 01:31:18 Archives upload complete. 01:31:18 INFO: archiving logs to Nexus