Pull request #499 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 weichou1229 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 86d2c32c9f7a93932043e6ccd62de097049b265e+8293796536b0fdf8c12edad8c53cf3eb6594dc00 (4e83f0062de435d38a3fce19eba0e58b54594062) 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-ssh8399239850695732024.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3510613099588705232.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-499/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-499/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14356394152322679789.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-499/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3296805265160823021.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh2488075851653282090.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-499/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-499/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6735152454048484206.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23999 in /w/workspace/foundry_device-virtual-go_PR-499 [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-499 # 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 Merging remotes/origin/main commit 8293796536b0fdf8c12edad8c53cf3eb6594dc00 into PR head commit 86d2c32c9f7a93932043e6ccd62de097049b265e > 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/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 86d2c32c9f7a93932043e6ccd62de097049b265e # timeout=10 Merge succeeded, producing 86d2c32c9f7a93932043e6ccd62de097049b265e Checking out Revision 86d2c32c9f7a93932043e6ccd62de097049b265e (PR-499) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8293796536b0fdf8c12edad8c53cf3eb6594dc00 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 86d2c32c9f7a93932043e6ccd62de097049b265e # timeout=10 Commit message: "refactor!: update module to v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:55:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:55:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:55:55 ========================================================= 01:55:55 EdgeX Global Pipelines Version Info 01:55:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:55:56 ------------------- 01:55:56 stable info: 01:55:56 ------------------- 01:55:56 Commited By: Ginny Guan ginny@iotechsys.com 01:55:56 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 01:55:56 Message: update stable to v1.0.265 01:55:57 ------------------- 01:55:57 experimental info: 01:55:57 ------------------- 01:55:57 Commited By: Cherry Wang cherry@iotechsys.com 01:55:57 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:55:57 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:55:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-499 [Pipeline] echo 01:55:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-499 [Pipeline] echo 01:55:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-499 [Pipeline] echo 01:55:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86d2c32c9f7a93932043e6ccd62de097049b265e [Pipeline] echo 01:55:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86d2c32 [Pipeline] echo 01:55:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:59 provisioning config files... 01:55:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-499@tmp/config17874878715046195293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:59 ---> ****-login.sh 01:55:59 nexus3.edgexfoundry.org:10001 01:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:00 Configure a credential helper to remove this warning. See 01:56:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:00 01:56:00 Login Succeeded 01:56:00 nexus3.edgexfoundry.org:10002 01:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:00 Configure a credential helper to remove this warning. See 01:56:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:00 01:56:00 Login Succeeded 01:56:00 nexus3.edgexfoundry.org:10003 01:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:00 Configure a credential helper to remove this warning. See 01:56:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:00 01:56:00 Login Succeeded 01:56:00 nexus3.edgexfoundry.org:10004 01:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:00 Configure a credential helper to remove this warning. See 01:56:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:00 01:56:00 Login Succeeded 01:56:00 ****.io 01:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:00 Configure a credential helper to remove this warning. See 01:56:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:00 01:56:00 Login Succeeded 01:56:00 ---> ****-login.sh ends [Pipeline] } 01:56:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:56:01 + git rev-list -1 --merges 86d2c32c9f7a93932043e6ccd62de097049b265e~1..86d2c32c9f7a93932043e6ccd62de097049b265e [Pipeline] echo 01:56:01 -----------> git rev-list -1 --merges 86d2c32c9f7a93932043e6ccd62de097049b265e~1..86d2c32c9f7a93932043e6ccd62de097049b265e 86d2c32c9f7a93932043e6ccd62de097049b265e [false] [Pipeline] sh 01:56:02 + git log --format=format:%s -1 86d2c32c9f7a93932043e6ccd62de097049b265e [Pipeline] echo 01:56:02 ========================================================= 01:56:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:56:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:02 + git log --format=format:%s -1 86d2c32c9f7a93932043e6ccd62de097049b265e [Pipeline] echo 01:56:02 [semverPrep] GIT_COMMIT: 86d2c32c9f7a93932043e6ccd62de097049b265e, Commit Message: refactor!: update module to v4 [Pipeline] echo 01:56:02 [semverPrep] This is not a build commit. [Pipeline] sh 01:56:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:03 + grep -v github /etc/ssh/ssh_known_hosts 01:56:03 + [ -e /tmp/ssh_known_hosts ] 01:56:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:56:03 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:56:03 sudo tee -a /etc/ssh/ssh_known_hosts 01:56:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:03 01:56:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:04 0.1.4: Pulling from edgex-devops/py-git-semver 01:56:04 b85a868b505f: Pulling fs layer 01:56:04 e2be974225ed: Pulling fs layer 01:56:04 339a4e72a1f5: Pulling fs layer 01:56:04 988bab9f4d93: Pulling fs layer 01:56:04 1469e6f7b9e6: Pulling fs layer 01:56:04 eaf3925da568: Pulling fs layer 01:56:04 bab4dde63d76: Pulling fs layer 01:56:04 bde34c3a00c8: Pulling fs layer 01:56:04 b352a97aabf1: Pulling fs layer 01:56:04 4872d77fe225: Pulling fs layer 01:56:04 5851b861e8e6: Pulling fs layer 01:56:04 eaf3925da568: Waiting 01:56:04 bab4dde63d76: Waiting 01:56:04 988bab9f4d93: Waiting 01:56:04 1469e6f7b9e6: Waiting 01:56:04 bde34c3a00c8: Waiting 01:56:04 b352a97aabf1: Waiting 01:56:04 5851b861e8e6: Waiting 01:56:04 4872d77fe225: Waiting 01:56:04 e2be974225ed: Download complete 01:56:04 988bab9f4d93: Verifying Checksum 01:56:04 988bab9f4d93: Download complete 01:56:04 1469e6f7b9e6: Verifying Checksum 01:56:04 1469e6f7b9e6: Download complete 01:56:04 339a4e72a1f5: Verifying Checksum 01:56:04 339a4e72a1f5: Download complete 01:56:04 bde34c3a00c8: Verifying Checksum 01:56:04 bde34c3a00c8: Download complete 01:56:04 b352a97aabf1: Download complete 01:56:04 4872d77fe225: Verifying Checksum 01:56:04 4872d77fe225: Download complete 01:56:04 5851b861e8e6: Download complete 01:56:04 b85a868b505f: Verifying Checksum 01:56:04 b85a868b505f: Download complete 01:56:04 bab4dde63d76: Verifying Checksum 01:56:04 bab4dde63d76: Download complete 01:56:05 b85a868b505f: Pull complete 01:56:05 e2be974225ed: Pull complete 01:56:06 339a4e72a1f5: Pull complete 01:56:06 988bab9f4d93: Pull complete 01:56:06 1469e6f7b9e6: Pull complete 01:56:06 eaf3925da568: Pull complete 01:56:08 bab4dde63d76: Pull complete 01:56:08 bde34c3a00c8: Pull complete 01:56:08 b352a97aabf1: Pull complete 01:56:08 4872d77fe225: Pull complete 01:56:08 5851b861e8e6: Pull complete 01:56:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:56:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:09 prd-ubuntu20.04-docker-8c-8g-23999 does not seem to be running inside a container 01:56:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-499 -v /w/workspace/foundry_device-virtual-go_PR-499:/w/workspace/foundry_device-virtual-go_PR-499:rw,z -v /w/workspace/foundry_device-virtual-go_PR-499@tmp:/w/workspace/foundry_device-virtual-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:56:11 $ docker top 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 -eo pid,comm 01:56:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:56:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:11 [ssh-agent] Looking for ssh-agent implementation... 01:56:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:11 $ docker exec 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 ssh-agent 01:56:11 SSH_AUTH_SOCK=/tmp/ssh-lTKDWXMfrGqB/agent.32 01:56:11 SSH_AGENT_PID=38 01:56:11 Running ssh-add (command line suppressed) 01:56:11 Identity added: /w/workspace/foundry_device-virtual-go_PR-499@tmp/private_key_16398469427182053366.key (/w/workspace/foundry_device-virtual-go_PR-499@tmp/private_key_16398469427182053366.key) 01:56:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:12 + git tag --points-at HEAD [Pipeline] } 01:56:12 $ docker exec --env ******** --env ******** 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 ssh-agent -k 01:56:12 unset SSH_AUTH_SOCK; 01:56:12 unset SSH_AGENT_PID; 01:56:12 echo Agent pid 38 killed; 01:56:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:12 [ssh-agent] Looking for ssh-agent implementation... 01:56:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:12 $ docker exec 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 ssh-agent 01:56:12 SSH_AUTH_SOCK=/tmp/ssh-wXmwPRmSbfqR/agent.71 01:56:12 SSH_AGENT_PID=77 01:56:12 Running ssh-add (command line suppressed) 01:56:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-499@tmp/private_key_1101723454456366178.key (/w/workspace/foundry_device-virtual-go_PR-499@tmp/private_key_1101723454456366178.key) 01:56:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:13 + git semver init 01:56:13 2024-10-30 01:56:13,231 [run_init] DEBUG init version:0.0.0 force:False 01:56:13 2024-10-30 01:56:13,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-499/.semver 01:56:13 2024-10-30 01:56:13,232 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-499/.semver 01:56:13 2024-10-30 01:56:13,232 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-499/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-499, universal_newlines=False, shell=None, istream=None) 01:56:15 2024-10-30 01:56:15,160 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-499/.git/info/exclude 01:56:15 2024-10-30 01:56:15,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-499/.semver/PR-499 with force:False 01:56:15 2024-10-30 01:56:15,161 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-499/.semver/PR-499 01:56:15 2024-10-30 01:56:15,166 [execute] INFO git cat-file --batch-check 01:56:15 2024-10-30 01:56:15,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-499/.semver, universal_newlines=False, shell=None, istream=) 01:56:15 2024-10-30 01:56:15,172 [execute] INFO git cat-file --batch 01:56:15 2024-10-30 01:56:15,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-499/.semver, universal_newlines=False, shell=None, istream=) 01:56:15 2024-10-30 01:56:15,176 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-499/.semver/PR-499 01:56:15 0.0.0 [Pipeline] } 01:56:15 $ docker exec --env ******** --env ******** 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 ssh-agent -k 01:56:15 unset SSH_AUTH_SOCK; 01:56:15 unset SSH_AGENT_PID; 01:56:15 echo Agent pid 77 killed; 01:56:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:15 + git semver [Pipeline] } 01:56:16 $ docker stop --time=1 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 01:56:17 $ docker rm -f --volumes 5d6bed14556e75b05cb9ff7ae53d3549fb30849a0cb156cb5eef01794630ebc1 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:56:18 Stashed 1 file(s) [Pipeline] echo 01:56:18 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:18 provisioning config files... 01:56:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-499@tmp/config10321951252447383880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:19 ---> ****-login.sh 01:56:19 nexus3.edgexfoundry.org:10001 01:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:19 Configure a credential helper to remove this warning. See 01:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:19 01:56:19 Login Succeeded 01:56:19 nexus3.edgexfoundry.org:10002 01:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:19 Configure a credential helper to remove this warning. See 01:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:19 01:56:19 Login Succeeded 01:56:19 nexus3.edgexfoundry.org:10003 01:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:19 Configure a credential helper to remove this warning. See 01:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:19 01:56:19 Login Succeeded 01:56:19 nexus3.edgexfoundry.org:10004 01:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:19 Configure a credential helper to remove this warning. See 01:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:19 01:56:19 Login Succeeded 01:56:19 ****.io 01:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:19 Configure a credential helper to remove this warning. See 01:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:19 01:56:19 Login Succeeded 01:56:19 ---> ****-login.sh ends [Pipeline] } 01:56:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:20 ========================================================= 01:56:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:56:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:56:20 Sending build context to Docker daemon 37.79MB 01:56:20 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:56:20 Step 2/12 : FROM ${BASE} AS builder 01:56:20 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:56:20 43c4264eed91: Pulling fs layer 01:56:20 4cc291be95ef: Pulling fs layer 01:56:20 2ac1f1163629: Pulling fs layer 01:56:20 5c3c966382ef: Pulling fs layer 01:56:20 4f4fb700ef54: Pulling fs layer 01:56:20 5d5c8e513c77: Pulling fs layer 01:56:20 9f66e0745190: Pulling fs layer 01:56:20 4f4fb700ef54: Waiting 01:56:20 5d5c8e513c77: Waiting 01:56:20 5c3c966382ef: Waiting 01:56:20 f49a43e4bbc0: Pulling fs layer 01:56:20 561ebcabdf7f: Pulling fs layer 01:56:20 9f66e0745190: Waiting 01:56:20 f49a43e4bbc0: Waiting 01:56:20 561ebcabdf7f: Waiting 01:56:20 4cc291be95ef: Verifying Checksum 01:56:20 4cc291be95ef: Download complete 01:56:20 5c3c966382ef: Verifying Checksum 01:56:20 5c3c966382ef: Download complete 01:56:20 4f4fb700ef54: Verifying Checksum 01:56:20 4f4fb700ef54: Download complete 01:56:20 5d5c8e513c77: Verifying Checksum 01:56:20 5d5c8e513c77: Download complete 01:56:20 43c4264eed91: Download complete 01:56:20 9f66e0745190: Verifying Checksum 01:56:20 9f66e0745190: Download complete 01:56:20 43c4264eed91: Pull complete 01:56:21 561ebcabdf7f: Download complete 01:56:21 4cc291be95ef: Pull complete 01:56:21 2ac1f1163629: Verifying Checksum 01:56:21 2ac1f1163629: Download complete 01:56:21 f49a43e4bbc0: Verifying Checksum 01:56:21 f49a43e4bbc0: Download complete 01:56:24 2ac1f1163629: Pull complete 01:56:24 5c3c966382ef: Pull complete 01:56:24 4f4fb700ef54: Pull complete 01:56:24 5d5c8e513c77: Pull complete 01:56:24 9f66e0745190: Pull complete 01:56:26 f49a43e4bbc0: Pull complete 01:56:27 561ebcabdf7f: Pull complete 01:56:27 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 01:56:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:56:27 ---> 3a752c3f9dda 01:56:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:56:30 ---> Running in 5b6c71b1f345 01:56:30 Removing intermediate container 5b6c71b1f345 01:56:30 ---> ac3cab47a672 01:56:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:56:30 ---> Running in 01d28e69137c 01:56:30 Removing intermediate container 01d28e69137c 01:56:30 ---> 2f86c66e78a9 01:56:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:56:30 ---> Running in ee717a0436bd 01:56:30 Removing intermediate container ee717a0436bd 01:56:30 ---> 071e377ee72b 01:56:30 Step 6/12 : WORKDIR /device-virtual-go 01:56:30 ---> Running in 28584bf65e49 01:56:30 Removing intermediate container 28584bf65e49 01:56:30 ---> 0b03a2f309e5 01:56:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:30 ---> Running in eb1df122daa8 01:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:31 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:56:31 (2/4) Installing libedit (20240517.3.1-r0) 01:56:31 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:56:31 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:56:31 Executing busybox-1.36.1-r29.trigger 01:56:31 OK: 250 MiB in 58 packages 01:56:31 Removing intermediate container eb1df122daa8 01:56:31 ---> b76269c702d5 01:56:31 Step 8/12 : COPY go.mod vendor* ./ 01:56:32 ---> 6babb23702b5 01:56:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:32 ---> Running in d4754699008d 01:56:33 Still waiting to schedule task 01:56:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 01:57:28 Removing intermediate container d4754699008d 01:57:28 ---> 7ba0806d6788 01:57:28 Step 10/12 : COPY . . 01:57:28 ---> b0dfc86d6821 01:57:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:28 ---> Running in b38cd72d5336 01:57:28 Removing intermediate container b38cd72d5336 01:57:28 ---> 9d6abe7929e0 01:57:28 Step 12/12 : RUN $MAKE 01:57:28 ---> Running in 1cbff43274a1 01:57:28 noop 01:57:28 Removing intermediate container 1cbff43274a1 01:57:28 ---> f0efaa19b914 01:57:28 Successfully built f0efaa19b914 01:57:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:28 + docker inspect -f . ci-base-image-x86_64 01:57:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:29 prd-ubuntu20.04-docker-8c-8g-23999 does not seem to be running inside a container 01:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-499 -v /w/workspace/foundry_device-virtual-go_PR-499:/w/workspace/foundry_device-virtual-go_PR-499:rw,z -v /w/workspace/foundry_device-virtual-go_PR-499@tmp:/w/workspace/foundry_device-virtual-go_PR-499@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 ******** -e ******** ci-base-image-x86_64 cat 01:57:29 $ docker top 9db5b4972dc39bac67fd84775ea366c36816475847f9bcbbc869c2dd72378484 -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:29 + go version 01:57:29 go version go1.23.2 linux/amd64 [Pipeline] } 01:57:29 $ docker stop --time=1 9db5b4972dc39bac67fd84775ea366c36816475847f9bcbbc869c2dd72378484 01:57:31 $ docker rm -f --volumes 9db5b4972dc39bac67fd84775ea366c36816475847f9bcbbc869c2dd72378484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:32 + docker inspect -f . ci-base-image-x86_64 01:57:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:32 prd-ubuntu20.04-docker-8c-8g-23999 does not seem to be running inside a container 01:57:32 $ 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-499 -v /w/workspace/foundry_device-virtual-go_PR-499:/w/workspace/foundry_device-virtual-go_PR-499:rw,z -v /w/workspace/foundry_device-virtual-go_PR-499@tmp:/w/workspace/foundry_device-virtual-go_PR-499@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 ******** -e ******** ci-base-image-x86_64 cat 01:57:32 $ docker top 99ea2b0d4f0bb848dfa933bd1cd66d29a6dcdee905a3d70ddf17c0dd2da64264 -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:32 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-499 [Pipeline] fileExists [Pipeline] sh 01:57:33 + make test 01:57:33 go test ./... -coverprofile=coverage.out 01:57:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:57:52 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 01:57:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 01:58:05 go vet ./... 01:58:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:11 ./bin/test-attribution-txt.sh [Pipeline] echo 01:58:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:58:11 $ docker stop --time=1 99ea2b0d4f0bb848dfa933bd1cd66d29a6dcdee905a3d70ddf17c0dd2da64264 01:58:14 $ docker rm -f --volumes 99ea2b0d4f0bb848dfa933bd1cd66d29a6dcdee905a3d70ddf17c0dd2da64264 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:58:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:58:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:16 + ls -al . 01:58:16 total 276 01:58:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 01:57 . 01:58:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 01:55 .. 01:58:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 01:57 .git 01:58:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 01:55 .github 01:58:16 -rw-rw-r-- 1 jenkins jenkins 272 Oct 30 01:55 .gitignore 01:58:16 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 01:55 .golangci.yml 01:58:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 01:56 .semver 01:58:16 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 30 01:55 Attribution.txt 01:58:16 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 30 01:55 CHANGELOG.md 01:58:16 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 30 01:55 Dockerfile 01:58:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 01:55 GOVERNANCE.md 01:58:16 -rw-rw-r-- 1 jenkins jenkins 660 Oct 30 01:55 Jenkinsfile 01:58:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 01:55 LICENSE 01:58:16 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 30 01:55 Makefile 01:58:16 -rw-rw-r-- 1 jenkins jenkins 623 Oct 30 01:55 OWNERS.md 01:58:16 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 30 01:55 README.md 01:58:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 01:56 VERSION 01:58:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 01:55 bin 01:58:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 01:55 cmd 01:58:16 -rw-r--r-- 1 jenkins jenkins 43316 Oct 30 01:57 coverage.out 01:58:16 -rw-rw-r-- 1 jenkins jenkins 6888 Oct 30 01:55 go.mod 01:58:16 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 01:55 go.sum 01:58:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 01:55 internal 01:58:16 -rw-rw-r-- 1 jenkins jenkins 235 Oct 30 01:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:16 + 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=86d2c32c9f7a93932043e6ccd62de097049b265e --label arch=amd64 --label version=0.0.0 . 01:58:16 Sending build context to Docker daemon 37.83MB 01:58:16 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:58:16 Step 2/26 : FROM ${BASE} AS builder 01:58:16 ---> f0efaa19b914 01:58:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:58:17 ---> Running in b0c6ad358435 01:58:17 Removing intermediate container b0c6ad358435 01:58:17 ---> 969d5ef38c9b 01:58:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:58:17 ---> Running in 6cf95958dd32 01:58:17 Removing intermediate container 6cf95958dd32 01:58:17 ---> 073f7013b48f 01:58:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:58:17 ---> Running in c7bfecd51231 01:58:17 Removing intermediate container c7bfecd51231 01:58:17 ---> 4cf7dd17fa8a 01:58:17 Step 6/26 : WORKDIR /device-virtual-go 01:58:17 ---> Running in ef081f0d701c 01:58:17 Removing intermediate container ef081f0d701c 01:58:17 ---> 98dc31ee5ce4 01:58:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:58:17 ---> Running in fb4d802adf59 01:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:58:18 OK: 250 MiB in 58 packages 01:58:18 Removing intermediate container fb4d802adf59 01:58:18 ---> b9c482a0af19 01:58:18 Step 8/26 : COPY go.mod vendor* ./ 01:58:18 ---> 6b845c697ca6 01:58:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:18 ---> Running in 5a4cad3d386a 01:58:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24000 in /w/workspace/foundry_device-virtual-go_PR-499 [Pipeline] { [Pipeline] ws 01:58:18 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 01:58:19 Removing intermediate container 5a4cad3d386a 01:58:19 ---> d7d46d2ddc02 01:58:19 Step 10/26 : COPY . . 01:58:19 ---> eab8a1313e42 01:58:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:58:19 ---> Running in c1b6dd055cdc 01:58:20 Removing intermediate container c1b6dd055cdc 01:58:20 ---> fdbca7d710eb 01:58:20 Step 12/26 : RUN $MAKE 01:58:20 ---> Running in d378fb3f0f15 01:58:20 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.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 01:58:21 The recommended git tool is: git 01:58:30 using credential edgex-jenkins-ssh 01:58:30 Cloning the remote Git repository 01:58:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:58:30 > git init /w/workspace/device-virtual-go/1 # timeout=10 01:58:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:58:30 > git --version # timeout=10 01:58:30 > git --version # 'git version 2.25.1' 01:58:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:58:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:58:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:58:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:58:36 Merging remotes/origin/main commit 8293796536b0fdf8c12edad8c53cf3eb6594dc00 into PR head commit 86d2c32c9f7a93932043e6ccd62de097049b265e 01:58:36 Merge succeeded, producing 86d2c32c9f7a93932043e6ccd62de097049b265e 01:58:36 Checking out Revision 86d2c32c9f7a93932043e6ccd62de097049b265e (PR-499) 01:58:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:58:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:58:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:58:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:58:36 > git config core.sparsecheckout # timeout=10 01:58:36 > git checkout -f 86d2c32c9f7a93932043e6ccd62de097049b265e # timeout=10 01:58:36 > git remote # timeout=10 01:58:36 > git config --get remote.origin.url # timeout=10 01:58:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:58:36 > git merge 8293796536b0fdf8c12edad8c53cf3eb6594dc00 # timeout=10 01:58:36 > git rev-parse HEAD^{commit} # timeout=10 01:58:36 > git config core.sparsecheckout # timeout=10 01:58:36 > git checkout -f 86d2c32c9f7a93932043e6ccd62de097049b265e # timeout=10 01:58:40 Commit message: "refactor!: update module to v4" 01:58:40 > git --version # timeout=10 01:58:40 > git --version # 'git version 2.25.1' 01:58:40 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:58:42 % Total % Received % Xferd Average Speed Time Time Time Current 01:58:42 Dload Upload Total Spent Left Speed 01:58:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh 01:58:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:58:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:58:42 + sudo tee /etc/docker/daemon.new 01:58:42 { 01:58:42 "registry-mirrors": [ 01:58:42 "https://nexus3.edgexfoundry.org:10001" 01:58:42 ], 01:58:42 "bip": "10.250.0.254/24", 01:58:42 "hosts": [ 01:58:42 "tcp://0.0.0.0:5555", 01:58:42 "unix:///var/run/docker.sock" 01:58:42 ], 01:58:42 "mtu": 1458, 01:58:42 "selinux-enabled": true, 01:58:42 "seccomp-profile": "/etc/docker/seccomp.json" 01:58:42 } [Pipeline] sh 01:58:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:58:43 + sudo service docker restart 01:58:59 Removing intermediate container d378fb3f0f15 01:58:59 ---> 9f48ae0c53cf 01:58:59 Step 13/26 : FROM alpine:3.20 01:58:59 3.20: Pulling from library/alpine 01:58:59 43c4264eed91: Already exists 01:58:59 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 01:58:59 Status: Downloaded newer image for alpine:3.20 01:58:59 ---> 91ef0af61f39 01:58:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:58:59 ---> Running in 333960a56d30 01:58:59 Removing intermediate container 333960a56d30 01:58:59 ---> 235ac6b377a0 01:58:59 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:58:59 ---> Running in 900f70ba5cc8 01:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:58:59 (1/1) Installing dumb-init (1.2.5-r3) 01:58:59 Executing busybox-1.36.1-r29.trigger 01:58:59 OK: 8 MiB in 15 packages 01:58:59 Removing intermediate container 900f70ba5cc8 01:58:59 ---> 3c05f754b786 01:58:59 Step 16/26 : RUN apk --no-cache upgrade 01:58:59 ---> Running in 25ce563c7ca9 01:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:58:59 Upgrading critical system libraries and apk-tools: 01:58:59 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:58:59 Executing busybox-1.36.1-r29.trigger 01:58:59 Continuing the upgrade transaction with new apk-tools: 01:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:58:59 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 01:58:59 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 01:58:59 OK: 8 MiB in 15 packages 01:58:59 Removing intermediate container 25ce563c7ca9 01:58:59 ---> 72b35c14dbab 01:58:59 Step 17/26 : WORKDIR / 01:58:59 ---> Running in d8c31f3d1c9f 01:58:59 Removing intermediate container d8c31f3d1c9f 01:58:59 ---> 5acd23b22340 01:58:59 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:58:59 ---> 1c89fe6bfe2e 01:58:59 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:58:59 ---> c66da4a7d5bb 01:58:59 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:58:59 ---> e58d228d266d 01:58:59 Step 21/26 : EXPOSE 59900 01:58:59 ---> Running in fb5c5af3d52c 01:58:59 Removing intermediate container fb5c5af3d52c 01:58:59 ---> 88d0e63a0710 01:58:59 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:58:59 ---> Running in b4634353fb38 01:58:59 Removing intermediate container b4634353fb38 01:58:59 ---> da696bd19346 01:58:59 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:58:59 ---> Running in 930758b8b019 01:58:59 Removing intermediate container 930758b8b019 01:58:59 ---> f1f14fdb9a16 01:58:59 Step 24/26 : LABEL arch=amd64 01:58:59 ---> Running in e5a993cd55f5 01:58:59 Removing intermediate container e5a993cd55f5 01:58:59 ---> e9717beea221 01:58:59 Step 25/26 : LABEL git_sha=86d2c32c9f7a93932043e6ccd62de097049b265e 01:58:59 ---> Running in c1466194fabd 01:58:59 Removing intermediate container c1466194fabd 01:58:59 ---> f2843fef8e55 01:58:59 Step 26/26 : LABEL version=0.0.0 01:58:59 ---> Running in 911225b0ac47 01:58:59 Removing intermediate container 911225b0ac47 01:58:59 ---> 47110ae99328 01:58:59 [Warning] One or more build-args [ARCH] were not consumed 01:58:59 Successfully built 47110ae99328 01:58:59 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 01:59:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:00 01:59:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:00 latest: Pulling from edgex-lftools-log-publisher 01:59:00 5eb5b503b376: Pulling fs layer 01:59:00 5c69ac0246d0: Pulling fs layer 01:59:00 ec43610c2a17: Pulling fs layer 01:59:00 3a2ae6a8a46f: Pulling fs layer 01:59:00 33b1e0a273af: Pulling fs layer 01:59:00 5d3b04190fa2: Pulling fs layer 01:59:00 2f39f015ded8: Pulling fs layer 01:59:00 3a2ae6a8a46f: Waiting 01:59:00 5d3b04190fa2: Waiting 01:59:00 33b1e0a273af: Waiting 01:59:00 2f39f015ded8: Waiting 01:59:00 3a2ae6a8a46f: Download complete 01:59:00 33b1e0a273af: Verifying Checksum 01:59:00 33b1e0a273af: Download complete 01:59:00 5d3b04190fa2: Verifying Checksum 01:59:00 5d3b04190fa2: Download complete 01:59:00 ec43610c2a17: Download complete 01:59:00 5eb5b503b376: Verifying Checksum 01:59:00 5eb5b503b376: Download complete 01:59:01 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:01 provisioning config files... 01:59:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16252477821168917585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:02 5eb5b503b376: Pull complete 01:59:02 5c69ac0246d0: Pull complete 01:59:02 ---> ****-login.sh 01:59:02 nexus3.edgexfoundry.org:10001 01:59:02 ec43610c2a17: Pull complete 01:59:02 3a2ae6a8a46f: Pull complete 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 nexus3.edgexfoundry.org:10002 01:59:03 33b1e0a273af: Pull complete 01:59:03 5d3b04190fa2: Pull complete 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 nexus3.edgexfoundry.org:10003 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 nexus3.edgexfoundry.org:10004 01:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:04 Configure a credential helper to remove this warning. See 01:59:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:04 01:59:04 Login Succeeded 01:59:04 ****.io 01:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:04 Configure a credential helper to remove this warning. See 01:59:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:04 01:59:04 Login Succeeded 01:59:04 ---> ****-login.sh ends [Pipeline] } 01:59:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:59:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:59:05 ========================================================= 01:59:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:59:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:59:06 Sending build context to Docker daemon 19.14MB 01:59:06 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:59:06 Step 2/12 : FROM ${BASE} AS builder 01:59:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:59:06 cf04c63912e1: Pulling fs layer 01:59:06 55b35a11ae5e: Pulling fs layer 01:59:06 a37a00ec5f00: Pulling fs layer 01:59:06 50b3750afda1: Pulling fs layer 01:59:06 4f4fb700ef54: Pulling fs layer 01:59:06 80978eb59214: Pulling fs layer 01:59:06 c9f46d7d2bd2: Pulling fs layer 01:59:06 c5a475d317c9: Pulling fs layer 01:59:06 50b3750afda1: Waiting 01:59:06 4f4fb700ef54: Waiting 01:59:06 80978eb59214: Waiting 01:59:06 c9f46d7d2bd2: Waiting 01:59:06 c5a475d317c9: Waiting 01:59:06 55b35a11ae5e: Verifying Checksum 01:59:06 55b35a11ae5e: Download complete 01:59:06 50b3750afda1: Verifying Checksum 01:59:06 50b3750afda1: Download complete 01:59:06 4f4fb700ef54: Verifying Checksum 01:59:06 4f4fb700ef54: Download complete 01:59:06 80978eb59214: Verifying Checksum 01:59:06 80978eb59214: Download complete 01:59:06 cf04c63912e1: Verifying Checksum 01:59:06 cf04c63912e1: Download complete 01:59:07 2f39f015ded8: Pull complete 01:59:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:07 c5a475d317c9: Verifying Checksum 01:59:07 c5a475d317c9: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:07 prd-ubuntu20.04-docker-8c-8g-23999 does not seem to be running inside a container 01:59:07 $ 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-499 -v /w/workspace/foundry_device-virtual-go_PR-499:/w/workspace/foundry_device-virtual-go_PR-499:rw,z -v /w/workspace/foundry_device-virtual-go_PR-499@tmp:/w/workspace/foundry_device-virtual-go_PR-499@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:59:07 cf04c63912e1: Pull complete 01:59:08 55b35a11ae5e: Pull complete 01:59:08 a37a00ec5f00: Verifying Checksum 01:59:08 a37a00ec5f00: Download complete 01:59:09 c9f46d7d2bd2: Verifying Checksum 01:59:09 c9f46d7d2bd2: Download complete 01:59:10 $ docker top 5386393641e8d491ea148cb9b0d83670ccfa87357dbd1b6c5b32eb92a567b0b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:11 ---> job-cost.sh 01:59:11 lf-activate-venv: SKIPPING 01:59:11 INFO: No Stack... 01:59:11 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:11 INFO: Archiving Costs [Pipeline] sh 01:59:12 + cat /w/workspace/foundry_device-virtual-go_PR-499/archives/cost.csv 01:59:12 + cut -d, -f6 [Pipeline] lock 01:59:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] 01:59:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] did not exist. Created. 01:59:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:12 + echo total: 0.2199999988079071 [Pipeline] stash 01:59:12 Stashed 1 file(s) [Pipeline] } 01:59:12 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:12 $ docker stop --time=1 5386393641e8d491ea148cb9b0d83670ccfa87357dbd1b6c5b32eb92a567b0b5 01:59:14 $ docker rm -f --volumes 5386393641e8d491ea148cb9b0d83670ccfa87357dbd1b6c5b32eb92a567b0b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:59:24 a37a00ec5f00: Pull complete 01:59:24 50b3750afda1: Pull complete 01:59:24 4f4fb700ef54: Pull complete 01:59:24 80978eb59214: Pull complete 01:59:33 c9f46d7d2bd2: Pull complete 01:59:33 c5a475d317c9: Pull complete 01:59:33 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 01:59:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:59:33 ---> be29e6b0f0d4 01:59:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:34 ---> Running in fe7d2c214ef5 01:59:35 Removing intermediate container fe7d2c214ef5 01:59:35 ---> 3594d96876fc 01:59:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:59:35 ---> Running in 07a193bbe70b 01:59:36 Removing intermediate container 07a193bbe70b 01:59:36 ---> 51558d9a44de 01:59:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:59:36 ---> Running in ae50ae6349ad 01:59:36 Removing intermediate container ae50ae6349ad 01:59:36 ---> ec78fd2ba916 01:59:36 Step 6/12 : WORKDIR /device-virtual-go 01:59:36 ---> Running in 0a066a00b5f5 01:59:37 Removing intermediate container 0a066a00b5f5 01:59:37 ---> 37dee5a8f285 01:59:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:37 ---> Running in 21ea9dc28d88 01:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:59:39 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:59:39 (2/4) Installing libedit (20240517.3.1-r0) 01:59:39 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:59:40 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:59:40 Executing busybox-1.36.1-r29.trigger 01:59:40 OK: 242 MiB in 58 packages 01:59:41 Removing intermediate container 21ea9dc28d88 01:59:41 ---> 75a921693ea6 01:59:41 Step 8/12 : COPY go.mod vendor* ./ 01:59:41 ---> a8d20649a6cc 01:59:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:42 ---> Running in 2b5f2162d675 02:01:38 Removing intermediate container 2b5f2162d675 02:01:38 ---> 1908ce6a7eaf 02:01:38 Step 10/12 : COPY . . 02:01:38 ---> 79c7f2f4c3d4 02:01:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:38 ---> Running in 61bbe30293f6 02:01:38 Removing intermediate container 61bbe30293f6 02:01:38 ---> c1e3ef93d304 02:01:38 Step 12/12 : RUN $MAKE 02:01:38 ---> Running in c9f67ede947b 02:01:38 noop 02:01:38 Removing intermediate container c9f67ede947b 02:01:38 ---> 26a7fdb3f2b2 02:01:38 Successfully built 26a7fdb3f2b2 02:01:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:38 + docker inspect -f . ci-base-image-arm64 02:01:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:39 prd-ubuntu20.04-docker-arm64-4c-16g-24000 does not seem to be running inside a container 02:01:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** ci-base-image-arm64 cat 02:01:40 $ docker top 6c829bb72dc11e25afc5561af8197ae3f1f72d5dc28e89945908e3360ec691d0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:41 + go version 02:01:41 go version go1.23.2 linux/arm64 [Pipeline] } 02:01:41 $ docker stop --time=1 6c829bb72dc11e25afc5561af8197ae3f1f72d5dc28e89945908e3360ec691d0 02:01:43 $ docker rm -f --volumes 6c829bb72dc11e25afc5561af8197ae3f1f72d5dc28e89945908e3360ec691d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:43 + docker inspect -f . ci-base-image-arm64 02:01:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:44 prd-ubuntu20.04-docker-arm64-4c-16g-24000 does not seem to be running inside a container 02:01:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** ci-base-image-arm64 cat 02:01:45 $ docker top 1037f52d2f842e05e61f78b06d492f8edd056ea4b5e0bb3bedeef928a7c9f45c -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:46 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 02:01:46 + make test 02:01:47 go test ./... -coverprofile=coverage.out 02:01:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:05:30 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 02:05:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.3% of statements 02:05:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:05:30 go vet ./... 02:06:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:17 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:06:20 $ docker stop --time=1 1037f52d2f842e05e61f78b06d492f8edd056ea4b5e0bb3bedeef928a7c9f45c 02:06:22 $ docker rm -f --volumes 1037f52d2f842e05e61f78b06d492f8edd056ea4b5e0bb3bedeef928a7c9f45c [Pipeline] // withDockerContainer [Pipeline] sh 02:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:24 Warning: overwriting stash ‘coverage-report’ 02:06:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:06:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:06:26 + ls -al . 02:06:26 total 272 02:06:26 drwxrwxr-x 7 jenkins jenkins 4096 Oct 30 02:01 . 02:06:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 01:58 .. 02:06:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 01:58 .git 02:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 01:58 .github 02:06:26 -rw-rw-r-- 1 jenkins jenkins 272 Oct 30 01:58 .gitignore 02:06:26 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 01:58 .golangci.yml 02:06:26 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 30 01:58 Attribution.txt 02:06:26 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 30 01:58 CHANGELOG.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 30 01:58 Dockerfile 02:06:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 01:58 GOVERNANCE.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 660 Oct 30 01:58 Jenkinsfile 02:06:26 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 01:58 LICENSE 02:06:26 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 30 01:58 Makefile 02:06:26 -rw-rw-r-- 1 jenkins jenkins 623 Oct 30 01:58 OWNERS.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 30 01:58 README.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 01:56 VERSION 02:06:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 01:58 bin 02:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 01:58 cmd 02:06:26 -rw-r--r-- 1 jenkins jenkins 43316 Oct 30 02:05 coverage.out 02:06:26 -rw-rw-r-- 1 jenkins jenkins 6888 Oct 30 01:58 go.mod 02:06:26 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 01:58 go.sum 02:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 01:58 internal 02:06:26 -rw-rw-r-- 1 jenkins jenkins 235 Oct 30 01:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:26 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=86d2c32c9f7a93932043e6ccd62de097049b265e --label arch=arm64 --label version=0.0.0 . 02:06:27 Sending build context to Docker daemon 19.18MB 02:06:27 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:06:27 Step 2/26 : FROM ${BASE} AS builder 02:06:27 ---> 26a7fdb3f2b2 02:06:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:27 ---> Running in b8f896a76dad 02:06:27 Removing intermediate container b8f896a76dad 02:06:27 ---> c61023a808b4 02:06:27 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:06:27 ---> Running in 206e1ff58d92 02:06:27 Removing intermediate container 206e1ff58d92 02:06:27 ---> 9d9b3d9161df 02:06:27 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:06:28 ---> Running in 0563ab84332e 02:06:28 Removing intermediate container 0563ab84332e 02:06:28 ---> 1c856a697e1a 02:06:28 Step 6/26 : WORKDIR /device-virtual-go 02:06:28 ---> Running in c9570579a5ad 02:06:28 Removing intermediate container c9570579a5ad 02:06:28 ---> 07da0fdb5851 02:06:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:28 ---> Running in e4f5e8c99af1 02:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:06:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:06:31 OK: 242 MiB in 58 packages 02:06:32 Removing intermediate container e4f5e8c99af1 02:06:32 ---> d1b0a160c829 02:06:32 Step 8/26 : COPY go.mod vendor* ./ 02:06:33 ---> fe1a6e1e87e5 02:06:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:33 ---> Running in 5f09df5003d3 02:06:35 Removing intermediate container 5f09df5003d3 02:06:35 ---> a55e85d564a5 02:06:35 Step 10/26 : COPY . . 02:06:37 ---> 44d7b4af51b9 02:06:37 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:37 ---> Running in 2e3bddddd5d2 02:06:37 Removing intermediate container 2e3bddddd5d2 02:06:37 ---> ddbbe2c7b321 02:06:37 Step 12/26 : RUN $MAKE 02:06:37 ---> Running in 9d4c1d82e6e0 02:06:38 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.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 02:10:30 Removing intermediate container 9d4c1d82e6e0 02:10:30 ---> 7773677ab330 02:10:30 Step 13/26 : FROM alpine:3.20 02:10:30 3.20: Pulling from library/alpine 02:10:30 cf04c63912e1: Already exists 02:10:30 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:10:30 Status: Downloaded newer image for alpine:3.20 02:10:30 ---> c157a85ed455 02:10:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:10:30 ---> Running in 066627ee9232 02:10:30 Removing intermediate container 066627ee9232 02:10:30 ---> 4ca6748c1405 02:10:30 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:10:30 ---> Running in cb8495e5387c 02:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:10:30 (1/1) Installing dumb-init (1.2.5-r3) 02:10:30 Executing busybox-1.36.1-r29.trigger 02:10:30 OK: 9 MiB in 15 packages 02:10:30 Removing intermediate container cb8495e5387c 02:10:30 ---> 2d3ccc0784fe 02:10:30 Step 16/26 : RUN apk --no-cache upgrade 02:10:30 ---> Running in 6c100fc020bb 02:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:10:30 Upgrading critical system libraries and apk-tools: 02:10:30 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:10:30 Executing busybox-1.36.1-r29.trigger 02:10:30 Continuing the upgrade transaction with new apk-tools: 02:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:10:30 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 02:10:30 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 02:10:30 OK: 9 MiB in 15 packages 02:10:30 Removing intermediate container 6c100fc020bb 02:10:30 ---> 29d7e2595515 02:10:30 Step 17/26 : WORKDIR / 02:10:30 ---> Running in 958419c968e4 02:10:30 Removing intermediate container 958419c968e4 02:10:30 ---> 447964eadbdf 02:10:30 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:10:30 ---> 82ee1ce02005 02:10:30 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:10:30 ---> 22131ab8c649 02:10:30 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:10:31 ---> ac690b36b5cc 02:10:31 Step 21/26 : EXPOSE 59900 02:10:31 ---> Running in bcab3f9f9def 02:10:32 Removing intermediate container bcab3f9f9def 02:10:32 ---> f6f23d565bd1 02:10:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:10:32 ---> Running in bc679c8ed196 02:10:32 Removing intermediate container bc679c8ed196 02:10:32 ---> e4eb37a56f40 02:10:32 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:10:32 ---> Running in d82ac041193c 02:10:32 Removing intermediate container d82ac041193c 02:10:32 ---> 3b43512f6d50 02:10:32 Step 24/26 : LABEL arch=arm64 02:10:32 ---> Running in 538756b2971b 02:10:33 Removing intermediate container 538756b2971b 02:10:33 ---> 91044c81d6da 02:10:33 Step 25/26 : LABEL git_sha=86d2c32c9f7a93932043e6ccd62de097049b265e 02:10:33 ---> Running in 24f3900aec55 02:10:33 Removing intermediate container 24f3900aec55 02:10:33 ---> d37457c6660a 02:10:33 Step 26/26 : LABEL version=0.0.0 02:10:33 ---> Running in dac0c1427219 02:10:33 Removing intermediate container dac0c1427219 02:10:33 ---> 071ef7d16926 02:10:33 [Warning] One or more build-args [ARCH] were not consumed 02:10:33 Successfully built 071ef7d16926 02:10:33 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:34 02:10:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:35 arm64: Pulling from edgex-lftools-log-publisher 02:10:35 8998bd30e6a1: Pulling fs layer 02:10:35 04944245beec: Pulling fs layer 02:10:35 699f458cf7ca: Pulling fs layer 02:10:35 765212b225bb: Pulling fs layer 02:10:35 f23df028b6ca: Pulling fs layer 02:10:35 d65c8cfc05b1: Pulling fs layer 02:10:35 2437ff75d9bd: Pulling fs layer 02:10:35 f23df028b6ca: Waiting 02:10:35 765212b225bb: Waiting 02:10:35 d65c8cfc05b1: Waiting 02:10:35 2437ff75d9bd: Waiting 02:10:35 04944245beec: Verifying Checksum 02:10:35 04944245beec: Download complete 02:10:35 765212b225bb: Verifying Checksum 02:10:35 765212b225bb: Download complete 02:10:35 f23df028b6ca: Verifying Checksum 02:10:35 f23df028b6ca: Download complete 02:10:35 d65c8cfc05b1: Verifying Checksum 02:10:35 d65c8cfc05b1: Download complete 02:10:35 699f458cf7ca: Verifying Checksum 02:10:35 699f458cf7ca: Download complete 02:10:36 8998bd30e6a1: Verifying Checksum 02:10:36 8998bd30e6a1: Download complete 02:10:38 2437ff75d9bd: Verifying Checksum 02:10:38 2437ff75d9bd: Download complete 02:10:41 8998bd30e6a1: Pull complete 02:10:41 04944245beec: Pull complete 02:10:43 699f458cf7ca: Pull complete 02:10:43 765212b225bb: Pull complete 02:10:44 f23df028b6ca: Pull complete 02:10:44 d65c8cfc05b1: Pull complete 02:10:59 2437ff75d9bd: Pull complete 02:10:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:00 prd-ubuntu20.04-docker-arm64-4c-16g-24000 does not seem to be running inside a container 02:11:00 $ 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/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:11:02 $ docker top e228d569e597c6bd0e2268f9cac2ad1bfc3a91a8f93f893a8e6fcbe6572e0a75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:03 ---> job-cost.sh 02:11:03 lf-activate-venv: SKIPPING 02:11:03 INFO: No Stack... 02:11:04 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:05 INFO: Archiving Costs [Pipeline] sh 02:11:05 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 02:11:05 + cut -d, -f6 [Pipeline] lock 02:11:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] 02:11:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] did not exist. Created. 02:11:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:06 /w/workspace/device-virtual-go/1@tmp/durable-7e0adcb5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:06 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:07 Warning: overwriting stash ‘stack-cost’ 02:11:07 Stashed 1 file(s) [Pipeline] } 02:11:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-499-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:07 $ docker stop --time=1 e228d569e597c6bd0e2268f9cac2ad1bfc3a91a8f93f893a8e6fcbe6572e0a75 02:11:08 $ docker rm -f --volumes e228d569e597c6bd0e2268f9cac2ad1bfc3a91a8f93f893a8e6fcbe6572e0a75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:11:10 provisioning config files... 02:11:10 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-499@tmp/config8131285364709255157tmp [Pipeline] { [Pipeline] sh 02:11:10 + set +x 02:11:10 + curl -s https://codecov.io/bash 02:11:10 + bash -s -- 02:11:10 02:11:10 _____ _ 02:11:10 / ____| | | 02:11:10 | | ___ __| | ___ ___ _____ __ 02:11:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:10 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:10 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:10 Bash-1.0.6 02:11:10 02:11:10 02:11:10 ==> git version 2.25.1 found 02:11:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:11:10 Release-Date: 2020-01-08 02:11:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:11:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:11:10 ==> Jenkins CI detected. 02:11:10 current dir:  /w/workspace/foundry_device-virtual-go_PR-499 02:11:10 project root: . 02:11:10 --> token set from env 02:11:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:10 ==> Running gcov in . (disable via -X gcov) 02:11:10 ==> Python coveragepy not found 02:11:10 ==> Searching for coverage reports in: 02:11:10 + . 02:11:10 -> Found 1 reports 02:11:10 ==> Detecting git/mercurial file structure 02:11:10 ==> Reading reports 02:11:10 + ./coverage.out bytes=43316 02:11:10 ==> Appending adjustments 02:11:10 https://docs.codecov.io/docs/fixing-reports 02:11:10 + Found adjustments 02:11:10 ==> Gzipping contents 02:11:10 8.0K /tmp/codecov.y24Z0M.gz 02:11:10 ==> Uploading reports 02:11:10 url: https://codecov.io 02:11:10 query: branch=PR-499&commit=86d2c32c9f7a93932043e6ccd62de097049b265e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-499%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=499&job=&cmd_args= 02:11:10 -> Pinging Codecov 02:11:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-499&commit=86d2c32c9f7a93932043e6ccd62de097049b265e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-499%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=499&job=&cmd_args= 02:11:11 -> Uploading to 02:11:11 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/86d2c32c9f7a93932043e6ccd62de097049b265e/08b73659-4f6f-43b2-87e5-2b8a54e8f1cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T021110Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6b9a514f5a7ce1db4f61a9d5d8f627b0a698a6cb6cae5d214498b0a7a9c56eef 02:11:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:11 Dload Upload Total Spent Left Speed 02:11:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 20322 --:--:-- --:--:-- --:--:-- 20322 02:11:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/86d2c32c9f7a93932043e6ccd62de097049b265e [Pipeline] } 02:11:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:11:13 + [ -d /w/workspace/foundry_device-virtual-go_PR-499/archives ] 02:11:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-499/archives 02:11:13 total 16 02:11:13 drwxr-xr-x 3 root root 4096 Oct 30 01:59 . 02:11:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 01:59 .. 02:11:13 drwxr-xr-x 2 root root 4096 Oct 30 01:59 cost 02:11:13 -rw-r--r-- 1 root root 89 Oct 30 01:59 cost.csv 02:11:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-499/archives 02:11:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-499/archives 02:11:13 total 16 02:11:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 01:59 . 02:11:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 01:59 .. 02:11:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 01:59 cost 02:11:13 -rw-r--r-- 1 jenkins jenkins 89 Oct 30 01:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:15 ---> package-listing.sh 02:11:15 ++ facter osfamily 02:11:15 ++ tr '[:upper:]' '[:lower:]' 02:11:15 + OS_FAMILY=debian 02:11:15 + workspace=/w/workspace/foundry_device-virtual-go_PR-499 02:11:15 + START_PACKAGES=/tmp/packages_start.txt 02:11:15 + END_PACKAGES=/tmp/packages_end.txt 02:11:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:15 + PACKAGES=/tmp/packages_start.txt 02:11:15 + '[' /w/workspace/foundry_device-virtual-go_PR-499 ']' 02:11:15 + PACKAGES=/tmp/packages_end.txt 02:11:15 + case "${OS_FAMILY}" in 02:11:15 + dpkg -l 02:11:15 + grep '^ii' 02:11:15 + '[' -f /tmp/packages_start.txt ']' 02:11:15 + '[' -f /tmp/packages_end.txt ']' 02:11:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:15 + '[' /w/workspace/foundry_device-virtual-go_PR-499 ']' 02:11:15 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-499/archives/ 02:11:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-499/archives/ [Pipeline] echo 02:11:15 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-499/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:16 prd-ubuntu20.04-docker-8c-8g-23999 does not seem to be running inside a container 02:11:16 $ 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-499/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-499 -v /w/workspace/foundry_device-virtual-go_PR-499:/w/workspace/foundry_device-virtual-go_PR-499:rw,z -v /w/workspace/foundry_device-virtual-go_PR-499@tmp:/w/workspace/foundry_device-virtual-go_PR-499@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 02:11:16 $ docker top ce58efdfa267c9879562672447cd0c0d9dd1e3cdeeaf1a47fbe0e845bdefe844 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:17 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:17 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:18 + ls /var/log/sa-host 02:11:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:18 provisioning config files... 02:11:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-499@tmp/config10306740496099819228tmp [Pipeline] { [Pipeline] echo 02:11:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:18 ---> create-netrc.sh [Pipeline] } 02:11:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:19 ---> python-tools-install.sh [Pipeline] echo 02:11:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:19 ---> sudo-logs.sh 02:11:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:20 ---> job-cost.sh 02:11:20 lf-activate-venv: SKIPPING 02:11:20 DEBUG: total: 0.2199999988079071 02:11:20 INFO: Retrieving Stack Cost... 02:11:20 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:21 INFO: Archiving Costs [Pipeline] echo 02:11:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:21 ---> logs-deploy.sh 02:11:21 lf-activate-venv: SKIPPING 02:11:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-499/1 02:11:21 INFO: archiving workspace using pattern(s): 02:11:22 Archives upload complete. 02:11:22 INFO: archiving logs to Nexus 02:11:23 ---> uname -a: 02:11:23 Linux prd-ubuntu20-04-docker-8c-8g-23999 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:11:23 02:11:23 02:11:23 ---> lscpu: 02:11:23 Architecture: x86_64 02:11:23 CPU op-mode(s): 32-bit, 64-bit 02:11:23 Byte Order: Little Endian 02:11:23 Address sizes: 40 bits physical, 48 bits virtual 02:11:23 CPU(s): 8 02:11:23 On-line CPU(s) list: 0-7 02:11:23 Thread(s) per core: 1 02:11:23 Core(s) per socket: 1 02:11:23 Socket(s): 8 02:11:23 NUMA node(s): 1 02:11:23 Vendor ID: AuthenticAMD 02:11:23 CPU family: 23 02:11:23 Model: 49 02:11:23 Model name: AMD EPYC-Rome Processor 02:11:23 Stepping: 0 02:11:23 CPU MHz: 2799.998 02:11:23 BogoMIPS: 5599.99 02:11:23 Virtualization: AMD-V 02:11:23 Hypervisor vendor: KVM 02:11:23 Virtualization type: full 02:11:23 L1d cache: 256 KiB 02:11:23 L1i cache: 256 KiB 02:11:23 L2 cache: 4 MiB 02:11:23 L3 cache: 128 MiB 02:11:23 NUMA node0 CPU(s): 0-7 02:11:23 Vulnerability Itlb multihit: Not affected 02:11:23 Vulnerability L1tf: Not affected 02:11:23 Vulnerability Mds: Not affected 02:11:23 Vulnerability Meltdown: Not affected 02:11:23 Vulnerability Mmio stale data: Not affected 02:11:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:11:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:11:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:11:23 Vulnerability Srbds: Not affected 02:11:23 Vulnerability Tsx async abort: Not affected 02:11:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:11:23 02:11:23 02:11:23 ---> nproc: 02:11:23 8 02:11:23 02:11:23 02:11:23 ---> df -h: 02:11:23 Filesystem Size Used Avail Use% Mounted on 02:11:23 overlay 155G 13G 143G 8% / 02:11:23 tmpfs 64M 0 64M 0% /dev 02:11:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:11:23 shm 64M 0 64M 0% /dev/shm 02:11:23 /dev/vda1 155G 13G 143G 8% /facter-os 02:11:23 02:11:23 02:11:23 ---> sar -b -r -n DEV: 02:11:23 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-23999) 10/30/24 _x86_64_ (8 CPU) 02:11:23 02:11:23 01:55:13 LINUX RESTART (8 CPU) 02:11:23 02:11:23 01:56:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:11:23 01:57:01 259.16 5.55 253.61 0.00 490.67 70676.09 0.00 02:11:23 01:58:01 154.30 0.05 154.25 0.00 6.66 46939.42 0.00 02:11:23 01:59:01 185.92 0.23 185.69 0.00 14.80 53656.25 0.00 02:11:23 02:00:01 50.36 0.03 50.32 0.00 6.80 16763.22 0.00 02:11:23 02:01:01 47.11 5.10 42.01 0.00 4342.48 8446.46 0.00 02:11:23 02:02:01 6.53 0.02 6.52 0.00 0.13 130.78 0.00 02:11:23 02:03:01 1.40 0.00 1.40 0.00 0.00 15.86 0.00 02:11:23 02:04:01 2.02 0.00 2.02 0.00 0.00 23.33 0.00 02:11:23 02:05:01 1.37 0.00 1.37 0.00 0.00 14.79 0.00 02:11:23 02:06:01 2.22 0.00 2.22 0.00 0.00 25.60 0.00 02:11:23 02:07:01 1.40 0.00 1.40 0.00 0.00 15.73 0.00 02:11:23 02:08:01 1.88 0.00 1.88 0.00 0.00 21.86 0.00 02:11:23 02:09:01 1.15 0.00 1.15 0.00 0.00 13.06 0.00 02:11:23 02:10:01 2.02 0.00 2.02 0.00 0.00 23.06 0.00 02:11:23 02:11:01 2.35 0.02 2.33 0.00 0.13 30.26 0.00 02:11:23 Average: 47.47 0.72 46.75 0.00 323.71 12991.52 0.00 02:11:23 02:11:23 01:56:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:11:23 01:57:01 28063204 31551484 754040 2.29 131392 3520128 1893416 5.58 1250160 3054756 62280 02:11:23 01:58:01 26790748 30845724 1450164 4.41 193620 3949388 2499756 7.37 1965328 3533456 392248 02:11:23 01:59:01 27218684 31518732 779572 2.37 199684 4208268 2050464 6.04 1404356 3685280 154400 02:11:23 02:00:01 26902860 31551292 745404 2.27 205368 4506164 1788900 5.27 1387692 3970752 16 02:11:23 02:01:01 26450028 31528956 740296 2.25 234136 4903844 1738128 5.12 1666468 4110196 1036 02:11:23 02:02:01 26461792 31535776 733048 2.23 232692 4900588 1708700 5.04 1658196 4106984 20 02:11:23 02:03:01 26462272 31536340 732436 2.23 232772 4900592 1708700 5.04 1657912 4106988 8 02:11:23 02:04:01 26471792 31545788 723056 2.20 232856 4900592 1708700 5.04 1649416 4106996 8 02:11:23 02:05:01 26471792 31545852 722916 2.20 232936 4900596 1708700 5.04 1649368 4107000 8 02:11:23 02:06:01 26471996 31546136 722580 2.20 233008 4900600 1708700 5.04 1649548 4106996 12 02:11:23 02:07:01 26474216 31548480 720212 2.19 233092 4900600 1708700 5.04 1647052 4107004 8 02:11:23 02:08:01 26474192 31548520 720096 2.19 233156 4900608 1708700 5.04 1647108 4107012 8 02:11:23 02:09:01 26474048 31548440 720168 2.19 233204 4900612 1708700 5.04 1647168 4107016 8 02:11:23 02:10:01 26473612 31548036 720496 2.19 233252 4900612 1708700 5.04 1647300 4107020 8 02:11:23 02:11:01 26471728 31546264 722036 2.20 233336 4900592 1740104 5.13 1648192 4106980 8 02:11:23 Average: 26675531 31496388 780435 2.37 219634 4672919 1805938 5.32 1611684 3961629 40672 02:11:23 02:11:23 01:56:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:11:23 01:57:01 docker0 419.26 601.10 34.46 3723.94 0.00 0.00 0.00 0.00 02:11:23 01:57:01 lo 4.00 4.00 0.40 0.40 0.00 0.00 0.00 0.00 02:11:23 01:57:01 ens3 824.39 557.71 8746.95 67.42 0.00 0.00 0.00 0.00 02:11:23 01:58:01 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 02:11:23 01:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 01:58:01 veth5dc7c86 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 02:11:23 01:58:01 ens3 26.79 14.86 25.68 10.02 0.00 0.00 0.00 0.00 02:11:23 01:59:01 docker0 7.81 14.36 0.47 190.55 0.00 0.00 0.00 0.00 02:11:23 01:59:01 lo 1.80 1.80 0.19 0.19 0.00 0.00 0.00 0.00 02:11:23 01:59:01 ens3 109.93 70.76 2227.44 13.79 0.00 0.00 0.00 0.00 02:11:23 02:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:00:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 02:11:23 02:00:01 ens3 29.05 15.90 511.55 6.66 0.00 0.00 0.00 0.00 02:11:23 02:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:01:01 lo 0.60 0.60 0.07 0.07 0.00 0.00 0.00 0.00 02:11:23 02:01:01 ens3 209.95 102.38 2769.62 7.19 0.00 0.00 0.00 0.00 02:11:23 02:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:02:01 ens3 0.65 0.42 0.27 0.21 0.00 0.00 0.00 0.00 02:11:23 02:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:03:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:04:01 ens3 0.90 0.43 0.31 0.22 0.00 0.00 0.00 0.00 02:11:23 02:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:05:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:06:01 ens3 0.25 0.20 0.08 0.07 0.00 0.00 0.00 0.00 02:11:23 02:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:07:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:08:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:09:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:10:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:11:23 02:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:23 02:11:01 ens3 0.17 0.17 0.08 0.07 0.00 0.00 0.00 0.00 02:11:23 Average: docker0 27.60 39.79 2.26 253.23 0.00 0.00 0.00 0.00 02:11:23 Average: lo 0.52 0.52 0.05 0.05 0.00 0.00 0.00 0.00 02:11:23 Average: ens3 78.50 49.74 934.72 6.91 0.00 0.00 0.00 0.00 02:11:23 02:11:23