Pull request #471 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 054168110aa7c250a8ad5b5331a714f948a6b79a+ce586e9030a93f7faa235112db1c98351cbead98 (19e7e47e3b08f0b41f1b67c773b284aea3dc03cb) 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-ssh3648510691190942204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh12473098860259429841.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 590556114a56c6d90cc8043840e039c2f74196dc 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-471/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-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13526910267015535685.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-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16643548473253339827.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh1524779552642819577.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-471/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-471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16509054098350725551.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-942 in /w/workspace/foundry_device-virtual-go_PR-471 [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-471 # 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 Merging remotes/origin/main commit ce586e9030a93f7faa235112db1c98351cbead98 into PR head commit 054168110aa7c250a8ad5b5331a714f948a6b79a Merge succeeded, producing 054168110aa7c250a8ad5b5331a714f948a6b79a Checking out Revision 054168110aa7c250a8ad5b5331a714f948a6b79a (PR-471) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 054168110aa7c250a8ad5b5331a714f948a6b79a # 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 ce586e9030a93f7faa235112db1c98351cbead98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 054168110aa7c250a8ad5b5331a714f948a6b79a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:47:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:47:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:47:38 ========================================================= 11:47:38 EdgeX Global Pipelines Version Info 11:47:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:47:39 ------------------- 11:47:39 stable info: 11:47:39 ------------------- 11:47:39 Commited By: Ginny Guan ginny@iotechsys.com 11:47:39 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:47:39 Message: update stable to v1.0.260 11:47:39 ------------------- 11:47:39 experimental info: 11:47:39 ------------------- 11:47:39 Commited By: Ginny Guan ginny@iotechsys.com 11:47:39 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:47:39 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:47:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-471 [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-471 [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-471 [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 054168110aa7c250a8ad5b5331a714f948a6b79a [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0541681 [Pipeline] echo 11:47:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:47:42 provisioning config files... 11:47:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-471@tmp/config5127983027326456205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:42 ---> ****-login.sh 11:47:42 nexus3.edgexfoundry.org:10001 11:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:43 Configure a credential helper to remove this warning. See 11:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:43 11:47:43 Login Succeeded 11:47:43 nexus3.edgexfoundry.org:10002 11:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:43 Configure a credential helper to remove this warning. See 11:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:43 11:47:43 Login Succeeded 11:47:43 nexus3.edgexfoundry.org:10003 11:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:43 Configure a credential helper to remove this warning. See 11:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:43 11:47:43 Login Succeeded 11:47:43 nexus3.edgexfoundry.org:10004 11:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:43 Configure a credential helper to remove this warning. See 11:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:43 11:47:43 Login Succeeded 11:47:43 ****.io 11:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:43 Configure a credential helper to remove this warning. See 11:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:43 11:47:43 Login Succeeded 11:47:43 ---> ****-login.sh ends [Pipeline] } 11:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:47:44 + git rev-list -1 --merges 054168110aa7c250a8ad5b5331a714f948a6b79a~1..054168110aa7c250a8ad5b5331a714f948a6b79a [Pipeline] echo 11:47:44 -----------> git rev-list -1 --merges 054168110aa7c250a8ad5b5331a714f948a6b79a~1..054168110aa7c250a8ad5b5331a714f948a6b79a 054168110aa7c250a8ad5b5331a714f948a6b79a [false] [Pipeline] sh 11:47:44 + git log --format=format:%s -1 054168110aa7c250a8ad5b5331a714f948a6b79a [Pipeline] echo 11:47:44 ========================================================= 11:47:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:47:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:47:45 + git log --format=format:%s -1 054168110aa7c250a8ad5b5331a714f948a6b79a [Pipeline] echo 11:47:45 [semverPrep] GIT_COMMIT: 054168110aa7c250a8ad5b5331a714f948a6b79a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:47:45 [semverPrep] This is not a build commit. [Pipeline] sh 11:47:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:47:45 + grep -v github /etc/ssh/ssh_known_hosts 11:47:45 + [ -e /tmp/ssh_known_hosts ] 11:47:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:47:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:47:45 + sudo tee -a /etc/ssh/ssh_known_hosts 11:47:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:47:46 11:47:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:47:46 0.1.4: Pulling from edgex-devops/py-git-semver 11:47:46 b85a868b505f: Pulling fs layer 11:47:46 e2be974225ed: Pulling fs layer 11:47:46 339a4e72a1f5: Pulling fs layer 11:47:46 988bab9f4d93: Pulling fs layer 11:47:46 1469e6f7b9e6: Pulling fs layer 11:47:46 eaf3925da568: Pulling fs layer 11:47:46 bab4dde63d76: Pulling fs layer 11:47:46 bde34c3a00c8: Pulling fs layer 11:47:46 b352a97aabf1: Pulling fs layer 11:47:46 4872d77fe225: Pulling fs layer 11:47:46 5851b861e8e6: Pulling fs layer 11:47:46 988bab9f4d93: Waiting 11:47:46 1469e6f7b9e6: Waiting 11:47:46 bde34c3a00c8: Waiting 11:47:46 eaf3925da568: Waiting 11:47:46 bab4dde63d76: Waiting 11:47:46 b352a97aabf1: Waiting 11:47:46 5851b861e8e6: Waiting 11:47:46 4872d77fe225: Waiting 11:47:46 e2be974225ed: Verifying Checksum 11:47:46 e2be974225ed: Download complete 11:47:46 988bab9f4d93: Download complete 11:47:46 1469e6f7b9e6: Verifying Checksum 11:47:46 1469e6f7b9e6: Download complete 11:47:46 eaf3925da568: Download complete 11:47:46 339a4e72a1f5: Verifying Checksum 11:47:46 339a4e72a1f5: Download complete 11:47:46 bde34c3a00c8: Verifying Checksum 11:47:46 bde34c3a00c8: Download complete 11:47:46 b352a97aabf1: Download complete 11:47:46 4872d77fe225: Download complete 11:47:46 5851b861e8e6: Download complete 11:47:46 b85a868b505f: Verifying Checksum 11:47:46 b85a868b505f: Download complete 11:47:47 bab4dde63d76: Verifying Checksum 11:47:47 bab4dde63d76: Download complete 11:47:48 b85a868b505f: Pull complete 11:47:48 e2be974225ed: Pull complete 11:47:48 339a4e72a1f5: Pull complete 11:47:48 988bab9f4d93: Pull complete 11:47:48 1469e6f7b9e6: Pull complete 11:47:48 eaf3925da568: Pull complete 11:47:50 bab4dde63d76: Pull complete 11:47:50 bde34c3a00c8: Pull complete 11:47:50 b352a97aabf1: Pull complete 11:47:50 4872d77fe225: Pull complete 11:47:50 5851b861e8e6: Pull complete 11:47:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:47:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:51 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 11:47:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-471 -v /w/workspace/foundry_device-virtual-go_PR-471:/w/workspace/foundry_device-virtual-go_PR-471:rw,z -v /w/workspace/foundry_device-virtual-go_PR-471@tmp:/w/workspace/foundry_device-virtual-go_PR-471@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:47:54 $ docker top a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 -eo pid,comm 11:47:54 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). 11:47:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:47:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:47:54 [ssh-agent] Looking for ssh-agent implementation... 11:47:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:47:55 $ docker exec a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 ssh-agent 11:47:55 SSH_AUTH_SOCK=/tmp/ssh-0GyDiDyv4mlV/agent.32 11:47:55 SSH_AGENT_PID=38 11:47:55 Running ssh-add (command line suppressed) 11:47:55 Identity added: /w/workspace/foundry_device-virtual-go_PR-471@tmp/private_key_6131759533611503195.key (/w/workspace/foundry_device-virtual-go_PR-471@tmp/private_key_6131759533611503195.key) 11:47:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:47:55 + git tag --points-at HEAD [Pipeline] } 11:47:55 $ docker exec --env ******** --env ******** a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 ssh-agent -k 11:47:55 unset SSH_AUTH_SOCK; 11:47:55 unset SSH_AGENT_PID; 11:47:55 echo Agent pid 38 killed; 11:47:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:47:55 [ssh-agent] Looking for ssh-agent implementation... 11:47:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:47:56 $ docker exec a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 ssh-agent 11:47:56 SSH_AUTH_SOCK=/tmp/ssh-XSLH9fWsOnjO/agent.72 11:47:56 SSH_AGENT_PID=78 11:47:56 Running ssh-add (command line suppressed) 11:47:56 Identity added: /w/workspace/foundry_device-virtual-go_PR-471@tmp/private_key_4497530729817468867.key (/w/workspace/foundry_device-virtual-go_PR-471@tmp/private_key_4497530729817468867.key) 11:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:47:56 + git semver init 11:47:56 2024-05-28 11:47:56,905 [run_init] DEBUG init version:0.0.0 force:False 11:47:56 2024-05-28 11:47:56,906 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-471/.semver 11:47:56 2024-05-28 11:47:56,906 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-471/.semver 11:47:56 2024-05-28 11:47:56,906 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-471/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-471, universal_newlines=False, shell=None, istream=None) 11:47:58 2024-05-28 11:47:58,595 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-471/.git/info/exclude 11:47:58 2024-05-28 11:47:58,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-471/.semver/PR-471 with force:False 11:47:58 2024-05-28 11:47:58,595 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-471/.semver/PR-471 11:47:58 2024-05-28 11:47:58,597 [execute] INFO git cat-file --batch-check 11:47:58 2024-05-28 11:47:58,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-471/.semver, universal_newlines=False, shell=None, istream=) 11:47:58 2024-05-28 11:47:58,603 [execute] INFO git cat-file --batch 11:47:58 2024-05-28 11:47:58,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-471/.semver, universal_newlines=False, shell=None, istream=) 11:47:58 2024-05-28 11:47:58,608 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-471/.semver/PR-471 11:47:58 0.0.0 [Pipeline] } 11:47:58 $ docker exec --env ******** --env ******** a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 ssh-agent -k 11:47:59 unset SSH_AUTH_SOCK; 11:47:59 unset SSH_AGENT_PID; 11:47:59 echo Agent pid 78 killed; 11:47:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:47:59 + git semver [Pipeline] } 11:47:59 $ docker stop --time=1 a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 11:48:01 $ docker rm -f --volumes a502e6fb90c600bd694e1b1082a877510c7493268ea784fbc3f3a8185a0589d7 [Pipeline] // withDockerContainer [Pipeline] sh 11:48:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:48:01 Stashed 1 file(s) [Pipeline] echo 11:48:01 [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 11:48:02 provisioning config files... 11:48:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-471@tmp/config15035206247046943914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:48:02 ---> ****-login.sh 11:48:02 nexus3.edgexfoundry.org:10001 11:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:48:02 Configure a credential helper to remove this warning. See 11:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:48:02 11:48:02 Login Succeeded 11:48:02 nexus3.edgexfoundry.org:10002 11:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:48:02 Configure a credential helper to remove this warning. See 11:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:48:02 11:48:02 Login Succeeded 11:48:02 nexus3.edgexfoundry.org:10003 11:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:48:03 Configure a credential helper to remove this warning. See 11:48:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:48:03 11:48:03 Login Succeeded 11:48:03 nexus3.edgexfoundry.org:10004 11:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:48:03 Configure a credential helper to remove this warning. See 11:48:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:48:03 11:48:03 Login Succeeded 11:48:03 ****.io 11:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:48:03 Configure a credential helper to remove this warning. See 11:48:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:48:03 11:48:03 Login Succeeded 11:48:03 ---> ****-login.sh ends [Pipeline] } 11:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:48:03 ========================================================= 11:48:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:48:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:48:04 Sending build context to Docker daemon 37.7MB 11:48:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:48:04 Step 2/12 : FROM ${BASE} AS builder 11:48:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:48:04 619be1103602: Pulling fs layer 11:48:04 7862e08f4a3e: Pulling fs layer 11:48:04 5df492c9dc93: Pulling fs layer 11:48:04 7629e6793208: Pulling fs layer 11:48:04 4f4fb700ef54: Pulling fs layer 11:48:04 fb5054dd5b73: Pulling fs layer 11:48:04 eeca6798cff9: Pulling fs layer 11:48:04 aa269ceb94a6: Pulling fs layer 11:48:04 ada007ff1a6a: Pulling fs layer 11:48:04 7629e6793208: Waiting 11:48:04 4f4fb700ef54: Waiting 11:48:04 fb5054dd5b73: Waiting 11:48:04 eeca6798cff9: Waiting 11:48:04 ada007ff1a6a: Waiting 11:48:04 aa269ceb94a6: Waiting 11:48:04 7862e08f4a3e: Download complete 11:48:04 7629e6793208: Verifying Checksum 11:48:04 7629e6793208: Download complete 11:48:04 4f4fb700ef54: Download complete 11:48:04 fb5054dd5b73: Verifying Checksum 11:48:04 fb5054dd5b73: Download complete 11:48:04 619be1103602: Verifying Checksum 11:48:04 619be1103602: Download complete 11:48:04 eeca6798cff9: Verifying Checksum 11:48:04 eeca6798cff9: Download complete 11:48:04 619be1103602: Pull complete 11:48:04 ada007ff1a6a: Verifying Checksum 11:48:04 7862e08f4a3e: Pull complete 11:48:05 5df492c9dc93: Verifying Checksum 11:48:05 5df492c9dc93: Download complete 11:48:05 aa269ceb94a6: Verifying Checksum 11:48:05 aa269ceb94a6: Download complete 11:48:08 5df492c9dc93: Pull complete 11:48:08 7629e6793208: Pull complete 11:48:08 4f4fb700ef54: Pull complete 11:48:08 fb5054dd5b73: Pull complete 11:48:08 eeca6798cff9: Pull complete 11:48:11 aa269ceb94a6: Pull complete 11:48:11 ada007ff1a6a: Pull complete 11:48:11 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:48:11 ---> f489d0715acc 11:48:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:48:15 ---> Running in 21d0cbaff861 11:48:15 Removing intermediate container 21d0cbaff861 11:48:15 ---> db200bf09998 11:48:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:48:15 ---> Running in caf9c30d6f5d 11:48:15 Removing intermediate container caf9c30d6f5d 11:48:15 ---> f0b6ecd6e424 11:48:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:48:15 ---> Running in 937416d4acc8 11:48:15 Removing intermediate container 937416d4acc8 11:48:15 ---> eba8ab953d0f 11:48:15 Step 6/12 : WORKDIR /device-virtual-go 11:48:15 ---> Running in f26c565fa102 11:48:15 Removing intermediate container f26c565fa102 11:48:15 ---> 4a74d7eabc03 11:48:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:48:15 ---> Running in c4d5be6c0042 11:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:48:16 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:48:16 (2/4) Installing libedit (20221030.3.1-r1) 11:48:16 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:48:16 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:48:16 Executing busybox-1.36.1-r5.trigger 11:48:16 OK: 268 MiB in 56 packages 11:48:17 Removing intermediate container c4d5be6c0042 11:48:17 ---> 9ba524164d08 11:48:17 Step 8/12 : COPY go.mod vendor* ./ 11:48:17 ---> 80af089a6192 11:48:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:48:17 ---> Running in f1043284ae42 11:48:17 Still waiting to schedule task 11:48:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:49:13 Removing intermediate container f1043284ae42 11:49:13 ---> 44011d918552 11:49:13 Step 10/12 : COPY . . 11:49:13 ---> 968e156c94e1 11:49:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:49:13 ---> Running in 06cc6fc90489 11:49:13 Removing intermediate container 06cc6fc90489 11:49:13 ---> 811c0089ad53 11:49:13 Step 12/12 : RUN $MAKE 11:49:13 ---> Running in 1baf128f0d21 11:49:14 noop 11:49:14 Removing intermediate container 1baf128f0d21 11:49:14 ---> 9232c6066e19 11:49:14 Successfully built 9232c6066e19 11:49:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:14 + docker inspect -f . ci-base-image-x86_64 11:49:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:14 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 11:49:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-471 -v /w/workspace/foundry_device-virtual-go_PR-471:/w/workspace/foundry_device-virtual-go_PR-471:rw,z -v /w/workspace/foundry_device-virtual-go_PR-471@tmp:/w/workspace/foundry_device-virtual-go_PR-471@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 ******** ci-base-image-x86_64 cat 11:49:15 $ docker top e9c470a35eaae0b5c9fd3e0da8b702d0d661bff7af552e725200ed5b02deeb10 -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:15 + go version 11:49:15 go version go1.21.9 linux/amd64 [Pipeline] } 11:49:15 $ docker stop --time=1 e9c470a35eaae0b5c9fd3e0da8b702d0d661bff7af552e725200ed5b02deeb10 11:49:17 $ docker rm -f --volumes e9c470a35eaae0b5c9fd3e0da8b702d0d661bff7af552e725200ed5b02deeb10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:17 + docker inspect -f . ci-base-image-x86_64 11:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:17 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 11:49: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-471 -v /w/workspace/foundry_device-virtual-go_PR-471:/w/workspace/foundry_device-virtual-go_PR-471:rw,z -v /w/workspace/foundry_device-virtual-go_PR-471@tmp:/w/workspace/foundry_device-virtual-go_PR-471@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 ******** ci-base-image-x86_64 cat 11:49:18 $ docker top 496ac2dea67998a0784db7bd60d14faf04489a69f750ac4063d2d5b2f11be05d -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:18 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-471 [Pipeline] fileExists [Pipeline] sh 11:49:19 + make test 11:49:19 go test ./... -coverprofile=coverage.out 11:49:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:49:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:49:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.023s coverage: 58.6% of statements 11:49:48 go vet ./... 11:49:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-943 in /w/workspace/foundry_device-virtual-go_PR-471 [Pipeline] { [Pipeline] ws 11:49:52 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:49:52 The recommended git tool is: git 11:49:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:49:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:49:53 ./bin/test-attribution-txt.sh 11:49:53 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:49:53 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:49:54 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:49:54 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:49:54 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:49:54 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:49:54 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:49:54 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:49:54 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:49:54 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:49:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:49:54 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:49:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:49:54 $ docker stop --time=1 496ac2dea67998a0784db7bd60d14faf04489a69f750ac4063d2d5b2f11be05d 11:49:57 using credential edgex-jenkins-ssh 11:49:57 Cloning the remote Git repository 11:49:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:49:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:49:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:49:57 > git --version # timeout=10 11:49:57 > git --version # 'git version 2.25.1' 11:49:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:49:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:49:59 $ docker rm -f --volumes 496ac2dea67998a0784db7bd60d14faf04489a69f750ac4063d2d5b2f11be05d [Pipeline] // withDockerContainer [Pipeline] sh 11:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:49:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:50:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:50:00 + ls -al . 11:50:00 total 268 11:50:00 drwxrwxr-x 8 jenkins jenkins 4096 May 28 11:49 . 11:50:00 drwxrwxr-x 4 jenkins jenkins 4096 May 28 11:47 .. 11:50:00 drwxrwxr-x 8 jenkins jenkins 4096 May 28 11:49 .git 11:50:00 drwxrwxr-x 3 jenkins jenkins 4096 May 28 11:47 .github 11:50:00 -rw-rw-r-- 1 jenkins jenkins 272 May 28 11:47 .gitignore 11:50:00 -rw-rw-r-- 1 jenkins jenkins 41 May 28 11:47 .golangci.yml 11:50:00 drwxr-xr-x 3 jenkins jenkins 4096 May 28 11:47 .semver 11:50:00 -rw-rw-r-- 1 jenkins jenkins 9708 May 28 11:47 Attribution.txt 11:50:00 -rw-rw-r-- 1 jenkins jenkins 15941 May 28 11:47 CHANGELOG.md 11:50:00 -rw-rw-r-- 1 jenkins jenkins 1755 May 28 11:47 Dockerfile 11:50:00 -rw-rw-r-- 1 jenkins jenkins 677 May 28 11:47 GOVERNANCE.md 11:50:00 -rw-rw-r-- 1 jenkins jenkins 660 May 28 11:47 Jenkinsfile 11:50:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 11:47 LICENSE 11:50:00 -rw-rw-r-- 1 jenkins jenkins 1953 May 28 11:47 Makefile 11:50:00 -rw-rw-r-- 1 jenkins jenkins 623 May 28 11:47 OWNERS.md 11:50:00 -rw-rw-r-- 1 jenkins jenkins 4103 May 28 11:47 README.md 11:50:00 -rw-rw-r-- 1 jenkins jenkins 5 May 28 11:48 VERSION 11:50:00 drwxrwxr-x 2 jenkins jenkins 4096 May 28 11:47 bin 11:50:00 drwxrwxr-x 3 jenkins jenkins 4096 May 28 11:47 cmd 11:50:00 -rw-r--r-- 1 jenkins jenkins 43063 May 28 11:49 coverage.out 11:50:00 -rw-rw-r-- 1 jenkins jenkins 6979 May 28 11:47 go.mod 11:50:00 -rw-rw-r-- 1 jenkins jenkins 101544 May 28 11:47 go.sum 11:50:00 drwxrwxr-x 3 jenkins jenkins 4096 May 28 11:47 internal 11:50:00 -rw-rw-r-- 1 jenkins jenkins 235 May 28 11:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:50:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:50:01 + 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=054168110aa7c250a8ad5b5331a714f948a6b79a --label arch=amd64 --label version=0.0.0 . 11:50:01 Sending build context to Docker daemon 37.74MB 11:50:01 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:50:01 Step 2/26 : FROM ${BASE} AS builder 11:50:01 ---> 9232c6066e19 11:50:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:50:02 ---> Running in 69da171841f4 11:50:02 Removing intermediate container 69da171841f4 11:50:02 ---> 34ad3e647a3e 11:50:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:50:02 ---> Running in 62df43e62979 11:50:02 Removing intermediate container 62df43e62979 11:50:02 ---> 483a8023f079 11:50:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:50:02 ---> Running in 4ff2d2e941ab 11:50:02 Removing intermediate container 4ff2d2e941ab 11:50:02 ---> 5fec91339f85 11:50:02 Step 6/26 : WORKDIR /device-virtual-go 11:50:02 Merging remotes/origin/main commit ce586e9030a93f7faa235112db1c98351cbead98 into PR head commit 054168110aa7c250a8ad5b5331a714f948a6b79a 11:50:02 ---> Running in b2136a96bac6 11:50:02 Removing intermediate container b2136a96bac6 11:50:02 ---> 52ba857e999c 11:50:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:50:02 ---> Running in f9d34b4aaf65 11:50:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:50:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:50:01 using GIT_SSH to set credentials SSH Credentials for GitHub 11:50:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:50:02 > git config core.sparsecheckout # timeout=10 11:50:02 > git checkout -f 054168110aa7c250a8ad5b5331a714f948a6b79a # timeout=10 11:50:02 > git remote # timeout=10 11:50:02 > git config --get remote.origin.url # timeout=10 11:50:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:50:02 > git merge ce586e9030a93f7faa235112db1c98351cbead98 # timeout=10 11:50:02 Merge succeeded, producing 054168110aa7c250a8ad5b5331a714f948a6b79a 11:50:02 Checking out Revision 054168110aa7c250a8ad5b5331a714f948a6b79a (PR-471) 11:50:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:50:03 OK: 268 MiB in 56 packages 11:50:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:50:03 > git --version # timeout=10 11:50:03 > git --version # 'git version 2.25.1' 11:50:03 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 11:50:03 Removing intermediate container f9d34b4aaf65 11:50:03 ---> f6fa52b9cf10 11:50:03 Step 8/26 : COPY go.mod vendor* ./ 11:50:03 ---> b56e6d7c19f9 11:50:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:50:03 ---> Running in 7f794ee5b939 11:50:02 > git rev-parse HEAD^{commit} # timeout=10 11:50:02 > git config core.sparsecheckout # timeout=10 11:50:02 > git checkout -f 054168110aa7c250a8ad5b5331a714f948a6b79a # timeout=10 11:50:04 Removing intermediate container 7f794ee5b939 11:50:04 ---> 3b9d1007eea8 11:50:04 Step 10/26 : COPY . . 11:50:06 ---> 79e3a2aca52c 11:50:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:50:06 ---> Running in 977f3976cad1 11:50:07 Removing intermediate container 977f3976cad1 11:50:07 ---> 8488918820ca 11:50:07 Step 12/26 : RUN $MAKE 11:50:07 ---> Running in 2bb4f045a2fb 11:50:07 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/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:50:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:50:08 % Total % Received % Xferd Average Speed Time Time Time Current 11:50:08 Dload Upload Total Spent Left Speed 11:50:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh 11:50:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:50:09 + sudo tee /etc/docker/daemon.new 11:50:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:50:09 { 11:50:09 "registry-mirrors": [ 11:50:09 "https://nexus3.edgexfoundry.org:10001" 11:50:09 ], 11:50:09 "bip": "10.250.0.254/24", 11:50:09 "hosts": [ 11:50:09 "tcp://0.0.0.0:5555", 11:50:09 "unix:///var/run/docker.sock" 11:50:09 ], 11:50:09 "mtu": 1458, 11:50:09 "selinux-enabled": true, 11:50:09 "seccomp-profile": "/etc/docker/seccomp.json" 11:50:09 } [Pipeline] sh 11:50:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:50:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:50:28 provisioning config files... 11:50:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config769369384402428146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:50:28 ---> ****-login.sh 11:50:28 nexus3.edgexfoundry.org:10001 11:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:50:29 Configure a credential helper to remove this warning. See 11:50:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:50:29 11:50:29 Login Succeeded 11:50:29 nexus3.edgexfoundry.org:10002 11:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:50:29 Configure a credential helper to remove this warning. See 11:50:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:50:29 11:50:29 Login Succeeded 11:50:29 nexus3.edgexfoundry.org:10003 11:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:50:30 Configure a credential helper to remove this warning. See 11:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:50:30 11:50:30 Login Succeeded 11:50:30 nexus3.edgexfoundry.org:10004 11:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:50:30 Configure a credential helper to remove this warning. See 11:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:50:30 11:50:30 Login Succeeded 11:50:30 ****.io 11:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:50:31 Configure a credential helper to remove this warning. See 11:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:50:31 11:50:31 Login Succeeded 11:50:31 ---> ****-login.sh ends [Pipeline] } 11:50:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:50:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:50:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:50:31 ========================================================= 11:50:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:50:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:50:32 Sending build context to Docker daemon 19.02MB 11:50:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:50:32 Step 2/12 : FROM ${BASE} AS builder 11:50:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:50:33 c6b39de5b339: Pulling fs layer 11:50:33 a69c41024577: Pulling fs layer 11:50:33 d6de4b400683: Pulling fs layer 11:50:33 35cb2a7552d0: Pulling fs layer 11:50:33 4f4fb700ef54: Pulling fs layer 11:50:33 464afbd9ba4c: Pulling fs layer 11:50:33 00f215d4a9da: Pulling fs layer 11:50:33 d496ad576159: Pulling fs layer 11:50:33 4f4fb700ef54: Waiting 11:50:33 464afbd9ba4c: Waiting 11:50:33 00f215d4a9da: Waiting 11:50:33 35cb2a7552d0: Waiting 11:50:33 d496ad576159: Waiting 11:50:33 a69c41024577: Download complete 11:50:33 35cb2a7552d0: Verifying Checksum 11:50:33 35cb2a7552d0: Download complete 11:50:33 4f4fb700ef54: Verifying Checksum 11:50:33 4f4fb700ef54: Download complete 11:50:33 464afbd9ba4c: Verifying Checksum 11:50:33 464afbd9ba4c: Download complete 11:50:33 c6b39de5b339: Verifying Checksum 11:50:33 c6b39de5b339: Download complete 11:50:33 d496ad576159: Verifying Checksum 11:50:33 d496ad576159: Download complete 11:50:34 c6b39de5b339: Pull complete 11:50:34 a69c41024577: Pull complete 11:50:34 d6de4b400683: Verifying Checksum 11:50:34 d6de4b400683: Download complete 11:50:36 00f215d4a9da: Verifying Checksum 11:50:36 00f215d4a9da: Download complete 11:50:39 Removing intermediate container 2bb4f045a2fb 11:50:39 ---> bec7b4cabb3a 11:50:39 Step 13/26 : FROM alpine:3.18 11:50:39 3.18: Pulling from library/alpine 11:50:39 619be1103602: Already exists 11:50:39 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:50:39 Status: Downloaded newer image for alpine:3.18 11:50:39 ---> d3782b16ccc9 11:50:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:50:39 ---> Running in 3883ff53b382 11:50:39 Removing intermediate container 3883ff53b382 11:50:39 ---> b8b89c8d2ca1 11:50:39 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:50:39 ---> Running in 2f992431bd77 11:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:50:39 (1/1) Installing dumb-init (1.2.5-r2) 11:50:39 Executing busybox-1.36.1-r5.trigger 11:50:39 OK: 7 MiB in 16 packages 11:50:39 Removing intermediate container 2f992431bd77 11:50:39 ---> fa1473fcef29 11:50:39 Step 16/26 : RUN apk --no-cache upgrade 11:50:39 ---> Running in 3ed05a7394bb 11:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:50:39 Upgrading critical system libraries and apk-tools: 11:50:39 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:50:39 Executing busybox-1.36.1-r5.trigger 11:50:39 Continuing the upgrade transaction with new apk-tools: 11:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:50:39 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 11:50:39 Executing busybox-1.36.1-r6.post-upgrade 11:50:39 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 11:50:39 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:50:39 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 11:50:39 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 11:50:39 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 11:50:39 Executing busybox-1.36.1-r6.trigger 11:50:39 OK: 7 MiB in 16 packages 11:50:39 Removing intermediate container 3ed05a7394bb 11:50:39 ---> bd029622f3fb 11:50:39 Step 17/26 : WORKDIR / 11:50:39 ---> Running in 43a13f1d960f 11:50:39 Removing intermediate container 43a13f1d960f 11:50:39 ---> e3ac5adee6ef 11:50:39 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:50:39 ---> db0c8f90ec52 11:50:39 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:50:39 ---> d5f93f12b652 11:50:39 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:50:40 ---> ae0a87e5aa1e 11:50:40 Step 21/26 : EXPOSE 59900 11:50:40 ---> Running in c66885c8d01a 11:50:41 Removing intermediate container c66885c8d01a 11:50:41 ---> 2971fa707540 11:50:41 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:50:41 ---> Running in d156a1b3c85a 11:50:41 Removing intermediate container d156a1b3c85a 11:50:41 ---> 462e25fb788f 11:50:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:50:41 ---> Running in 729acddb837f 11:50:41 Removing intermediate container 729acddb837f 11:50:41 ---> c90cfb6118b8 11:50:41 Step 24/26 : LABEL arch=amd64 11:50:41 ---> Running in db5819e5b3cd 11:50:41 Removing intermediate container db5819e5b3cd 11:50:41 ---> 2f32b10938fe 11:50:41 Step 25/26 : LABEL git_sha=054168110aa7c250a8ad5b5331a714f948a6b79a 11:50:41 ---> Running in cf0c0be7167a 11:50:41 Removing intermediate container cf0c0be7167a 11:50:41 ---> 615a183805fc 11:50:41 Step 26/26 : LABEL version=0.0.0 11:50:41 ---> Running in 1cfcf541ca09 11:50:41 Removing intermediate container 1cfcf541ca09 11:50:41 ---> 1a01794897e3 11:50:41 [Warning] One or more build-args [ARCH] were not consumed 11:50:41 Successfully built 1a01794897e3 11:50:41 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 11:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:42 11:50:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:42 latest: Pulling from edgex-lftools-log-publisher 11:50:42 5eb5b503b376: Pulling fs layer 11:50:42 5c69ac0246d0: Pulling fs layer 11:50:42 ec43610c2a17: Pulling fs layer 11:50:42 3a2ae6a8a46f: Pulling fs layer 11:50:42 33b1e0a273af: Pulling fs layer 11:50:42 5d3b04190fa2: Pulling fs layer 11:50:42 2f39f015ded8: Pulling fs layer 11:50:42 33b1e0a273af: Waiting 11:50:42 5d3b04190fa2: Waiting 11:50:42 2f39f015ded8: Waiting 11:50:42 3a2ae6a8a46f: Waiting 11:50:42 5c69ac0246d0: Download complete 11:50:42 3a2ae6a8a46f: Verifying Checksum 11:50:42 3a2ae6a8a46f: Download complete 11:50:42 33b1e0a273af: Verifying Checksum 11:50:42 33b1e0a273af: Download complete 11:50:42 5d3b04190fa2: Verifying Checksum 11:50:42 5d3b04190fa2: Download complete 11:50:42 ec43610c2a17: Verifying Checksum 11:50:42 ec43610c2a17: Download complete 11:50:43 5eb5b503b376: Download complete 11:50:43 2f39f015ded8: Verifying Checksum 11:50:43 2f39f015ded8: Download complete 11:50:44 5eb5b503b376: Pull complete 11:50:44 5c69ac0246d0: Pull complete 11:50:45 ec43610c2a17: Pull complete 11:50:45 3a2ae6a8a46f: Pull complete 11:50:45 33b1e0a273af: Pull complete 11:50:45 5d3b04190fa2: Pull complete 11:50:48 d6de4b400683: Pull complete 11:50:48 35cb2a7552d0: Pull complete 11:50:48 4f4fb700ef54: Pull complete 11:50:48 464afbd9ba4c: Pull complete 11:50:49 2f39f015ded8: Pull complete 11:50:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:50:49 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 11:50:49 $ 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-471 -v /w/workspace/foundry_device-virtual-go_PR-471:/w/workspace/foundry_device-virtual-go_PR-471:rw,z -v /w/workspace/foundry_device-virtual-go_PR-471@tmp:/w/workspace/foundry_device-virtual-go_PR-471@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-lftools-log-publisher:latest cat 11:50:53 $ docker top 83917fe9519b09f3228d956604ee2481cd7ddbf255f226aec06fc5be13185be9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:50:53 ---> job-cost.sh 11:50:53 lf-activate-venv: SKIPPING 11:50:53 INFO: No Stack... 11:50:53 INFO: Retrieving Pricing Info for: v3-standard-8 11:50:54 INFO: Archiving Costs [Pipeline] sh 11:50:54 + cat /w/workspace/foundry_device-virtual-go_PR-471/archives/cost.csv 11:50:54 + cut -d, -f6 [Pipeline] lock 11:50:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] 11:50:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] did not exist. Created. 11:50:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:50:55 + echo total: 0.2199999988079071 [Pipeline] stash 11:50:55 Stashed 1 file(s) [Pipeline] } 11:50:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:50:55 $ docker stop --time=1 83917fe9519b09f3228d956604ee2481cd7ddbf255f226aec06fc5be13185be9 11:50:56 $ docker rm -f --volumes 83917fe9519b09f3228d956604ee2481cd7ddbf255f226aec06fc5be13185be9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:50:58 00f215d4a9da: Pull complete 11:50:58 d496ad576159: Pull complete 11:50:58 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:50:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:50:58 ---> f246e2811388 11:50:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:51:00 ---> Running in fbf5b82dcafe 11:51:00 Removing intermediate container fbf5b82dcafe 11:51:00 ---> 60a6c331778d 11:51:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:51:00 ---> Running in 70f57106ac6a 11:51:00 Removing intermediate container 70f57106ac6a 11:51:00 ---> c964df384820 11:51:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:51:00 ---> Running in 1b95edeb073f 11:51:00 Removing intermediate container 1b95edeb073f 11:51:00 ---> 7c80f1eee804 11:51:00 Step 6/12 : WORKDIR /device-virtual-go 11:51:00 ---> Running in d0cec1563bce 11:51:01 Removing intermediate container d0cec1563bce 11:51:01 ---> 61c085905fef 11:51:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:51:01 ---> Running in 5942a228a2b9 11:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:51:03 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:51:03 (2/4) Installing libedit (20221030.3.1-r1) 11:51:03 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:51:03 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:51:03 Executing busybox-1.36.1-r5.trigger 11:51:03 OK: 271 MiB in 56 packages 11:51:04 Removing intermediate container 5942a228a2b9 11:51:04 ---> 1b3a75615d74 11:51:04 Step 8/12 : COPY go.mod vendor* ./ 11:51:05 ---> 6f3a0e064037 11:51:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:51:05 ---> Running in 7d15744ed6d4 11:52:56 Removing intermediate container 7d15744ed6d4 11:52:56 ---> 898d8f9a63b1 11:52:56 Step 10/12 : COPY . . 11:52:56 ---> e204bae66da6 11:52:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:52:56 ---> Running in ab3a1937661a 11:52:56 Removing intermediate container ab3a1937661a 11:52:56 ---> d808819dfb0c 11:52:56 Step 12/12 : RUN $MAKE 11:52:56 ---> Running in 8c40bd4a5a5d 11:52:56 noop 11:52:56 Removing intermediate container 8c40bd4a5a5d 11:52:56 ---> 4461f764b427 11:52:56 Successfully built 4461f764b427 11:52:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:57 + docker inspect -f . ci-base-image-arm64 11:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:57 prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 11:52:57 $ 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 ******** ci-base-image-arm64 cat 11:52:58 $ docker top 47a4e8d374c07c4470f9ea7adf951408f3087ff9fd8180e890502677bf614b98 -eo pid,comm [Pipeline] { [Pipeline] sh 11:52:59 + go version 11:52:59 go version go1.21.9 linux/arm64 [Pipeline] } 11:52:59 $ docker stop --time=1 47a4e8d374c07c4470f9ea7adf951408f3087ff9fd8180e890502677bf614b98 11:53:01 $ docker rm -f --volumes 47a4e8d374c07c4470f9ea7adf951408f3087ff9fd8180e890502677bf614b98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:02 + docker inspect -f . ci-base-image-arm64 11:53:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:02 prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 11:53:02 $ 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 ******** ci-base-image-arm64 cat 11:53:04 $ docker top df6573b93c5f32061604887243293992d5602de3ab547a7c1e7baa58145408bd -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:04 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:53:05 + make test 11:53:05 go test ./... -coverprofile=coverage.out 11:53:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:56:17 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:56:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.093s coverage: 58.4% of statements 11:56:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:56:19 go vet ./... 11:57:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:57:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:57:06 ./bin/test-attribution-txt.sh 11:57:06 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:57:06 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:57:06 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:57:06 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:57:06 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:57:06 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:57:06 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:57:06 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:57:06 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:57:06 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:57:06 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:57:06 $ docker stop --time=1 df6573b93c5f32061604887243293992d5602de3ab547a7c1e7baa58145408bd 11:57:08 $ docker rm -f --volumes df6573b93c5f32061604887243293992d5602de3ab547a7c1e7baa58145408bd [Pipeline] // withDockerContainer [Pipeline] sh 11:57:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:57:09 Warning: overwriting stash ‘coverage-report’ 11:57:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:57:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:57:11 + ls -al . 11:57:11 total 264 11:57:11 drwxrwxr-x 7 jenkins jenkins 4096 May 28 11:53 . 11:57:11 drwxrwxr-x 4 jenkins jenkins 4096 May 28 11:49 .. 11:57:11 drwxrwxr-x 8 jenkins jenkins 4096 May 28 11:50 .git 11:57:11 drwxrwxr-x 3 jenkins jenkins 4096 May 28 11:50 .github 11:57:11 -rw-rw-r-- 1 jenkins jenkins 272 May 28 11:50 .gitignore 11:57:11 -rw-rw-r-- 1 jenkins jenkins 41 May 28 11:50 .golangci.yml 11:57:11 -rw-rw-r-- 1 jenkins jenkins 9708 May 28 11:50 Attribution.txt 11:57:11 -rw-rw-r-- 1 jenkins jenkins 15941 May 28 11:50 CHANGELOG.md 11:57:11 -rw-rw-r-- 1 jenkins jenkins 1755 May 28 11:50 Dockerfile 11:57:11 -rw-rw-r-- 1 jenkins jenkins 677 May 28 11:50 GOVERNANCE.md 11:57:11 -rw-rw-r-- 1 jenkins jenkins 660 May 28 11:50 Jenkinsfile 11:57:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 11:50 LICENSE 11:57:11 -rw-rw-r-- 1 jenkins jenkins 1953 May 28 11:50 Makefile 11:57:11 -rw-rw-r-- 1 jenkins jenkins 623 May 28 11:50 OWNERS.md 11:57:11 -rw-rw-r-- 1 jenkins jenkins 4103 May 28 11:50 README.md 11:57:11 -rw-rw-r-- 1 jenkins jenkins 5 May 28 11:48 VERSION 11:57:11 drwxrwxr-x 2 jenkins jenkins 4096 May 28 11:50 bin 11:57:11 drwxrwxr-x 3 jenkins jenkins 4096 May 28 11:50 cmd 11:57:11 -rw-r--r-- 1 jenkins jenkins 43063 May 28 11:56 coverage.out 11:57:11 -rw-rw-r-- 1 jenkins jenkins 6979 May 28 11:50 go.mod 11:57:11 -rw-rw-r-- 1 jenkins jenkins 101544 May 28 11:50 go.sum 11:57:11 drwxrwxr-x 3 jenkins jenkins 4096 May 28 11:50 internal 11:57:11 -rw-rw-r-- 1 jenkins jenkins 235 May 28 11:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:11 + 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=054168110aa7c250a8ad5b5331a714f948a6b79a --label arch=arm64 --label version=0.0.0 . 11:57:12 Sending build context to Docker daemon 19.07MB 11:57:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:57:12 Step 2/26 : FROM ${BASE} AS builder 11:57:12 ---> 4461f764b427 11:57:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:57:12 ---> Running in 06e6f3fba700 11:57:12 Removing intermediate container 06e6f3fba700 11:57:12 ---> 8c092a4880ea 11:57:12 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:57:12 ---> Running in 55fc54445143 11:57:13 Removing intermediate container 55fc54445143 11:57:13 ---> 69e1f42ee992 11:57:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:57:13 ---> Running in d74e503488a9 11:57:13 Removing intermediate container d74e503488a9 11:57:13 ---> 14a769ab944c 11:57:13 Step 6/26 : WORKDIR /device-virtual-go 11:57:13 ---> Running in 8cd1ca4a4192 11:57:14 Removing intermediate container 8cd1ca4a4192 11:57:14 ---> e5fb01590dae 11:57:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:57:14 ---> Running in eadebaf3a102 11:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:57:16 OK: 271 MiB in 56 packages 11:57:17 Removing intermediate container eadebaf3a102 11:57:17 ---> c144f74d3853 11:57:17 Step 8/26 : COPY go.mod vendor* ./ 11:57:17 ---> 4ad592fbbe61 11:57:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:57:17 ---> Running in 3e340067b13e 11:57:20 Removing intermediate container 3e340067b13e 11:57:20 ---> c8fda1fdedfd 11:57:20 Step 10/26 : COPY . . 11:57:21 ---> 16c35c1781bd 11:57:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:57:21 ---> Running in a38462a2fd87 11:57:22 Removing intermediate container a38462a2fd87 11:57:22 ---> 2994cedf9ff2 11:57:22 Step 12/26 : RUN $MAKE 11:57:22 ---> Running in 49c298239eec 11:57:23 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/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:00:44 Removing intermediate container 49c298239eec 12:00:44 ---> 5db87c547a1a 12:00:44 Step 13/26 : FROM alpine:3.18 12:00:44 3.18: Pulling from library/alpine 12:00:44 c6b39de5b339: Already exists 12:00:44 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:00:44 Status: Downloaded newer image for alpine:3.18 12:00:44 ---> 33abbf032149 12:00:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:00:44 ---> Running in 89acbc40ed20 12:00:44 Removing intermediate container 89acbc40ed20 12:00:44 ---> 2deadf3fc8ee 12:00:44 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:00:44 ---> Running in 419d8a614329 12:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:00:44 (1/1) Installing dumb-init (1.2.5-r2) 12:00:44 Executing busybox-1.36.1-r5.trigger 12:00:44 OK: 8 MiB in 16 packages 12:00:44 Removing intermediate container 419d8a614329 12:00:44 ---> 45834ce07793 12:00:44 Step 16/26 : RUN apk --no-cache upgrade 12:00:44 ---> Running in ba0bb08bf0ae 12:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:00:44 Upgrading critical system libraries and apk-tools: 12:00:44 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 12:00:44 Executing busybox-1.36.1-r5.trigger 12:00:44 Continuing the upgrade transaction with new apk-tools: 12:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:00:44 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 12:00:44 Executing busybox-1.36.1-r6.post-upgrade 12:00:44 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 12:00:44 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 12:00:44 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 12:00:44 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 12:00:44 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 12:00:44 Executing busybox-1.36.1-r6.trigger 12:00:44 OK: 8 MiB in 16 packages 12:00:45 Removing intermediate container ba0bb08bf0ae 12:00:45 ---> 02140876ca45 12:00:45 Step 17/26 : WORKDIR / 12:00:45 ---> Running in 8e1e32393bed 12:00:45 Removing intermediate container 8e1e32393bed 12:00:45 ---> abca75e90278 12:00:45 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:00:46 ---> 41a89d210963 12:00:46 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:00:46 ---> cc375cf41499 12:00:46 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:00:48 ---> 848650cc99c2 12:00:48 Step 21/26 : EXPOSE 59900 12:00:48 ---> Running in 0aa07ed88bd1 12:00:48 Removing intermediate container 0aa07ed88bd1 12:00:48 ---> 76189e15faba 12:00:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:00:48 ---> Running in 89e8161786bd 12:00:48 Removing intermediate container 89e8161786bd 12:00:48 ---> 1a016aa33f17 12:00:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:00:49 ---> Running in eb1386c00713 12:00:49 Removing intermediate container eb1386c00713 12:00:49 ---> 48d33dcbdb7c 12:00:49 Step 24/26 : LABEL arch=arm64 12:00:49 ---> Running in 060bbfc355cd 12:00:49 Removing intermediate container 060bbfc355cd 12:00:49 ---> 6f4c9477f092 12:00:49 Step 25/26 : LABEL git_sha=054168110aa7c250a8ad5b5331a714f948a6b79a 12:00:49 ---> Running in 12e7c14cb0ec 12:00:49 Removing intermediate container 12e7c14cb0ec 12:00:49 ---> 4f6a34c3ae83 12:00:49 Step 26/26 : LABEL version=0.0.0 12:00:50 ---> Running in b86de142216d 12:00:50 Removing intermediate container b86de142216d 12:00:50 ---> b8f3e16d336e 12:00:50 [Warning] One or more build-args [ARCH] were not consumed 12:00:50 Successfully built b8f3e16d336e 12:00:50 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 12:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:51 12:00:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:51 arm64: Pulling from edgex-lftools-log-publisher 12:00:51 8998bd30e6a1: Pulling fs layer 12:00:51 04944245beec: Pulling fs layer 12:00:51 699f458cf7ca: Pulling fs layer 12:00:51 765212b225bb: Pulling fs layer 12:00:51 f23df028b6ca: Pulling fs layer 12:00:51 d65c8cfc05b1: Pulling fs layer 12:00:51 2437ff75d9bd: Pulling fs layer 12:00:51 f23df028b6ca: Waiting 12:00:51 d65c8cfc05b1: Waiting 12:00:51 765212b225bb: Waiting 12:00:51 2437ff75d9bd: Waiting 12:00:52 04944245beec: Verifying Checksum 12:00:52 04944245beec: Download complete 12:00:52 765212b225bb: Verifying Checksum 12:00:52 765212b225bb: Download complete 12:00:52 f23df028b6ca: Download complete 12:00:52 d65c8cfc05b1: Verifying Checksum 12:00:52 d65c8cfc05b1: Download complete 12:00:52 699f458cf7ca: Verifying Checksum 12:00:52 699f458cf7ca: Download complete 12:00:52 8998bd30e6a1: Verifying Checksum 12:00:52 8998bd30e6a1: Download complete 12:00:55 2437ff75d9bd: Verifying Checksum 12:00:55 2437ff75d9bd: Download complete 12:00:57 8998bd30e6a1: Pull complete 12:00:57 04944245beec: Pull complete 12:00:59 699f458cf7ca: Pull complete 12:00:59 765212b225bb: Pull complete 12:00:59 f23df028b6ca: Pull complete 12:01:00 d65c8cfc05b1: Pull complete 12:01:18 2437ff75d9bd: Pull complete 12:01:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:01:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:18 prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 12:01:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:01:21 $ docker top f58d7e4ef8b9ae3125f0b58e1a36a95d260fdb3d9eee848755c05f53896191f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:21 ---> job-cost.sh 12:01:22 lf-activate-venv: SKIPPING 12:01:22 INFO: No Stack... 12:01:22 INFO: Retrieving Pricing Info for: v3-standard-4 12:01:23 INFO: Archiving Costs [Pipeline] sh 12:01:23 + cut -d, -f6 12:01:23 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 12:01:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] 12:01:24 Resource [jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] did not exist. Created. 12:01:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:01:24 /w/workspace/device-virtual-go/1@tmp/durable-c23f10e9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:01:24 + echo total: 0.10999999940395355 [Pipeline] stash 12:01:25 Warning: overwriting stash ‘stack-cost’ 12:01:25 Stashed 1 file(s) [Pipeline] } 12:01:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:01:25 $ docker stop --time=1 f58d7e4ef8b9ae3125f0b58e1a36a95d260fdb3d9eee848755c05f53896191f9 12:01:26 $ docker rm -f --volumes f58d7e4ef8b9ae3125f0b58e1a36a95d260fdb3d9eee848755c05f53896191f9 [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 12:01:27 provisioning config files... 12:01:27 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-471@tmp/config16449694379388594851tmp [Pipeline] { [Pipeline] sh 12:01:28 + set +x 12:01:28 + curl -s https://codecov.io/bash 12:01:28 + bash -s -- 12:01:28 12:01:28 _____ _ 12:01:28 / ____| | | 12:01:28 | | ___ __| | ___ ___ _____ __ 12:01:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:01:28 | |___| (_) | (_| | __/ (_| (_) \ V / 12:01:28 \_____\___/ \__,_|\___|\___\___/ \_/ 12:01:28 Bash-1.0.6 12:01:28 12:01:28 12:01:28 ==> git version 2.25.1 found 12:01:28 ==> 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 12:01:28 Release-Date: 2020-01-08 12:01:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:01:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:01:28 ==> Jenkins CI detected. 12:01:28 current dir:  /w/workspace/foundry_device-virtual-go_PR-471 12:01:28 project root: . 12:01:28 --> token set from env 12:01:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:01:28 ==> Running gcov in . (disable via -X gcov) 12:01:28 ==> Python coveragepy not found 12:01:28 ==> Searching for coverage reports in: 12:01:28 + . 12:01:28 -> Found 1 reports 12:01:28 ==> Detecting git/mercurial file structure 12:01:28 ==> Reading reports 12:01:28 + ./coverage.out bytes=43063 12:01:28 ==> Appending adjustments 12:01:28 https://docs.codecov.io/docs/fixing-reports 12:01:28 + Found adjustments 12:01:28 ==> Gzipping contents 12:01:28 8.0K /tmp/codecov.znUE59.gz 12:01:28 ==> Uploading reports 12:01:28 url: https://codecov.io 12:01:28 query: branch=PR-471&commit=054168110aa7c250a8ad5b5331a714f948a6b79a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-471%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=471&job=&cmd_args= 12:01:28 -> Pinging Codecov 12:01:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-471&commit=054168110aa7c250a8ad5b5331a714f948a6b79a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-471%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=471&job=&cmd_args= 12:01:28 -> Uploading to 12:01:28 https://storage.googleapis.com/codecov/v4/raw/2024-05-28/5E52B4B073DB2E39498172D8E973AA87/054168110aa7c250a8ad5b5331a714f948a6b79a/db9b9dfb-6b81-45d5-aeff-a769f2e51b5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240528%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240528T120128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=333f36fb2d00f60955bbf1b2417b0e77ea1bc4409c7e3890880ae0241bc245da 12:01:28 % Total % Received % Xferd Average Speed Time Time Time Current 12:01:28 Dload Upload Total Spent Left Speed 12:01:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 22115 --:--:-- --:--:-- --:--:-- 22115 12:01:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/054168110aa7c250a8ad5b5331a714f948a6b79a [Pipeline] } 12:01:28 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 12:01:31 + [ -d /w/workspace/foundry_device-virtual-go_PR-471/archives ] 12:01:31 + ls -al /w/workspace/foundry_device-virtual-go_PR-471/archives 12:01:31 total 16 12:01:31 drwxr-xr-x 3 root root 4096 May 28 11:50 . 12:01:31 drwxrwxr-x 9 jenkins jenkins 4096 May 28 11:50 .. 12:01:31 drwxr-xr-x 2 root root 4096 May 28 11:50 cost 12:01:31 -rw-r--r-- 1 root root 89 May 28 11:50 cost.csv 12:01:31 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-471/archives 12:01:31 + ls -al /w/workspace/foundry_device-virtual-go_PR-471/archives 12:01:31 total 16 12:01:31 drwxr-xr-x 3 jenkins jenkins 4096 May 28 11:50 . 12:01:31 drwxrwxr-x 9 jenkins jenkins 4096 May 28 11:50 .. 12:01:31 drwxr-xr-x 2 jenkins jenkins 4096 May 28 11:50 cost 12:01:31 -rw-r--r-- 1 jenkins jenkins 89 May 28 11:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:01:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:01:32 ---> package-listing.sh 12:01:32 ++ facter osfamily 12:01:32 ++ tr '[:upper:]' '[:lower:]' 12:01:32 + OS_FAMILY=debian 12:01:32 + workspace=/w/workspace/foundry_device-virtual-go_PR-471 12:01:32 + START_PACKAGES=/tmp/packages_start.txt 12:01:32 + END_PACKAGES=/tmp/packages_end.txt 12:01:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:01:32 + PACKAGES=/tmp/packages_start.txt 12:01:32 + '[' /w/workspace/foundry_device-virtual-go_PR-471 ']' 12:01:32 + PACKAGES=/tmp/packages_end.txt 12:01:32 + case "${OS_FAMILY}" in 12:01:32 + dpkg -l 12:01:32 + grep '^ii' 12:01:32 + '[' -f /tmp/packages_start.txt ']' 12:01:32 + '[' -f /tmp/packages_end.txt ']' 12:01:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:01:32 + '[' /w/workspace/foundry_device-virtual-go_PR-471 ']' 12:01:32 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-471/archives/ 12:01:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-471/archives/ [Pipeline] echo 12:01:32 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-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:01:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:33 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 12:01:33 $ 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-471/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-471 -v /w/workspace/foundry_device-virtual-go_PR-471:/w/workspace/foundry_device-virtual-go_PR-471:rw,z -v /w/workspace/foundry_device-virtual-go_PR-471@tmp:/w/workspace/foundry_device-virtual-go_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:01:34 $ docker top 242b153da43378eec2fe7bb7a21baba44f8c4573c8ea0ba590f69467b9f782f2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:34 + touch /tmp/pre-build-complete [Pipeline] sh 12:01:34 + mkdir -p /var/log/sysstat [Pipeline] sh 12:01:35 + ls /var/log/sa-host 12:01:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:35 provisioning config files... 12:01:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-471@tmp/config16506185961303292125tmp [Pipeline] { [Pipeline] echo 12:01:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:01:35 ---> create-netrc.sh [Pipeline] } 12:01:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:01:36 ---> python-tools-install.sh [Pipeline] echo 12:01:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:01:36 ---> sudo-logs.sh 12:01:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:01:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:01:37 ---> job-cost.sh 12:01:37 lf-activate-venv: SKIPPING 12:01:37 DEBUG: total: 0.2199999988079071 12:01:37 INFO: Retrieving Stack Cost... 12:01:37 INFO: Retrieving Pricing Info for: v3-standard-8 12:01:37 INFO: Archiving Costs [Pipeline] echo 12:01:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:01:38 ---> logs-deploy.sh 12:01:38 lf-activate-venv: SKIPPING 12:01:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-471/1 12:01:38 INFO: archiving workspace using pattern(s): 12:01:39 Archives upload complete. 12:01:39 INFO: archiving logs to Nexus