Pull request #467 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 cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2+b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e (c6f70402cc20134ff56792c909ea72d426eb8aec) 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-ssh5442653231616106911.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-ssh2700136444530003536.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-467/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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14226319852799334416.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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16142568454349522019.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16471417920448572092.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-467/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-467/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7687502161842136889.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2996’ Running on prd-ubuntu20.04-docker-8c-8g-3003 in /w/workspace/gexfoundry_device-rest-go_PR-467 [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-467 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 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/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e into PR head commit 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 Merge succeeded, producing 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 Checking out Revision 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 # 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 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 # timeout=10 Commit message: "build: Upgrade Device SDK to v4.1-dev" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:00:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:00:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:00:37 ========================================================= 05:00:37 EdgeX Global Pipelines Version Info 05:00:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:00:38 ------------------- 05:00:38 stable info: 05:00:38 ------------------- 05:00:38 Commited By: Ginny Guan ginny@iotechsys.com 05:00:38 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 05:00:38 Message: update stable to v1.0.274 05:00:38 ------------------- 05:00:38 experimental info: 05:00:38 ------------------- 05:00:38 Commited By: **** collab-it+edgex@linuxfoundation.org 05:00:38 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 05:00:38 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:00:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-467 [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-467 [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-467 [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b927ce [Pipeline] echo 05:00:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:40 provisioning config files... 05:00:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config5228633131546827752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:41 ---> ****-login.sh 05:00:41 nexus3.edgexfoundry.org:10001 05:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:41 Configure a credential helper to remove this warning. See 05:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:41 05:00:41 Login Succeeded 05:00:41 nexus3.edgexfoundry.org:10002 05:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:41 Configure a credential helper to remove this warning. See 05:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:41 05:00:41 Login Succeeded 05:00:41 nexus3.edgexfoundry.org:10003 05:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:41 Configure a credential helper to remove this warning. See 05:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:41 05:00:41 Login Succeeded 05:00:41 nexus3.edgexfoundry.org:10004 05:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:41 Configure a credential helper to remove this warning. See 05:00:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:41 05:00:41 Login Succeeded 05:00:41 ****.io 05:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:42 Configure a credential helper to remove this warning. See 05:00:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:42 05:00:42 Login Succeeded 05:00:42 ---> ****-login.sh ends [Pipeline] } 05:00:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:00:42 + git rev-list -1 --merges 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2~1..2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo 05:00:42 -----------> git rev-list -1 --merges 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2~1..2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [false] [Pipeline] sh 05:00:43 + git log --format=format:%s -1 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo 05:00:43 ========================================================= 05:00:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:00:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:43 + git log --format=format:%s -1 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo 05:00:43 [semverPrep] GIT_COMMIT: 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2, Commit Message: build: Upgrade Device SDK to v4.1-dev [Pipeline] echo 05:00:43 [semverPrep] This is not a build commit. [Pipeline] sh 05:00:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:44 + grep -v github /etc/ssh/ssh_known_hosts 05:00:44 + [ -e /tmp/ssh_known_hosts ] 05:00:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:00:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:00:44 + sudo tee -a /etc/ssh/ssh_known_hosts 05:00:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:44 05:00:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:45 0.1.4: Pulling from edgex-devops/py-git-semver 05:00:45 3dae71ba6b94: Pulling fs layer 05:00:45 6bf1a483ea7c: Pulling fs layer 05:00:45 f5dfc541a4d3: Pulling fs layer 05:00:45 461d9e800cba: Pulling fs layer 05:00:45 80192f66455f: Pulling fs layer 05:00:45 2e8e34ca0e6c: Pulling fs layer 05:00:45 a29436f7fd5d: Pulling fs layer 05:00:45 923cac83aea3: Pulling fs layer 05:00:45 25ad8b0a4227: Pulling fs layer 05:00:45 db01528c6b51: Pulling fs layer 05:00:45 28988de357af: Pulling fs layer 05:00:45 80192f66455f: Waiting 05:00:45 461d9e800cba: Waiting 05:00:45 25ad8b0a4227: Waiting 05:00:45 2e8e34ca0e6c: Waiting 05:00:45 28988de357af: Waiting 05:00:45 db01528c6b51: Waiting 05:00:45 a29436f7fd5d: Waiting 05:00:45 923cac83aea3: Waiting 05:00:45 6bf1a483ea7c: Verifying Checksum 05:00:45 6bf1a483ea7c: Download complete 05:00:45 461d9e800cba: Download complete 05:00:45 80192f66455f: Verifying Checksum 05:00:45 80192f66455f: Download complete 05:00:45 f5dfc541a4d3: Verifying Checksum 05:00:45 f5dfc541a4d3: Download complete 05:00:45 3dae71ba6b94: Verifying Checksum 05:00:45 3dae71ba6b94: Download complete 05:00:45 923cac83aea3: Verifying Checksum 05:00:45 923cac83aea3: Download complete 05:00:45 25ad8b0a4227: Verifying Checksum 05:00:45 25ad8b0a4227: Download complete 05:00:45 db01528c6b51: Verifying Checksum 05:00:45 db01528c6b51: Download complete 05:00:45 28988de357af: Verifying Checksum 05:00:45 28988de357af: Download complete 05:00:45 a29436f7fd5d: Verifying Checksum 05:00:45 a29436f7fd5d: Download complete 05:00:46 2e8e34ca0e6c: Verifying Checksum 05:00:46 2e8e34ca0e6c: Download complete 05:00:46 3dae71ba6b94: Pull complete 05:00:46 6bf1a483ea7c: Pull complete 05:00:47 f5dfc541a4d3: Pull complete 05:00:47 461d9e800cba: Pull complete 05:00:47 80192f66455f: Pull complete 05:00:51 2e8e34ca0e6c: Pull complete 05:00:51 a29436f7fd5d: Pull complete 05:00:51 923cac83aea3: Pull complete 05:00:51 25ad8b0a4227: Pull complete 05:00:51 db01528c6b51: Pull complete 05:00:52 28988de357af: Pull complete 05:00:52 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:00:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:52 prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container 05:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 05:00:56 $ docker top 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b -eo pid,comm 05:00:56 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). 05:00:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:56 [ssh-agent] Looking for ssh-agent implementation... 05:00:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:56 $ docker exec 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent 05:00:56 SSH_AUTH_SOCK=/tmp/ssh-2ii1FO7AT1jB/agent.33 05:00:56 SSH_AGENT_PID=39 05:00:56 Running ssh-add (command line suppressed) 05:00:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_5276415685924752720.key (/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_5276415685924752720.key) 05:00:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:57 + git tag --points-at HEAD [Pipeline] } 05:00:57 $ docker exec --env ******** --env ******** 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent -k 05:00:57 unset SSH_AUTH_SOCK; 05:00:57 unset SSH_AGENT_PID; 05:00:57 echo Agent pid 39 killed; 05:00:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:00:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:57 [ssh-agent] Looking for ssh-agent implementation... 05:00:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:57 $ docker exec 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent 05:00:58 SSH_AUTH_SOCK=/tmp/ssh-9M7rK6AyNoc7/agent.72 05:00:58 SSH_AGENT_PID=78 05:00:58 Running ssh-add (command line suppressed) 05:00:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_11455216338361439609.key (/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_11455216338361439609.key) 05:00:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:58 + git semver init 05:00:58 2025-06-09 05:00:58,797 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:00:58 2025-06-09 05:00:58,802 [run_init] DEBUG init version:0.0.0 force:False 05:00:58 2025-06-09 05:00:58,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-467/.semver 05:00:58 2025-06-09 05:00:58,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-467/.semver 05:00:58 2025-06-09 05:00:58,804 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-467/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-467, stdin=None, shell=False, universal_newlines=False) 05:01:00 2025-06-09 05:01:00,350 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-467/.git/info/exclude 05:01:00 2025-06-09 05:01:00,351 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-467/.semver/PR-467 with force:False 05:01:00 2025-06-09 05:01:00,351 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-467/.semver/PR-467 05:01:00 2025-06-09 05:01:00,355 [execute] INFO git cat-file --batch-check 05:01:00 2025-06-09 05:01:00,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-467/.semver, stdin=, shell=False, universal_newlines=False) 05:01:00 2025-06-09 05:01:00,360 [execute] INFO git cat-file --batch 05:01:00 2025-06-09 05:01:00,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-467/.semver, stdin=, shell=False, universal_newlines=False) 05:01:00 2025-06-09 05:01:00,363 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-467/.semver/PR-467 05:01:00 0.0.0 [Pipeline] } 05:01:00 $ docker exec --env ******** --env ******** 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent -k 05:01:00 unset SSH_AUTH_SOCK; 05:01:00 unset SSH_AGENT_PID; 05:01:00 echo Agent pid 78 killed; 05:01:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:01 + git semver [Pipeline] } 05:01:01 $ docker stop --time=1 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b 05:01:02 $ docker rm -f --volumes 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b [Pipeline] // withDockerContainer [Pipeline] sh 05:01:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:01:03 Stashed 1 file(s) [Pipeline] echo 05:01:03 [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 05:01:04 provisioning config files... 05:01:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config3743044312994336133tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:01:05 ---> ****-login.sh 05:01:05 nexus3.edgexfoundry.org:10001 05:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:01:05 Configure a credential helper to remove this warning. See 05:01:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:01:05 05:01:05 Login Succeeded 05:01:05 nexus3.edgexfoundry.org:10002 05:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:01:05 Configure a credential helper to remove this warning. See 05:01:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:01:05 05:01:05 Login Succeeded 05:01:05 nexus3.edgexfoundry.org:10003 05:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:01:05 Configure a credential helper to remove this warning. See 05:01:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:01:05 05:01:05 Login Succeeded 05:01:05 nexus3.edgexfoundry.org:10004 05:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:01:05 Configure a credential helper to remove this warning. See 05:01:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:01:05 05:01:05 Login Succeeded 05:01:05 ****.io 05:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:01:05 Configure a credential helper to remove this warning. See 05:01:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:01:05 05:01:05 Login Succeeded 05:01:05 ---> ****-login.sh ends [Pipeline] } 05:01:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:01:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:01:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:01:06 ========================================================= 05:01:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:01:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:06 + 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 . 05:01:06 Sending build context to Docker daemon 21.64MB 05:01:06 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:01:06 Step 2/12 : FROM ${BASE} AS builder 05:01:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:01:06 0a9a5dfd008f: Pulling fs layer 05:01:06 dbfa0bcfca99: Pulling fs layer 05:01:06 70eabb1d9476: Pulling fs layer 05:01:06 957bedc73fa3: Pulling fs layer 05:01:06 4f4fb700ef54: Pulling fs layer 05:01:06 f40432e63723: Pulling fs layer 05:01:06 90b4343acab7: Pulling fs layer 05:01:06 957bedc73fa3: Waiting 05:01:06 f40432e63723: Waiting 05:01:06 4f4fb700ef54: Waiting 05:01:06 9f67ea4ac784: Pulling fs layer 05:01:06 9228b9a606be: Pulling fs layer 05:01:06 9f67ea4ac784: Waiting 05:01:06 dbfa0bcfca99: Verifying Checksum 05:01:06 dbfa0bcfca99: Download complete 05:01:06 957bedc73fa3: Download complete 05:01:06 4f4fb700ef54: Verifying Checksum 05:01:06 4f4fb700ef54: Download complete 05:01:06 f40432e63723: Verifying Checksum 05:01:06 f40432e63723: Download complete 05:01:06 0a9a5dfd008f: Verifying Checksum 05:01:06 0a9a5dfd008f: Download complete 05:01:06 90b4343acab7: Verifying Checksum 05:01:06 90b4343acab7: Download complete 05:01:07 0a9a5dfd008f: Pull complete 05:01:07 dbfa0bcfca99: Pull complete 05:01:07 9228b9a606be: Verifying Checksum 05:01:07 9228b9a606be: Download complete 05:01:07 70eabb1d9476: Download complete 05:01:07 9f67ea4ac784: Verifying Checksum 05:01:07 9f67ea4ac784: Download complete 05:01:11 70eabb1d9476: Pull complete 05:01:11 957bedc73fa3: Pull complete 05:01:11 4f4fb700ef54: Pull complete 05:01:11 f40432e63723: Pull complete 05:01:11 90b4343acab7: Pull complete 05:01:14 9f67ea4ac784: Pull complete 05:01:14 9228b9a606be: Pull complete 05:01:14 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 05:01:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:01:14 ---> 69404ca5bff2 05:01:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:01:18 ---> Running in 3de2f72847c6 05:01:18 Removing intermediate container 3de2f72847c6 05:01:18 ---> 826573e26cf3 05:01:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:01:18 ---> Running in c01560521068 05:01:18 Removing intermediate container c01560521068 05:01:18 ---> ee9e1e898c65 05:01:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:01:18 ---> Running in c1efe2385d7a 05:01:18 Removing intermediate container c1efe2385d7a 05:01:18 ---> 8dc2bf049760 05:01:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:01:18 ---> Running in c29ad8c85c77 05:01:18 Removing intermediate container c29ad8c85c77 05:01:18 ---> e2ba792d9667 05:01:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:01:18 ---> Running in a6ccf6cc044e 05:01:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:01:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:01:19 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:01:19 (2/4) Installing libedit (20240517.3.1-r0) 05:01:19 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:01:19 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:01:19 Executing busybox-1.36.1-r29.trigger 05:01:19 OK: 252 MiB in 62 packages 05:01:20 Removing intermediate container a6ccf6cc044e 05:01:20 ---> cb7650430079 05:01:20 Step 8/12 : WORKDIR /device-rest-go 05:01:20 ---> Running in 7d77a3813516 05:01:20 Removing intermediate container 7d77a3813516 05:01:20 ---> 637e9d126bfb 05:01:20 Step 9/12 : COPY go.mod vendor* ./ 05:01:20 ---> 52d5c6c1f088 05:01:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:01:20 ---> Running in e1009f3c0499 05:02:16 Removing intermediate container e1009f3c0499 05:02:16 ---> ff9074ae6dcd 05:02:16 Step 11/12 : COPY . . 05:02:17 ---> 6320ee6257f7 05:02:17 Step 12/12 : RUN $MAKE 05:02:17 ---> Running in 0763e9cbc79f 05:02:17 noop 05:02:17 Removing intermediate container 0763e9cbc79f 05:02:17 ---> 2f9afea08930 05:02:17 Successfully built 2f9afea08930 05:02:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:18 + docker inspect -f . ci-base-image-x86_64 05:02:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:18 prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container 05:02:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 05:02:19 $ docker top c47060eac2fd5d8ea3413512343bf768f6c09d3bfd3d28ecead5a3fd3c2be597 -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:19 + go version 05:02:19 go version go1.23.8 linux/amd64 [Pipeline] } 05:02:19 $ docker stop --time=1 c47060eac2fd5d8ea3413512343bf768f6c09d3bfd3d28ecead5a3fd3c2be597 05:02:20 $ docker rm -f --volumes c47060eac2fd5d8ea3413512343bf768f6c09d3bfd3d28ecead5a3fd3c2be597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:21 + docker inspect -f . ci-base-image-x86_64 05:02:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:21 prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container 05:02:21 $ 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-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 05:02:21 $ docker top 96c064436c2a15afd4eabc40d0ce191b3085050d1a27ff7280192b5073d86b22 -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-467 [Pipeline] fileExists [Pipeline] sh 05:02:22 + make test 05:02:22 go test ./... -coverprofile=coverage.out ./... 05:02:24 ? github.com/edgexfoundry/device-rest-go [no test files] 05:02:42 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:02:42 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements 05:02:54 go vet ./... 05:02:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:58 ./bin/test-attribution-txt.sh 05:02:58 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 05:02:58 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 05:02:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:02:58 $ docker stop --time=1 96c064436c2a15afd4eabc40d0ce191b3085050d1a27ff7280192b5073d86b22 05:03:02 $ docker rm -f --volumes 96c064436c2a15afd4eabc40d0ce191b3085050d1a27ff7280192b5073d86b22 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:03:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:04 + ls -al . 05:03:04 total 244 05:03:04 drwxrwxr-x 9 jenkins jenkins 4096 Jun 9 05:02 . 05:03:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 05:00 .. 05:03:04 -rw-rw-r-- 1 jenkins jenkins 151 Jun 9 05:00 .dockerignore 05:03:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 05:02 .git 05:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:00 .github 05:03:04 -rw-rw-r-- 1 jenkins jenkins 264 Jun 9 05:00 .gitignore 05:03:04 -rw-rw-r-- 1 jenkins jenkins 41 Jun 9 05:00 .golangci.yml 05:03:04 drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 05:01 .semver 05:03:04 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 9 05:00 Attribution.txt 05:03:04 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 9 05:00 CHANGELOG.md 05:03:04 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 9 05:00 Dockerfile 05:03:04 -rw-rw-r-- 1 jenkins jenkins 677 Jun 9 05:00 GOVERNANCE.md 05:03:04 -rw-rw-r-- 1 jenkins jenkins 680 Jun 9 05:00 Jenkinsfile 05:03:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 05:00 LICENSE 05:03:04 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 9 05:00 Makefile 05:03:04 -rw-rw-r-- 1 jenkins jenkins 620 Jun 9 05:00 OWNERS.md 05:03:04 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 9 05:00 README.md 05:03:04 -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 05:01 VERSION 05:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:00 bin 05:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:00 cmd 05:03:04 -rw-r--r-- 1 jenkins jenkins 14565 Jun 9 05:02 coverage.out 05:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:00 driver 05:03:04 -rw-rw-r-- 1 jenkins jenkins 6271 Jun 9 05:00 go.mod 05:03:04 -rw-rw-r-- 1 jenkins jenkins 86411 Jun 9 05:00 go.sum 05:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:00 openapi 05:03:04 -rw-rw-r-- 1 jenkins jenkins 713 Jun 9 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:05 + 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=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 --label arch=amd64 --label version=0.0.0 . 05:03:05 Sending build context to Docker daemon 21.65MB 05:03:05 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 05:03:05 Step 2/26 : FROM ${BASE} AS builder 05:03:05 ---> 2f9afea08930 05:03:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:03:05 ---> Running in 76c8956b4890 05:03:05 Removing intermediate container 76c8956b4890 05:03:05 ---> 9ffdd14a7ea7 05:03:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:05 ---> Running in 7b0cd2918474 05:03:05 Removing intermediate container 7b0cd2918474 05:03:05 ---> c3f94ddff025 05:03:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:03:05 ---> Running in 731df52e77e8 05:03:05 Removing intermediate container 731df52e77e8 05:03:05 ---> 60f124646050 05:03:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:03:05 ---> Running in 640a2beac7d5 05:03:05 Removing intermediate container 640a2beac7d5 05:03:05 ---> 620b209037bd 05:03:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:05 ---> Running in 5dfd8d842607 05:03:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:03:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:03:06 OK: 252 MiB in 62 packages 05:03:06 Removing intermediate container 5dfd8d842607 05:03:06 ---> bef9d116bdde 05:03:06 Step 8/26 : WORKDIR /device-rest-go 05:03:06 ---> Running in 2cebed301be2 05:03:06 Removing intermediate container 2cebed301be2 05:03:06 ---> dccea83fd131 05:03:06 Step 9/26 : COPY go.mod vendor* ./ 05:03:07 ---> 201254776ccd 05:03:07 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:07 ---> Running in 65fa5ee271af 05:03:07 Removing intermediate container 65fa5ee271af 05:03:07 ---> f80c8df6dc78 05:03:07 Step 11/26 : COPY . . 05:03:08 ---> 6e5f3ba4960c 05:03:08 Step 12/26 : RUN $MAKE 05:03:08 ---> Running in 9cfe76c37fc2 05:03:08 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.1.0-dev.9 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 05:03:40 Removing intermediate container 9cfe76c37fc2 05:03:40 ---> 11f1647a7a99 05:03:40 Step 13/26 : FROM alpine:3.20 05:03:40 3.20: Pulling from library/alpine 05:03:40 0a9a5dfd008f: Already exists 05:03:40 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:03:40 Status: Downloaded newer image for alpine:3.20 05:03:40 ---> ff221270b9fb 05:03:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:03:40 ---> Running in 8a7c880752a3 05:03:40 Removing intermediate container 8a7c880752a3 05:03:40 ---> f9ef6ca7ab92 05:03:40 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:03:40 ---> Running in 813f0aeca8ac 05:03:40 Removing intermediate container 813f0aeca8ac 05:03:40 ---> c5fec0ea6e14 05:03:40 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:03:40 ---> Running in a4c0cb1da444 05:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:03:40 (1/1) Installing dumb-init (1.2.5-r3) 05:03:40 Executing busybox-1.36.1-r29.trigger 05:03:40 OK: 8 MiB in 15 packages 05:03:41 Removing intermediate container a4c0cb1da444 05:03:41 ---> 74edf51fcbe8 05:03:41 Step 17/26 : RUN apk --no-cache upgrade 05:03:41 ---> Running in 6d0b54401ece 05:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:03:42 OK: 8 MiB in 15 packages 05:03:43 Removing intermediate container 6d0b54401ece 05:03:43 ---> 6a474c947542 05:03:43 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:03:46 ---> f6f161a86d15 05:03:46 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:03:46 ---> 24b6b3413cb3 05:03:46 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:03:46 ---> f56d5c95668e 05:03:46 Step 21/26 : EXPOSE 59986 05:03:46 ---> Running in a74cf1fa8b0d 05:03:47 Removing intermediate container a74cf1fa8b0d 05:03:47 ---> 873344d16370 05:03:47 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:03:47 ---> Running in 3ff7884d6405 05:03:47 Removing intermediate container 3ff7884d6405 05:03:47 ---> 721df4372e7d 05:03:47 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:03:47 ---> Running in ec00cf604944 05:03:47 Removing intermediate container ec00cf604944 05:03:47 ---> 538ffd1770b4 05:03:47 Step 24/26 : LABEL arch=amd64 05:03:47 ---> Running in 81b233f486b4 05:03:47 Removing intermediate container 81b233f486b4 05:03:47 ---> 157eef01c634 05:03:47 Step 25/26 : LABEL git_sha=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 05:03:47 ---> Running in 0b46c589b006 05:03:47 Removing intermediate container 0b46c589b006 05:03:47 ---> 9cd246f8bac0 05:03:47 Step 26/26 : LABEL version=0.0.0 05:03:47 ---> Running in 7193bbd85a27 05:03:47 Removing intermediate container 7193bbd85a27 05:03:47 ---> aabd90eadc74 05:03:47 [Warning] One or more build-args [ARCH] were not consumed 05:03:47 Successfully built aabd90eadc74 05:03:47 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 05:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:48 05:03:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:48 latest: Pulling from edgex-lftools-log-publisher 05:03:48 5eb5b503b376: Pulling fs layer 05:03:48 5c69ac0246d0: Pulling fs layer 05:03:48 ec43610c2a17: Pulling fs layer 05:03:48 3a2ae6a8a46f: Pulling fs layer 05:03:48 33b1e0a273af: Pulling fs layer 05:03:48 5d3b04190fa2: Pulling fs layer 05:03:48 2f39f015ded8: Pulling fs layer 05:03:48 5d3b04190fa2: Waiting 05:03:48 33b1e0a273af: Waiting 05:03:48 3a2ae6a8a46f: Waiting 05:03:48 5c69ac0246d0: Download complete 05:03:48 3a2ae6a8a46f: Verifying Checksum 05:03:48 3a2ae6a8a46f: Download complete 05:03:48 33b1e0a273af: Verifying Checksum 05:03:48 33b1e0a273af: Download complete 05:03:48 5d3b04190fa2: Verifying Checksum 05:03:48 5d3b04190fa2: Download complete 05:03:49 ec43610c2a17: Verifying Checksum 05:03:49 ec43610c2a17: Download complete 05:03:49 5eb5b503b376: Verifying Checksum 05:03:49 5eb5b503b376: Download complete 05:03:49 2f39f015ded8: Download complete 05:03:50 5eb5b503b376: Pull complete 05:03:50 5c69ac0246d0: Pull complete 05:03:50 ec43610c2a17: Pull complete 05:03:50 3a2ae6a8a46f: Pull complete 05:03:50 33b1e0a273af: Pull complete 05:03:50 5d3b04190fa2: Pull complete 05:03:55 2f39f015ded8: Pull complete 05:03:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:03:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:55 prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container 05:03: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-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 05:04:00 $ docker top 197bc5949819b0049ec1a4aa5a8223d6a8eb1c51a41c2514726780eca3ca4a7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:00 ---> job-cost.sh 05:04:00 lf-activate-venv: SKIPPING 05:04:00 INFO: No Stack... 05:04:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:01 INFO: Archiving Costs [Pipeline] sh 05:04:02 + cat /w/workspace/gexfoundry_device-rest-go_PR-467/archives/cost.csv 05:04:02 + cut -d, -f6 [Pipeline] lock 05:04:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] 05:04:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] did not exist. Created. 05:04:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:04:02 Stashed 1 file(s) [Pipeline] } 05:04:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:02 $ docker stop --time=1 197bc5949819b0049ec1a4aa5a8223d6a8eb1c51a41c2514726780eca3ca4a7b 05:04:03 $ docker rm -f --volumes 197bc5949819b0049ec1a4aa5a8223d6a8eb1c51a41c2514726780eca3ca4a7b [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 05:04:04 provisioning config files... 05:04:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config124475409413679260tmp [Pipeline] { [Pipeline] sh 05:04:04 + set +x 05:04:04 + curl -s https://codecov.io/bash 05:04:04 + bash -s -- 05:04:04 05:04:04 _____ _ 05:04:04 / ____| | | 05:04:04 | | ___ __| | ___ ___ _____ __ 05:04:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:04 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:04 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:04 Bash-1.0.6 05:04:04 05:04:04 05:04:04 ==> git version 2.25.1 found 05:04:04 ==> 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 05:04:04 Release-Date: 2020-01-08 05:04:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:04 ==> Jenkins CI detected. 05:04:04 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-467 05:04:04 project root: . 05:04:04 --> token set from env 05:04:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:04 ==> Running gcov in . (disable via -X gcov) 05:04:04 ==> Python coveragepy not found 05:04:04 ==> Searching for coverage reports in: 05:04:04 + . 05:04:04 -> Found 1 reports 05:04:04 ==> Detecting git/mercurial file structure 05:04:04 ==> Reading reports 05:04:04 + ./coverage.out bytes=14565 05:04:05 ==> Appending adjustments 05:04:05 https://docs.codecov.io/docs/fixing-reports 05:04:05 + Found adjustments 05:04:05 ==> Gzipping contents 05:04:05 4.0K /tmp/codecov.P2lHnU.gz 05:04:05 ==> Uploading reports 05:04:05 url: https://codecov.io 05:04:05 query: branch=PR-467&commit=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-467%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=467&job=&cmd_args= 05:04:05 -> Pinging Codecov 05:04:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-467&commit=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-467%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=467&job=&cmd_args= 05:04:05 -> Uploading to 05:04:05 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2/5c45296a-712f-4527-b9fc-bbafa6c63656.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250609%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250609T050405Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=caa0cd284184e513dca2007e39c95ec4dd878f6c6cbde7217e1647c17d1463f7 05:04:05 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:05 Dload Upload Total Spent Left Speed 05:04:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 7291 --:--:-- --:--:-- --:--:-- 7291 05:04:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] } 05:04:05 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 05:04:07 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-467/archives ] 05:04:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-467/archives 05:04:07 total 16 05:04:07 drwxr-xr-x 3 root root 4096 Jun 9 05:04 . 05:04:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 05:04 .. 05:04:07 drwxr-xr-x 2 root root 4096 Jun 9 05:04 cost 05:04:07 -rw-r--r-- 1 root root 86 Jun 9 05:04 cost.csv 05:04:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-467/archives 05:04:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-467/archives 05:04:07 total 16 05:04:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 05:04 . 05:04:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 05:04 .. 05:04:07 drwxr-xr-x 2 jenkins jenkins 4096 Jun 9 05:04 cost 05:04:07 -rw-r--r-- 1 jenkins jenkins 86 Jun 9 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:04:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:04:09 ---> package-listing.sh 05:04:09 ++ facter osfamily 05:04:09 ++ tr '[:upper:]' '[:lower:]' 05:04:09 + OS_FAMILY=debian 05:04:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-467 05:04:09 + START_PACKAGES=/tmp/packages_start.txt 05:04:09 + END_PACKAGES=/tmp/packages_end.txt 05:04:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:04:09 + PACKAGES=/tmp/packages_start.txt 05:04:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-467 ']' 05:04:09 + PACKAGES=/tmp/packages_end.txt 05:04:09 + case "${OS_FAMILY}" in 05:04:09 + dpkg -l 05:04:09 + grep '^ii' 05:04:09 + '[' -f /tmp/packages_start.txt ']' 05:04:09 + '[' -f /tmp/packages_end.txt ']' 05:04:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:04:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-467 ']' 05:04:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-467/archives/ 05:04:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-467/archives/ [Pipeline] echo 05:04:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:04:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:10 prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container 05:04:10 $ 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-467/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-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 05:04:10 $ docker top fbf07c98e2a9a4fc49fa612f7c9047c4333c0de3dcd932676853cbb26214be6d -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:11 + touch /tmp/pre-build-complete [Pipeline] sh 05:04:11 + mkdir -p /var/log/sysstat [Pipeline] sh 05:04:11 + ls /var/log/sa-host 05:04:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:12 provisioning config files... 05:04:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config2294578112033341443tmp [Pipeline] { [Pipeline] echo 05:04:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:04:12 ---> create-netrc.sh [Pipeline] } 05:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:04:12 ---> python-tools-install.sh [Pipeline] echo 05:04:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:04:13 ---> sudo-logs.sh 05:04:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:04:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:04:13 ---> job-cost.sh 05:04:13 lf-activate-venv: SKIPPING 05:04:13 DEBUG: total: 0.2199999988079071 05:04:13 INFO: Retrieving Stack Cost... 05:04:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:14 INFO: Archiving Costs [Pipeline] echo 05:04:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:04:14 ---> logs-deploy.sh 05:04:14 lf-activate-venv: SKIPPING 05:04:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-467/1 05:04:14 INFO: archiving workspace using pattern(s): 05:04:15 Archives upload complete. 05:04:15 INFO: archiving logs to Nexus