Pull request #502 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 jackchenjc for edgexfoundry/device-virtual-go Obtained Jenkinsfile from a8551d6cdd8810fd8ce31e6c743aff91f41244c5+2bd221175a2feb80dc354132039af34741a0a595 (c1f47a9486728b3ab74a2bda02243ff2eac78911) 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-ssh16281822331352905657.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-ssh7583045498433175596.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-502/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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7165231945441245829.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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9374240334192014433.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-ssh14062031416113235020.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-502/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-502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1049380482509471400.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24740 in /w/workspace/foundry_device-virtual-go_PR-502 [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-502 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd221175a2feb80dc354132039af34741a0a595 into PR head commit a8551d6cdd8810fd8ce31e6c743aff91f41244c5 Merge succeeded, producing a8551d6cdd8810fd8ce31e6c743aff91f41244c5 Checking out Revision a8551d6cdd8810fd8ce31e6c743aff91f41244c5 (PR-502) > git config core.sparsecheckout # timeout=10 > git checkout -f a8551d6cdd8810fd8ce31e6c743aff91f41244c5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd221175a2feb80dc354132039af34741a0a595 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8551d6cdd8810fd8ce31e6c743aff91f41244c5 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" 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 09:17:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:17:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:17:50 ========================================================= 09:17:50 EdgeX Global Pipelines Version Info 09:17:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:17:50 ------------------- 09:17:50 stable info: 09:17:50 ------------------- 09:17:50 Commited By: Ginny Guan ginny@iotechsys.com 09:17:50 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:17:50 Message: update stable to v1.0.265 09:17:51 ------------------- 09:17:51 experimental info: 09:17:51 ------------------- 09:17:51 Commited By: Cherry Wang cherry@iotechsys.com 09:17:51 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:17:51 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:17:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:17:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:17:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:17:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:17:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:17:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-502 [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-502 [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-502 [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8551d6cdd8810fd8ce31e6c743aff91f41244c5 [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8551d6 [Pipeline] echo 09:17:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:53 provisioning config files... 09:17:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config12133464857932925848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:54 ---> ****-login.sh 09:17:54 nexus3.edgexfoundry.org:10001 09:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:54 Configure a credential helper to remove this warning. See 09:17:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:54 09:17:54 Login Succeeded 09:17:54 nexus3.edgexfoundry.org:10002 09:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:54 Configure a credential helper to remove this warning. See 09:17:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:54 09:17:54 Login Succeeded 09:17:54 nexus3.edgexfoundry.org:10003 09:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:54 Configure a credential helper to remove this warning. See 09:17:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:54 09:17:54 Login Succeeded 09:17:54 nexus3.edgexfoundry.org:10004 09:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:54 Configure a credential helper to remove this warning. See 09:17:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:54 09:17:54 Login Succeeded 09:17:54 ****.io 09:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:17:54 Configure a credential helper to remove this warning. See 09:17:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:17:54 09:17:54 Login Succeeded 09:17:54 ---> ****-login.sh ends [Pipeline] } 09:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:17:55 + git rev-list -1 --merges a8551d6cdd8810fd8ce31e6c743aff91f41244c5~1..a8551d6cdd8810fd8ce31e6c743aff91f41244c5 [Pipeline] echo 09:17:55 -----------> git rev-list -1 --merges a8551d6cdd8810fd8ce31e6c743aff91f41244c5~1..a8551d6cdd8810fd8ce31e6c743aff91f41244c5 a8551d6cdd8810fd8ce31e6c743aff91f41244c5 [false] [Pipeline] sh 09:17:56 + git log --format=format:%s -1 a8551d6cdd8810fd8ce31e6c743aff91f41244c5 [Pipeline] echo 09:17:56 ========================================================= 09:17:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:17:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:56 + git log --format=format:%s -1 a8551d6cdd8810fd8ce31e6c743aff91f41244c5 [Pipeline] echo 09:17:56 [semverPrep] GIT_COMMIT: a8551d6cdd8810fd8ce31e6c743aff91f41244c5, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 09:17:56 [semverPrep] This is not a build commit. [Pipeline] sh 09:17:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:56 + grep -v github /etc/ssh/ssh_known_hosts 09:17:56 + [ -e /tmp/ssh_known_hosts ] 09:17:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:17:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:17:56 + sudo tee -a /etc/ssh/ssh_known_hosts 09:17:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:17:57 09:17:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:17:57 0.1.4: Pulling from edgex-devops/py-git-semver 09:17:57 b85a868b505f: Pulling fs layer 09:17:57 e2be974225ed: Pulling fs layer 09:17:57 339a4e72a1f5: Pulling fs layer 09:17:57 988bab9f4d93: Pulling fs layer 09:17:57 1469e6f7b9e6: Pulling fs layer 09:17:57 eaf3925da568: Pulling fs layer 09:17:57 bab4dde63d76: Pulling fs layer 09:17:57 bde34c3a00c8: Pulling fs layer 09:17:57 b352a97aabf1: Pulling fs layer 09:17:57 4872d77fe225: Pulling fs layer 09:17:57 5851b861e8e6: Pulling fs layer 09:17:57 1469e6f7b9e6: Waiting 09:17:57 eaf3925da568: Waiting 09:17:57 bab4dde63d76: Waiting 09:17:57 bde34c3a00c8: Waiting 09:17:57 b352a97aabf1: Waiting 09:17:57 4872d77fe225: Waiting 09:17:57 5851b861e8e6: Waiting 09:17:57 988bab9f4d93: Waiting 09:17:57 e2be974225ed: Download complete 09:17:57 988bab9f4d93: Verifying Checksum 09:17:57 988bab9f4d93: Download complete 09:17:57 1469e6f7b9e6: Verifying Checksum 09:17:57 1469e6f7b9e6: Download complete 09:17:58 eaf3925da568: Verifying Checksum 09:17:58 eaf3925da568: Download complete 09:17:58 339a4e72a1f5: Verifying Checksum 09:17:58 339a4e72a1f5: Download complete 09:17:58 bde34c3a00c8: Verifying Checksum 09:17:58 bde34c3a00c8: Download complete 09:17:58 b352a97aabf1: Verifying Checksum 09:17:58 b352a97aabf1: Download complete 09:17:58 4872d77fe225: Verifying Checksum 09:17:58 4872d77fe225: Download complete 09:17:58 5851b861e8e6: Verifying Checksum 09:17:58 5851b861e8e6: Download complete 09:17:58 b85a868b505f: Verifying Checksum 09:17:58 b85a868b505f: Download complete 09:17:58 bab4dde63d76: Verifying Checksum 09:17:58 bab4dde63d76: Download complete 09:17:59 b85a868b505f: Pull complete 09:17:59 e2be974225ed: Pull complete 09:17:59 339a4e72a1f5: Pull complete 09:17:59 988bab9f4d93: Pull complete 09:18:00 1469e6f7b9e6: Pull complete 09:18:00 eaf3925da568: Pull complete 09:18:02 bab4dde63d76: Pull complete 09:18:02 bde34c3a00c8: Pull complete 09:18:02 b352a97aabf1: Pull complete 09:18:02 4872d77fe225: Pull complete 09:18:02 5851b861e8e6: Pull complete 09:18:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:18:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:18:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:02 prd-ubuntu20.04-docker-8c-8g-24740 does not seem to be running inside a container 09:18:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@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 09:18:05 $ docker top dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 -eo pid,comm 09:18:05 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). 09:18:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:18:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:18:05 [ssh-agent] Looking for ssh-agent implementation... 09:18:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:18:05 $ docker exec dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 ssh-agent 09:18:06 SSH_AUTH_SOCK=/tmp/ssh-5hmBZhnFAlAg/agent.33 09:18:06 SSH_AGENT_PID=39 09:18:06 Running ssh-add (command line suppressed) 09:18:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_3545918921273620213.key (/w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_3545918921273620213.key) 09:18:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:18:06 + git tag --points-at HEAD [Pipeline] } 09:18:06 $ docker exec --env ******** --env ******** dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 ssh-agent -k 09:18:06 unset SSH_AUTH_SOCK; 09:18:06 unset SSH_AGENT_PID; 09:18:06 echo Agent pid 39 killed; 09:18:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:18:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:18:06 [ssh-agent] Looking for ssh-agent implementation... 09:18:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:18:06 $ docker exec dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 ssh-agent 09:18:07 SSH_AUTH_SOCK=/tmp/ssh-q825qB704hhi/agent.74 09:18:07 SSH_AGENT_PID=80 09:18:07 Running ssh-add (command line suppressed) 09:18:07 Identity added: /w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_256820554534599828.key (/w/workspace/foundry_device-virtual-go_PR-502@tmp/private_key_256820554534599828.key) 09:18:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:18:07 + git semver init 09:18:07 2024-11-07 09:18:07,677 [run_init] DEBUG init version:0.0.0 force:False 09:18:07 2024-11-07 09:18:07,677 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-502/.semver 09:18:07 2024-11-07 09:18:07,678 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-502/.semver 09:18:07 2024-11-07 09:18:07,678 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-502/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-502, universal_newlines=False, shell=None, istream=None) 09:18:09 2024-11-07 09:18:09,618 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-502/.git/info/exclude 09:18:09 2024-11-07 09:18:09,619 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-502/.semver/PR-502 with force:False 09:18:09 2024-11-07 09:18:09,619 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-502/.semver/PR-502 09:18:09 2024-11-07 09:18:09,623 [execute] INFO git cat-file --batch-check 09:18:09 2024-11-07 09:18:09,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-502/.semver, universal_newlines=False, shell=None, istream=) 09:18:09 2024-11-07 09:18:09,631 [execute] INFO git cat-file --batch 09:18:09 2024-11-07 09:18:09,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-502/.semver, universal_newlines=False, shell=None, istream=) 09:18:09 2024-11-07 09:18:09,637 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-502/.semver/PR-502 09:18:09 0.0.0 [Pipeline] } 09:18:09 $ docker exec --env ******** --env ******** dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 ssh-agent -k 09:18:09 unset SSH_AUTH_SOCK; 09:18:09 unset SSH_AGENT_PID; 09:18:09 echo Agent pid 80 killed; 09:18:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:18:10 + git semver [Pipeline] } 09:18:10 $ docker stop --time=1 dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 09:18:11 $ docker rm -f --volumes dd505f78102b66d9d916572a421b1892d00daf830c293ed40318ffc3901f3c63 [Pipeline] // withDockerContainer [Pipeline] sh 09:18:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:18:12 Stashed 1 file(s) [Pipeline] echo 09:18:12 [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 09:18:13 provisioning config files... 09:18:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config18405509475790947128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:18:13 ---> ****-login.sh 09:18:13 nexus3.edgexfoundry.org:10001 09:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:13 Configure a credential helper to remove this warning. See 09:18:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:13 09:18:13 Login Succeeded 09:18:13 nexus3.edgexfoundry.org:10002 09:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:13 Configure a credential helper to remove this warning. See 09:18:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:13 09:18:13 Login Succeeded 09:18:13 nexus3.edgexfoundry.org:10003 09:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:13 Configure a credential helper to remove this warning. See 09:18:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:13 09:18:13 Login Succeeded 09:18:13 nexus3.edgexfoundry.org:10004 09:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:13 Configure a credential helper to remove this warning. See 09:18:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:13 09:18:13 Login Succeeded 09:18:13 ****.io 09:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:18:14 Configure a credential helper to remove this warning. See 09:18:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:18:14 09:18:14 Login Succeeded 09:18:14 ---> ****-login.sh ends [Pipeline] } 09:18:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:18:14 ========================================================= 09:18:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:18:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:15 + 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 . 09:18:15 Sending build context to Docker daemon 37.72MB 09:18:15 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:18:15 Step 2/12 : FROM ${BASE} AS builder 09:18:15 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:18:15 43c4264eed91: Pulling fs layer 09:18:15 4cc291be95ef: Pulling fs layer 09:18:15 2ac1f1163629: Pulling fs layer 09:18:15 5c3c966382ef: Pulling fs layer 09:18:15 4f4fb700ef54: Pulling fs layer 09:18:15 5d5c8e513c77: Pulling fs layer 09:18:15 9f66e0745190: Pulling fs layer 09:18:15 f49a43e4bbc0: Pulling fs layer 09:18:15 561ebcabdf7f: Pulling fs layer 09:18:15 5c3c966382ef: Waiting 09:18:15 4f4fb700ef54: Waiting 09:18:15 5d5c8e513c77: Waiting 09:18:15 9f66e0745190: Waiting 09:18:15 f49a43e4bbc0: Waiting 09:18:15 561ebcabdf7f: Waiting 09:18:15 4cc291be95ef: Verifying Checksum 09:18:15 4cc291be95ef: Download complete 09:18:15 5c3c966382ef: Download complete 09:18:15 4f4fb700ef54: Verifying Checksum 09:18:15 4f4fb700ef54: Download complete 09:18:15 5d5c8e513c77: Verifying Checksum 09:18:15 5d5c8e513c77: Download complete 09:18:15 43c4264eed91: Verifying Checksum 09:18:15 43c4264eed91: Download complete 09:18:15 9f66e0745190: Verifying Checksum 09:18:15 9f66e0745190: Download complete 09:18:15 43c4264eed91: Pull complete 09:18:15 4cc291be95ef: Pull complete 09:18:15 561ebcabdf7f: Download complete 09:18:15 2ac1f1163629: Verifying Checksum 09:18:15 2ac1f1163629: Download complete 09:18:16 f49a43e4bbc0: Verifying Checksum 09:18:16 f49a43e4bbc0: Download complete 09:18:19 2ac1f1163629: Pull complete 09:18:19 5c3c966382ef: Pull complete 09:18:19 4f4fb700ef54: Pull complete 09:18:19 5d5c8e513c77: Pull complete 09:18:19 9f66e0745190: Pull complete 09:18:21 f49a43e4bbc0: Pull complete 09:18:21 561ebcabdf7f: Pull complete 09:18:21 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:18:21 ---> 3a752c3f9dda 09:18:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:18:27 ---> Running in 961628df16ce 09:18:27 Removing intermediate container 961628df16ce 09:18:27 ---> bdb9229acf5b 09:18:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:18:27 ---> Running in 6d47357d03be 09:18:27 Removing intermediate container 6d47357d03be 09:18:27 ---> 497b88331e28 09:18:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:18:27 ---> Running in c4a9817f037b 09:18:27 Removing intermediate container c4a9817f037b 09:18:27 ---> 95a49b2d8ca9 09:18:27 Step 6/12 : WORKDIR /device-virtual-go 09:18:27 ---> Running in edc331e7877b 09:18:27 Removing intermediate container edc331e7877b 09:18:27 ---> 3c2c2dd6d175 09:18:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:18:27 ---> Running in 429abd67e549 09:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:18:27 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:18:27 (2/4) Installing libedit (20240517.3.1-r0) 09:18:27 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:18:27 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:18:27 Executing busybox-1.36.1-r29.trigger 09:18:27 OK: 250 MiB in 58 packages 09:18:28 Still waiting to schedule task 09:18:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:18:28 Removing intermediate container 429abd67e549 09:18:28 ---> 3de96f5aa2f5 09:18:28 Step 8/12 : COPY go.mod vendor* ./ 09:18:28 ---> de10c19cecdd 09:18:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:18:28 ---> Running in 10382ec05853 09:19:15 Removing intermediate container 10382ec05853 09:19:15 ---> 218ef7b8fd6a 09:19:15 Step 10/12 : COPY . . 09:19:15 ---> 4537562f10a8 09:19:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:19:15 ---> Running in c88e90e0c9f0 09:19:15 Removing intermediate container c88e90e0c9f0 09:19:15 ---> 44f4bc50bf9c 09:19:15 Step 12/12 : RUN $MAKE 09:19:15 ---> Running in a01837437278 09:19:15 noop 09:19:15 Removing intermediate container a01837437278 09:19:15 ---> 92e9a6a4396c 09:19:15 Successfully built 92e9a6a4396c 09:19:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:15 + docker inspect -f . ci-base-image-x86_64 09:19:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:15 prd-ubuntu20.04-docker-8c-8g-24740 does not seem to be running inside a container 09:19:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@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 09:19:16 $ docker top efb30b7cb58e92833cfcc867dfd4aa1a495374ab358f49fd7e99ece4f9f27add -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:16 + go version 09:19:16 go version go1.23.2 linux/amd64 [Pipeline] } 09:19:16 $ docker stop --time=1 efb30b7cb58e92833cfcc867dfd4aa1a495374ab358f49fd7e99ece4f9f27add 09:19:17 $ docker rm -f --volumes efb30b7cb58e92833cfcc867dfd4aa1a495374ab358f49fd7e99ece4f9f27add [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:18 + docker inspect -f . ci-base-image-x86_64 09:19:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:18 prd-ubuntu20.04-docker-8c-8g-24740 does not seem to be running inside a container 09:19:18 $ 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-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@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 09:19:19 $ docker top ab6d456f08eb85677607e599b691e66f821475234e5d7ab0e5e14ef984ceda71 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:19 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-502 [Pipeline] fileExists [Pipeline] sh 09:19:19 + make test 09:19:19 go test ./... -coverprofile=coverage.out 09:19:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:19:43 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 09:19:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 09:19:51 go vet ./... 09:19:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:19:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:19:58 ./bin/test-attribution-txt.sh [Pipeline] echo 09:19:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:19:58 $ docker stop --time=1 ab6d456f08eb85677607e599b691e66f821475234e5d7ab0e5e14ef984ceda71 09:20:02 $ docker rm -f --volumes ab6d456f08eb85677607e599b691e66f821475234e5d7ab0e5e14ef984ceda71 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:20:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:20:04 + ls -al . 09:20:04 total 264 09:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:19 . 09:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:17 .. 09:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:19 .git 09:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:17 .github 09:20:04 -rw-rw-r-- 1 jenkins jenkins 272 Nov 7 09:17 .gitignore 09:20:04 -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:17 .golangci.yml 09:20:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:18 .semver 09:20:04 -rw-rw-r-- 1 jenkins jenkins 18321 Nov 7 09:17 Attribution.txt 09:20:04 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 7 09:17 CHANGELOG.md 09:20:04 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 7 09:17 Dockerfile 09:20:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:17 GOVERNANCE.md 09:20:04 -rw-rw-r-- 1 jenkins jenkins 660 Nov 7 09:17 Jenkinsfile 09:20:04 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:17 LICENSE 09:20:04 -rw-rw-r-- 1 jenkins jenkins 2544 Nov 7 09:17 Makefile 09:20:04 -rw-rw-r-- 1 jenkins jenkins 623 Nov 7 09:17 OWNERS.md 09:20:04 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 7 09:17 README.md 09:20:04 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:18 VERSION 09:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:17 bin 09:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:17 cmd 09:20:04 -rw-r--r-- 1 jenkins jenkins 43316 Nov 7 09:19 coverage.out 09:20:04 -rw-rw-r-- 1 jenkins jenkins 6228 Nov 7 09:17 go.mod 09:20:04 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:17 go.sum 09:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:17 internal 09:20:04 -rw-rw-r-- 1 jenkins jenkins 235 Nov 7 09:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:04 + 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=a8551d6cdd8810fd8ce31e6c743aff91f41244c5 --label arch=amd64 --label version=0.0.0 . 09:20:04 Sending build context to Docker daemon 37.76MB 09:20:04 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:20:04 Step 2/26 : FROM ${BASE} AS builder 09:20:04 ---> 92e9a6a4396c 09:20:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:20:05 ---> Running in 84b793e135ad 09:20:05 Removing intermediate container 84b793e135ad 09:20:05 ---> 1bd9c18ae799 09:20:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:20:05 ---> Running in c577aa71c238 09:20:05 Removing intermediate container c577aa71c238 09:20:05 ---> 8df4e18f1154 09:20:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 09:20:05 ---> Running in ef9330992b39 09:20:05 Removing intermediate container ef9330992b39 09:20:05 ---> ec4986838138 09:20:05 Step 6/26 : WORKDIR /device-virtual-go 09:20:05 ---> Running in 1c3109df1960 09:20:05 Removing intermediate container 1c3109df1960 09:20:05 ---> 240d7d63ecba 09:20:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:20:05 ---> Running in 51c92baeb700 09:20:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:20:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:20:06 OK: 250 MiB in 58 packages 09:20:07 Removing intermediate container 51c92baeb700 09:20:07 ---> c137881f5292 09:20:07 Step 8/26 : COPY go.mod vendor* ./ 09:20:07 ---> ed5a7409a34a 09:20:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:20:07 ---> Running in 58e56e0dfd6b 09:20:08 Removing intermediate container 58e56e0dfd6b 09:20:08 ---> e7d60644cd96 09:20:08 Step 10/26 : COPY . . 09:20:08 ---> 5afeeb3be5d1 09:20:08 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:20:08 ---> Running in b29319d8cebf 09:20:08 Removing intermediate container b29319d8cebf 09:20:08 ---> d9afac77f826 09:20:08 Step 12/26 : RUN $MAKE 09:20:08 ---> Running in 5cf90c0d810c 09:20:09 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.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:20:41 Removing intermediate container 5cf90c0d810c 09:20:41 ---> a12da84e6d32 09:20:41 Step 13/26 : FROM alpine:3.20 09:20:41 3.20: Pulling from library/alpine 09:20:41 43c4264eed91: Already exists 09:20:41 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:20:41 Status: Downloaded newer image for alpine:3.20 09:20:41 ---> 91ef0af61f39 09:20:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:20:41 ---> Running in 26b91047b8a6 09:20:41 Removing intermediate container 26b91047b8a6 09:20:41 ---> a3e1c9047701 09:20:41 Step 15/26 : RUN apk add --update --no-cache dumb-init 09:20:41 ---> Running in cfc64f15cdb8 09:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:20:42 (1/1) Installing dumb-init (1.2.5-r3) 09:20:42 Executing busybox-1.36.1-r29.trigger 09:20:42 OK: 8 MiB in 15 packages 09:20:42 Removing intermediate container cfc64f15cdb8 09:20:42 ---> d6a51463682a 09:20:42 Step 16/26 : RUN apk --no-cache upgrade 09:20:42 ---> Running in 190da0b13780 09:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:20:43 Upgrading critical system libraries and apk-tools: 09:20:43 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:20:43 Executing busybox-1.36.1-r29.trigger 09:20:43 Continuing the upgrade transaction with new apk-tools: 09:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:20:43 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:20:43 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:20:43 OK: 8 MiB in 15 packages 09:20:44 Removing intermediate container 190da0b13780 09:20:44 ---> f30d19212a7c 09:20:44 Step 17/26 : WORKDIR / 09:20:44 ---> Running in 768e6247cc46 09:20:44 Removing intermediate container 768e6247cc46 09:20:44 ---> c311c4b57f0e 09:20:44 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:20:44 ---> ccdd037ea27f 09:20:44 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:20:44 ---> e6c71ffbc201 09:20:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:20:45 ---> 81b6e8d97b95 09:20:45 Step 21/26 : EXPOSE 59900 09:20:45 ---> Running in 07e0f03dbde8 09:20:45 Removing intermediate container 07e0f03dbde8 09:20:45 ---> 28aaadfc0cbe 09:20:45 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:20:46 ---> Running in 873ed9ba9c7b 09:20:46 Removing intermediate container 873ed9ba9c7b 09:20:46 ---> 7c3fb8c4ebc7 09:20:46 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:20:46 ---> Running in 8cfc2a43221a 09:20:46 Removing intermediate container 8cfc2a43221a 09:20:46 ---> 3e704872df89 09:20:46 Step 24/26 : LABEL arch=amd64 09:20:46 ---> Running in b1fc9a66ec88 09:20:46 Removing intermediate container b1fc9a66ec88 09:20:46 ---> 19552ff853c9 09:20:46 Step 25/26 : LABEL git_sha=a8551d6cdd8810fd8ce31e6c743aff91f41244c5 09:20:46 ---> Running in 66ac284bae5d 09:20:46 Removing intermediate container 66ac284bae5d 09:20:46 ---> b34c82fe8c30 09:20:46 Step 26/26 : LABEL version=0.0.0 09:20:46 ---> Running in e4b4c2cf9c5e 09:20:46 Removing intermediate container e4b4c2cf9c5e 09:20:46 ---> 5766f88b0cd5 09:20:46 [Warning] One or more build-args [ARCH] were not consumed 09:20:46 Successfully built 5766f88b0cd5 09:20:46 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 09:20:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:20:47 09:20:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:20:47 latest: Pulling from edgex-lftools-log-publisher 09:20:47 5eb5b503b376: Pulling fs layer 09:20:47 5c69ac0246d0: Pulling fs layer 09:20:47 ec43610c2a17: Pulling fs layer 09:20:47 3a2ae6a8a46f: Pulling fs layer 09:20:47 33b1e0a273af: Pulling fs layer 09:20:47 5d3b04190fa2: Pulling fs layer 09:20:47 2f39f015ded8: Pulling fs layer 09:20:47 3a2ae6a8a46f: Waiting 09:20:47 33b1e0a273af: Waiting 09:20:47 5d3b04190fa2: Waiting 09:20:47 2f39f015ded8: Waiting 09:20:47 5c69ac0246d0: Verifying Checksum 09:20:47 5c69ac0246d0: Download complete 09:20:47 3a2ae6a8a46f: Verifying Checksum 09:20:47 3a2ae6a8a46f: Download complete 09:20:47 33b1e0a273af: Verifying Checksum 09:20:47 33b1e0a273af: Download complete 09:20:47 5d3b04190fa2: Verifying Checksum 09:20:47 5d3b04190fa2: Download complete 09:20:47 ec43610c2a17: Verifying Checksum 09:20:47 ec43610c2a17: Download complete 09:20:48 5eb5b503b376: Download complete 09:20:48 2f39f015ded8: Download complete 09:20:49 5eb5b503b376: Pull complete 09:20:49 5c69ac0246d0: Pull complete 09:20:49 ec43610c2a17: Pull complete 09:20:50 3a2ae6a8a46f: Pull complete 09:20:50 33b1e0a273af: Pull complete 09:20:50 5d3b04190fa2: Pull complete 09:20:54 2f39f015ded8: Pull complete 09:20:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:20:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:20:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:20:54 prd-ubuntu20.04-docker-8c-8g-24740 does not seem to be running inside a container 09:20:54 $ 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-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@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 09:20:59 $ docker top e549dc506eb1505502bdb90534e178f042afe84c4ef2f23e9d4aa6a4e107cb72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:59 ---> job-cost.sh 09:20:59 lf-activate-venv: SKIPPING 09:20:59 INFO: No Stack... 09:20:59 INFO: Retrieving Pricing Info for: v3-standard-8 09:21:00 INFO: Archiving Costs [Pipeline] sh 09:21:00 + cat /w/workspace/foundry_device-virtual-go_PR-502/archives/cost.csv 09:21:00 + cut -d, -f6 [Pipeline] lock 09:21:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] 09:21:00 Resource [jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] did not exist. Created. 09:21:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:21:01 + echo total: 0.2199999988079071 [Pipeline] stash 09:21:01 Stashed 1 file(s) [Pipeline] } 09:21:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:21:01 $ docker stop --time=1 e549dc506eb1505502bdb90534e178f042afe84c4ef2f23e9d4aa6a4e107cb72 09:21:02 $ docker rm -f --volumes e549dc506eb1505502bdb90534e178f042afe84c4ef2f23e9d4aa6a4e107cb72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:21:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24743 in /w/workspace/foundry_device-virtual-go_PR-502 [Pipeline] { [Pipeline] ws 09:21:27 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 09:21:30 The recommended git tool is: git 09:21:37 using credential edgex-jenkins-ssh 09:21:37 Cloning the remote Git repository 09:21:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:21:37 > git init /w/workspace/device-virtual-go/1 # timeout=10 09:21:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:21:38 > git --version # timeout=10 09:21:38 > git --version # 'git version 2.25.1' 09:21:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:21:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:21:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:21:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:21:44 Merging remotes/origin/main commit 2bd221175a2feb80dc354132039af34741a0a595 into PR head commit a8551d6cdd8810fd8ce31e6c743aff91f41244c5 09:21:44 Merge succeeded, producing a8551d6cdd8810fd8ce31e6c743aff91f41244c5 09:21:44 Checking out Revision a8551d6cdd8810fd8ce31e6c743aff91f41244c5 (PR-502) 09:21:44 > git config core.sparsecheckout # timeout=10 09:21:44 > git checkout -f a8551d6cdd8810fd8ce31e6c743aff91f41244c5 # timeout=10 09:21:44 > git remote # timeout=10 09:21:44 > git config --get remote.origin.url # timeout=10 09:21:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:44 > git merge 2bd221175a2feb80dc354132039af34741a0a595 # timeout=10 09:21:44 > git rev-parse HEAD^{commit} # timeout=10 09:21:44 > git config core.sparsecheckout # timeout=10 09:21:44 > git checkout -f a8551d6cdd8810fd8ce31e6c743aff91f41244c5 # timeout=10 09:21:48 Commit message: "fix: Only one ldflags flag is allowed" 09:21:48 > git --version # timeout=10 09:21:48 > git --version # 'git version 2.25.1' 09:21:48 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:21:51 % Total % Received % Xferd Average Speed Time Time Time Current 09:21:51 Dload Upload Total Spent Left Speed 09:21:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 09:21:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:21:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:21:51 + sudo tee /etc/docker/daemon.new 09:21:51 { 09:21:51 "registry-mirrors": [ 09:21:51 "https://nexus3.edgexfoundry.org:10001" 09:21:51 ], 09:21:51 "bip": "10.250.0.254/24", 09:21:51 "hosts": [ 09:21:51 "tcp://0.0.0.0:5555", 09:21:51 "unix:///var/run/docker.sock" 09:21:51 ], 09:21:51 "mtu": 1458, 09:21:51 "selinux-enabled": true, 09:21:51 "seccomp-profile": "/etc/docker/seccomp.json" 09:21:51 } [Pipeline] sh 09:21:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:21:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:10 provisioning config files... 09:22:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config11046354725178904840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:11 ---> ****-login.sh 09:22:11 nexus3.edgexfoundry.org:10001 09:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:12 Configure a credential helper to remove this warning. See 09:22:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:12 09:22:12 Login Succeeded 09:22:12 nexus3.edgexfoundry.org:10002 09:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:12 Configure a credential helper to remove this warning. See 09:22:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:12 09:22:12 Login Succeeded 09:22:12 nexus3.edgexfoundry.org:10003 09:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:12 Configure a credential helper to remove this warning. See 09:22:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:12 09:22:12 Login Succeeded 09:22:12 nexus3.edgexfoundry.org:10004 09:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:13 Configure a credential helper to remove this warning. See 09:22:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:13 09:22:13 Login Succeeded 09:22:13 ****.io 09:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:14 Configure a credential helper to remove this warning. See 09:22:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:14 09:22:14 Login Succeeded 09:22:14 ---> ****-login.sh ends [Pipeline] } 09:22:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:22:14 ========================================================= 09:22:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:22:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:15 + 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 . 09:22:16 Sending build context to Docker daemon 19.04MB 09:22:16 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:22:16 Step 2/12 : FROM ${BASE} AS builder 09:22:16 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:22:16 cf04c63912e1: Pulling fs layer 09:22:16 55b35a11ae5e: Pulling fs layer 09:22:16 a37a00ec5f00: Pulling fs layer 09:22:16 50b3750afda1: Pulling fs layer 09:22:16 4f4fb700ef54: Pulling fs layer 09:22:16 80978eb59214: Pulling fs layer 09:22:16 c9f46d7d2bd2: Pulling fs layer 09:22:16 c5a475d317c9: Pulling fs layer 09:22:16 50b3750afda1: Waiting 09:22:16 4f4fb700ef54: Waiting 09:22:16 80978eb59214: Waiting 09:22:16 c9f46d7d2bd2: Waiting 09:22:16 c5a475d317c9: Waiting 09:22:16 55b35a11ae5e: Verifying Checksum 09:22:16 55b35a11ae5e: Download complete 09:22:16 50b3750afda1: Verifying Checksum 09:22:16 50b3750afda1: Download complete 09:22:16 4f4fb700ef54: Verifying Checksum 09:22:16 4f4fb700ef54: Download complete 09:22:16 80978eb59214: Verifying Checksum 09:22:16 80978eb59214: Download complete 09:22:16 cf04c63912e1: Verifying Checksum 09:22:16 cf04c63912e1: Download complete 09:22:17 c5a475d317c9: Verifying Checksum 09:22:17 c5a475d317c9: Download complete 09:22:17 cf04c63912e1: Pull complete 09:22:18 55b35a11ae5e: Pull complete 09:22:19 a37a00ec5f00: Verifying Checksum 09:22:19 a37a00ec5f00: Download complete 09:22:20 c9f46d7d2bd2: Verifying Checksum 09:22:20 c9f46d7d2bd2: Download complete 09:22:35 a37a00ec5f00: Pull complete 09:22:35 50b3750afda1: Pull complete 09:22:35 4f4fb700ef54: Pull complete 09:22:35 80978eb59214: Pull complete 09:22:43 c9f46d7d2bd2: Pull complete 09:22:45 c5a475d317c9: Pull complete 09:22:45 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:22:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:22:45 ---> be29e6b0f0d4 09:22:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:22:47 ---> Running in d2a507960d39 09:22:47 Removing intermediate container d2a507960d39 09:22:47 ---> 4c84d4d31a37 09:22:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:22:47 ---> Running in fc6a3af85deb 09:22:47 Removing intermediate container fc6a3af85deb 09:22:47 ---> a66161ce7913 09:22:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:22:47 ---> Running in c6aa1f7aaf46 09:22:48 Removing intermediate container c6aa1f7aaf46 09:22:48 ---> 1a3b8c01d437 09:22:48 Step 6/12 : WORKDIR /device-virtual-go 09:22:48 ---> Running in 9bf3cdaa8ba4 09:22:49 Removing intermediate container 9bf3cdaa8ba4 09:22:49 ---> 19ddd7ab7fed 09:22:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:49 ---> Running in 6fa1aca8d58c 09:22:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:22:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:22:52 (1/4) Installing openssh-keygen (9.7_p1-r4) 09:22:52 (2/4) Installing libedit (20240517.3.1-r0) 09:22:52 (3/4) Installing openssh-client-common (9.7_p1-r4) 09:22:53 (4/4) Installing openssh-client-default (9.7_p1-r4) 09:22:53 Executing busybox-1.36.1-r29.trigger 09:22:53 OK: 242 MiB in 58 packages 09:22:54 Removing intermediate container 6fa1aca8d58c 09:22:54 ---> 6a40e1543fe2 09:22:54 Step 8/12 : COPY go.mod vendor* ./ 09:22:55 ---> 7b172cf96bd3 09:22:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:55 ---> Running in b516d2d92747 09:25:01 Removing intermediate container b516d2d92747 09:25:01 ---> fe0b6196b5cd 09:25:01 Step 10/12 : COPY . . 09:25:01 ---> 244db8016e57 09:25:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:25:01 ---> Running in 301c3e500aae 09:25:01 Removing intermediate container 301c3e500aae 09:25:01 ---> ac07e728093c 09:25:01 Step 12/12 : RUN $MAKE 09:25:01 ---> Running in 26b0f6f05236 09:25:01 noop 09:25:01 Removing intermediate container 26b0f6f05236 09:25:01 ---> 8a6d94ae06ee 09:25:01 Successfully built 8a6d94ae06ee 09:25:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:02 + docker inspect -f . ci-base-image-arm64 09:25:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:03 prd-ubuntu20.04-docker-arm64-4c-16g-24743 does not seem to be running inside a container 09:25:03 $ 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 09:25:04 $ docker top 334f44931d16bf3adb0e4421096a9ee3c7905921d9ee55f4351e555d7dddf6a9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:05 + go version 09:25:05 go version go1.23.2 linux/arm64 [Pipeline] } 09:25:05 $ docker stop --time=1 334f44931d16bf3adb0e4421096a9ee3c7905921d9ee55f4351e555d7dddf6a9 09:25:08 $ docker rm -f --volumes 334f44931d16bf3adb0e4421096a9ee3c7905921d9ee55f4351e555d7dddf6a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:09 + docker inspect -f . ci-base-image-arm64 09:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:09 prd-ubuntu20.04-docker-arm64-4c-16g-24743 does not seem to be running inside a container 09:25:09 $ 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 09:25:11 $ docker top f3c3d2f298bead434cb4f697bcee38c8b32b3f4ffa601e45bdb0baf7c8ce549e -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:12 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 09:25:13 + make test 09:25:13 go test ./... -coverprofile=coverage.out 09:25:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:30:28 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 09:30:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.075s coverage: 58.3% of statements 09:30:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:30:28 go vet ./... 09:31:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:31:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:31:24 ./bin/test-attribution-txt.sh [Pipeline] echo 09:31:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:31:24 $ docker stop --time=1 f3c3d2f298bead434cb4f697bcee38c8b32b3f4ffa601e45bdb0baf7c8ce549e 09:31:26 $ docker rm -f --volumes f3c3d2f298bead434cb4f697bcee38c8b32b3f4ffa601e45bdb0baf7c8ce549e [Pipeline] // withDockerContainer [Pipeline] sh 09:31:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:29 Warning: overwriting stash ‘coverage-report’ 09:31:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:31:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:30 + ls -al . 09:31:30 total 260 09:31:30 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 09:25 . 09:31:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:21 .. 09:31:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:21 .git 09:31:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 .github 09:31:30 -rw-rw-r-- 1 jenkins jenkins 272 Nov 7 09:21 .gitignore 09:31:30 -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:21 .golangci.yml 09:31:30 -rw-rw-r-- 1 jenkins jenkins 18321 Nov 7 09:21 Attribution.txt 09:31:30 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 7 09:21 CHANGELOG.md 09:31:30 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 7 09:21 Dockerfile 09:31:30 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:21 GOVERNANCE.md 09:31:30 -rw-rw-r-- 1 jenkins jenkins 660 Nov 7 09:21 Jenkinsfile 09:31:30 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:21 LICENSE 09:31:30 -rw-rw-r-- 1 jenkins jenkins 2544 Nov 7 09:21 Makefile 09:31:30 -rw-rw-r-- 1 jenkins jenkins 623 Nov 7 09:21 OWNERS.md 09:31:30 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 7 09:21 README.md 09:31:30 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:18 VERSION 09:31:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:21 bin 09:31:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 cmd 09:31:30 -rw-r--r-- 1 jenkins jenkins 43316 Nov 7 09:30 coverage.out 09:31:30 -rw-rw-r-- 1 jenkins jenkins 6228 Nov 7 09:21 go.mod 09:31:30 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:21 go.sum 09:31:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 internal 09:31:30 -rw-rw-r-- 1 jenkins jenkins 235 Nov 7 09:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:31 + 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=a8551d6cdd8810fd8ce31e6c743aff91f41244c5 --label arch=arm64 --label version=0.0.0 . 09:31:31 Sending build context to Docker daemon 19.09MB 09:31:31 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 09:31:31 Step 2/26 : FROM ${BASE} AS builder 09:31:31 ---> 8a6d94ae06ee 09:31:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:31:31 ---> Running in 5b0cc1ad8a73 09:31:32 Removing intermediate container 5b0cc1ad8a73 09:31:32 ---> 0c49d0c81738 09:31:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:31:32 ---> Running in f0568fd8e5c6 09:31:32 Removing intermediate container f0568fd8e5c6 09:31:32 ---> 463fd70b7c76 09:31:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 09:31:33 ---> Running in e0a4d0862c3c 09:31:33 Removing intermediate container e0a4d0862c3c 09:31:33 ---> 45cf78cfa6e0 09:31:33 Step 6/26 : WORKDIR /device-virtual-go 09:31:33 ---> Running in 977069efe120 09:31:33 Removing intermediate container 977069efe120 09:31:33 ---> 6100eddb171a 09:31:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:31:34 ---> Running in 95ad2ca31feb 09:31:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:31:39 OK: 242 MiB in 58 packages 09:31:40 Removing intermediate container 95ad2ca31feb 09:31:40 ---> 207838d2bd3d 09:31:40 Step 8/26 : COPY go.mod vendor* ./ 09:31:40 ---> 1f28e007f356 09:31:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:40 ---> Running in d2c6d8c3024a 09:31:44 Removing intermediate container d2c6d8c3024a 09:31:44 ---> eb3db4f7f6e4 09:31:44 Step 10/26 : COPY . . 09:31:46 ---> 87d34b81b89f 09:31:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:31:46 ---> Running in b4b787fdc6ae 09:31:47 Removing intermediate container b4b787fdc6ae 09:31:47 ---> 30992ffedf0e 09:31:47 Step 12/26 : RUN $MAKE 09:31:47 ---> Running in a70da4a7e161 09:31:48 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.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:36:25 Removing intermediate container a70da4a7e161 09:36:25 ---> bce9d9fc681f 09:36:25 Step 13/26 : FROM alpine:3.20 09:36:25 3.20: Pulling from library/alpine 09:36:25 cf04c63912e1: Already exists 09:36:25 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:36:25 Status: Downloaded newer image for alpine:3.20 09:36:25 ---> c157a85ed455 09:36:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:36:25 ---> Running in 192c2f7c2b94 09:36:25 Removing intermediate container 192c2f7c2b94 09:36:25 ---> 232bb382c97d 09:36:25 Step 15/26 : RUN apk add --update --no-cache dumb-init 09:36:25 ---> Running in eb998430b599 09:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:36:25 (1/1) Installing dumb-init (1.2.5-r3) 09:36:25 Executing busybox-1.36.1-r29.trigger 09:36:25 OK: 9 MiB in 15 packages 09:36:25 Removing intermediate container eb998430b599 09:36:25 ---> cbdbf165c2fc 09:36:25 Step 16/26 : RUN apk --no-cache upgrade 09:36:25 ---> Running in dba846f99db8 09:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:36:25 Upgrading critical system libraries and apk-tools: 09:36:25 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:36:25 Executing busybox-1.36.1-r29.trigger 09:36:25 Continuing the upgrade transaction with new apk-tools: 09:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:36:25 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:36:25 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:36:25 OK: 9 MiB in 15 packages 09:36:26 Removing intermediate container dba846f99db8 09:36:26 ---> 756957ae7dd6 09:36:26 Step 17/26 : WORKDIR / 09:36:26 ---> Running in 585dddbb1d69 09:36:27 Removing intermediate container 585dddbb1d69 09:36:27 ---> 16c5712e1957 09:36:27 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:36:27 ---> 03a20036c2c6 09:36:27 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:36:28 ---> ec609e5619db 09:36:28 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:36:30 ---> bdb59ed9d472 09:36:30 Step 21/26 : EXPOSE 59900 09:36:30 ---> Running in c729bb8ca2bc 09:36:31 Removing intermediate container c729bb8ca2bc 09:36:31 ---> 624865feb3cf 09:36:31 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:36:31 ---> Running in e877e8a6db33 09:36:31 Removing intermediate container e877e8a6db33 09:36:31 ---> a5f9cb5aa359 09:36:31 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:36:31 ---> Running in 6c38b057813a 09:36:31 Removing intermediate container 6c38b057813a 09:36:31 ---> 391f96778097 09:36:31 Step 24/26 : LABEL arch=arm64 09:36:31 ---> Running in 89c845ff10e5 09:36:32 Removing intermediate container 89c845ff10e5 09:36:32 ---> 148da18eb68f 09:36:32 Step 25/26 : LABEL git_sha=a8551d6cdd8810fd8ce31e6c743aff91f41244c5 09:36:32 ---> Running in 4d4e743b2d5a 09:36:32 Removing intermediate container 4d4e743b2d5a 09:36:32 ---> bb90c031fb48 09:36:32 Step 26/26 : LABEL version=0.0.0 09:36:33 ---> Running in 131aca63e503 09:36:33 Removing intermediate container 131aca63e503 09:36:33 ---> ff9f0d1d2256 09:36:33 [Warning] One or more build-args [ARCH] were not consumed 09:36:33 Successfully built ff9f0d1d2256 09:36: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 09:36:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:36:34 09:36:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:36:34 arm64: Pulling from edgex-lftools-log-publisher 09:36:34 8998bd30e6a1: Pulling fs layer 09:36:34 04944245beec: Pulling fs layer 09:36:34 699f458cf7ca: Pulling fs layer 09:36:34 765212b225bb: Pulling fs layer 09:36:34 f23df028b6ca: Pulling fs layer 09:36:34 d65c8cfc05b1: Pulling fs layer 09:36:34 2437ff75d9bd: Pulling fs layer 09:36:34 765212b225bb: Waiting 09:36:34 f23df028b6ca: Waiting 09:36:34 2437ff75d9bd: Waiting 09:36:34 d65c8cfc05b1: Waiting 09:36:34 04944245beec: Verifying Checksum 09:36:34 04944245beec: Download complete 09:36:34 765212b225bb: Download complete 09:36:34 f23df028b6ca: Verifying Checksum 09:36:34 f23df028b6ca: Download complete 09:36:34 d65c8cfc05b1: Verifying Checksum 09:36:34 d65c8cfc05b1: Download complete 09:36:35 699f458cf7ca: Verifying Checksum 09:36:35 699f458cf7ca: Download complete 09:36:35 8998bd30e6a1: Verifying Checksum 09:36:35 8998bd30e6a1: Download complete 09:36:38 2437ff75d9bd: Download complete 09:36:41 8998bd30e6a1: Pull complete 09:36:41 04944245beec: Pull complete 09:36:43 699f458cf7ca: Pull complete 09:36:43 765212b225bb: Pull complete 09:36:44 f23df028b6ca: Pull complete 09:36:44 d65c8cfc05b1: Pull complete 09:37:03 2437ff75d9bd: Pull complete 09:37:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:03 prd-ubuntu20.04-docker-arm64-4c-16g-24743 does not seem to be running inside a container 09:37:03 $ 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 09:37:06 $ docker top 35272eaac117f78821112fda99cb636f68e69928f790a9e7e351c153f85c8fcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:08 ---> job-cost.sh 09:37:08 lf-activate-venv: SKIPPING 09:37:08 INFO: No Stack... 09:37:08 INFO: Retrieving Pricing Info for: v3-standard-4 09:37:09 INFO: Archiving Costs [Pipeline] sh 09:37:10 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 09:37:10 + cut -d, -f6 [Pipeline] lock 09:37:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] 09:37:10 Resource [jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] did not exist. Created. 09:37:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:37:11 /w/workspace/device-virtual-go/1@tmp/durable-ee242b83/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:37:11 + echo total: 0.10999999940395355 [Pipeline] stash 09:37:11 Warning: overwriting stash ‘stack-cost’ 09:37:11 Stashed 1 file(s) [Pipeline] } 09:37:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:37:11 $ docker stop --time=1 35272eaac117f78821112fda99cb636f68e69928f790a9e7e351c153f85c8fcb 09:37:13 $ docker rm -f --volumes 35272eaac117f78821112fda99cb636f68e69928f790a9e7e351c153f85c8fcb [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 09:37:14 provisioning config files... 09:37:14 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config12418744148706090002tmp [Pipeline] { [Pipeline] sh 09:37:15 + set +x 09:37:15 + curl -s https://codecov.io/bash 09:37:15 + bash -s -- 09:37:15 09:37:15 _____ _ 09:37:15 / ____| | | 09:37:15 | | ___ __| | ___ ___ _____ __ 09:37:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:37:15 | |___| (_) | (_| | __/ (_| (_) \ V / 09:37:15 \_____\___/ \__,_|\___|\___\___/ \_/ 09:37:15 Bash-1.0.6 09:37:15 09:37:15 09:37:15 ==> git version 2.25.1 found 09:37:15 ==> 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 09:37:15 Release-Date: 2020-01-08 09:37:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:37:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:37:15 ==> Jenkins CI detected. 09:37:15 current dir:  /w/workspace/foundry_device-virtual-go_PR-502 09:37:15 project root: . 09:37:15 --> token set from env 09:37:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:37:15 ==> Running gcov in . (disable via -X gcov) 09:37:15 ==> Python coveragepy not found 09:37:15 ==> Searching for coverage reports in: 09:37:15 + . 09:37:15 -> Found 1 reports 09:37:15 ==> Detecting git/mercurial file structure 09:37:15 ==> Reading reports 09:37:15 + ./coverage.out bytes=43316 09:37:15 ==> Appending adjustments 09:37:15 https://docs.codecov.io/docs/fixing-reports 09:37:15 + Found adjustments 09:37:15 ==> Gzipping contents 09:37:15 8.0K /tmp/codecov.0VRTFs.gz 09:37:15 ==> Uploading reports 09:37:15 url: https://codecov.io 09:37:15 query: branch=PR-502&commit=a8551d6cdd8810fd8ce31e6c743aff91f41244c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=502&job=&cmd_args= 09:37:15 -> Pinging Codecov 09:37:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-502&commit=a8551d6cdd8810fd8ce31e6c743aff91f41244c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=502&job=&cmd_args= 09:37:15 -> Uploading to 09:37:15 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/a8551d6cdd8810fd8ce31e6c743aff91f41244c5/91c8bd04-decb-4288-9c70-616e4542c143.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T093715Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=82fb9d2d2469f00adeb795c25f494d9735a91d005f7ba52d9c9f6d81ed68f572 09:37:15 % Total % Received % Xferd Average Speed Time Time Time Current 09:37:15 Dload Upload Total Spent Left Speed 09:37:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 22600 --:--:-- --:--:-- --:--:-- 22600 09:37:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a8551d6cdd8810fd8ce31e6c743aff91f41244c5 [Pipeline] } 09:37:16 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 09:37:18 + [ -d /w/workspace/foundry_device-virtual-go_PR-502/archives ] 09:37:18 + ls -al /w/workspace/foundry_device-virtual-go_PR-502/archives 09:37:18 total 16 09:37:18 drwxr-xr-x 3 root root 4096 Nov 7 09:21 . 09:37:18 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:21 .. 09:37:18 drwxr-xr-x 2 root root 4096 Nov 7 09:21 cost 09:37:18 -rw-r--r-- 1 root root 89 Nov 7 09:21 cost.csv 09:37:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-502/archives 09:37:18 + ls -al /w/workspace/foundry_device-virtual-go_PR-502/archives 09:37:18 total 16 09:37:18 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:21 . 09:37:18 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:21 .. 09:37:18 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:21 cost 09:37:18 -rw-r--r-- 1 jenkins jenkins 89 Nov 7 09:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:37:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:37:19 ---> package-listing.sh 09:37:19 ++ facter osfamily 09:37:19 ++ tr '[:upper:]' '[:lower:]' 09:37:19 + OS_FAMILY=debian 09:37:19 + workspace=/w/workspace/foundry_device-virtual-go_PR-502 09:37:19 + START_PACKAGES=/tmp/packages_start.txt 09:37:19 + END_PACKAGES=/tmp/packages_end.txt 09:37:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:37:19 + PACKAGES=/tmp/packages_start.txt 09:37:19 + '[' /w/workspace/foundry_device-virtual-go_PR-502 ']' 09:37:19 + PACKAGES=/tmp/packages_end.txt 09:37:19 + case "${OS_FAMILY}" in 09:37:19 + dpkg -l 09:37:19 + grep '^ii' 09:37:19 + '[' -f /tmp/packages_start.txt ']' 09:37:19 + '[' -f /tmp/packages_end.txt ']' 09:37:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:37:19 + '[' /w/workspace/foundry_device-virtual-go_PR-502 ']' 09:37:19 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-502/archives/ 09:37:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-502/archives/ [Pipeline] echo 09:37:19 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-502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:37:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:20 prd-ubuntu20.04-docker-8c-8g-24740 does not seem to be running inside a container 09:37:21 $ 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-502/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-502 -v /w/workspace/foundry_device-virtual-go_PR-502:/w/workspace/foundry_device-virtual-go_PR-502:rw,z -v /w/workspace/foundry_device-virtual-go_PR-502@tmp:/w/workspace/foundry_device-virtual-go_PR-502@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 09:37:21 $ docker top 7eb170def1cd86b94b0e1c069813736676a7bc27562fe6aa2dbb57f8ec8097ab -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:21 + touch /tmp/pre-build-complete [Pipeline] sh 09:37:21 + mkdir -p /var/log/sysstat [Pipeline] sh 09:37:22 + ls /var/log/sa-host 09:37:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:22 provisioning config files... 09:37:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-502@tmp/config14926321938946828557tmp [Pipeline] { [Pipeline] echo 09:37:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:37:22 ---> create-netrc.sh [Pipeline] } 09:37:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:37:23 ---> python-tools-install.sh [Pipeline] echo 09:37:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:37:23 ---> sudo-logs.sh 09:37:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:37:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:37:24 ---> job-cost.sh 09:37:24 lf-activate-venv: SKIPPING 09:37:24 DEBUG: total: 0.2199999988079071 09:37:24 INFO: Retrieving Stack Cost... 09:37:24 INFO: Retrieving Pricing Info for: v3-standard-8 09:37:24 INFO: Archiving Costs [Pipeline] echo 09:37:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:37:25 ---> logs-deploy.sh 09:37:25 lf-activate-venv: SKIPPING 09:37:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-502/1 09:37:25 INFO: archiving workspace using pattern(s): 09:37:26 Archives upload complete. 09:37:26 INFO: archiving logs to Nexus 09:37:27 ---> uname -a: 09:37:27 Linux prd-ubuntu20-04-docker-8c-8g-24740 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:37:27 09:37:27 09:37:27 ---> lscpu: 09:37:27 Architecture: x86_64 09:37:27 CPU op-mode(s): 32-bit, 64-bit 09:37:27 Byte Order: Little Endian 09:37:27 Address sizes: 40 bits physical, 48 bits virtual 09:37:27 CPU(s): 8 09:37:27 On-line CPU(s) list: 0-7 09:37:27 Thread(s) per core: 1 09:37:27 Core(s) per socket: 1 09:37:27 Socket(s): 8 09:37:27 NUMA node(s): 1 09:37:27 Vendor ID: AuthenticAMD 09:37:27 CPU family: 23 09:37:27 Model: 49 09:37:27 Model name: AMD EPYC-Rome Processor 09:37:27 Stepping: 0 09:37:27 CPU MHz: 2799.998 09:37:27 BogoMIPS: 5599.99 09:37:27 Virtualization: AMD-V 09:37:27 Hypervisor vendor: KVM 09:37:27 Virtualization type: full 09:37:27 L1d cache: 256 KiB 09:37:27 L1i cache: 256 KiB 09:37:27 L2 cache: 4 MiB 09:37:27 L3 cache: 128 MiB 09:37:27 NUMA node0 CPU(s): 0-7 09:37:27 Vulnerability Itlb multihit: Not affected 09:37:27 Vulnerability L1tf: Not affected 09:37:27 Vulnerability Mds: Not affected 09:37:27 Vulnerability Meltdown: Not affected 09:37:27 Vulnerability Mmio stale data: Not affected 09:37:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:37:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:37:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:37:27 Vulnerability Srbds: Not affected 09:37:27 Vulnerability Tsx async abort: Not affected 09:37:27 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 09:37:27 09:37:27 09:37:27 ---> nproc: 09:37:27 8 09:37:27 09:37:27 09:37:27 ---> df -h: 09:37:27 Filesystem Size Used Avail Use% Mounted on 09:37:27 overlay 155G 12G 143G 8% / 09:37:27 tmpfs 64M 0 64M 0% /dev 09:37:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:37:27 shm 64M 0 64M 0% /dev/shm 09:37:27 /dev/vda1 155G 12G 143G 8% /facter-os 09:37:27 09:37:27 09:37:27 ---> sar -b -r -n DEV: 09:37:27 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-24740) 11/07/24 _x86_64_ (8 CPU) 09:37:27 09:37:27 09:17:04 LINUX RESTART (8 CPU) 09:37:27 09:37:27 09:18:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:37:27 09:19:01 256.21 5.34 250.87 0.00 425.28 74760.21 0.00 09:37:27 09:20:01 137.90 0.10 137.80 0.00 9.73 49813.40 0.00 09:37:27 09:21:01 211.46 0.18 211.28 0.00 13.20 58271.62 0.00 09:37:27 09:22:01 3.68 0.00 3.68 0.00 0.00 53.73 0.00 09:37:27 09:23:01 40.79 4.93 35.86 0.00 2623.43 5743.04 0.00 09:37:27 09:24:01 4.22 0.02 4.20 0.00 0.13 89.85 0.00 09:37:27 09:25:01 3.17 1.57 1.60 0.00 36.93 20.53 0.00 09:37:27 09:26:01 1.80 0.00 1.80 0.00 0.00 20.80 0.00 09:37:27 09:27:01 1.55 0.00 1.55 0.00 0.00 18.26 0.00 09:37:27 09:28:01 1.75 0.00 1.75 0.00 0.00 18.93 0.00 09:37:27 09:29:01 1.45 0.00 1.45 0.00 0.00 16.40 0.00 09:37:27 09:30:01 2.03 0.00 2.03 0.00 0.00 22.80 0.00 09:37:27 09:31:01 1.37 0.00 1.37 0.00 0.00 14.93 0.00 09:37:27 09:32:01 2.20 0.00 2.20 0.00 0.00 25.19 0.00 09:37:27 09:33:01 2.23 0.02 2.22 0.00 0.13 28.93 0.00 09:37:27 09:34:01 1.52 0.00 1.52 0.00 0.00 16.80 0.00 09:37:27 09:35:01 1.17 0.00 1.17 0.00 0.00 13.73 0.00 09:37:27 09:36:01 1.90 0.00 1.90 0.00 0.00 21.06 0.00 09:37:27 09:37:01 1.05 0.00 1.05 0.00 0.00 12.26 0.00 09:37:27 Average: 35.46 0.64 34.83 0.00 163.39 9889.56 0.00 09:37:27 09:37:27 09:18:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:37:27 09:19:01 26859188 31443664 863308 2.63 177728 4472588 2040896 6.01 1413308 4004880 995248 09:37:27 09:20:01 27446208 31482752 819848 2.49 188888 3959256 1914576 5.64 1375812 3496056 119792 09:37:27 09:21:01 26854620 31468688 827880 2.52 199440 4479688 1957600 5.77 1446056 3963608 364 09:37:27 09:22:01 26886984 31500356 799160 2.43 199512 4479540 1782208 5.25 1416708 3963404 164 09:37:27 09:23:01 26582948 31481480 790048 2.40 221208 4744648 1745528 5.14 1614560 4040376 12 09:37:27 09:24:01 26591452 31485232 785652 2.39 219772 4741400 1730900 5.10 1609784 4037148 176 09:37:27 09:25:01 26585156 31480940 789804 2.40 219856 4742404 1730900 5.10 1616240 4037636 20 09:37:27 09:26:01 26591372 31487308 783292 2.38 219920 4742508 1730900 5.10 1609772 4037500 188 09:37:27 09:27:01 26591712 31487712 782868 2.38 219988 4742504 1730900 5.10 1609576 4037452 8 09:37:27 09:28:01 26591456 31487532 782792 2.38 220028 4742516 1730900 5.10 1609692 4037456 160 09:37:27 09:29:01 26591228 31487508 782736 2.38 220108 4742644 1730900 5.10 1609892 4037588 60 09:37:27 09:30:01 26593636 31490076 780056 2.37 220184 4742648 1730900 5.10 1606972 4037592 184 09:37:27 09:31:01 26593664 31490188 779940 2.37 220256 4742648 1730900 5.10 1607320 4037588 156 09:37:27 09:32:01 26593388 31489960 780024 2.37 220336 4742648 1730900 5.10 1607252 4037596 8 09:37:27 09:33:01 26585736 31482524 787868 2.40 220412 4742636 1736264 5.12 1617856 4037568 4 09:37:27 09:34:01 26585600 31482420 788144 2.40 220432 4742636 1736264 5.12 1618128 4037568 20 09:37:27 09:35:01 26585576 31482404 788088 2.40 220460 4742640 1736264 5.12 1617960 4037572 12 09:37:27 09:36:01 26585292 31482172 788252 2.40 220528 4742640 1736264 5.12 1617848 4037576 8 09:37:27 09:37:01 26585432 31482320 788020 2.40 220544 4742636 1736264 5.12 1617512 4037580 8 09:37:27 Average: 26677929 31482907 794094 2.41 214189 4659517 1773696 5.23 1570645 3999671 58768 09:37:27 09:37:27 09:18:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:37:27 09:19:01 lo 2.78 2.78 0.28 0.28 0.00 0.00 0.00 0.00 09:37:27 09:19:01 ens3 609.03 423.25 6932.34 54.76 0.00 0.00 0.00 0.00 09:37:27 09:19:01 docker0 335.47 464.06 28.92 3663.47 0.00 0.00 0.00 0.00 09:37:27 09:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:20:01 ens3 41.27 20.59 40.32 11.98 0.00 0.00 0.00 0.00 09:37:27 09:20:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 09:37:27 09:21:01 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 09:37:27 09:21:01 ens3 122.75 75.72 2731.18 19.71 0.00 0.00 0.00 0.00 09:37:27 09:21:01 docker0 6.33 13.51 0.39 190.53 0.00 0.00 0.00 0.00 09:37:27 09:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:22:01 ens3 2.25 1.25 2.71 0.67 0.00 0.00 0.00 0.00 09:37:27 09:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:23:01 lo 0.40 0.40 0.05 0.05 0.00 0.00 0.00 0.00 09:37:27 09:23:01 ens3 143.61 55.79 2061.81 4.31 0.00 0.00 0.00 0.00 09:37:27 09:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:24:01 ens3 0.68 0.42 0.28 0.22 0.00 0.00 0.00 0.00 09:37:27 09:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:25:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:25:01 ens3 5.78 3.98 3.80 4.06 0.00 0.00 0.00 0.00 09:37:27 09:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:26:01 ens3 4.10 3.08 2.09 2.28 0.00 0.00 0.00 0.00 09:37:27 09:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:27:01 ens3 1.43 0.28 0.36 0.21 0.00 0.00 0.00 0.00 09:37:27 09:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:28:01 ens3 2.33 0.85 1.09 0.73 0.00 0.00 0.00 0.00 09:37:27 09:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:29:01 ens3 0.55 0.27 0.27 0.20 0.00 0.00 0.00 0.00 09:37:27 09:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:30:01 ens3 0.57 0.07 0.06 0.01 0.00 0.00 0.00 0.00 09:37:27 09:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:31:01 ens3 0.48 0.37 0.26 0.22 0.00 0.00 0.00 0.00 09:37:27 09:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:32:01 ens3 0.57 0.10 0.06 0.01 0.00 0.00 0.00 0.00 09:37:27 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:33:01 ens3 7.48 7.30 1.07 33.21 0.00 0.00 0.00 0.00 09:37:27 09:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:34:01 ens3 1.35 1.68 0.37 6.68 0.00 0.00 0.00 0.00 09:37:27 09:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:35:01 ens3 0.10 0.02 0.01 0.00 0.00 0.00 0.00 0.00 09:37:27 09:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:37:27 09:36:01 ens3 0.25 0.10 0.02 0.01 0.00 0.00 0.00 0.00 09:37:27 09:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 09:37:01 ens3 0.13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 09:37:27 09:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:37:27 Average: lo 0.37 0.37 0.03 0.03 0.00 0.00 0.00 0.00 09:37:27 Average: ens3 49.23 30.98 614.33 7.29 0.00 0.00 0.00 0.00 09:37:27 Average: docker0 17.71 24.75 1.52 199.80 0.00 0.00 0.00 0.00 09:37:27 09:37:27