Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a+ce586e9030a93f7faa235112db1c98351cbead98 (f83768e08835b8f022ed203d1b094c76983c394f) 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-ssh286932073500881570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13325821612072592257.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3162579630602460091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh9170172894373257757.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12413640723475112233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-344 in /w/workspace/foundry_device-virtual-go_PR-468 [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-468 # 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 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a Merge succeeded, producing f43c55675ab34c1aed388119082f139de939403c Checking out Revision f43c55675ab34c1aed388119082f139de939403c (PR-468) > 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/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # 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 f43c55675ab34c1aed388119082f139de939403c # timeout=10 Commit message: "Merge commit 'ce586e9030a93f7faa235112db1c98351cbead98' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:13:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:13:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:26 ========================================================= 08:13:26 EdgeX Global Pipelines Version Info 08:13:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:13:27 ------------------- 08:13:27 stable info: 08:13:27 ------------------- 08:13:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:13:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:13:27 Message: update stable to v1.0.258 08:13:28 ------------------- 08:13:28 experimental info: 08:13:28 ------------------- 08:13:28 Commited By: **** collab-it+edgex@linuxfoundation.org 08:13:28 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:13:28 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-468 [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-468 [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-468 [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43c556 [Pipeline] echo 08:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:28 provisioning config files... 08:13:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config5645328141216329334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:29 ---> ****-login.sh 08:13:29 nexus3.edgexfoundry.org:10001 08:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:29 Configure a credential helper to remove this warning. See 08:13:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:29 08:13:29 Login Succeeded 08:13:29 nexus3.edgexfoundry.org:10002 08:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:29 Configure a credential helper to remove this warning. See 08:13:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:29 08:13:29 Login Succeeded 08:13:29 nexus3.edgexfoundry.org:10003 08:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:29 Configure a credential helper to remove this warning. See 08:13:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:29 08:13:29 Login Succeeded 08:13:29 nexus3.edgexfoundry.org:10004 08:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:30 Configure a credential helper to remove this warning. See 08:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:30 08:13:30 Login Succeeded 08:13:30 ****.io 08:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:30 Configure a credential helper to remove this warning. See 08:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:30 08:13:30 Login Succeeded 08:13:30 ---> ****-login.sh ends [Pipeline] } 08:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:13:30 + git rev-list -1 --merges f43c55675ab34c1aed388119082f139de939403c~1..f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo 08:13:30 -----------> git rev-list -1 --merges f43c55675ab34c1aed388119082f139de939403c~1..f43c55675ab34c1aed388119082f139de939403c f43c55675ab34c1aed388119082f139de939403c 08:13:30 f43c55675ab34c1aed388119082f139de939403c [false] [Pipeline] sh 08:13:31 + git log --format=format:%s -1 f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo 08:13:31 ========================================================= 08:13:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:13:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:13:31 + git log --format=format:%s -1 f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo 08:13:31 [semverPrep] GIT_COMMIT: f43c55675ab34c1aed388119082f139de939403c, Commit Message: Merge commit 'ce586e9030a93f7faa235112db1c98351cbead98' into HEAD [Pipeline] echo 08:13:31 [semverPrep] This is not a build commit. [Pipeline] sh 08:13:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:13:31 + grep -v github /etc/ssh/ssh_known_hosts 08:13:31 + [ -e /tmp/ssh_known_hosts ] 08:13:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:13:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:13:31 + sudo tee -a /etc/ssh/ssh_known_hosts 08:13:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:32 08:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:32 0.1.4: Pulling from edgex-devops/py-git-semver 08:13:32 b85a868b505f: Pulling fs layer 08:13:32 e2be974225ed: Pulling fs layer 08:13:32 339a4e72a1f5: Pulling fs layer 08:13:32 988bab9f4d93: Pulling fs layer 08:13:32 1469e6f7b9e6: Pulling fs layer 08:13:32 eaf3925da568: Pulling fs layer 08:13:32 bab4dde63d76: Pulling fs layer 08:13:32 bde34c3a00c8: Pulling fs layer 08:13:32 b352a97aabf1: Pulling fs layer 08:13:32 4872d77fe225: Pulling fs layer 08:13:32 5851b861e8e6: Pulling fs layer 08:13:32 988bab9f4d93: Waiting 08:13:32 1469e6f7b9e6: Waiting 08:13:32 eaf3925da568: Waiting 08:13:32 bab4dde63d76: Waiting 08:13:32 bde34c3a00c8: Waiting 08:13:32 b352a97aabf1: Waiting 08:13:32 4872d77fe225: Waiting 08:13:32 5851b861e8e6: Waiting 08:13:32 e2be974225ed: Download complete 08:13:32 988bab9f4d93: Verifying Checksum 08:13:32 988bab9f4d93: Download complete 08:13:32 1469e6f7b9e6: Verifying Checksum 08:13:32 1469e6f7b9e6: Download complete 08:13:32 eaf3925da568: Verifying Checksum 08:13:32 eaf3925da568: Download complete 08:13:32 339a4e72a1f5: Verifying Checksum 08:13:32 339a4e72a1f5: Download complete 08:13:32 bde34c3a00c8: Download complete 08:13:32 b352a97aabf1: Download complete 08:13:32 4872d77fe225: Download complete 08:13:32 5851b861e8e6: Verifying Checksum 08:13:32 5851b861e8e6: Download complete 08:13:32 b85a868b505f: Download complete 08:13:33 bab4dde63d76: Verifying Checksum 08:13:33 bab4dde63d76: Download complete 08:13:34 b85a868b505f: Pull complete 08:13:34 e2be974225ed: Pull complete 08:13:34 339a4e72a1f5: Pull complete 08:13:34 988bab9f4d93: Pull complete 08:13:34 1469e6f7b9e6: Pull complete 08:13:35 eaf3925da568: Pull complete 08:13:36 bab4dde63d76: Pull complete 08:13:36 bde34c3a00c8: Pull complete 08:13:36 b352a97aabf1: Pull complete 08:13:36 4872d77fe225: Pull complete 08:13:36 5851b861e8e6: Pull complete 08:13:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:37 prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container 08:13:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:13:39 $ docker top b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 -eo pid,comm 08:13:39 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). 08:13:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:13:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:39 [ssh-agent] Looking for ssh-agent implementation... 08:13:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:39 $ docker exec b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent 08:13:39 SSH_AUTH_SOCK=/tmp/ssh-v7qDdV1b04j0/agent.33 08:13:39 SSH_AGENT_PID=39 08:13:39 Running ssh-add (command line suppressed) 08:13:39 Identity added: /w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_3771140028124140583.key (/w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_3771140028124140583.key) 08:13:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:40 + git tag --points-at HEAD [Pipeline] } 08:13:40 $ docker exec --env ******** --env ******** b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent -k 08:13:40 unset SSH_AUTH_SOCK; 08:13:40 unset SSH_AGENT_PID; 08:13:40 echo Agent pid 39 killed; 08:13:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:13:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:40 [ssh-agent] Looking for ssh-agent implementation... 08:13:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:40 $ docker exec b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent 08:13:40 SSH_AUTH_SOCK=/tmp/ssh-MaJh8ywZE1fC/agent.72 08:13:40 SSH_AGENT_PID=78 08:13:40 Running ssh-add (command line suppressed) 08:13:40 Identity added: /w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_10718272678481531014.key (/w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_10718272678481531014.key) 08:13:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:41 + git semver init 08:13:41 2024-05-17 08:13:41,205 [run_init] DEBUG init version:0.0.0 force:False 08:13:41 2024-05-17 08:13:41,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-468/.semver 08:13:41 2024-05-17 08:13:41,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-468/.semver 08:13:41 2024-05-17 08:13:41,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-468/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-468, universal_newlines=False, shell=None, istream=None) 08:13:43 2024-05-17 08:13:42,702 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-468/.git/info/exclude 08:13:43 2024-05-17 08:13:42,702 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 with force:False 08:13:43 2024-05-17 08:13:42,702 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 08:13:43 2024-05-17 08:13:42,705 [execute] INFO git cat-file --batch-check 08:13:43 2024-05-17 08:13:42,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) 08:13:43 2024-05-17 08:13:42,711 [execute] INFO git cat-file --batch 08:13:43 2024-05-17 08:13:42,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) 08:13:43 2024-05-17 08:13:42,716 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 08:13:43 0.0.0 [Pipeline] } 08:13:43 $ docker exec --env ******** --env ******** b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent -k 08:13:43 unset SSH_AUTH_SOCK; 08:13:43 unset SSH_AGENT_PID; 08:13:43 echo Agent pid 78 killed; 08:13:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:43 + git semver [Pipeline] } 08:13:43 $ docker stop --time=1 b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 08:13:45 $ docker rm -f --volumes b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 [Pipeline] // withDockerContainer [Pipeline] sh 08:13:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:13:45 Stashed 1 file(s) [Pipeline] echo 08:13:45 [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 08:13:45 provisioning config files... 08:13:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config12347500092586231806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:46 ---> ****-login.sh 08:13:46 nexus3.edgexfoundry.org:10001 08:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:46 Configure a credential helper to remove this warning. See 08:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:46 08:13:46 Login Succeeded 08:13:46 nexus3.edgexfoundry.org:10002 08:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:46 Configure a credential helper to remove this warning. See 08:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:46 08:13:46 Login Succeeded 08:13:46 nexus3.edgexfoundry.org:10003 08:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:46 Configure a credential helper to remove this warning. See 08:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:46 08:13:46 Login Succeeded 08:13:46 nexus3.edgexfoundry.org:10004 08:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:46 Configure a credential helper to remove this warning. See 08:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:46 08:13:46 Login Succeeded 08:13:46 ****.io 08:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:46 Configure a credential helper to remove this warning. See 08:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:46 08:13:46 Login Succeeded 08:13:46 ---> ****-login.sh ends [Pipeline] } 08:13:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:13:46 ========================================================= 08:13:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:13:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:47 + 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 . 08:13:47 Sending build context to Docker daemon 37.73MB 08:13:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:13:47 Step 2/12 : FROM ${BASE} AS builder 08:13:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:13:47 619be1103602: Pulling fs layer 08:13:47 7862e08f4a3e: Pulling fs layer 08:13:47 5df492c9dc93: Pulling fs layer 08:13:47 7629e6793208: Pulling fs layer 08:13:47 4f4fb700ef54: Pulling fs layer 08:13:47 fb5054dd5b73: Pulling fs layer 08:13:47 eeca6798cff9: Pulling fs layer 08:13:47 aa269ceb94a6: Pulling fs layer 08:13:47 ada007ff1a6a: Pulling fs layer 08:13:47 4f4fb700ef54: Waiting 08:13:47 fb5054dd5b73: Waiting 08:13:47 eeca6798cff9: Waiting 08:13:47 aa269ceb94a6: Waiting 08:13:47 7629e6793208: Waiting 08:13:47 ada007ff1a6a: Waiting 08:13:47 7862e08f4a3e: Verifying Checksum 08:13:47 7862e08f4a3e: Download complete 08:13:47 7629e6793208: Verifying Checksum 08:13:47 7629e6793208: Download complete 08:13:47 4f4fb700ef54: Download complete 08:13:47 619be1103602: Verifying Checksum 08:13:47 619be1103602: Download complete 08:13:47 fb5054dd5b73: Download complete 08:13:47 eeca6798cff9: Verifying Checksum 08:13:47 eeca6798cff9: Download complete 08:13:47 619be1103602: Pull complete 08:13:47 ada007ff1a6a: Verifying Checksum 08:13:47 ada007ff1a6a: Download complete 08:13:47 7862e08f4a3e: Pull complete 08:13:48 5df492c9dc93: Verifying Checksum 08:13:48 5df492c9dc93: Download complete 08:13:48 aa269ceb94a6: Verifying Checksum 08:13:48 aa269ceb94a6: Download complete 08:13:51 5df492c9dc93: Pull complete 08:13:51 7629e6793208: Pull complete 08:13:51 4f4fb700ef54: Pull complete 08:13:51 fb5054dd5b73: Pull complete 08:13:51 eeca6798cff9: Pull complete 08:13:53 aa269ceb94a6: Pull complete 08:13:54 ada007ff1a6a: Pull complete 08:13:54 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 08:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:13:54 ---> f489d0715acc 08:13:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:13:58 ---> Running in 2d1e3b3f38f7 08:13:58 Removing intermediate container 2d1e3b3f38f7 08:13:58 ---> f4b6609dd82a 08:13:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:13:58 ---> Running in d6280fee7e0c 08:13:58 Removing intermediate container d6280fee7e0c 08:13:58 ---> 8af28bcb078d 08:13:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:13:58 ---> Running in 3735dffd0099 08:13:58 Removing intermediate container 3735dffd0099 08:13:58 ---> 1196a690ec67 08:13:58 Step 6/12 : WORKDIR /device-virtual-go 08:13:58 ---> Running in b490c56fbc14 08:13:58 Removing intermediate container b490c56fbc14 08:13:58 ---> 4e0f1c62aba2 08:13:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:13:58 ---> Running in 4c1f6cf1e567 08:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:13:58 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:13:58 (2/4) Installing libedit (20221030.3.1-r1) 08:13:58 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:13:58 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:13:58 Executing busybox-1.36.1-r5.trigger 08:13:58 OK: 268 MiB in 56 packages 08:13:59 Removing intermediate container 4c1f6cf1e567 08:13:59 ---> ebdff477989d 08:13:59 Step 8/12 : COPY go.mod vendor* ./ 08:13:59 ---> bc97bbccdb2c 08:13:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:13:59 ---> Running in fda05f81270a 08:14:00 Still waiting to schedule task 08:14:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:15:07 Removing intermediate container fda05f81270a 08:15:07 ---> e9538e15e1a4 08:15:07 Step 10/12 : COPY . . 08:15:07 ---> 186456f670e3 08:15:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:15:07 ---> Running in 5d14d85cd3a5 08:15:07 Removing intermediate container 5d14d85cd3a5 08:15:07 ---> d6091146bf09 08:15:07 Step 12/12 : RUN $MAKE 08:15:07 ---> Running in 9292c8be313a 08:15:07 noop 08:15:07 Removing intermediate container 9292c8be313a 08:15:07 ---> 6947d6c980f3 08:15:07 Successfully built 6947d6c980f3 08:15:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:07 + docker inspect -f . ci-base-image-x86_64 08:15:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:07 prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container 08:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:07 $ docker top f067260d0fddfcefcdde05b0899e3e0cb70fd81470fbfbc71607b767ca7e44d3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:08 + go version 08:15:08 go version go1.21.9 linux/amd64 [Pipeline] } 08:15:08 $ docker stop --time=1 f067260d0fddfcefcdde05b0899e3e0cb70fd81470fbfbc71607b767ca7e44d3 08:15:09 $ docker rm -f --volumes f067260d0fddfcefcdde05b0899e3e0cb70fd81470fbfbc71607b767ca7e44d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:09 + docker inspect -f . ci-base-image-x86_64 08:15:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:09 prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container 08:15:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:10 $ docker top f450b74eb9abca4e02d7bd6e3ddf7bbe2c2c33f8e74e332ca9ead1b55c1690f8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:10 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-468 [Pipeline] fileExists [Pipeline] sh 08:15:10 + make test 08:15:10 go test ./... -coverprofile=coverage.out 08:15:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:15:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:15:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 08:15:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-345 in /w/workspace/foundry_device-virtual-go_PR-468 [Pipeline] { [Pipeline] ws 08:15:42 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 08:15:42 go vet ./... 08:15:45 The recommended git tool is: git 08:15:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:15:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:15:46 ./bin/test-attribution-txt.sh 08:15:46 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 08:15:46 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 08:15:46 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 08:15:46 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 08:15:46 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 08:15:46 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 08:15:46 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 08:15:46 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 08:15:46 An attribution for golang.org/x/term is missing from Attribution.txt, please add 08:15:46 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 08:15:46 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 08:15:46 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 08:15:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:15:46 $ docker stop --time=1 f450b74eb9abca4e02d7bd6e3ddf7bbe2c2c33f8e74e332ca9ead1b55c1690f8 08:15:50 $ docker rm -f --volumes f450b74eb9abca4e02d7bd6e3ddf7bbe2c2c33f8e74e332ca9ead1b55c1690f8 [Pipeline] // withDockerContainer [Pipeline] sh 08:15:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:15:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:15:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:15:52 + ls -al . 08:15:52 total 268 08:15:52 drwxrwxr-x 8 jenkins jenkins 4096 May 17 08:15 . 08:15:52 drwxrwxr-x 4 jenkins jenkins 4096 May 17 08:13 .. 08:15:52 drwxrwxr-x 8 jenkins jenkins 4096 May 17 08:15 .git 08:15:52 drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:13 .github 08:15:52 -rw-rw-r-- 1 jenkins jenkins 272 May 17 08:13 .gitignore 08:15:52 -rw-rw-r-- 1 jenkins jenkins 41 May 17 08:13 .golangci.yml 08:15:52 drwxr-xr-x 3 jenkins jenkins 4096 May 17 08:13 .semver 08:15:52 -rw-rw-r-- 1 jenkins jenkins 9708 May 17 08:13 Attribution.txt 08:15:52 -rw-rw-r-- 1 jenkins jenkins 15941 May 17 08:13 CHANGELOG.md 08:15:52 -rw-rw-r-- 1 jenkins jenkins 1755 May 17 08:13 Dockerfile 08:15:52 -rw-rw-r-- 1 jenkins jenkins 677 May 17 08:13 GOVERNANCE.md 08:15:52 -rw-rw-r-- 1 jenkins jenkins 660 May 17 08:13 Jenkinsfile 08:15:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 08:13 LICENSE 08:15:52 -rw-rw-r-- 1 jenkins jenkins 1953 May 17 08:13 Makefile 08:15:52 -rw-rw-r-- 1 jenkins jenkins 623 May 17 08:13 OWNERS.md 08:15:52 -rw-rw-r-- 1 jenkins jenkins 4103 May 17 08:13 README.md 08:15:52 -rw-rw-r-- 1 jenkins jenkins 5 May 17 08:13 VERSION 08:15:52 drwxrwxr-x 2 jenkins jenkins 4096 May 17 08:13 bin 08:15:52 drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:13 cmd 08:15:52 -rw-r--r-- 1 jenkins jenkins 43063 May 17 08:15 coverage.out 08:15:52 -rw-rw-r-- 1 jenkins jenkins 6985 May 17 08:13 go.mod 08:15:52 -rw-rw-r-- 1 jenkins jenkins 101257 May 17 08:13 go.sum 08:15:52 drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:13 internal 08:15:52 -rw-rw-r-- 1 jenkins jenkins 235 May 17 08:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:52 + 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=f43c55675ab34c1aed388119082f139de939403c --label arch=amd64 --label version=0.0.0 . 08:15:52 Sending build context to Docker daemon 37.77MB 08:15:52 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:15:52 Step 2/26 : FROM ${BASE} AS builder 08:15:52 ---> 6947d6c980f3 08:15:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:15:52 ---> Running in be95ff3e1170 08:15:53 Removing intermediate container be95ff3e1170 08:15:53 ---> 4266537ba9ee 08:15:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:15:53 ---> Running in 1055c19a0aa4 08:15:53 Removing intermediate container 1055c19a0aa4 08:15:53 ---> a1a913d5ae13 08:15:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:15:53 ---> Running in a96fb16466e0 08:15:53 Removing intermediate container a96fb16466e0 08:15:53 ---> bebf6d0ddeda 08:15:53 Step 6/26 : WORKDIR /device-virtual-go 08:15:53 ---> Running in 7af132b3255f 08:15:53 Removing intermediate container 7af132b3255f 08:15:53 ---> 0ca1e27f9de3 08:15:53 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:53 ---> Running in 4b9109ccb56b 08:15:53 using credential edgex-jenkins-ssh 08:15:53 Cloning the remote Git repository 08:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:15:53 OK: 268 MiB in 56 packages 08:15:54 Removing intermediate container 4b9109ccb56b 08:15:54 ---> eb8db86c5111 08:15:54 Step 8/26 : COPY go.mod vendor* ./ 08:15:54 ---> 3faaafdc96da 08:15:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:54 ---> Running in 4819025f70e1 08:15:53 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:15:53 > git init /w/workspace/device-virtual-go/2 # timeout=10 08:15:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:53 > git --version # timeout=10 08:15:54 > git --version # 'git version 2.25.1' 08:15:54 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:55 Removing intermediate container 4819025f70e1 08:15:55 ---> fb05fd1a5a80 08:15:55 Step 10/26 : COPY . . 08:15:56 ---> 57923206bc05 08:15:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:15:56 ---> Running in 19935da8fe5f 08:15:56 Removing intermediate container 19935da8fe5f 08:15:56 ---> 8944a08ef4a7 08:15:56 Step 12/26 : RUN $MAKE 08:15:56 ---> Running in 9c5377d6d007 08:15:56 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.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:15:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:15:59 Merging remotes/origin/main commit ce586e9030a93f7faa235112db1c98351cbead98 into PR head commit 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a 08:15:59 Merge succeeded, producing f739391e595e84d4663b91e193669f51205ba41c 08:15:59 Checking out Revision f739391e595e84d4663b91e193669f51205ba41c (PR-468) 08:15:59 > git config core.sparsecheckout # timeout=10 08:15:59 > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # timeout=10 08:15:59 > git remote # timeout=10 08:15:59 > git config --get remote.origin.url # timeout=10 08:15:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:59 > git merge ce586e9030a93f7faa235112db1c98351cbead98 # timeout=10 08:15:59 > git rev-parse HEAD^{commit} # timeout=10 08:15:59 > git config core.sparsecheckout # timeout=10 08:15:59 > git checkout -f f739391e595e84d4663b91e193669f51205ba41c # timeout=10 08:16:03 Commit message: "Merge commit 'ce586e9030a93f7faa235112db1c98351cbead98' into HEAD" 08:16:03 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:16:04 % Total % Received % Xferd Average Speed Time Time Time Current 08:16:04 Dload Upload Total Spent Left Speed 08:16:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 08:16:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:16:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:16:05 + sudo tee /etc/docker/daemon.new 08:16:05 { 08:16:05 "registry-mirrors": [ 08:16:05 "https://nexus3.edgexfoundry.org:10001" 08:16:05 ], 08:16:05 "bip": "10.250.0.254/24", 08:16:05 "hosts": [ 08:16:05 "tcp://0.0.0.0:5555", 08:16:05 "unix:///var/run/docker.sock" 08:16:05 ], 08:16:05 "mtu": 1458, 08:16:05 "selinux-enabled": true, 08:16:05 "seccomp-profile": "/etc/docker/seccomp.json" 08:16:05 } [Pipeline] sh 08:16:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:16:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:24 provisioning config files... 08:16:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config391703270279169676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:24 ---> ****-login.sh 08:16:24 nexus3.edgexfoundry.org:10001 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 nexus3.edgexfoundry.org:10002 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 nexus3.edgexfoundry.org:10003 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:26 Configure a credential helper to remove this warning. See 08:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:26 08:16:26 Login Succeeded 08:16:26 nexus3.edgexfoundry.org:10004 08:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:26 Configure a credential helper to remove this warning. See 08:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:26 08:16:26 Login Succeeded 08:16:26 ****.io 08:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:26 Configure a credential helper to remove this warning. See 08:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:26 08:16:26 Login Succeeded 08:16:26 ---> ****-login.sh ends [Pipeline] } 08:16:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:27 ========================================================= 08:16:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:16:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:27 + 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 . 08:16:28 Sending build context to Docker daemon 19.07MB 08:16:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:16:28 Step 2/12 : FROM ${BASE} AS builder 08:16:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:16:28 c6b39de5b339: Pulling fs layer 08:16:28 a69c41024577: Pulling fs layer 08:16:28 d6de4b400683: Pulling fs layer 08:16:28 35cb2a7552d0: Pulling fs layer 08:16:28 4f4fb700ef54: Pulling fs layer 08:16:28 464afbd9ba4c: Pulling fs layer 08:16:28 00f215d4a9da: Pulling fs layer 08:16:28 d496ad576159: Pulling fs layer 08:16:28 35cb2a7552d0: Waiting 08:16:28 4f4fb700ef54: Waiting 08:16:28 464afbd9ba4c: Waiting 08:16:28 00f215d4a9da: Waiting 08:16:28 d496ad576159: Waiting 08:16:28 a69c41024577: Verifying Checksum 08:16:28 a69c41024577: Download complete 08:16:28 35cb2a7552d0: Verifying Checksum 08:16:28 35cb2a7552d0: Download complete 08:16:28 4f4fb700ef54: Verifying Checksum 08:16:28 4f4fb700ef54: Download complete 08:16:28 464afbd9ba4c: Verifying Checksum 08:16:28 464afbd9ba4c: Download complete 08:16:28 Removing intermediate container 9c5377d6d007 08:16:28 ---> f02a91b2f516 08:16:28 Step 13/26 : FROM alpine:3.18 08:16:28 3.18: Pulling from library/alpine 08:16:28 619be1103602: Already exists 08:16:28 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:16:28 Status: Downloaded newer image for alpine:3.18 08:16:28 ---> d3782b16ccc9 08:16:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:16:28 ---> Running in 8024463f3fab 08:16:28 Removing intermediate container 8024463f3fab 08:16:28 ---> d85aff2de0e5 08:16:28 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:16:28 ---> Running in 1b0205416ad5 08:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:16:28 c6b39de5b339: Verifying Checksum 08:16:28 c6b39de5b339: Download complete 08:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:16:28 d496ad576159: Verifying Checksum 08:16:28 d496ad576159: Download complete 08:16:29 (1/1) Installing dumb-init (1.2.5-r2) 08:16:29 Executing busybox-1.36.1-r5.trigger 08:16:29 OK: 7 MiB in 16 packages 08:16:29 Removing intermediate container 1b0205416ad5 08:16:29 ---> 76e074089afd 08:16:29 Step 16/26 : RUN apk --no-cache upgrade 08:16:29 ---> Running in 1c54788e6784 08:16:29 c6b39de5b339: Pull complete 08:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:16:30 a69c41024577: Pull complete 08:16:30 Upgrading critical system libraries and apk-tools: 08:16:30 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:16:30 Executing busybox-1.36.1-r5.trigger 08:16:30 Continuing the upgrade transaction with new apk-tools: 08:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:16:30 d6de4b400683: Verifying Checksum 08:16:30 d6de4b400683: Download complete 08:16:30 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:16:30 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 08:16:30 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 08:16:30 OK: 7 MiB in 16 packages 08:16:31 Removing intermediate container 1c54788e6784 08:16:31 ---> df482280aeea 08:16:31 Step 17/26 : WORKDIR / 08:16:31 ---> Running in 1efa460e7a67 08:16:31 Removing intermediate container 1efa460e7a67 08:16:31 ---> b042a2070d0c 08:16:31 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:16:31 ---> 1bc3d3a496be 08:16:31 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:16:31 ---> 5dce069d79d8 08:16:31 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:16:31 00f215d4a9da: Verifying Checksum 08:16:31 00f215d4a9da: Download complete 08:16:32 ---> 07ffd0bfa69b 08:16:32 Step 21/26 : EXPOSE 59900 08:16:32 ---> Running in 6ea321eda62a 08:16:32 Removing intermediate container 6ea321eda62a 08:16:32 ---> 1c30beaa48c7 08:16:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:16:32 ---> Running in b7da34b65d34 08:16:32 Removing intermediate container b7da34b65d34 08:16:32 ---> 063331ba56ab 08:16:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:16:32 ---> Running in fc1de86f9a73 08:16:32 Removing intermediate container fc1de86f9a73 08:16:32 ---> 12c76d71487f 08:16:32 Step 24/26 : LABEL arch=amd64 08:16:32 ---> Running in 368c551f2ec1 08:16:32 Removing intermediate container 368c551f2ec1 08:16:32 ---> bc587a513d0c 08:16:32 Step 25/26 : LABEL git_sha=f43c55675ab34c1aed388119082f139de939403c 08:16:32 ---> Running in 668e41f688ad 08:16:32 Removing intermediate container 668e41f688ad 08:16:32 ---> 16036c9cd410 08:16:32 Step 26/26 : LABEL version=0.0.0 08:16:32 ---> Running in 4b57d88257ed 08:16:32 Removing intermediate container 4b57d88257ed 08:16:32 ---> 5840436db4c0 08:16:32 [Warning] One or more build-args [ARCH] were not consumed 08:16:32 Successfully built 5840436db4c0 08:16:32 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 08:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:33 08:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:33 latest: Pulling from edgex-lftools-log-publisher 08:16:33 5eb5b503b376: Pulling fs layer 08:16:33 5c69ac0246d0: Pulling fs layer 08:16:33 ec43610c2a17: Pulling fs layer 08:16:33 3a2ae6a8a46f: Pulling fs layer 08:16:33 33b1e0a273af: Pulling fs layer 08:16:33 5d3b04190fa2: Pulling fs layer 08:16:33 2f39f015ded8: Pulling fs layer 08:16:33 3a2ae6a8a46f: Waiting 08:16:33 33b1e0a273af: Waiting 08:16:33 5d3b04190fa2: Waiting 08:16:33 2f39f015ded8: Waiting 08:16:33 5c69ac0246d0: Verifying Checksum 08:16:33 5c69ac0246d0: Download complete 08:16:33 3a2ae6a8a46f: Verifying Checksum 08:16:33 3a2ae6a8a46f: Download complete 08:16:33 33b1e0a273af: Verifying Checksum 08:16:33 33b1e0a273af: Download complete 08:16:33 5d3b04190fa2: Verifying Checksum 08:16:33 5d3b04190fa2: Download complete 08:16:33 ec43610c2a17: Verifying Checksum 08:16:33 ec43610c2a17: Download complete 08:16:33 5eb5b503b376: Verifying Checksum 08:16:33 5eb5b503b376: Download complete 08:16:34 2f39f015ded8: Verifying Checksum 08:16:34 5eb5b503b376: Pull complete 08:16:34 5c69ac0246d0: Pull complete 08:16:35 ec43610c2a17: Pull complete 08:16:35 3a2ae6a8a46f: Pull complete 08:16:35 33b1e0a273af: Pull complete 08:16:35 5d3b04190fa2: Pull complete 08:16:39 2f39f015ded8: Pull complete 08:16:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:40 prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container 08:16:40 $ 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-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:16:43 d6de4b400683: Pull complete 08:16:43 35cb2a7552d0: Pull complete 08:16:43 4f4fb700ef54: Pull complete 08:16:43 464afbd9ba4c: Pull complete 08:16:43 $ docker top 294a40783888038af17e693fdcf69ada256ff1c32b01a4960301f013f2124eb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:44 ---> job-cost.sh 08:16:44 lf-activate-venv: SKIPPING 08:16:44 INFO: No Stack... 08:16:44 INFO: Retrieving Pricing Info for: v3-standard-8 08:16:44 INFO: Archiving Costs [Pipeline] sh 08:16:45 + cat /w/workspace/foundry_device-virtual-go_PR-468/archives/cost.csv 08:16:45 + cut -d, -f6 [Pipeline] lock 08:16:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] 08:16:45 Resource [jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] did not exist. Created. 08:16:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:45 + echo total: 0.2199999988079071 [Pipeline] stash 08:16:45 Stashed 1 file(s) [Pipeline] } 08:16:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:45 $ docker stop --time=1 294a40783888038af17e693fdcf69ada256ff1c32b01a4960301f013f2124eb6 08:16:46 $ docker rm -f --volumes 294a40783888038af17e693fdcf69ada256ff1c32b01a4960301f013f2124eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:16:53 00f215d4a9da: Pull complete 08:16:53 d496ad576159: Pull complete 08:16:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 08:16:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:16:54 ---> f246e2811388 08:16:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:16:55 ---> Running in 06a4a45b0202 08:16:55 Removing intermediate container 06a4a45b0202 08:16:55 ---> d0e29adcb717 08:16:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:16:55 ---> Running in 0419a1cb136b 08:16:56 Removing intermediate container 0419a1cb136b 08:16:56 ---> 7f52a8f186ff 08:16:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:16:56 ---> Running in 7a8bcae6bddf 08:16:56 Removing intermediate container 7a8bcae6bddf 08:16:56 ---> 5cdbd130d2c1 08:16:56 Step 6/12 : WORKDIR /device-virtual-go 08:16:56 ---> Running in ec550bb72adb 08:16:56 Removing intermediate container ec550bb72adb 08:16:56 ---> 2eccccf57207 08:16:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:16:56 ---> Running in 4c283c980897 08:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:16:59 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:16:59 (2/4) Installing libedit (20221030.3.1-r1) 08:16:59 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:16:59 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:16:59 Executing busybox-1.36.1-r5.trigger 08:16:59 OK: 271 MiB in 56 packages 08:17:00 Removing intermediate container 4c283c980897 08:17:00 ---> 76be74cb58ee 08:17:00 Step 8/12 : COPY go.mod vendor* ./ 08:17:01 ---> 7e01f17e60ff 08:17:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:17:01 ---> Running in 0576e85247f9 08:18:53 Removing intermediate container 0576e85247f9 08:18:53 ---> 3980d0a989d0 08:18:53 Step 10/12 : COPY . . 08:18:53 ---> 101f0d159d79 08:18:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:18:53 ---> Running in 2d6d036f3484 08:18:53 Removing intermediate container 2d6d036f3484 08:18:53 ---> eb976db0d8f1 08:18:53 Step 12/12 : RUN $MAKE 08:18:53 ---> Running in e9e80a184ee4 08:18:53 noop 08:18:53 Removing intermediate container e9e80a184ee4 08:18:53 ---> e642fe0539a4 08:18:53 Successfully built e642fe0539a4 08:18:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:53 + docker inspect -f . ci-base-image-arm64 08:18:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:53 prd-ubuntu20.04-docker-arm64-4c-16g-345 does not seem to be running inside a container 08:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:18:54 $ docker top f39d4a7223ce35e909be09a47e78f2e1ebb08d4adccd85e9bb7c5105796af087 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:55 + go version 08:18:55 go version go1.21.9 linux/arm64 [Pipeline] } 08:18:55 $ docker stop --time=1 f39d4a7223ce35e909be09a47e78f2e1ebb08d4adccd85e9bb7c5105796af087 08:18:57 $ docker rm -f --volumes f39d4a7223ce35e909be09a47e78f2e1ebb08d4adccd85e9bb7c5105796af087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:58 + docker inspect -f . ci-base-image-arm64 08:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:58 prd-ubuntu20.04-docker-arm64-4c-16g-345 does not seem to be running inside a container 08:18:58 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:18:59 $ docker top b95c241662c20569879003c513de9632d268a00506c86195726042a72efec43a -eo pid,comm [Pipeline] { [Pipeline] sh 08:19:00 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 08:19:00 + make test 08:19:00 go test ./... -coverprofile=coverage.out 08:19:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:22:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:22:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.089s coverage: 58.4% of statements 08:22:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:22:13 go vet ./... 08:22:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:22:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:22:59 ./bin/test-attribution-txt.sh 08:22:59 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 08:22:59 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 08:22:59 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 08:22:59 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 08:22:59 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 08:22:59 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 08:22:59 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 08:22:59 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 08:22:59 An attribution for golang.org/x/term is missing from Attribution.txt, please add 08:22:59 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 08:22:59 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 08:22:59 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 08:22:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:22:59 $ docker stop --time=1 b95c241662c20569879003c513de9632d268a00506c86195726042a72efec43a 08:23:01 $ docker rm -f --volumes b95c241662c20569879003c513de9632d268a00506c86195726042a72efec43a [Pipeline] // withDockerContainer [Pipeline] sh 08:23:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:23:03 Warning: overwriting stash ‘coverage-report’ 08:23:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:23:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:23:04 + ls -al . 08:23:04 total 264 08:23:04 drwxrwxr-x 7 jenkins jenkins 4096 May 17 08:19 . 08:23:04 drwxrwxr-x 4 jenkins jenkins 4096 May 17 08:15 .. 08:23:04 drwxrwxr-x 8 jenkins jenkins 4096 May 17 08:15 .git 08:23:04 drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:15 .github 08:23:04 -rw-rw-r-- 1 jenkins jenkins 272 May 17 08:15 .gitignore 08:23:04 -rw-rw-r-- 1 jenkins jenkins 41 May 17 08:15 .golangci.yml 08:23:04 -rw-rw-r-- 1 jenkins jenkins 9708 May 17 08:15 Attribution.txt 08:23:04 -rw-rw-r-- 1 jenkins jenkins 15941 May 17 08:15 CHANGELOG.md 08:23:04 -rw-rw-r-- 1 jenkins jenkins 1755 May 17 08:15 Dockerfile 08:23:04 -rw-rw-r-- 1 jenkins jenkins 677 May 17 08:15 GOVERNANCE.md 08:23:04 -rw-rw-r-- 1 jenkins jenkins 660 May 17 08:15 Jenkinsfile 08:23:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 08:15 LICENSE 08:23:04 -rw-rw-r-- 1 jenkins jenkins 1953 May 17 08:15 Makefile 08:23:04 -rw-rw-r-- 1 jenkins jenkins 623 May 17 08:15 OWNERS.md 08:23:04 -rw-rw-r-- 1 jenkins jenkins 4103 May 17 08:15 README.md 08:23:04 -rw-rw-r-- 1 jenkins jenkins 5 May 17 08:13 VERSION 08:23:04 drwxrwxr-x 2 jenkins jenkins 4096 May 17 08:15 bin 08:23:04 drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:15 cmd 08:23:04 -rw-r--r-- 1 jenkins jenkins 43063 May 17 08:22 coverage.out 08:23:04 -rw-rw-r-- 1 jenkins jenkins 6985 May 17 08:15 go.mod 08:23:04 -rw-rw-r-- 1 jenkins jenkins 101257 May 17 08:15 go.sum 08:23:04 drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:15 internal 08:23:04 -rw-rw-r-- 1 jenkins jenkins 235 May 17 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:05 + 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=f739391e595e84d4663b91e193669f51205ba41c --label arch=arm64 --label version=0.0.0 . 08:23:05 Sending build context to Docker daemon 19.11MB 08:23:05 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:23:05 Step 2/26 : FROM ${BASE} AS builder 08:23:05 ---> e642fe0539a4 08:23:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:23:05 ---> Running in 4107ecaf3036 08:23:06 Removing intermediate container 4107ecaf3036 08:23:06 ---> f5b2f0ae05c4 08:23:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:23:06 ---> Running in a57ffa656e06 08:23:06 Removing intermediate container a57ffa656e06 08:23:06 ---> ae14ac699416 08:23:06 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:23:06 ---> Running in 63782b70b828 08:23:06 Removing intermediate container 63782b70b828 08:23:06 ---> 0f8f900d52de 08:23:06 Step 6/26 : WORKDIR /device-virtual-go 08:23:06 ---> Running in 3dfe632ba4ba 08:23:07 Removing intermediate container 3dfe632ba4ba 08:23:07 ---> 063e371c7d36 08:23:07 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:23:07 ---> Running in cd378317b754 08:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:23:09 OK: 271 MiB in 56 packages 08:23:10 Removing intermediate container cd378317b754 08:23:10 ---> 5a398895604e 08:23:10 Step 8/26 : COPY go.mod vendor* ./ 08:23:10 ---> d10d5e52370b 08:23:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:10 ---> Running in b385e46c8a0c 08:23:13 Removing intermediate container b385e46c8a0c 08:23:13 ---> 1d7db790d34c 08:23:13 Step 10/26 : COPY . . 08:23:14 ---> 76bc8fe1e13a 08:23:14 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:23:14 ---> Running in 3e196caa1c6f 08:23:14 Removing intermediate container 3e196caa1c6f 08:23:14 ---> d810d3cac425 08:23:14 Step 12/26 : RUN $MAKE 08:23:14 ---> Running in 26336b6ed43d 08:23:15 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.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:26:37 Removing intermediate container 26336b6ed43d 08:26:37 ---> 0be4d0cbc645 08:26:37 Step 13/26 : FROM alpine:3.18 08:26:37 3.18: Pulling from library/alpine 08:26:37 c6b39de5b339: Already exists 08:26:37 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:26:37 Status: Downloaded newer image for alpine:3.18 08:26:37 ---> 33abbf032149 08:26:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:26:37 ---> Running in 23f608df1597 08:26:37 Removing intermediate container 23f608df1597 08:26:37 ---> d62f2a14a54c 08:26:37 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:26:37 ---> Running in a9c94858f4f3 08:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:26:37 (1/1) Installing dumb-init (1.2.5-r2) 08:26:37 Executing busybox-1.36.1-r5.trigger 08:26:37 OK: 8 MiB in 16 packages 08:26:37 Removing intermediate container a9c94858f4f3 08:26:37 ---> a329f4278879 08:26:37 Step 16/26 : RUN apk --no-cache upgrade 08:26:37 ---> Running in 5fee486a901d 08:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:26:37 Upgrading critical system libraries and apk-tools: 08:26:37 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:26:37 Executing busybox-1.36.1-r5.trigger 08:26:37 Continuing the upgrade transaction with new apk-tools: 08:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:26:37 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:26:37 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 08:26:37 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 08:26:37 OK: 8 MiB in 16 packages 08:26:37 Removing intermediate container 5fee486a901d 08:26:37 ---> 6d282698a5e7 08:26:37 Step 17/26 : WORKDIR / 08:26:37 ---> Running in e1cdfe9ea612 08:26:37 Removing intermediate container e1cdfe9ea612 08:26:37 ---> fea5eed46c3c 08:26:37 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:26:37 ---> 9c2841cca3f7 08:26:37 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:26:37 ---> 4712b6da0c0a 08:26:37 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:26:38 ---> b1652ad6c8dd 08:26:38 Step 21/26 : EXPOSE 59900 08:26:38 ---> Running in 19065853f836 08:26:38 Removing intermediate container 19065853f836 08:26:38 ---> 1734bd187907 08:26:38 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:26:38 ---> Running in 249804e72c56 08:26:38 Removing intermediate container 249804e72c56 08:26:38 ---> 37eade78f1fe 08:26:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:26:39 ---> Running in 18663be3e664 08:26:39 Removing intermediate container 18663be3e664 08:26:39 ---> a58d3bc9dbe2 08:26:39 Step 24/26 : LABEL arch=arm64 08:26:39 ---> Running in bfec2c5329b4 08:26:39 Removing intermediate container bfec2c5329b4 08:26:39 ---> 44312a7b12cc 08:26:39 Step 25/26 : LABEL git_sha=f739391e595e84d4663b91e193669f51205ba41c 08:26:39 ---> Running in 114eea58bd28 08:26:39 Removing intermediate container 114eea58bd28 08:26:39 ---> 8a5d31fdcd40 08:26:39 Step 26/26 : LABEL version=0.0.0 08:26:40 ---> Running in afb87f51057f 08:26:40 Removing intermediate container afb87f51057f 08:26:40 ---> aa29cf0d6600 08:26:40 [Warning] One or more build-args [ARCH] were not consumed 08:26:40 Successfully built aa29cf0d6600 08:26:40 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 08:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:40 08:26:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:41 arm64: Pulling from edgex-lftools-log-publisher 08:26:41 8998bd30e6a1: Pulling fs layer 08:26:41 04944245beec: Pulling fs layer 08:26:41 699f458cf7ca: Pulling fs layer 08:26:41 765212b225bb: Pulling fs layer 08:26:41 f23df028b6ca: Pulling fs layer 08:26:41 d65c8cfc05b1: Pulling fs layer 08:26:41 2437ff75d9bd: Pulling fs layer 08:26:41 f23df028b6ca: Waiting 08:26:41 d65c8cfc05b1: Waiting 08:26:41 765212b225bb: Waiting 08:26:41 2437ff75d9bd: Waiting 08:26:41 04944245beec: Verifying Checksum 08:26:41 04944245beec: Download complete 08:26:41 765212b225bb: Verifying Checksum 08:26:41 765212b225bb: Download complete 08:26:41 f23df028b6ca: Verifying Checksum 08:26:41 f23df028b6ca: Download complete 08:26:41 d65c8cfc05b1: Verifying Checksum 08:26:41 d65c8cfc05b1: Download complete 08:26:41 699f458cf7ca: Verifying Checksum 08:26:41 699f458cf7ca: Download complete 08:26:42 8998bd30e6a1: Verifying Checksum 08:26:42 8998bd30e6a1: Download complete 08:26:44 2437ff75d9bd: Verifying Checksum 08:26:44 2437ff75d9bd: Download complete 08:26:46 8998bd30e6a1: Pull complete 08:26:47 04944245beec: Pull complete 08:26:48 699f458cf7ca: Pull complete 08:26:48 765212b225bb: Pull complete 08:26:49 f23df028b6ca: Pull complete 08:26:49 d65c8cfc05b1: Pull complete 08:27:07 2437ff75d9bd: Pull complete 08:27:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:27:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:27:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:08 prd-ubuntu20.04-docker-arm64-4c-16g-345 does not seem to be running inside a container 08:27:08 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:27:10 $ docker top 8017a6631e5f72c6072c4fec776ab79cc9e134839b22a810ee7ae49eda33934e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:11 ---> job-cost.sh 08:27:11 lf-activate-venv: SKIPPING 08:27:11 INFO: No Stack... 08:27:11 INFO: Retrieving Pricing Info for: v3-standard-4 08:27:14 INFO: Archiving Costs [Pipeline] sh 08:27:14 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 08:27:14 + cut -d, -f6 [Pipeline] lock 08:27:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] 08:27:14 Resource [jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] did not exist. Created. 08:27:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:15 /w/workspace/device-virtual-go/2@tmp/durable-b60a8a75/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:27:16 + echo total: 0.10999999940395355 [Pipeline] stash 08:27:16 Warning: overwriting stash ‘stack-cost’ 08:27:16 Stashed 1 file(s) [Pipeline] } 08:27:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:27:16 $ docker stop --time=1 8017a6631e5f72c6072c4fec776ab79cc9e134839b22a810ee7ae49eda33934e 08:27:17 $ docker rm -f --volumes 8017a6631e5f72c6072c4fec776ab79cc9e134839b22a810ee7ae49eda33934e [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 08:27:18 provisioning config files... 08:27:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config205328597769976140tmp [Pipeline] { [Pipeline] sh 08:27:18 + set +x 08:27:18 + + bash -s -- 08:27:18 curl -s https://codecov.io/bash 08:27:18 08:27:18 _____ _ 08:27:18 / ____| | | 08:27:18 | | ___ __| | ___ ___ _____ __ 08:27:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:27:18 | |___| (_) | (_| | __/ (_| (_) \ V / 08:27:18 \_____\___/ \__,_|\___|\___\___/ \_/ 08:27:18 Bash-1.0.6 08:27:18 08:27:18 08:27:18 ==> git version 2.25.1 found 08:27:18 ==> 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 08:27:18 Release-Date: 2020-01-08 08:27:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:27:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:27:18 ==> Jenkins CI detected. 08:27:18 current dir:  /w/workspace/foundry_device-virtual-go_PR-468 08:27:18 project root: . 08:27:18 --> token set from env 08:27:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:27:18 ==> Running gcov in . (disable via -X gcov) 08:27:18 ==> Python coveragepy not found 08:27:18 ==> Searching for coverage reports in: 08:27:18 + . 08:27:18 -> Found 1 reports 08:27:18 ==> Detecting git/mercurial file structure 08:27:18 ==> Reading reports 08:27:18 + ./coverage.out bytes=43063 08:27:18 ==> Appending adjustments 08:27:18 https://docs.codecov.io/docs/fixing-reports 08:27:18 + Found adjustments 08:27:18 ==> Gzipping contents 08:27:18 8.0K /tmp/codecov.lSgU3N.gz 08:27:18 ==> Uploading reports 08:27:18 url: https://codecov.io 08:27:18 query: branch=PR-468&commit=f43c55675ab34c1aed388119082f139de939403c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-468%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=468&job=&cmd_args= 08:27:18 -> Pinging Codecov 08:27:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-468&commit=f43c55675ab34c1aed388119082f139de939403c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-468%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=468&job=&cmd_args= 08:27:18 -> Uploading to 08:27:18 https://storage.googleapis.com/codecov/v4/raw/2024-05-17/5E52B4B073DB2E39498172D8E973AA87/f43c55675ab34c1aed388119082f139de939403c/e0671072-0800-4df8-ab76-26e2eebad721.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240517%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240517T082718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2edd0e1e7cb73b8efb90e9f4f3ceafb69e6848a4ef3cb15a250477bd84177ebc 08:27:18 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:18 Dload Upload Total Spent Left Speed 08:27:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 20912 --:--:-- --:--:-- --:--:-- 20912 08:27:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f43c55675ab34c1aed388119082f139de939403c [Pipeline] } 08:27:19 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 08:27:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-468/archives ] 08:27:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-468/archives 08:27:19 total 16 08:27:19 drwxr-xr-x 3 root root 4096 May 17 08:16 . 08:27:19 drwxrwxr-x 9 jenkins jenkins 4096 May 17 08:16 .. 08:27:19 drwxr-xr-x 2 root root 4096 May 17 08:16 cost 08:27:19 -rw-r--r-- 1 root root 89 May 17 08:16 cost.csv 08:27:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-468/archives 08:27:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-468/archives 08:27:19 total 16 08:27:19 drwxr-xr-x 3 jenkins jenkins 4096 May 17 08:16 . 08:27:19 drwxrwxr-x 9 jenkins jenkins 4096 May 17 08:16 .. 08:27:19 drwxr-xr-x 2 jenkins jenkins 4096 May 17 08:16 cost 08:27:19 -rw-r--r-- 1 jenkins jenkins 89 May 17 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:27:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:27:21 ---> package-listing.sh 08:27:21 ++ facter osfamily 08:27:21 ++ tr '[:upper:]' '[:lower:]' 08:27:21 + OS_FAMILY=debian 08:27:21 + workspace=/w/workspace/foundry_device-virtual-go_PR-468 08:27:21 + START_PACKAGES=/tmp/packages_start.txt 08:27:21 + END_PACKAGES=/tmp/packages_end.txt 08:27:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:27:21 + PACKAGES=/tmp/packages_start.txt 08:27:21 + '[' /w/workspace/foundry_device-virtual-go_PR-468 ']' 08:27:21 + PACKAGES=/tmp/packages_end.txt 08:27:21 + case "${OS_FAMILY}" in 08:27:21 + dpkg -l 08:27:21 + grep '^ii' 08:27:21 + '[' -f /tmp/packages_start.txt ']' 08:27:21 + '[' -f /tmp/packages_end.txt ']' 08:27:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:27:21 + '[' /w/workspace/foundry_device-virtual-go_PR-468 ']' 08:27:21 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-468/archives/ 08:27:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-468/archives/ [Pipeline] echo 08:27:21 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-468/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:27:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:22 prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container 08:27:22 $ 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-468/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-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@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 08:27:22 $ docker top 11930c550e7594c39f3873ac16b6dc77814f7d2b171ba65ec116532535825a15 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:23 + touch /tmp/pre-build-complete [Pipeline] sh 08:27:23 + mkdir -p /var/log/sysstat [Pipeline] sh 08:27:23 + ls /var/log/sa-host 08:27:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:23 provisioning config files... 08:27:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config10410086687991262613tmp [Pipeline] { [Pipeline] echo 08:27:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:27:24 ---> create-netrc.sh [Pipeline] } 08:27:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:27:24 ---> python-tools-install.sh [Pipeline] echo 08:27:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:27:24 ---> sudo-logs.sh 08:27:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:27:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:27:25 ---> job-cost.sh 08:27:25 lf-activate-venv: SKIPPING 08:27:25 DEBUG: total: 0.2199999988079071 08:27:25 INFO: Retrieving Stack Cost... 08:27:25 INFO: Retrieving Pricing Info for: v3-standard-8 08:27:25 INFO: Archiving Costs [Pipeline] echo 08:27:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:27:26 ---> logs-deploy.sh 08:27:26 lf-activate-venv: SKIPPING 08:27:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-468/2 08:27:26 INFO: archiving workspace using pattern(s): 08:27:27 Archives upload complete. 08:27:27 INFO: archiving logs to Nexus