Pull request #455 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b+855a1f59a7147df874c77670ab8284c3d3963227 (91f570e54b1edaf7b25db3493c88774283f5fb89) 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-ssh16462633083127385673.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-ssh18113900880357227139.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15039397890456160010.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10706705019397383168.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1559392168043176311.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-455/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-455/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh245087180098762746.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-25047 in /w/workspace/foundry_device-virtual-go_PR-455 [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-455 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 855a1f59a7147df874c77670ab8284c3d3963227 into PR head commit 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b Merge succeeded, producing 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b Checking out Revision 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b (PR-455) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b # 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 855a1f59a7147df874c77670ab8284c3d3963227 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:41:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:41:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:41:26 ========================================================= 11:41:26 EdgeX Global Pipelines Version Info 11:41:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:41:30 ------------------- 11:41:30 stable info: 11:41:30 ------------------- 11:41:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:41:30 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:41:30 Message: update stable to v1.0.258 11:41:30 ------------------- 11:41:30 experimental info: 11:41:30 ------------------- 11:41:30 Commited By: **** collab-it+edgex@linuxfoundation.org 11:41:30 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:41:30 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:41:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:41:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-455 [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-455 [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-455 [Pipeline] echo 11:41:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b [Pipeline] echo 11:41:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39c04a1 [Pipeline] echo 11:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:33 provisioning config files... 11:41:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-455@tmp/config9984777458608564789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:33 ---> ****-login.sh 11:41:33 nexus3.edgexfoundry.org:10001 11:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:34 Configure a credential helper to remove this warning. See 11:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:34 11:41:34 Login Succeeded 11:41:34 nexus3.edgexfoundry.org:10002 11:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:34 Configure a credential helper to remove this warning. See 11:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:34 11:41:34 Login Succeeded 11:41:34 nexus3.edgexfoundry.org:10003 11:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:34 Configure a credential helper to remove this warning. See 11:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:34 11:41:34 Login Succeeded 11:41:34 nexus3.edgexfoundry.org:10004 11:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:34 Configure a credential helper to remove this warning. See 11:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:34 11:41:34 Login Succeeded 11:41:34 ****.io 11:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:35 Configure a credential helper to remove this warning. See 11:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:35 11:41:35 Login Succeeded 11:41:35 ---> ****-login.sh ends [Pipeline] } 11:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:41:35 + git rev-list -1 --merges 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b~1..39c04a1bbd3208ba1bc58dd07766fb87a90baa4b [Pipeline] echo 11:41:35 -----------> git rev-list -1 --merges 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b~1..39c04a1bbd3208ba1bc58dd07766fb87a90baa4b 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b [false] [Pipeline] sh 11:41:36 + git log --format=format:%s -1 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b [Pipeline] echo 11:41:36 ========================================================= 11:41:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:41:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:36 + git log --format=format:%s -1 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b [Pipeline] echo 11:41:36 [semverPrep] GIT_COMMIT: 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:41:36 [semverPrep] This is not a build commit. [Pipeline] sh 11:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:41:37 + grep -v github /etc/ssh/ssh_known_hosts 11:41:37 + [ -e /tmp/ssh_known_hosts ] 11:41:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:41:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:41:37 + sudo tee -a /etc/ssh/ssh_known_hosts 11:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:37 11:41:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:38 0.1.4: Pulling from edgex-devops/py-git-semver 11:41:38 b85a868b505f: Pulling fs layer 11:41:38 e2be974225ed: Pulling fs layer 11:41:38 339a4e72a1f5: Pulling fs layer 11:41:38 988bab9f4d93: Pulling fs layer 11:41:38 1469e6f7b9e6: Pulling fs layer 11:41:38 eaf3925da568: Pulling fs layer 11:41:38 bab4dde63d76: Pulling fs layer 11:41:38 bde34c3a00c8: Pulling fs layer 11:41:38 b352a97aabf1: Pulling fs layer 11:41:38 988bab9f4d93: Waiting 11:41:38 1469e6f7b9e6: Waiting 11:41:38 4872d77fe225: Pulling fs layer 11:41:38 5851b861e8e6: Pulling fs layer 11:41:38 eaf3925da568: Waiting 11:41:38 bab4dde63d76: Waiting 11:41:38 bde34c3a00c8: Waiting 11:41:38 b352a97aabf1: Waiting 11:41:38 4872d77fe225: Waiting 11:41:38 5851b861e8e6: Waiting 11:41:38 e2be974225ed: Download complete 11:41:38 988bab9f4d93: Verifying Checksum 11:41:38 988bab9f4d93: Download complete 11:41:38 1469e6f7b9e6: Verifying Checksum 11:41:38 1469e6f7b9e6: Download complete 11:41:38 eaf3925da568: Verifying Checksum 11:41:38 eaf3925da568: Download complete 11:41:38 339a4e72a1f5: Verifying Checksum 11:41:38 339a4e72a1f5: Download complete 11:41:38 bde34c3a00c8: Verifying Checksum 11:41:38 bde34c3a00c8: Download complete 11:41:38 b352a97aabf1: Download complete 11:41:38 4872d77fe225: Verifying Checksum 11:41:38 4872d77fe225: Download complete 11:41:38 5851b861e8e6: Verifying Checksum 11:41:38 5851b861e8e6: Download complete 11:41:38 b85a868b505f: Verifying Checksum 11:41:38 b85a868b505f: Download complete 11:41:38 bab4dde63d76: Verifying Checksum 11:41:38 bab4dde63d76: Download complete 11:41:39 b85a868b505f: Pull complete 11:41:39 e2be974225ed: Pull complete 11:41:40 339a4e72a1f5: Pull complete 11:41:40 988bab9f4d93: Pull complete 11:41:40 1469e6f7b9e6: Pull complete 11:41:40 eaf3925da568: Pull complete 11:41:42 bab4dde63d76: Pull complete 11:41:42 bde34c3a00c8: Pull complete 11:41:42 b352a97aabf1: Pull complete 11:41:42 4872d77fe225: Pull complete 11:41:42 5851b861e8e6: Pull complete 11:41:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:43 prd-ubuntu20.04-docker-8c-8g-25047 does not seem to be running inside a container 11:41:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-455 -v /w/workspace/foundry_device-virtual-go_PR-455:/w/workspace/foundry_device-virtual-go_PR-455:rw,z -v /w/workspace/foundry_device-virtual-go_PR-455@tmp:/w/workspace/foundry_device-virtual-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:41:46 $ docker top 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f -eo pid,comm 11:41:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:41:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:41:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:41:47 [ssh-agent] Looking for ssh-agent implementation... 11:41:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:41:47 $ docker exec 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f ssh-agent 11:41:47 SSH_AUTH_SOCK=/tmp/ssh-gj2KwniW9l6g/agent.32 11:41:47 SSH_AGENT_PID=38 11:41:47 Running ssh-add (command line suppressed) 11:41:47 Identity added: /w/workspace/foundry_device-virtual-go_PR-455@tmp/private_key_8135121120195070848.key (/w/workspace/foundry_device-virtual-go_PR-455@tmp/private_key_8135121120195070848.key) 11:41:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:41:47 + git tag --points-at HEAD [Pipeline] } 11:41:47 $ docker exec --env ******** --env ******** 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f ssh-agent -k 11:41:47 unset SSH_AUTH_SOCK; 11:41:47 unset SSH_AGENT_PID; 11:41:47 echo Agent pid 38 killed; 11:41:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:41:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:41:48 [ssh-agent] Looking for ssh-agent implementation... 11:41:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:41:48 $ docker exec 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f ssh-agent 11:41:48 SSH_AUTH_SOCK=/tmp/ssh-3Pfp11Fb6qhR/agent.71 11:41:48 SSH_AGENT_PID=77 11:41:48 Running ssh-add (command line suppressed) 11:41:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-455@tmp/private_key_11199135345542721634.key (/w/workspace/foundry_device-virtual-go_PR-455@tmp/private_key_11199135345542721634.key) 11:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:41:48 + git semver init 11:41:49 2023-12-14 11:41:49,069 [run_init] DEBUG init version:0.0.0 force:False 11:41:49 2023-12-14 11:41:49,070 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-455/.semver 11:41:49 2023-12-14 11:41:49,070 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-455/.semver 11:41:49 2023-12-14 11:41:49,070 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-455/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-455, universal_newlines=False, shell=None, istream=None) 11:41:51 2023-12-14 11:41:51,062 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-455/.git/info/exclude 11:41:51 2023-12-14 11:41:51,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-455/.semver/PR-455 with force:False 11:41:51 2023-12-14 11:41:51,063 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-455/.semver/PR-455 11:41:51 2023-12-14 11:41:51,068 [execute] INFO git cat-file --batch-check 11:41:51 2023-12-14 11:41:51,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-455/.semver, universal_newlines=False, shell=None, istream=) 11:41:51 2023-12-14 11:41:51,076 [execute] INFO git cat-file --batch 11:41:51 2023-12-14 11:41:51,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-455/.semver, universal_newlines=False, shell=None, istream=) 11:41:51 2023-12-14 11:41:51,081 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-455/.semver/PR-455 11:41:51 0.0.0 [Pipeline] } 11:41:51 $ docker exec --env ******** --env ******** 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f ssh-agent -k 11:41:51 unset SSH_AUTH_SOCK; 11:41:51 unset SSH_AGENT_PID; 11:41:51 echo Agent pid 77 killed; 11:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:41:52 + git semver [Pipeline] } 11:41:52 $ docker stop --time=1 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f 11:41:53 $ docker rm -f --volumes 95b7c0eb86ac74b2099a0e0891920d9d95e4a2a75688f13ddab9e205e42ef10f [Pipeline] // withDockerContainer [Pipeline] sh 11:41:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:41:54 Stashed 1 file(s) [Pipeline] echo 11:41:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:55 provisioning config files... 11:41:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-455@tmp/config3810084635297578603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:56 ---> ****-login.sh 11:41:56 nexus3.edgexfoundry.org:10001 11:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:56 Configure a credential helper to remove this warning. See 11:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:56 11:41:56 Login Succeeded 11:41:56 nexus3.edgexfoundry.org:10002 11:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:56 Configure a credential helper to remove this warning. See 11:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:56 11:41:56 Login Succeeded 11:41:56 nexus3.edgexfoundry.org:10003 11:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:56 Configure a credential helper to remove this warning. See 11:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:56 11:41:56 Login Succeeded 11:41:56 nexus3.edgexfoundry.org:10004 11:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:56 Configure a credential helper to remove this warning. See 11:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:56 11:41:56 Login Succeeded 11:41:56 ****.io 11:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:41:56 Configure a credential helper to remove this warning. See 11:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:41:56 11:41:56 Login Succeeded 11:41:56 ---> ****-login.sh ends [Pipeline] } 11:41:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:41:57 ========================================================= 11:41:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:41:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:41:57 Sending build context to Docker daemon 31.58MB 11:41:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:41:57 Step 2/12 : FROM ${BASE} AS builder 11:41:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:41:58 7264a8db6415: Pulling fs layer 11:41:58 c4d48a809fc2: Pulling fs layer 11:41:58 4f1c88b9dad5: Pulling fs layer 11:41:58 ad3a456e5733: Pulling fs layer 11:41:58 69c7f0334f64: Pulling fs layer 11:41:58 1f1c1a5573a3: Pulling fs layer 11:41:58 ce7588e14bc9: Pulling fs layer 11:41:58 b5e4710f87ac: Pulling fs layer 11:41:58 ad3a456e5733: Waiting 11:41:58 69c7f0334f64: Waiting 11:41:58 1f1c1a5573a3: Waiting 11:41:58 ce7588e14bc9: Waiting 11:41:58 b5e4710f87ac: Waiting 11:41:58 c4d48a809fc2: Verifying Checksum 11:41:58 c4d48a809fc2: Download complete 11:41:58 ad3a456e5733: Verifying Checksum 11:41:58 ad3a456e5733: Download complete 11:41:58 69c7f0334f64: Verifying Checksum 11:41:58 69c7f0334f64: Download complete 11:41:58 7264a8db6415: Verifying Checksum 11:41:58 7264a8db6415: Download complete 11:41:58 1f1c1a5573a3: Verifying Checksum 11:41:58 1f1c1a5573a3: Download complete 11:41:58 7264a8db6415: Pull complete 11:41:58 b5e4710f87ac: Verifying Checksum 11:41:58 b5e4710f87ac: Download complete 11:41:58 c4d48a809fc2: Pull complete 11:41:58 4f1c88b9dad5: Verifying Checksum 11:41:58 4f1c88b9dad5: Download complete 11:41:58 ce7588e14bc9: Verifying Checksum 11:41:58 ce7588e14bc9: Download complete 11:42:02 4f1c88b9dad5: Pull complete 11:42:02 ad3a456e5733: Pull complete 11:42:02 69c7f0334f64: Pull complete 11:42:02 1f1c1a5573a3: Pull complete 11:42:03 ce7588e14bc9: Pull complete 11:42:04 b5e4710f87ac: Pull complete 11:42:04 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 11:42:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:42:04 ---> 88b5674ff536 11:42:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:42:09 ---> Running in c8107a64fa0c 11:42:09 Removing intermediate container c8107a64fa0c 11:42:09 ---> 06efd1dccffa 11:42:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:42:09 ---> Running in e06bf9880579 11:42:09 Removing intermediate container e06bf9880579 11:42:09 ---> 87fb1fa7139c 11:42:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:42:09 ---> Running in 882dcf6e8ce9 11:42:09 Removing intermediate container 882dcf6e8ce9 11:42:09 ---> 574b265e8644 11:42:09 Step 6/12 : WORKDIR /device-virtual-go 11:42:09 ---> Running in 47ef595cbecc 11:42:09 Removing intermediate container 47ef595cbecc 11:42:09 ---> 9642261813c6 11:42:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:42:09 ---> Running in 6d58dfb2c173 11:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:42:10 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:42:10 (2/4) Installing libedit (20221030.3.1-r1) 11:42:10 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:42:10 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:42:10 Executing busybox-1.36.1-r5.trigger 11:42:10 OK: 268 MiB in 56 packages 11:42:10 Still waiting to schedule task 11:42:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:42:10 Removing intermediate container 6d58dfb2c173 11:42:10 ---> 9df18b4e53dd 11:42:10 Step 8/12 : COPY go.mod vendor* ./ 11:42:10 ---> 643b2449f367 11:42:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:42:10 ---> Running in d5116076ac8c 11:43:23 Removing intermediate container d5116076ac8c 11:43:23 ---> 29ad7bb5cdba 11:43:23 Step 10/12 : COPY . . 11:43:23 ---> c31bca34684f 11:43:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:23 ---> Running in d0306d33fc1b 11:43:23 Removing intermediate container d0306d33fc1b 11:43:23 ---> d2785ad3ca73 11:43:23 Step 12/12 : RUN $MAKE 11:43:23 ---> Running in 437c59aac52d 11:43:23 noop 11:43:23 Removing intermediate container 437c59aac52d 11:43:23 ---> 8d4ed9112867 11:43:23 Successfully built 8d4ed9112867 11:43:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:23 + docker inspect -f . ci-base-image-x86_64 11:43:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:23 prd-ubuntu20.04-docker-8c-8g-25047 does not seem to be running inside a container 11:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-455 -v /w/workspace/foundry_device-virtual-go_PR-455:/w/workspace/foundry_device-virtual-go_PR-455:rw,z -v /w/workspace/foundry_device-virtual-go_PR-455@tmp:/w/workspace/foundry_device-virtual-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:43:24 $ docker top 3670f800f35d3727bc5a7127a23da991ad6e4f5f1458417f68674712b4a2c308 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:24 + go version 11:43:24 go version go1.21.0 linux/amd64 [Pipeline] } 11:43:24 $ docker stop --time=1 3670f800f35d3727bc5a7127a23da991ad6e4f5f1458417f68674712b4a2c308 11:43:25 $ docker rm -f --volumes 3670f800f35d3727bc5a7127a23da991ad6e4f5f1458417f68674712b4a2c308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:26 + docker inspect -f . ci-base-image-x86_64 11:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:27 prd-ubuntu20.04-docker-8c-8g-25047 does not seem to be running inside a container 11:43:27 $ 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-455 -v /w/workspace/foundry_device-virtual-go_PR-455:/w/workspace/foundry_device-virtual-go_PR-455:rw,z -v /w/workspace/foundry_device-virtual-go_PR-455@tmp:/w/workspace/foundry_device-virtual-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:43:27 $ docker top bb5d21d795599c8664176fb2511f6eec4a924143463c8db4edfa3e822705655b -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:27 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-455 [Pipeline] fileExists [Pipeline] sh 11:43:28 + make test 11:43:28 go test ./... -coverprofile=coverage.out 11:43:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:43:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:43:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements 11:43:44 go vet ./... 11:43:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:47 ./bin/test-attribution-txt.sh [Pipeline] echo 11:43:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:43:47 $ docker stop --time=1 bb5d21d795599c8664176fb2511f6eec4a924143463c8db4edfa3e822705655b 11:43:51 $ docker rm -f --volumes bb5d21d795599c8664176fb2511f6eec4a924143463c8db4edfa3e822705655b [Pipeline] // withDockerContainer [Pipeline] sh 11:43:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:53 + ls -al . 11:43:53 total 200 11:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 11:43 . 11:43:53 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 11:41 .. 11:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 11:43 .git 11:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 11:41 .github 11:43:53 -rw-rw-r-- 1 jenkins jenkins 272 Dec 14 11:41 .gitignore 11:43:53 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 11:41 .golangci.yml 11:43:53 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 11:41 .semver 11:43:53 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 14 11:41 Attribution.txt 11:43:53 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 14 11:41 CHANGELOG.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 14 11:41 Dockerfile 11:43:53 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 11:41 GOVERNANCE.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 660 Dec 14 11:41 Jenkinsfile 11:43:53 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 11:41 LICENSE 11:43:53 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 14 11:41 Makefile 11:43:53 -rw-rw-r-- 1 jenkins jenkins 623 Dec 14 11:41 OWNERS.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 14 11:41 README.md 11:43:53 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 11:41 VERSION 11:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 11:41 bin 11:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 11:41 cmd 11:43:53 -rw-r--r-- 1 jenkins jenkins 43063 Dec 14 11:43 coverage.out 11:43:53 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 14 11:41 go.mod 11:43:53 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 14 11:41 go.sum 11:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 11:41 internal 11:43:53 -rw-rw-r-- 1 jenkins jenkins 235 Dec 14 11:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:54 + 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=39c04a1bbd3208ba1bc58dd07766fb87a90baa4b --label arch=amd64 --label version=0.0.0 . 11:43:54 Sending build context to Docker daemon 31.62MB 11:43:54 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:43:54 Step 2/26 : FROM ${BASE} AS builder 11:43:54 ---> 8d4ed9112867 11:43:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:43:54 ---> Running in 76ceba34cc0e 11:43:54 Removing intermediate container 76ceba34cc0e 11:43:54 ---> 829b5783240f 11:43:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:43:54 ---> Running in 5b90c4ea4456 11:43:54 Removing intermediate container 5b90c4ea4456 11:43:54 ---> 6277fc00bac5 11:43:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:43:54 ---> Running in 0037fa0b017b 11:43:55 Removing intermediate container 0037fa0b017b 11:43:55 ---> 56f969869699 11:43:55 Step 6/26 : WORKDIR /device-virtual-go 11:43:55 ---> Running in a6b4d70c1bfb 11:43:55 Removing intermediate container a6b4d70c1bfb 11:43:55 ---> fa5732dc10e1 11:43:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:43:55 ---> Running in 903f5c0e8b5a 11:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:55 OK: 268 MiB in 56 packages 11:43:55 Removing intermediate container 903f5c0e8b5a 11:43:55 ---> b9774790a48b 11:43:55 Step 8/26 : COPY go.mod vendor* ./ 11:43:56 ---> 193616bba65b 11:43:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:56 ---> Running in 26fecbcd0636 11:43:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25048 in /w/workspace/foundry_device-virtual-go_PR-455 [Pipeline] { [Pipeline] ws 11:43:56 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:43:56 The recommended git tool is: git 11:43:56 Removing intermediate container 26fecbcd0636 11:43:56 ---> fd541e8f47d2 11:43:56 Step 10/26 : COPY . . 11:43:57 ---> 8c4df879caf8 11:43:57 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:57 ---> Running in 9ceeaddbfcce 11:43:57 Removing intermediate container 9ceeaddbfcce 11:43:57 ---> d563632a5a58 11:43:57 Step 12/26 : RUN $MAKE 11:43:57 ---> Running in 493b08e97867 11:43:57 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:44:02 using credential edgex-jenkins-ssh 11:44:02 Cloning the remote Git repository 11:44:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:44:02 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:44:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:44:02 > git --version # timeout=10 11:44:02 > git --version # 'git version 2.25.1' 11:44:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:44:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:44:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:44:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:44:09 Merging remotes/origin/main commit 855a1f59a7147df874c77670ab8284c3d3963227 into PR head commit 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b 11:44:09 Merge succeeded, producing 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b 11:44:09 Checking out Revision 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b (PR-455) 11:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:44:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:44:09 > git config core.sparsecheckout # timeout=10 11:44:09 > git checkout -f 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b # timeout=10 11:44:09 > git remote # timeout=10 11:44:09 > git config --get remote.origin.url # timeout=10 11:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:44:09 > git merge 855a1f59a7147df874c77670ab8284c3d3963227 # timeout=10 11:44:09 > git rev-parse HEAD^{commit} # timeout=10 11:44:09 > git config core.sparsecheckout # timeout=10 11:44:09 > git checkout -f 39c04a1bbd3208ba1bc58dd07766fb87a90baa4b # timeout=10 11:44:09 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:44:09 > git --version # timeout=10 11:44:10 > git --version # 'git version 2.25.1' 11:44:10 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:44:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:44:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:44:11 Dload Upload Total Spent Left Speed 11:44:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 81819 0 --:--:-- --:--:-- --:--:-- 81819 [Pipeline] sh 11:44:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:44:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:44:12 + sudo tee /etc/docker/daemon.new 11:44:12 { 11:44:12 "registry-mirrors": [ 11:44:12 "https://nexus3.edgexfoundry.org:10001" 11:44:12 ], 11:44:12 "bip": "10.250.0.254/24", 11:44:12 "hosts": [ 11:44:12 "tcp://0.0.0.0:5555", 11:44:12 "unix:///var/run/docker.sock" 11:44:12 ], 11:44:12 "mtu": 1458, 11:44:12 "selinux-enabled": true, 11:44:12 "seccomp-profile": "/etc/docker/seccomp.json" 11:44:12 } [Pipeline] sh 11:44:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:44:12 + sudo service docker restart 11:44:19 Removing intermediate container 493b08e97867 11:44:19 ---> 3346b391c966 11:44:19 Step 13/26 : FROM alpine:3.18 11:44:19 3.18: Pulling from library/alpine 11:44:19 c926b61bad3b: Pulling fs layer 11:44:19 c926b61bad3b: Verifying Checksum 11:44:19 c926b61bad3b: Download complete 11:44:19 c926b61bad3b: Pull complete 11:44:19 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:44:19 Status: Downloaded newer image for alpine:3.18 11:44:19 ---> b541f2080109 11:44:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:44:19 ---> Running in 72d94f6911b6 11:44:19 Removing intermediate container 72d94f6911b6 11:44:19 ---> ad130f7f8bf6 11:44:19 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:44:19 ---> Running in 45386d23d20a 11:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:44:19 (1/1) Installing dumb-init (1.2.5-r2) 11:44:19 Executing busybox-1.36.1-r5.trigger 11:44:19 OK: 7 MiB in 16 packages 11:44:19 Removing intermediate container 45386d23d20a 11:44:19 ---> 0a406379b21a 11:44:19 Step 16/26 : RUN apk --no-cache upgrade 11:44:19 ---> Running in 627359bf2a74 11:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:44:19 OK: 7 MiB in 16 packages 11:44:20 Removing intermediate container 627359bf2a74 11:44:20 ---> f75f7c403956 11:44:20 Step 17/26 : WORKDIR / 11:44:20 ---> Running in 37ae830cfb4c 11:44:20 Removing intermediate container 37ae830cfb4c 11:44:20 ---> e736a584a8aa 11:44:20 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:44:20 ---> c4d47870a669 11:44:20 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:44:21 ---> 2f8e7b18b9f6 11:44:21 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:44:21 ---> 00d09d844b3e 11:44:21 Step 21/26 : EXPOSE 59900 11:44:22 ---> Running in 727374a50c03 11:44:22 Removing intermediate container 727374a50c03 11:44:22 ---> a998e6afec11 11:44:22 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:44:22 ---> Running in ae6300fe408f 11:44:22 Removing intermediate container ae6300fe408f 11:44:22 ---> 439bb7f1de3a 11:44:22 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:44:22 ---> Running in 41c207bad6e7 11:44:22 Removing intermediate container 41c207bad6e7 11:44:22 ---> fa4dc664939f 11:44:22 Step 24/26 : LABEL arch=amd64 11:44:22 ---> Running in 01e8abfd3cae 11:44:22 Removing intermediate container 01e8abfd3cae 11:44:22 ---> 8a42c638ad4d 11:44:22 Step 25/26 : LABEL git_sha=39c04a1bbd3208ba1bc58dd07766fb87a90baa4b 11:44:22 ---> Running in 9999da718322 11:44:22 Removing intermediate container 9999da718322 11:44:22 ---> 7ddae5acd7d0 11:44:22 Step 26/26 : LABEL version=0.0.0 11:44:22 ---> Running in 0e9fec4e2d29 11:44:22 Removing intermediate container 0e9fec4e2d29 11:44:22 ---> 1479f49ac396 11:44:22 [Warning] One or more build-args [ARCH] were not consumed 11:44:22 Successfully built 1479f49ac396 11:44:22 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:24 11:44:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:24 latest: Pulling from edgex-lftools-log-publisher 11:44:24 5eb5b503b376: Pulling fs layer 11:44:24 5c69ac0246d0: Pulling fs layer 11:44:24 ec43610c2a17: Pulling fs layer 11:44:24 3a2ae6a8a46f: Pulling fs layer 11:44:24 33b1e0a273af: Pulling fs layer 11:44:24 5d3b04190fa2: Pulling fs layer 11:44:24 3a2ae6a8a46f: Waiting 11:44:24 33b1e0a273af: Waiting 11:44:24 2f39f015ded8: Pulling fs layer 11:44:24 5d3b04190fa2: Waiting 11:44:24 5c69ac0246d0: Download complete 11:44:24 3a2ae6a8a46f: Verifying Checksum 11:44:24 3a2ae6a8a46f: Download complete 11:44:24 33b1e0a273af: Verifying Checksum 11:44:24 33b1e0a273af: Download complete 11:44:24 ec43610c2a17: Verifying Checksum 11:44:24 ec43610c2a17: Download complete 11:44:24 5d3b04190fa2: Verifying Checksum 11:44:24 5d3b04190fa2: Download complete 11:44:24 5eb5b503b376: Verifying Checksum 11:44:24 5eb5b503b376: Download complete 11:44:25 2f39f015ded8: Download complete 11:44:25 5eb5b503b376: Pull complete 11:44:26 5c69ac0246d0: Pull complete 11:44:26 ec43610c2a17: Pull complete 11:44:26 3a2ae6a8a46f: Pull complete 11:44:26 33b1e0a273af: Pull complete 11:44:26 5d3b04190fa2: Pull complete 11:44:30 2f39f015ded8: Pull complete 11:44:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:44:31 prd-ubuntu20.04-docker-8c-8g-25047 does not seem to be running inside a container 11:44:31 $ 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-455 -v /w/workspace/foundry_device-virtual-go_PR-455:/w/workspace/foundry_device-virtual-go_PR-455:rw,z -v /w/workspace/foundry_device-virtual-go_PR-455@tmp:/w/workspace/foundry_device-virtual-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:44:36 $ docker top 91ad8e30200a568dfb73cb9e6d87cc29a9c91c56d9ca99654940a135e2297eb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:36 provisioning config files... 11:44:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config15494291858310117988tmp [Pipeline] libraryResource [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:37 ---> job-cost.sh 11:44:37 lf-activate-venv: SKIPPING 11:44:37 INFO: No Stack... 11:44:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:44:37 ---> ****-login.sh 11:44:37 nexus3.edgexfoundry.org:10001 11:44:37 INFO: Archiving Costs 11:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:37 Configure a credential helper to remove this warning. See 11:44:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:37 11:44:37 Login Succeeded [Pipeline] sh 11:44:38 nexus3.edgexfoundry.org:10002 11:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:38 + cat /w/workspace/foundry_device-virtual-go_PR-455/archives/cost.csv 11:44:38 + cut -d, -f6 [Pipeline] lock 11:44:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] 11:44:38 Resource [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] did not exist. Created. 11:44:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:38 Configure a credential helper to remove this warning. See 11:44:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:38 11:44:38 Login Succeeded 11:44:38 nexus3.edgexfoundry.org:10003 11:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:38 Configure a credential helper to remove this warning. See 11:44:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:38 11:44:38 Login Succeeded 11:44:38 nexus3.edgexfoundry.org:10004 11:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:38 + echo total: 0.2199999988079071 [Pipeline] stash 11:44:38 Stashed 1 file(s) [Pipeline] } 11:44:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] [Pipeline] // lock 11:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:38 Configure a credential helper to remove this warning. See 11:44:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:38 11:44:38 Login Succeeded 11:44:38 ****.io [Pipeline] } 11:44:38 $ docker stop --time=1 91ad8e30200a568dfb73cb9e6d87cc29a9c91c56d9ca99654940a135e2297eb6 11:44:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:39 Configure a credential helper to remove this warning. See 11:44:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:39 11:44:39 Login Succeeded 11:44:39 ---> ****-login.sh ends 11:44:40 $ docker rm -f --volumes 91ad8e30200a568dfb73cb9e6d87cc29a9c91c56d9ca99654940a135e2297eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 11:44:40 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 11:44:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:41 ========================================================= 11:44:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:44:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:44:42 #0 building with "default" instance using docker driver 11:44:42 11:44:42 #1 [internal] load .dockerignore 11:44:42 #1 transferring context: 2B 0.0s done 11:44:42 #1 DONE 0.1s 11:44:42 11:44:42 #2 [internal] load build definition from Dockerfile 11:44:42 #2 transferring dockerfile: 1.79kB 0.0s done 11:44:42 #2 DONE 0.1s 11:44:43 11:44:43 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:44:43 #3 DONE 0.1s 11:44:43 11:44:43 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:44:43 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 11:44:43 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 11:44:43 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 11:44:43 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 11:44:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 11:44:43 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 11:44:43 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 11:44:43 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 11:44:43 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 11:44:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 11:44:43 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 11:44:43 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 11:44:43 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 11:44:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 626.69kB / 97.63MB 0.3s 11:44:43 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.15MB / 11.40MB 0.4s 11:44:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.80MB / 63.99MB 0.5s 11:44:43 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 11:44:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 11:44:43 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 11:44:43 #4 ... 11:44:43 11:44:43 #5 [internal] load build context 11:44:43 #5 transferring context: 15.81MB 0.6s done 11:44:43 #5 DONE 0.7s 11:44:43 11:44:43 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:44:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.7s 11:44:43 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 11:44:43 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 11:44:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.78MB / 97.63MB 0.7s 11:44:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.9s 11:44:43 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 11:44:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.26MB / 97.63MB 0.9s 11:44:44 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.75MB / 97.63MB 1.0s 11:44:44 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 11:44:44 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.2s 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 1.2s 11:44:44 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 11:44:44 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.92MB / 63.99MB 1.3s 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.3s 11:44:44 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.5s 11:44:44 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.76MB / 97.63MB 1.6s 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.81MB / 97.63MB 1.7s 11:44:44 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 11:44:44 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 1.9s 11:44:45 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.0s 11:44:45 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.29MB / 97.63MB 2.1s 11:44:45 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 11:44:45 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 11:44:50 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 11:44:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 11:45:01 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 11:45:03 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 11:45:03 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 11:45:03 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 11:45:03 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11:45:09 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 11:45:12 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.4s done 11:45:12 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11:45:13 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 11:45:14 #4 DONE 31.3s 11:45:14 11:45:14 #6 [builder 2/7] WORKDIR /device-virtual-go 11:45:15 #6 DONE 1.6s 11:45:16 11:45:16 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:45:16 #7 0.672 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:45:17 #7 1.043 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:45:17 #7 1.999 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:45:18 #7 2.101 (2/4) Installing libedit (20221030.3.1-r1) 11:45:18 #7 2.113 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:45:18 #7 2.174 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:45:18 #7 2.200 Executing busybox-1.36.1-r5.trigger 11:45:18 #7 2.235 OK: 271 MiB in 56 packages 11:45:18 #7 DONE 2.5s 11:45:18 11:45:18 #8 [builder 4/7] COPY go.mod vendor* ./ 11:45:18 #8 DONE 0.2s 11:45:18 11:45:18 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:45:45 #9 DONE 22.9s 11:45:45 11:45:45 #10 [builder 6/7] COPY . . 11:45:45 #10 DONE 0.3s 11:45:45 11:45:45 #11 [builder 7/7] RUN echo noop 11:45:45 #11 0.590 noop 11:45:45 #11 DONE 3.5s 11:45:45 11:45:45 #12 exporting to image 11:45:45 #12 exporting layers 11:46:12 #12 exporting layers 24.5s done 11:46:12 #12 writing image sha256:a7420d50d4fe1cce5b65b9299aff2b37f8492257088bd17f02b18fdbbd45651c done 11:46:12 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 11:46:12 #12 DONE 24.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:12 + docker inspect -f . ci-base-image-arm64 11:46:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:13 prd-ubuntu20.04-docker-arm64-4c-16g-25048 does not seem to be running inside a container 11:46:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:46:15 $ docker top f4340946c7432b909fff10df71340d5f95fbcd31be58dbd34f2f7af1b7959825 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:15 + go version 11:46:15 go version go1.21.0 linux/arm64 [Pipeline] } 11:46:15 $ docker stop --time=1 f4340946c7432b909fff10df71340d5f95fbcd31be58dbd34f2f7af1b7959825 11:46:17 $ docker rm -f --volumes f4340946c7432b909fff10df71340d5f95fbcd31be58dbd34f2f7af1b7959825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:18 + docker inspect -f . ci-base-image-arm64 11:46:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:18 prd-ubuntu20.04-docker-arm64-4c-16g-25048 does not seem to be running inside a container 11:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:46:19 $ docker top bc3a4637e43d2e6b5faf6b321fe5d9aa932289145470acec6062b03b4f87f791 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:20 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:46:20 + make test 11:46:20 go test ./... -coverprofile=coverage.out 11:46:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:47:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:47:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.064s coverage: 58.4% of statements 11:47:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:47:21 go vet ./... 11:47:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:47:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:47:26 ./bin/test-attribution-txt.sh [Pipeline] echo 11:47:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:47:26 $ docker stop --time=1 bc3a4637e43d2e6b5faf6b321fe5d9aa932289145470acec6062b03b4f87f791 11:47:28 $ docker rm -f --volumes bc3a4637e43d2e6b5faf6b321fe5d9aa932289145470acec6062b03b4f87f791 [Pipeline] // withDockerContainer [Pipeline] sh 11:47:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:47:30 Warning: overwriting stash ‘coverage-report’ 11:47:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:47:31 + ls -al . 11:47:31 total 196 11:47:31 drwxrwxr-x 7 jenkins jenkins 4096 Dec 14 11:46 . 11:47:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 11:44 .. 11:47:31 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 11:44 .git 11:47:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 11:44 .github 11:47:31 -rw-rw-r-- 1 jenkins jenkins 272 Dec 14 11:44 .gitignore 11:47:31 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 11:44 .golangci.yml 11:47:31 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 14 11:44 Attribution.txt 11:47:31 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 14 11:44 CHANGELOG.md 11:47:31 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 14 11:44 Dockerfile 11:47:31 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 11:44 GOVERNANCE.md 11:47:31 -rw-rw-r-- 1 jenkins jenkins 660 Dec 14 11:44 Jenkinsfile 11:47:31 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 11:44 LICENSE 11:47:31 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 14 11:44 Makefile 11:47:31 -rw-rw-r-- 1 jenkins jenkins 623 Dec 14 11:44 OWNERS.md 11:47:31 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 14 11:44 README.md 11:47:31 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 11:41 VERSION 11:47:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 11:44 bin 11:47:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 11:44 cmd 11:47:31 -rw-r--r-- 1 jenkins jenkins 43063 Dec 14 11:47 coverage.out 11:47:31 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 14 11:44 go.mod 11:47:31 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 14 11:44 go.sum 11:47:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 11:44 internal 11:47:31 -rw-rw-r-- 1 jenkins jenkins 235 Dec 14 11:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:32 + 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=39c04a1bbd3208ba1bc58dd07766fb87a90baa4b --label arch=arm64 --label version=0.0.0 . 11:47:33 #0 building with "default" instance using docker driver 11:47:33 11:47:33 #1 [internal] load .dockerignore 11:47:33 #1 transferring context: 2B done 11:47:33 #1 DONE 0.0s 11:47:33 11:47:33 #2 [internal] load build definition from Dockerfile 11:47:33 #2 transferring dockerfile: 1.79kB 0.0s done 11:47:33 #2 DONE 0.0s 11:47:33 11:47:33 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 11:47:33 #3 DONE 0.0s 11:47:33 11:47:33 #4 [internal] load metadata for docker.io/library/alpine:3.18 11:47:33 #4 DONE 0.3s 11:47:33 11:47:33 #5 [internal] load build context 11:47:33 #5 transferring context: 51.05kB 0.0s done 11:47:33 #5 DONE 0.1s 11:47:33 11:47:33 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:47:33 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 11:47:33 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 11:47:33 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 11:47:33 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 11:47:33 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.15MB / 3.33MB 0.1s 11:47:33 #6 ... 11:47:33 11:47:33 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 11:47:33 #7 DONE 0.2s 11:47:33 11:47:33 #8 [builder 2/7] WORKDIR /device-virtual-go 11:47:33 #8 DONE 0.1s 11:47:33 11:47:33 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:47:33 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 11:47:33 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 11:47:33 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 11:47:34 #6 DONE 1.0s 11:47:34 11:47:34 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:47:34 #9 0.682 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:47:35 #9 0.990 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:47:36 #9 ... 11:47:36 11:47:36 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:47:36 #10 0.706 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:47:36 #10 1.149 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:47:36 #10 2.181 OK: 271 MiB in 56 packages 11:47:36 #10 DONE 2.5s 11:47:36 11:47:36 #11 [builder 4/7] COPY go.mod vendor* ./ 11:47:36 #11 DONE 0.1s 11:47:36 11:47:36 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:47:36 #9 2.018 (1/1) Installing dumb-init (1.2.5-r2) 11:47:36 #9 2.027 Executing busybox-1.36.1-r5.trigger 11:47:36 #9 2.056 OK: 8 MiB in 16 packages 11:47:36 #9 DONE 2.4s 11:47:36 11:47:36 #12 [stage-1 3/7] RUN apk --no-cache upgrade 11:47:37 #12 0.717 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:47:37 #12 1.041 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:47:38 #12 1.990 OK: 8 MiB in 16 packages 11:47:41 #12 DONE 4.3s 11:47:41 11:47:41 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:47:41 #13 DONE 5.0s 11:47:41 11:47:41 #14 [builder 6/7] COPY . . 11:47:41 #14 DONE 0.4s 11:47:41 11:47:41 #15 [builder 7/7] RUN make build 11:47:42 #15 0.622 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.4" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:48:41 #15 DONE 58.5s 11:48:41 11:48:41 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 11:48:41 #16 DONE 0.1s 11:48:41 11:48:41 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 11:48:41 #17 DONE 0.1s 11:48:41 11:48:41 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 11:48:41 #18 DONE 0.3s 11:48:41 11:48:41 #19 exporting to image 11:48:41 #19 exporting layers 11:48:41 #19 exporting layers 0.2s done 11:48:41 #19 writing image sha256:a94383d3c78b09d1e0bea77abd65159f5e703511958950e3c3ff3af8203f734d done 11:48:41 #19 naming to docker.io/library/device-virtual-arm64 done 11:48:41 #19 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:43 11:48:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:43 arm64: Pulling from edgex-lftools-log-publisher 11:48:43 8998bd30e6a1: Pulling fs layer 11:48:43 04944245beec: Pulling fs layer 11:48:43 699f458cf7ca: Pulling fs layer 11:48:43 765212b225bb: Pulling fs layer 11:48:43 f23df028b6ca: Pulling fs layer 11:48:43 d65c8cfc05b1: Pulling fs layer 11:48:43 2437ff75d9bd: Pulling fs layer 11:48:43 765212b225bb: Waiting 11:48:43 f23df028b6ca: Waiting 11:48:43 d65c8cfc05b1: Waiting 11:48:43 2437ff75d9bd: Waiting 11:48:43 04944245beec: Verifying Checksum 11:48:43 04944245beec: Download complete 11:48:43 765212b225bb: Download complete 11:48:43 f23df028b6ca: Verifying Checksum 11:48:43 f23df028b6ca: Download complete 11:48:43 d65c8cfc05b1: Verifying Checksum 11:48:43 d65c8cfc05b1: Download complete 11:48:44 699f458cf7ca: Verifying Checksum 11:48:44 699f458cf7ca: Download complete 11:48:44 8998bd30e6a1: Verifying Checksum 11:48:44 8998bd30e6a1: Download complete 11:48:46 2437ff75d9bd: Verifying Checksum 11:48:46 2437ff75d9bd: Download complete 11:48:50 8998bd30e6a1: Pull complete 11:48:54 04944245beec: Pull complete 11:48:56 699f458cf7ca: Pull complete 11:48:56 765212b225bb: Pull complete 11:48:57 f23df028b6ca: Pull complete 11:48:57 d65c8cfc05b1: Pull complete 11:49:24 2437ff75d9bd: Pull complete 11:49:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:49:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:24 prd-ubuntu20.04-docker-arm64-4c-16g-25048 does not seem to be running inside a container 11:49:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:49:26 $ docker top 0c3b22eb05d5852dd85c95233fd4847a9ecfcfcd0882878f07acc556eea3e206 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:49:27 ---> job-cost.sh 11:49:27 lf-activate-venv: SKIPPING 11:49:27 INFO: No Stack... 11:49:27 INFO: Retrieving Pricing Info for: v3-standard-8 11:49:28 INFO: Archiving Costs [Pipeline] sh 11:49:29 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:49:29 + cut -d, -f6 [Pipeline] lock 11:49:29 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] 11:49:29 Resource [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] did not exist. Created. 11:49:29 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:49:29 /w/workspace/device-virtual-go/1@tmp/durable-4228e13e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:49:30 + echo total: 0.2199999988079071 [Pipeline] stash 11:49:30 Warning: overwriting stash ‘stack-cost’ 11:49:30 Stashed 1 file(s) [Pipeline] } 11:49:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-455-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:49:30 $ docker stop --time=1 0c3b22eb05d5852dd85c95233fd4847a9ecfcfcd0882878f07acc556eea3e206 11:49:31 $ docker rm -f --volumes 0c3b22eb05d5852dd85c95233fd4847a9ecfcfcd0882878f07acc556eea3e206 [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 11:49:34 provisioning config files... 11:49:34 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-455@tmp/config13657661106800703478tmp [Pipeline] { [Pipeline] sh 11:49:34 + set +x 11:49:34 + curl -s https://codecov.io/bash 11:49:34 + bash -s -- 11:49:34 11:49:34 _____ _ 11:49:34 / ____| | | 11:49:34 | | ___ __| | ___ ___ _____ __ 11:49:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:49:34 | |___| (_) | (_| | __/ (_| (_) \ V / 11:49:34 \_____\___/ \__,_|\___|\___\___/ \_/ 11:49:34 Bash-1.0.6 11:49:34 11:49:34 11:49:34 ==> git version 2.25.1 found 11:49:34 ==> 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 11:49:34 Release-Date: 2020-01-08 11:49:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:49:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:49:34 ==> Jenkins CI detected. 11:49:34 current dir:  /w/workspace/foundry_device-virtual-go_PR-455 11:49:34 project root: . 11:49:34 --> token set from env 11:49:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:49:34 ==> Running gcov in . (disable via -X gcov) 11:49:34 ==> Python coveragepy not found 11:49:34 ==> Searching for coverage reports in: 11:49:34 + . 11:49:34 -> Found 1 reports 11:49:34 ==> Detecting git/mercurial file structure 11:49:34 ==> Reading reports 11:49:34 + ./coverage.out bytes=43063 11:49:34 ==> Appending adjustments 11:49:34 https://docs.codecov.io/docs/fixing-reports 11:49:34 + Found adjustments 11:49:34 ==> Gzipping contents 11:49:34 8.0K /tmp/codecov.72o0Hx.gz 11:49:34 ==> Uploading reports 11:49:34 url: https://codecov.io 11:49:34 query: branch=PR-455&commit=39c04a1bbd3208ba1bc58dd07766fb87a90baa4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-455%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=455&job=&cmd_args= 11:49:34 -> Pinging Codecov 11:49:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-455&commit=39c04a1bbd3208ba1bc58dd07766fb87a90baa4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-455%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=455&job=&cmd_args= 11:49:35 -> Uploading to 11:49:35 https://storage.googleapis.com/codecov/v4/raw/2023-12-14/5E52B4B073DB2E39498172D8E973AA87/39c04a1bbd3208ba1bc58dd07766fb87a90baa4b/6d208f4f-acca-4b05-a12f-b6b97989959f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231214T114934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5260935b629fb482951192d27a0b60ed86eee2cfb173f3eb2dd9ff4b9874728 11:49:35 % Total % Received % Xferd Average Speed Time Time Time Current 11:49:35 Dload Upload Total Spent Left Speed 11:49:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 75727 --:--:-- --:--:-- --:--:-- 75727 100 4998 0 0 100 4998 0 20567 --:--:-- --:--:-- --:--:-- 20483 11:49:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/39c04a1bbd3208ba1bc58dd07766fb87a90baa4b [Pipeline] } 11:49:35 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:49:38 + [ -d /w/workspace/foundry_device-virtual-go_PR-455/archives ] 11:49:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-455/archives 11:49:38 total 16 11:49:38 drwxr-xr-x 3 root root 4096 Dec 14 11:44 . 11:49:38 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 11:44 .. 11:49:38 drwxr-xr-x 2 root root 4096 Dec 14 11:44 cost 11:49:38 -rw-r--r-- 1 root root 89 Dec 14 11:44 cost.csv 11:49:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-455/archives 11:49:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-455/archives 11:49:38 total 16 11:49:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 11:44 . 11:49:38 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 11:44 .. 11:49:38 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 11:44 cost 11:49:38 -rw-r--r-- 1 jenkins jenkins 89 Dec 14 11:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:49:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:49:51 ---> package-listing.sh 11:49:51 ++ facter osfamily 11:49:51 ++ tr '[:upper:]' '[:lower:]' 11:49:51 + OS_FAMILY=debian 11:49:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-455 11:49:51 + START_PACKAGES=/tmp/packages_start.txt 11:49:51 + END_PACKAGES=/tmp/packages_end.txt 11:49:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:49:51 + PACKAGES=/tmp/packages_start.txt 11:49:51 + '[' /w/workspace/foundry_device-virtual-go_PR-455 ']' 11:49:51 + PACKAGES=/tmp/packages_end.txt 11:49:51 + case "${OS_FAMILY}" in 11:49:51 + dpkg -l 11:49:51 + grep '^ii' 11:49:51 + '[' -f /tmp/packages_start.txt ']' 11:49:51 + '[' -f /tmp/packages_end.txt ']' 11:49:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:49:51 + '[' /w/workspace/foundry_device-virtual-go_PR-455 ']' 11:49:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-455/archives/ 11:49:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-455/archives/ [Pipeline] echo 11:49:51 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-455/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:49:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:49:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:53 prd-ubuntu20.04-docker-8c-8g-25047 does not seem to be running inside a container 11:49:53 $ 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-455/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-455 -v /w/workspace/foundry_device-virtual-go_PR-455:/w/workspace/foundry_device-virtual-go_PR-455:rw,z -v /w/workspace/foundry_device-virtual-go_PR-455@tmp:/w/workspace/foundry_device-virtual-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:49:54 $ docker top e93beec37fe8a63945b4fa30cf69d805f4b2d1b41f044afb6149bb38a6ced4c3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:54 + touch /tmp/pre-build-complete [Pipeline] sh 11:49:55 + mkdir -p /var/log/sysstat [Pipeline] sh 11:49:55 + ls /var/log/sa-host 11:49:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:49:55 provisioning config files... 11:49:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-455@tmp/config16681746189355300723tmp [Pipeline] { [Pipeline] echo 11:49:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:49:56 ---> create-netrc.sh [Pipeline] } 11:49:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:49:56 ---> python-tools-install.sh [Pipeline] echo 11:49:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:49:57 ---> sudo-logs.sh 11:49:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:49:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:49:57 ---> job-cost.sh 11:49:57 lf-activate-venv: SKIPPING 11:49:57 DEBUG: total: 0.2199999988079071 11:49:57 INFO: Retrieving Stack Cost... 11:49:57 INFO: Retrieving Pricing Info for: v3-standard-8 11:49:58 INFO: Archiving Costs [Pipeline] echo 11:49:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:49:58 ---> logs-deploy.sh 11:49:58 lf-activate-venv: SKIPPING 11:49:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-455/1 11:49:58 INFO: archiving workspace using pattern(s): 11:49:59 Archives upload complete. 11:49:59 INFO: archiving logs to Nexus