Pull request #522 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9800014e2da1587c7a00b62c275de6773c6bcc44+3183a827203540ebd027eeea4a55ef1d5821fd71 (54b42506dd9c9e6824fd9ed86ae5cd0199cec339) 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-ssh15584034801301573078.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh18371603660085773461.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-virtual-go/branches/PR-522/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-virtual-go/branches/PR-522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7059654672843813226.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-virtual-go/branches/PR-522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4832797203953147765.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh1278445036028834040.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-virtual-go/branches/PR-522/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-virtual-go/branches/PR-522/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15392222607385948412.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual 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-39632’ Running on prd-ubuntu20.04-docker-8c-8g-39638 in /w/workspace/foundry_device-virtual-go_PR-522 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-522 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/522/head:refs/remotes/origin/PR-522 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3183a827203540ebd027eeea4a55ef1d5821fd71 into PR head commit 9800014e2da1587c7a00b62c275de6773c6bcc44 Merge succeeded, producing 9800014e2da1587c7a00b62c275de6773c6bcc44 Checking out Revision 9800014e2da1587c7a00b62c275de6773c6bcc44 (PR-522) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > git config core.sparsecheckout # timeout=10 > git checkout -f 9800014e2da1587c7a00b62c275de6773c6bcc44 # 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 3183a827203540ebd027eeea4a55ef1d5821fd71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9800014e2da1587c7a00b62c275de6773c6bcc44 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:56:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:56:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:56:59 ========================================================= 22:56:59 EdgeX Global Pipelines Version Info 22:56:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:57:00 ------------------- 22:57:00 stable info: 22:57:00 ------------------- 22:57:00 Commited By: Cherry Wang cherry@iotechsys.com 22:57:00 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 22:57:00 Message: update stable to v1.0.269 22:57:01 ------------------- 22:57:01 experimental info: 22:57:01 ------------------- 22:57:01 Commited By: **** collab-it+edgex@linuxfoundation.org 22:57:01 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 22:57:01 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-522 [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-522 [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-522 [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9800014e2da1587c7a00b62c275de6773c6bcc44 [Pipeline] echo 22:57:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9800014 [Pipeline] echo 22:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:03 provisioning config files... 22:57:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-522@tmp/config10651432426203724629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:03 ---> ****-login.sh 22:57:03 nexus3.edgexfoundry.org:10001 22:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:03 Configure a credential helper to remove this warning. See 22:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:03 22:57:03 Login Succeeded 22:57:03 nexus3.edgexfoundry.org:10002 22:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 nexus3.edgexfoundry.org:10003 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 nexus3.edgexfoundry.org:10004 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 ****.io 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 ---> ****-login.sh ends [Pipeline] } 22:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:57:05 + git rev-list -1 --merges 9800014e2da1587c7a00b62c275de6773c6bcc44~1..9800014e2da1587c7a00b62c275de6773c6bcc44 [Pipeline] echo 22:57:05 -----------> git rev-list -1 --merges 9800014e2da1587c7a00b62c275de6773c6bcc44~1..9800014e2da1587c7a00b62c275de6773c6bcc44 9800014e2da1587c7a00b62c275de6773c6bcc44 [false] [Pipeline] sh 22:57:05 + git log --format=format:%s -1 9800014e2da1587c7a00b62c275de6773c6bcc44 [Pipeline] echo 22:57:05 ========================================================= 22:57:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:57:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:05 + git log --format=format:%s -1 9800014e2da1587c7a00b62c275de6773c6bcc44 [Pipeline] echo 22:57:05 [semverPrep] GIT_COMMIT: 9800014e2da1587c7a00b62c275de6773c6bcc44, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 [Pipeline] echo 22:57:06 [semverPrep] This is not a build commit. [Pipeline] sh 22:57:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:57:06 + grep -v github /etc/ssh/ssh_known_hosts 22:57:06 + [ -e /tmp/ssh_known_hosts ] 22:57:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:57:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:57:06 + sudo tee -a /etc/ssh/ssh_known_hosts 22:57:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:06 22:57:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:07 0.1.4: Pulling from edgex-devops/py-git-semver 22:57:07 b85a868b505f: Pulling fs layer 22:57:07 e2be974225ed: Pulling fs layer 22:57:07 339a4e72a1f5: Pulling fs layer 22:57:07 988bab9f4d93: Pulling fs layer 22:57:07 1469e6f7b9e6: Pulling fs layer 22:57:07 eaf3925da568: Pulling fs layer 22:57:07 bab4dde63d76: Pulling fs layer 22:57:07 bde34c3a00c8: Pulling fs layer 22:57:07 b352a97aabf1: Pulling fs layer 22:57:07 4872d77fe225: Pulling fs layer 22:57:07 5851b861e8e6: Pulling fs layer 22:57:07 988bab9f4d93: Waiting 22:57:07 eaf3925da568: Waiting 22:57:07 bab4dde63d76: Waiting 22:57:07 1469e6f7b9e6: Waiting 22:57:07 bde34c3a00c8: Waiting 22:57:07 4872d77fe225: Waiting 22:57:07 b352a97aabf1: Waiting 22:57:07 5851b861e8e6: Waiting 22:57:07 e2be974225ed: Download complete 22:57:07 988bab9f4d93: Verifying Checksum 22:57:07 988bab9f4d93: Download complete 22:57:07 1469e6f7b9e6: Verifying Checksum 22:57:07 1469e6f7b9e6: Download complete 22:57:07 eaf3925da568: Verifying Checksum 22:57:07 eaf3925da568: Download complete 22:57:07 339a4e72a1f5: Verifying Checksum 22:57:07 339a4e72a1f5: Download complete 22:57:07 bde34c3a00c8: Download complete 22:57:07 b352a97aabf1: Verifying Checksum 22:57:07 b352a97aabf1: Download complete 22:57:07 4872d77fe225: Verifying Checksum 22:57:07 4872d77fe225: Download complete 22:57:07 5851b861e8e6: Verifying Checksum 22:57:07 5851b861e8e6: Download complete 22:57:07 b85a868b505f: Verifying Checksum 22:57:07 b85a868b505f: Download complete 22:57:08 bab4dde63d76: Verifying Checksum 22:57:08 bab4dde63d76: Download complete 22:57:08 b85a868b505f: Pull complete 22:57:08 e2be974225ed: Pull complete 22:57:09 339a4e72a1f5: Pull complete 22:57:09 988bab9f4d93: Pull complete 22:57:09 1469e6f7b9e6: Pull complete 22:57:09 eaf3925da568: Pull complete 22:57:11 bab4dde63d76: Pull complete 22:57:11 bde34c3a00c8: Pull complete 22:57:11 b352a97aabf1: Pull complete 22:57:11 4872d77fe225: Pull complete 22:57:11 5851b861e8e6: Pull complete 22:57:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:12 prd-ubuntu20.04-docker-8c-8g-39638 does not seem to be running inside a container 22:57:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-522 -v /w/workspace/foundry_device-virtual-go_PR-522:/w/workspace/foundry_device-virtual-go_PR-522:rw,z -v /w/workspace/foundry_device-virtual-go_PR-522@tmp:/w/workspace/foundry_device-virtual-go_PR-522@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:57:13 $ docker top 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 -eo pid,comm 22:57:13 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). 22:57:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:13 [ssh-agent] Looking for ssh-agent implementation... 22:57:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:13 $ docker exec 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 ssh-agent 22:57:14 SSH_AUTH_SOCK=/tmp/ssh-trrhoUBbsO29/agent.33 22:57:14 SSH_AGENT_PID=39 22:57:14 Running ssh-add (command line suppressed) 22:57:14 Identity added: /w/workspace/foundry_device-virtual-go_PR-522@tmp/private_key_8547467152266301113.key (/w/workspace/foundry_device-virtual-go_PR-522@tmp/private_key_8547467152266301113.key) 22:57:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:14 + git tag --points-at HEAD [Pipeline] } 22:57:14 $ docker exec --env ******** --env ******** 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 ssh-agent -k 22:57:14 unset SSH_AUTH_SOCK; 22:57:14 unset SSH_AGENT_PID; 22:57:14 echo Agent pid 39 killed; 22:57:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:57:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:14 [ssh-agent] Looking for ssh-agent implementation... 22:57:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:14 $ docker exec 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 ssh-agent 22:57:15 SSH_AUTH_SOCK=/tmp/ssh-D0HnhWE2oalS/agent.73 22:57:15 SSH_AGENT_PID=79 22:57:15 Running ssh-add (command line suppressed) 22:57:15 Identity added: /w/workspace/foundry_device-virtual-go_PR-522@tmp/private_key_10578469847550812164.key (/w/workspace/foundry_device-virtual-go_PR-522@tmp/private_key_10578469847550812164.key) 22:57:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:15 + git semver init 22:57:15 2025-02-24 22:57:15,838 [run_init] DEBUG init version:0.0.0 force:False 22:57:15 2025-02-24 22:57:15,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-522/.semver 22:57:15 2025-02-24 22:57:15,839 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-522/.semver 22:57:15 2025-02-24 22:57:15,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-522/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-522, universal_newlines=False, shell=None, istream=None) 22:57:17 2025-02-24 22:57:17,053 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-522/.git/info/exclude 22:57:17 2025-02-24 22:57:17,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-522/.semver/PR-522 with force:False 22:57:17 2025-02-24 22:57:17,054 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-522/.semver/PR-522 22:57:17 2025-02-24 22:57:17,058 [execute] INFO git cat-file --batch-check 22:57:17 2025-02-24 22:57:17,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-522/.semver, universal_newlines=False, shell=None, istream=) 22:57:17 2025-02-24 22:57:17,066 [execute] INFO git cat-file --batch 22:57:17 2025-02-24 22:57:17,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-522/.semver, universal_newlines=False, shell=None, istream=) 22:57:17 2025-02-24 22:57:17,072 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-522/.semver/PR-522 22:57:17 0.0.0 [Pipeline] } 22:57:17 $ docker exec --env ******** --env ******** 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 ssh-agent -k 22:57:17 unset SSH_AUTH_SOCK; 22:57:17 unset SSH_AGENT_PID; 22:57:17 echo Agent pid 79 killed; 22:57:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:18 + git semver [Pipeline] } 22:57:18 $ docker stop --time=1 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 22:57:19 $ docker rm -f --volumes 43ca7dbf8a7dd8799d75dd10d9186e26c115176cae845bf0d9236676c4a522c0 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:57:20 Stashed 1 file(s) [Pipeline] echo 22:57:20 [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 22:57:21 provisioning config files... 22:57:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-522@tmp/config10854374708461397555tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 22:57:22 ---> ****-login.sh 22:57:22 nexus3.edgexfoundry.org:10001 22:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:22 Configure a credential helper to remove this warning. See 22:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:22 22:57:22 Login Succeeded 22:57:22 nexus3.edgexfoundry.org:10002 22:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:22 Configure a credential helper to remove this warning. See 22:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:22 22:57:22 Login Succeeded 22:57:22 nexus3.edgexfoundry.org:10003 22:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:22 Configure a credential helper to remove this warning. See 22:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:22 22:57:22 Login Succeeded 22:57:22 nexus3.edgexfoundry.org:10004 22:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:22 Configure a credential helper to remove this warning. See 22:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:22 22:57:22 Login Succeeded 22:57:22 ****.io 22:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:57:22 Configure a credential helper to remove this warning. See 22:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:57:22 22:57:22 Login Succeeded 22:57:22 ---> ****-login.sh ends [Pipeline] } 22:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:57:22 ========================================================= 22:57:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 22:57:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:23 + 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 . 22:57:23 Sending build context to Docker daemon 37.9MB 22:57:23 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:57:23 Step 2/12 : FROM ${BASE} AS builder 22:57:23 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 22:57:23 da9db072f522: Pulling fs layer 22:57:23 6ef4a4ee8ca5: Pulling fs layer 22:57:23 06f05ace1117: Pulling fs layer 22:57:23 5fe327b54edc: Pulling fs layer 22:57:23 4f4fb700ef54: Pulling fs layer 22:57:23 92a5565b7b96: Pulling fs layer 22:57:23 ff9bb7016b71: Pulling fs layer 22:57:23 b67dba6c2c7d: Pulling fs layer 22:57:23 a813b0c90790: Pulling fs layer 22:57:23 92a5565b7b96: Waiting 22:57:23 ff9bb7016b71: Waiting 22:57:23 4f4fb700ef54: Waiting 22:57:23 6ef4a4ee8ca5: Verifying Checksum 22:57:23 6ef4a4ee8ca5: Download complete 22:57:23 5fe327b54edc: Verifying Checksum 22:57:23 5fe327b54edc: Download complete 22:57:23 4f4fb700ef54: Verifying Checksum 22:57:23 4f4fb700ef54: Download complete 22:57:23 92a5565b7b96: Verifying Checksum 22:57:23 92a5565b7b96: Download complete 22:57:23 da9db072f522: Download complete 22:57:23 ff9bb7016b71: Verifying Checksum 22:57:23 ff9bb7016b71: Download complete 22:57:23 da9db072f522: Pull complete 22:57:23 a813b0c90790: Verifying Checksum 22:57:23 a813b0c90790: Download complete 22:57:23 6ef4a4ee8ca5: Pull complete 22:57:24 06f05ace1117: Verifying Checksum 22:57:24 06f05ace1117: Download complete 22:57:24 b67dba6c2c7d: Verifying Checksum 22:57:24 b67dba6c2c7d: Download complete 22:57:27 06f05ace1117: Pull complete 22:57:27 5fe327b54edc: Pull complete 22:57:27 4f4fb700ef54: Pull complete 22:57:28 92a5565b7b96: Pull complete 22:57:28 ff9bb7016b71: Pull complete 22:57:30 b67dba6c2c7d: Pull complete 22:57:30 a813b0c90790: Pull complete 22:57:30 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 22:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 22:57:30 ---> 3ba60ce46760 22:57:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:57:32 ---> Running in 7c4b62435e5e 22:57:32 Removing intermediate container 7c4b62435e5e 22:57:32 ---> f3ba3060655e 22:57:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:57:32 ---> Running in 10c84250cc4b 22:57:32 Removing intermediate container 10c84250cc4b 22:57:32 ---> 09afba11ecfe 22:57:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:57:32 ---> Running in 2109f8e8f15d 22:57:32 Removing intermediate container 2109f8e8f15d 22:57:32 ---> f5179eeabfec 22:57:32 Step 6/12 : WORKDIR /device-virtual-go 22:57:32 ---> Running in 97a23d888cc7 22:57:32 Removing intermediate container 97a23d888cc7 22:57:32 ---> e513fcf22664 22:57:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:32 ---> Running in f7603e6270a7 22:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:57:33 (1/4) Installing openssh-keygen (9.7_p1-r5) 22:57:33 (2/4) Installing libedit (20240517.3.1-r0) 22:57:33 (3/4) Installing openssh-client-common (9.7_p1-r5) 22:57:33 (4/4) Installing openssh-client-default (9.7_p1-r5) 22:57:33 Executing busybox-1.36.1-r29.trigger 22:57:33 OK: 252 MiB in 62 packages 22:57:33 Removing intermediate container f7603e6270a7 22:57:33 ---> 3c7abba93efc 22:57:33 Step 8/12 : COPY go.mod vendor* ./ 22:57:33 ---> 7c3856066344 22:57:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:33 ---> Running in 53a25544e809 22:58:06 Removing intermediate container 53a25544e809 22:58:06 ---> efba5166f66f 22:58:06 Step 10/12 : COPY . . 22:58:06 ---> 62cf481f69ba 22:58:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:58:06 ---> Running in 9be72ede5edd 22:58:06 Removing intermediate container 9be72ede5edd 22:58:06 ---> 7aba4747ee55 22:58:06 Step 12/12 : RUN $MAKE 22:58:06 ---> Running in 38802a1585f9 22:58:06 noop 22:58:06 Removing intermediate container 38802a1585f9 22:58:06 ---> 77ef2b7d9682 22:58:06 Successfully built 77ef2b7d9682 22:58:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:06 + docker inspect -f . ci-base-image-x86_64 22:58:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:06 prd-ubuntu20.04-docker-8c-8g-39638 does not seem to be running inside a container 22:58:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-522 -v /w/workspace/foundry_device-virtual-go_PR-522:/w/workspace/foundry_device-virtual-go_PR-522:rw,z -v /w/workspace/foundry_device-virtual-go_PR-522@tmp:/w/workspace/foundry_device-virtual-go_PR-522@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 ******** ci-base-image-x86_64 cat 22:58:07 $ docker top a72d3a8feab62d3cb47d712c55f08b572f7969fe6d1a77f718e561103dd8742b -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:07 + go version 22:58:07 go version go1.23.4 linux/amd64 [Pipeline] } 22:58:07 $ docker stop --time=1 a72d3a8feab62d3cb47d712c55f08b572f7969fe6d1a77f718e561103dd8742b 22:58:08 $ docker rm -f --volumes a72d3a8feab62d3cb47d712c55f08b572f7969fe6d1a77f718e561103dd8742b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:09 + docker inspect -f . ci-base-image-x86_64 22:58:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:09 prd-ubuntu20.04-docker-8c-8g-39638 does not seem to be running inside a container 22:58:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-522 -v /w/workspace/foundry_device-virtual-go_PR-522:/w/workspace/foundry_device-virtual-go_PR-522:rw,z -v /w/workspace/foundry_device-virtual-go_PR-522@tmp:/w/workspace/foundry_device-virtual-go_PR-522@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 ******** ci-base-image-x86_64 cat 22:58:09 $ docker top c801955fe390a792a539bd17a047834b915a735b1e7d5cd96976a1d2a96f631f -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:10 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-522 [Pipeline] fileExists [Pipeline] sh 22:58:10 + make test 22:58:10 go test ./... -coverprofile=coverage.out 22:58:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:58:34 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 22:58:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 22:58:44 go vet ./... 22:58:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:58:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:58:49 ./bin/test-attribution-txt.sh [Pipeline] echo 22:58:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:58:49 $ docker stop --time=1 c801955fe390a792a539bd17a047834b915a735b1e7d5cd96976a1d2a96f631f 22:58:51 $ docker rm -f --volumes c801955fe390a792a539bd17a047834b915a735b1e7d5cd96976a1d2a96f631f [Pipeline] // withDockerContainer [Pipeline] sh 22:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:58:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:58:53 + ls -al . 22:58:53 total 264 22:58:53 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 22:58 . 22:58:53 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:56 .. 22:58:53 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 22:58 .git 22:58:53 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:56 .github 22:58:53 -rw-rw-r-- 1 jenkins jenkins 272 Feb 24 22:56 .gitignore 22:58:53 -rw-rw-r-- 1 jenkins jenkins 199 Feb 24 22:56 .golangci.yml 22:58:53 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 22:57 .semver 22:58:53 -rw-rw-r-- 1 jenkins jenkins 18321 Feb 24 22:56 Attribution.txt 22:58:53 -rw-rw-r-- 1 jenkins jenkins 15941 Feb 24 22:56 CHANGELOG.md 22:58:53 -rw-rw-r-- 1 jenkins jenkins 1755 Feb 24 22:56 Dockerfile 22:58:53 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 22:56 GOVERNANCE.md 22:58:53 -rw-rw-r-- 1 jenkins jenkins 660 Feb 24 22:56 Jenkinsfile 22:58:53 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 24 22:56 LICENSE 22:58:53 -rw-rw-r-- 1 jenkins jenkins 2652 Feb 24 22:56 Makefile 22:58:53 -rw-rw-r-- 1 jenkins jenkins 623 Feb 24 22:56 OWNERS.md 22:58:53 -rw-rw-r-- 1 jenkins jenkins 4473 Feb 24 22:56 README.md 22:58:53 -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 22:57 VERSION 22:58:53 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 22:56 bin 22:58:53 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:56 cmd 22:58:53 -rw-r--r-- 1 jenkins jenkins 43316 Feb 24 22:58 coverage.out 22:58:53 -rw-rw-r-- 1 jenkins jenkins 6080 Feb 24 22:56 go.mod 22:58:53 -rw-rw-r-- 1 jenkins jenkins 86628 Feb 24 22:56 go.sum 22:58:53 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:56 internal 22:58:53 -rw-rw-r-- 1 jenkins jenkins 235 Feb 24 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:53 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9800014e2da1587c7a00b62c275de6773c6bcc44 --label arch=amd64 --label version=0.0.0 . 22:58:53 Sending build context to Docker daemon 37.94MB 22:58:53 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 22:58:53 Step 2/26 : FROM ${BASE} AS builder 22:58:53 ---> 77ef2b7d9682 22:58:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:58:53 ---> Running in 3cc51672053a 22:58:53 Removing intermediate container 3cc51672053a 22:58:53 ---> f9ea6e94ee67 22:58:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:58:53 ---> Running in 72f81e3d367d 22:58:53 Removing intermediate container 72f81e3d367d 22:58:53 ---> 767b0df7a97c 22:58:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:58:53 ---> Running in 35b00c031fdc 22:58:53 Removing intermediate container 35b00c031fdc 22:58:53 ---> d8eac89f6a0c 22:58:53 Step 6/26 : WORKDIR /device-virtual-go 22:58:53 ---> Running in aea12e19e7f5 22:58:53 Removing intermediate container aea12e19e7f5 22:58:53 ---> 2398c8fcb82b 22:58:53 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:58:54 ---> Running in cc08ef652cab 22:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:58:54 OK: 252 MiB in 62 packages 22:58:55 Removing intermediate container cc08ef652cab 22:58:55 ---> 6d620ff0dbe6 22:58:55 Step 8/26 : COPY go.mod vendor* ./ 22:58:55 ---> 1f8aa0c72295 22:58:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:58:55 ---> Running in b00e56bcdc24 22:58:56 Removing intermediate container b00e56bcdc24 22:58:56 ---> bf0e34d89611 22:58:56 Step 10/26 : COPY . . 22:58:56 ---> c288e5f05c6a 22:58:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:58:56 ---> Running in e31a51c65327 22:58:56 Removing intermediate container e31a51c65327 22:58:56 ---> df9e7141fd44 22:58:56 Step 12/26 : RUN $MAKE 22:58:56 ---> Running in 47f19ae55d3d 22:58:57 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:59:29 Removing intermediate container 47f19ae55d3d 22:59:29 ---> f2fec8385dbd 22:59:29 Step 13/26 : FROM alpine:3.20 22:59:29 3.20: Pulling from library/alpine 22:59:29 0a9a5dfd008f: Pulling fs layer 22:59:29 0a9a5dfd008f: Verifying Checksum 22:59:29 0a9a5dfd008f: Download complete 22:59:29 0a9a5dfd008f: Pull complete 22:59:29 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 22:59:29 Status: Downloaded newer image for alpine:3.20 22:59:29 ---> ff221270b9fb 22:59:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:59:29 ---> Running in 447da10df55d 22:59:29 Removing intermediate container 447da10df55d 22:59:29 ---> a5d6354c4fec 22:59:29 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:59:29 ---> Running in 6e8b2dc20a90 22:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:59:29 (1/1) Installing dumb-init (1.2.5-r3) 22:59:29 Executing busybox-1.36.1-r29.trigger 22:59:29 OK: 8 MiB in 15 packages 22:59:29 Removing intermediate container 6e8b2dc20a90 22:59:29 ---> 177bf2c72319 22:59:29 Step 16/26 : RUN apk --no-cache upgrade 22:59:29 ---> Running in 16df4d0ea174 22:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:59:29 OK: 8 MiB in 15 packages 22:59:29 Removing intermediate container 16df4d0ea174 22:59:29 ---> f6d187fbfbee 22:59:29 Step 17/26 : WORKDIR / 22:59:29 ---> Running in 768cbe9f6179 22:59:29 Removing intermediate container 768cbe9f6179 22:59:29 ---> 2b818815b5d0 22:59:29 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:59:29 ---> c7ec5b307b9b 22:59:29 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:59:29 ---> 740527f845ab 22:59:29 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:59:29 ---> 5a18ee3a3b75 22:59:29 Step 21/26 : EXPOSE 59900 22:59:29 ---> Running in ceae559603bb 22:59:29 Removing intermediate container ceae559603bb 22:59:29 ---> 7c9dd1c38b38 22:59:29 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:59:29 ---> Running in 8b31703263bb 22:59:29 Removing intermediate container 8b31703263bb 22:59:29 ---> 2c6664f7aba9 22:59:29 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 22:59:29 ---> Running in fca39b98b481 22:59:29 Removing intermediate container fca39b98b481 22:59:29 ---> c2e740de90b7 22:59:29 Step 24/26 : LABEL arch=amd64 22:59:29 ---> Running in 8c585667b7df 22:59:29 Removing intermediate container 8c585667b7df 22:59:29 ---> fcfdd227c052 22:59:29 Step 25/26 : LABEL git_sha=9800014e2da1587c7a00b62c275de6773c6bcc44 22:59:29 ---> Running in 0fe25b02cf71 22:59:29 Removing intermediate container 0fe25b02cf71 22:59:29 ---> 762bcf77bb68 22:59:29 Step 26/26 : LABEL version=0.0.0 22:59:29 ---> Running in 9f2b23453efb 22:59:29 Removing intermediate container 9f2b23453efb 22:59:29 ---> 21fc5aa2dcbc 22:59:29 [Warning] One or more build-args [ARCH] were not consumed 22:59:29 Successfully built 21fc5aa2dcbc 22:59:29 Successfully tagged device-virtual: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 22:59:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:30 22:59:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:31 latest: Pulling from edgex-lftools-log-publisher 22:59:31 5eb5b503b376: Pulling fs layer 22:59:31 5c69ac0246d0: Pulling fs layer 22:59:31 ec43610c2a17: Pulling fs layer 22:59:31 3a2ae6a8a46f: Pulling fs layer 22:59:31 33b1e0a273af: Pulling fs layer 22:59:31 5d3b04190fa2: Pulling fs layer 22:59:31 2f39f015ded8: Pulling fs layer 22:59:31 33b1e0a273af: Waiting 22:59:31 3a2ae6a8a46f: Waiting 22:59:31 2f39f015ded8: Waiting 22:59:31 5d3b04190fa2: Waiting 22:59:31 5c69ac0246d0: Verifying Checksum 22:59:31 5c69ac0246d0: Download complete 22:59:31 3a2ae6a8a46f: Download complete 22:59:31 33b1e0a273af: Verifying Checksum 22:59:31 33b1e0a273af: Download complete 22:59:31 5d3b04190fa2: Download complete 22:59:31 ec43610c2a17: Download complete 22:59:31 5eb5b503b376: Verifying Checksum 22:59:31 5eb5b503b376: Download complete 22:59:32 2f39f015ded8: Download complete 22:59:32 5eb5b503b376: Pull complete 22:59:32 5c69ac0246d0: Pull complete 22:59:33 ec43610c2a17: Pull complete 22:59:33 3a2ae6a8a46f: Pull complete 22:59:33 33b1e0a273af: Pull complete 22:59:33 5d3b04190fa2: Pull complete 22:59:37 2f39f015ded8: Pull complete 22:59:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:38 prd-ubuntu20.04-docker-8c-8g-39638 does not seem to be running inside a container 22:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-522 -v /w/workspace/foundry_device-virtual-go_PR-522:/w/workspace/foundry_device-virtual-go_PR-522:rw,z -v /w/workspace/foundry_device-virtual-go_PR-522@tmp:/w/workspace/foundry_device-virtual-go_PR-522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:59:39 $ docker top 88ad5b9276e71110c20c1aa2f303b6442afe25491d78533b253937341f24cd84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:39 ---> job-cost.sh 22:59:39 lf-activate-venv: SKIPPING 22:59:39 INFO: No Stack... 22:59:40 INFO: Retrieving Pricing Info for: v3-standard-8 22:59:40 INFO: Archiving Costs [Pipeline] sh 22:59:40 + cat /w/workspace/foundry_device-virtual-go_PR-522/archives/cost.csv 22:59:40 + cut -d, -f6 [Pipeline] lock 22:59:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-522-1-stack-cost] 22:59:40 Resource [jenkins-edgexfoundry-device-virtual-go-PR-522-1-stack-cost] did not exist. Created. 22:59:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:59:41 + echo total: 0.2199999988079071 [Pipeline] stash 22:59:41 Stashed 1 file(s) [Pipeline] } 22:59:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-522-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:59:41 $ docker stop --time=1 88ad5b9276e71110c20c1aa2f303b6442afe25491d78533b253937341f24cd84 22:59:42 $ docker rm -f --volumes 88ad5b9276e71110c20c1aa2f303b6442afe25491d78533b253937341f24cd84 [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 22:59:43 provisioning config files... 22:59:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-522@tmp/config15841488263135239971tmp [Pipeline] { [Pipeline] sh 22:59:43 + set +x 22:59:43 + + bash -s -- 22:59:43 curl -s https://codecov.io/bash 22:59:43 22:59:43 _____ _ 22:59:43 / ____| | | 22:59:43 | | ___ __| | ___ ___ _____ __ 22:59:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:59:43 | |___| (_) | (_| | __/ (_| (_) \ V / 22:59:43 \_____\___/ \__,_|\___|\___\___/ \_/ 22:59:43 Bash-1.0.6 22:59:43 22:59:43 22:59:43 ==> git version 2.25.1 found 22:59:43 ==> 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 22:59:43 Release-Date: 2020-01-08 22:59:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:59:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:59:43 ==> Jenkins CI detected. 22:59:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-522 22:59:43 project root: . 22:59:43 --> token set from env 22:59:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:59:43 ==> Running gcov in . (disable via -X gcov) 22:59:43 ==> Python coveragepy not found 22:59:43 ==> Searching for coverage reports in: 22:59:43 + . 22:59:43 -> Found 1 reports 22:59:43 ==> Detecting git/mercurial file structure 22:59:43 ==> Reading reports 22:59:43 + ./coverage.out bytes=43316 22:59:43 ==> Appending adjustments 22:59:43 https://docs.codecov.io/docs/fixing-reports 22:59:43 + Found adjustments 22:59:43 ==> Gzipping contents 22:59:43 8.0K /tmp/codecov.VmrIbm.gz 22:59:43 ==> Uploading reports 22:59:43 url: https://codecov.io 22:59:43 query: branch=PR-522&commit=9800014e2da1587c7a00b62c275de6773c6bcc44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=522&job=&cmd_args= 22:59:43 -> Pinging Codecov 22:59:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-522&commit=9800014e2da1587c7a00b62c275de6773c6bcc44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=522&job=&cmd_args= 22:59:44 -> Uploading to 22:59:44 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-virtual-go/9800014e2da1587c7a00b62c275de6773c6bcc44/e731df91-6655-48ac-a1aa-0f0855b2bb89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250224%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250224T225943Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=48ce746498d16325be775f82e9c8f914e0d104ee3894db60701b77185aa5d5ac 22:59:44 % Total % Received % Xferd Average Speed Time Time Time Current 22:59:44 Dload Upload Total Spent Left Speed 22:59:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5039 0 0 100 5039 0 33151 --:--:-- --:--:-- --:--:-- 32934 100 5039 0 0 100 5039 0 33151 --:--:-- --:--:-- --:--:-- 32934 22:59:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9800014e2da1587c7a00b62c275de6773c6bcc44 [Pipeline] } 22:59:44 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 22:59:46 + [ -d /w/workspace/foundry_device-virtual-go_PR-522/archives ] 22:59:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-522/archives 22:59:46 total 16 22:59:46 drwxr-xr-x 3 root root 4096 Feb 24 22:59 . 22:59:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 22:59 .. 22:59:46 drwxr-xr-x 2 root root 4096 Feb 24 22:59 cost 22:59:46 -rw-r--r-- 1 root root 89 Feb 24 22:59 cost.csv 22:59:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-522/archives 22:59:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-522/archives 22:59:46 total 16 22:59:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 22:59 . 22:59:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 22:59 .. 22:59:46 drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 22:59 cost 22:59:46 -rw-r--r-- 1 jenkins jenkins 89 Feb 24 22:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:59:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:59:47 ---> package-listing.sh 22:59:47 ++ facter osfamily 22:59:47 ++ tr '[:upper:]' '[:lower:]' 22:59:47 + OS_FAMILY=debian 22:59:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-522 22:59:47 + START_PACKAGES=/tmp/packages_start.txt 22:59:47 + END_PACKAGES=/tmp/packages_end.txt 22:59:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:59:47 + PACKAGES=/tmp/packages_start.txt 22:59:47 + '[' /w/workspace/foundry_device-virtual-go_PR-522 ']' 22:59:47 + PACKAGES=/tmp/packages_end.txt 22:59:47 + case "${OS_FAMILY}" in 22:59:47 + dpkg -l 22:59:47 + grep '^ii' 22:59:47 + '[' -f /tmp/packages_start.txt ']' 22:59:47 + '[' -f /tmp/packages_end.txt ']' 22:59:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:59:47 + '[' /w/workspace/foundry_device-virtual-go_PR-522 ']' 22:59:47 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-522/archives/ 22:59:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-522/archives/ [Pipeline] echo 22:59:47 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/foundry_device-virtual-go_PR-522/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:59:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:48 prd-ubuntu20.04-docker-8c-8g-39638 does not seem to be running inside a container 22:59:48 $ 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/foundry_device-virtual-go_PR-522/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-522 -v /w/workspace/foundry_device-virtual-go_PR-522:/w/workspace/foundry_device-virtual-go_PR-522:rw,z -v /w/workspace/foundry_device-virtual-go_PR-522@tmp:/w/workspace/foundry_device-virtual-go_PR-522@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:59:48 $ docker top 9dbba3a4e9626f94bdc4c5342936dedeabc983e275981c9676596e7f51f56760 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:59:49 + mkdir -p /var/log/sysstat [Pipeline] sh 22:59:50 + ls /var/log/sa-host 22:59:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:50 provisioning config files... 22:59:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-522@tmp/config2863033251487151889tmp [Pipeline] { [Pipeline] echo 22:59:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:59:50 ---> create-netrc.sh [Pipeline] } 22:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:59:51 ---> python-tools-install.sh [Pipeline] echo 22:59:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:59:51 ---> sudo-logs.sh 22:59:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:59:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:59:51 ---> job-cost.sh 22:59:51 lf-activate-venv: SKIPPING 22:59:51 DEBUG: total: 0.2199999988079071 22:59:51 INFO: Retrieving Stack Cost... 22:59:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:59:52 INFO: Archiving Costs [Pipeline] echo 22:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:59:52 ---> logs-deploy.sh 22:59:52 lf-activate-venv: SKIPPING 22:59:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-522/1 22:59:52 INFO: archiving workspace using pattern(s): 22:59:53 Archives upload complete. 22:59:54 INFO: archiving logs to Nexus