Pull request #458 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6d042c86147d4d8910c31a7aab1fd6b265c7d9c+fb1784cb48d67777d6d76d542ae5273b128f716d (7d4c44c8f20e700f507ae23090415e068b8fc571) 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-ssh11205922120605078064.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-ssh8513104223315963778.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-458/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-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13012139243082787228.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-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9717480480163763782.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-ssh13252878200690936756.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-458/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-458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11654031428185805651.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-26387 in /w/workspace/foundry_device-virtual-go_PR-458 [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-458 # 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 fb1784cb48d67777d6d76d542ae5273b128f716d into PR head commit f6d042c86147d4d8910c31a7aab1fd6b265c7d9c Merge succeeded, producing f6d042c86147d4d8910c31a7aab1fd6b265c7d9c Checking out Revision f6d042c86147d4d8910c31a7aab1fd6b265c7d9c (PR-458) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d042c86147d4d8910c31a7aab1fd6b265c7d9c # 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 fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d042c86147d4d8910c31a7aab1fd6b265c7d9c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:53:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:53:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:53:22 ========================================================= 11:53:22 EdgeX Global Pipelines Version Info 11:53:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:53:22 ------------------- 11:53:22 stable info: 11:53:22 ------------------- 11:53:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:53:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:53:22 Message: update stable to v1.0.258 11:53:23 ------------------- 11:53:23 experimental info: 11:53:23 ------------------- 11:53:23 Commited By: **** collab-it+edgex@linuxfoundation.org 11:53:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:53:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:53:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-458 [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-458 [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-458 [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d042c86147d4d8910c31a7aab1fd6b265c7d9c [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d042c [Pipeline] echo 11:53:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:53:25 provisioning config files... 11:53:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-458@tmp/config16805274955248491931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:53:26 ---> ****-login.sh 11:53:26 nexus3.edgexfoundry.org:10001 11:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:26 Configure a credential helper to remove this warning. See 11:53:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:26 11:53:26 Login Succeeded 11:53:26 nexus3.edgexfoundry.org:10002 11:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:26 Configure a credential helper to remove this warning. See 11:53:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:26 11:53:26 Login Succeeded 11:53:26 nexus3.edgexfoundry.org:10003 11:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:27 Configure a credential helper to remove this warning. See 11:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:27 11:53:27 Login Succeeded 11:53:27 nexus3.edgexfoundry.org:10004 11:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:27 Configure a credential helper to remove this warning. See 11:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:27 11:53:27 Login Succeeded 11:53:27 ****.io 11:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:27 Configure a credential helper to remove this warning. See 11:53:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:27 11:53:27 Login Succeeded 11:53:27 ---> ****-login.sh ends [Pipeline] } 11:53:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:53:28 + git rev-list -1 --merges f6d042c86147d4d8910c31a7aab1fd6b265c7d9c~1..f6d042c86147d4d8910c31a7aab1fd6b265c7d9c [Pipeline] echo 11:53:28 -----------> git rev-list -1 --merges f6d042c86147d4d8910c31a7aab1fd6b265c7d9c~1..f6d042c86147d4d8910c31a7aab1fd6b265c7d9c f6d042c86147d4d8910c31a7aab1fd6b265c7d9c [false] [Pipeline] sh 11:53:28 + git log --format=format:%s -1 f6d042c86147d4d8910c31a7aab1fd6b265c7d9c [Pipeline] echo 11:53:28 ========================================================= 11:53:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:53:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:53:29 + git log --format=format:%s -1 f6d042c86147d4d8910c31a7aab1fd6b265c7d9c [Pipeline] echo 11:53:29 [semverPrep] GIT_COMMIT: f6d042c86147d4d8910c31a7aab1fd6b265c7d9c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:53:29 [semverPrep] This is not a build commit. [Pipeline] sh 11:53:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:53:29 + grep -v github /etc/ssh/ssh_known_hosts 11:53:29 + [ -e /tmp/ssh_known_hosts ] 11:53:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:53:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:53:29 + sudo tee -a /etc/ssh/ssh_known_hosts 11:53:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:53:30 11:53:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:53:30 0.1.4: Pulling from edgex-devops/py-git-semver 11:53:30 b85a868b505f: Pulling fs layer 11:53:30 e2be974225ed: Pulling fs layer 11:53:30 339a4e72a1f5: Pulling fs layer 11:53:30 988bab9f4d93: Pulling fs layer 11:53:30 1469e6f7b9e6: Pulling fs layer 11:53:30 eaf3925da568: Pulling fs layer 11:53:30 bab4dde63d76: Pulling fs layer 11:53:30 bde34c3a00c8: Pulling fs layer 11:53:30 b352a97aabf1: Pulling fs layer 11:53:30 4872d77fe225: Pulling fs layer 11:53:30 5851b861e8e6: Pulling fs layer 11:53:30 eaf3925da568: Waiting 11:53:30 bab4dde63d76: Waiting 11:53:30 bde34c3a00c8: Waiting 11:53:30 5851b861e8e6: Waiting 11:53:30 b352a97aabf1: Waiting 11:53:30 4872d77fe225: Waiting 11:53:30 988bab9f4d93: Waiting 11:53:30 1469e6f7b9e6: Waiting 11:53:30 e2be974225ed: Verifying Checksum 11:53:30 e2be974225ed: Download complete 11:53:30 988bab9f4d93: Verifying Checksum 11:53:30 988bab9f4d93: Download complete 11:53:30 1469e6f7b9e6: Verifying Checksum 11:53:30 1469e6f7b9e6: Download complete 11:53:30 339a4e72a1f5: Verifying Checksum 11:53:30 339a4e72a1f5: Download complete 11:53:30 eaf3925da568: Verifying Checksum 11:53:30 eaf3925da568: Download complete 11:53:30 bde34c3a00c8: Verifying Checksum 11:53:30 bde34c3a00c8: Download complete 11:53:30 b352a97aabf1: Download complete 11:53:30 4872d77fe225: Download complete 11:53:30 5851b861e8e6: Verifying Checksum 11:53:30 5851b861e8e6: Download complete 11:53:30 b85a868b505f: Verifying Checksum 11:53:30 b85a868b505f: Download complete 11:53:31 bab4dde63d76: Verifying Checksum 11:53:31 bab4dde63d76: Download complete 11:53:32 b85a868b505f: Pull complete 11:53:32 e2be974225ed: Pull complete 11:53:32 339a4e72a1f5: Pull complete 11:53:32 988bab9f4d93: Pull complete 11:53:33 1469e6f7b9e6: Pull complete 11:53:33 eaf3925da568: Pull complete 11:53:34 bab4dde63d76: Pull complete 11:53:34 bde34c3a00c8: Pull complete 11:53:34 b352a97aabf1: Pull complete 11:53:34 4872d77fe225: Pull complete 11:53:34 5851b861e8e6: Pull complete 11:53:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:53:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:35 prd-ubuntu20.04-docker-8c-8g-26387 does not seem to be running inside a container 11:53:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-458 -v /w/workspace/foundry_device-virtual-go_PR-458:/w/workspace/foundry_device-virtual-go_PR-458:rw,z -v /w/workspace/foundry_device-virtual-go_PR-458@tmp:/w/workspace/foundry_device-virtual-go_PR-458@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:53:38 $ docker top 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 -eo pid,comm 11:53:38 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:53:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:53:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:53:38 [ssh-agent] Looking for ssh-agent implementation... 11:53:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:53:38 $ docker exec 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 ssh-agent 11:53:38 SSH_AUTH_SOCK=/tmp/ssh-0ITTR4H0SN6d/agent.33 11:53:38 SSH_AGENT_PID=39 11:53:38 Running ssh-add (command line suppressed) 11:53:38 Identity added: /w/workspace/foundry_device-virtual-go_PR-458@tmp/private_key_16871082250843592569.key (/w/workspace/foundry_device-virtual-go_PR-458@tmp/private_key_16871082250843592569.key) 11:53:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:53:39 + git tag --points-at HEAD [Pipeline] } 11:53:39 $ docker exec --env ******** --env ******** 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 ssh-agent -k 11:53:39 unset SSH_AUTH_SOCK; 11:53:39 unset SSH_AGENT_PID; 11:53:39 echo Agent pid 39 killed; 11:53:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:53:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:53:39 [ssh-agent] Looking for ssh-agent implementation... 11:53:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:53:39 $ docker exec 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 ssh-agent 11:53:39 SSH_AUTH_SOCK=/tmp/ssh-SRbVluJqN9c4/agent.72 11:53:39 SSH_AGENT_PID=78 11:53:39 Running ssh-add (command line suppressed) 11:53:39 Identity added: /w/workspace/foundry_device-virtual-go_PR-458@tmp/private_key_14539229849144684175.key (/w/workspace/foundry_device-virtual-go_PR-458@tmp/private_key_14539229849144684175.key) 11:53:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:53:40 + git semver init 11:53:40 2023-12-29 11:53:40,363 [run_init] DEBUG init version:0.0.0 force:False 11:53:40 2023-12-29 11:53:40,364 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-458/.semver 11:53:40 2023-12-29 11:53:40,365 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-458/.semver 11:53:40 2023-12-29 11:53:40,365 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-458/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-458, universal_newlines=False, shell=None, istream=None) 11:53:43 2023-12-29 11:53:43,267 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-458/.git/info/exclude 11:53:43 2023-12-29 11:53:43,267 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-458/.semver/PR-458 with force:False 11:53:43 2023-12-29 11:53:43,268 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-458/.semver/PR-458 11:53:43 2023-12-29 11:53:43,272 [execute] INFO git cat-file --batch-check 11:53:43 2023-12-29 11:53:43,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-458/.semver, universal_newlines=False, shell=None, istream=) 11:53:43 2023-12-29 11:53:43,277 [execute] INFO git cat-file --batch 11:53:43 2023-12-29 11:53:43,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-458/.semver, universal_newlines=False, shell=None, istream=) 11:53:43 2023-12-29 11:53:43,282 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-458/.semver/PR-458 11:53:43 0.0.0 [Pipeline] } 11:53:43 $ docker exec --env ******** --env ******** 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 ssh-agent -k 11:53:43 unset SSH_AUTH_SOCK; 11:53:43 unset SSH_AGENT_PID; 11:53:43 echo Agent pid 78 killed; 11:53:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:53:44 + git semver [Pipeline] } 11:53:44 $ docker stop --time=1 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 11:53:45 $ docker rm -f --volumes 50d49b31882de7c6cd5d2f2e4e60c3802c2520cb66f6aa7a7bd4daf776806566 [Pipeline] // withDockerContainer [Pipeline] sh 11:53:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:53:46 Stashed 1 file(s) [Pipeline] echo 11:53:46 [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:53:47 provisioning config files... 11:53:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-458@tmp/config9263375273132905554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:53:47 ---> ****-login.sh 11:53:47 nexus3.edgexfoundry.org:10001 11:53:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:47 Configure a credential helper to remove this warning. See 11:53:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:47 11:53:47 Login Succeeded 11:53:47 nexus3.edgexfoundry.org:10002 11:53:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:47 Configure a credential helper to remove this warning. See 11:53:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:47 11:53:47 Login Succeeded 11:53:47 nexus3.edgexfoundry.org:10003 11:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:48 Configure a credential helper to remove this warning. See 11:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:48 11:53:48 Login Succeeded 11:53:48 nexus3.edgexfoundry.org:10004 11:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:48 Configure a credential helper to remove this warning. See 11:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:48 11:53:48 Login Succeeded 11:53:48 ****.io 11:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:48 Configure a credential helper to remove this warning. See 11:53:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:48 11:53:48 Login Succeeded 11:53:48 ---> ****-login.sh ends [Pipeline] } 11:53:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:53:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:53:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:53:49 ========================================================= 11:53:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:53:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:49 + 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:53:49 Sending build context to Docker daemon 31.59MB 11:53:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:53:49 Step 2/12 : FROM ${BASE} AS builder 11:53:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:53:49 7264a8db6415: Pulling fs layer 11:53:49 c4d48a809fc2: Pulling fs layer 11:53:49 4f1c88b9dad5: Pulling fs layer 11:53:49 ad3a456e5733: Pulling fs layer 11:53:49 69c7f0334f64: Pulling fs layer 11:53:49 1f1c1a5573a3: Pulling fs layer 11:53:49 ce7588e14bc9: Pulling fs layer 11:53:49 b5e4710f87ac: Pulling fs layer 11:53:49 ce7588e14bc9: Waiting 11:53:49 ad3a456e5733: Waiting 11:53:49 b5e4710f87ac: Waiting 11:53:49 69c7f0334f64: Waiting 11:53:49 1f1c1a5573a3: Waiting 11:53:49 c4d48a809fc2: Verifying Checksum 11:53:49 c4d48a809fc2: Download complete 11:53:49 ad3a456e5733: Download complete 11:53:49 69c7f0334f64: Verifying Checksum 11:53:49 69c7f0334f64: Download complete 11:53:49 7264a8db6415: Download complete 11:53:49 1f1c1a5573a3: Verifying Checksum 11:53:49 1f1c1a5573a3: Download complete 11:53:50 7264a8db6415: Pull complete 11:53:50 b5e4710f87ac: Verifying Checksum 11:53:50 b5e4710f87ac: Download complete 11:53:50 c4d48a809fc2: Pull complete 11:53:50 4f1c88b9dad5: Verifying Checksum 11:53:50 4f1c88b9dad5: Download complete 11:53:50 ce7588e14bc9: Verifying Checksum 11:53:50 ce7588e14bc9: Download complete 11:53:53 4f1c88b9dad5: Pull complete 11:53:53 ad3a456e5733: Pull complete 11:53:53 69c7f0334f64: Pull complete 11:53:53 1f1c1a5573a3: Pull complete 11:53:55 ce7588e14bc9: Pull complete 11:53:56 b5e4710f87ac: Pull complete 11:53:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 11:53:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:53:56 ---> 88b5674ff536 11:53:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:54:00 ---> Running in eda0f3804db1 11:54:00 Removing intermediate container eda0f3804db1 11:54:00 ---> a9940af5c0b9 11:54:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:54:00 ---> Running in e603fb1937e3 11:54:00 Removing intermediate container e603fb1937e3 11:54:00 ---> 733541247e59 11:54:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:54:00 ---> Running in ef5902340663 11:54:00 Removing intermediate container ef5902340663 11:54:00 ---> 6521d0188083 11:54:00 Step 6/12 : WORKDIR /device-virtual-go 11:54:00 ---> Running in d5ff63bedefb 11:54:00 Removing intermediate container d5ff63bedefb 11:54:00 ---> 2784c47d6319 11:54:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:54:00 ---> Running in 6f021e6f649a 11:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:54:01 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:54:01 (2/4) Installing libedit (20221030.3.1-r1) 11:54:01 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:54:01 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:54:01 Executing busybox-1.36.1-r5.trigger 11:54:01 OK: 268 MiB in 56 packages 11:54:02 Still waiting to schedule task 11:54:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:54:02 Removing intermediate container 6f021e6f649a 11:54:02 ---> 970d586e1e2b 11:54:02 Step 8/12 : COPY go.mod vendor* ./ 11:54:02 ---> 38f0b9ef11cd 11:54:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:54:02 ---> Running in dc06e24a3a22 11:54:49 Removing intermediate container dc06e24a3a22 11:54:49 ---> 372ac60df41c 11:54:49 Step 10/12 : COPY . . 11:54:49 ---> a40135cd3d2a 11:54:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:54:49 ---> Running in 52dfa8eaddd4 11:54:49 Removing intermediate container 52dfa8eaddd4 11:54:49 ---> 095e55a79f45 11:54:49 Step 12/12 : RUN $MAKE 11:54:49 ---> Running in fe676e53aebc 11:54:49 noop 11:54:49 Removing intermediate container fe676e53aebc 11:54:49 ---> a4c48a617479 11:54:49 Successfully built a4c48a617479 11:54:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:49 + docker inspect -f . ci-base-image-x86_64 11:54:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:50 prd-ubuntu20.04-docker-8c-8g-26387 does not seem to be running inside a container 11:54:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-458 -v /w/workspace/foundry_device-virtual-go_PR-458:/w/workspace/foundry_device-virtual-go_PR-458:rw,z -v /w/workspace/foundry_device-virtual-go_PR-458@tmp:/w/workspace/foundry_device-virtual-go_PR-458@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 ******** ci-base-image-x86_64 cat 11:54:50 $ docker top 0d981c103dbc09af7cb2225dabaca49ff447594ecd9b25eb8db2bed70d62820e -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:50 + go version 11:54:50 go version go1.21.0 linux/amd64 [Pipeline] } 11:54:50 $ docker stop --time=1 0d981c103dbc09af7cb2225dabaca49ff447594ecd9b25eb8db2bed70d62820e 11:54:52 $ docker rm -f --volumes 0d981c103dbc09af7cb2225dabaca49ff447594ecd9b25eb8db2bed70d62820e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:53 + docker inspect -f . ci-base-image-x86_64 11:54:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:53 prd-ubuntu20.04-docker-8c-8g-26387 does not seem to be running inside a container 11:54:53 $ 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-458 -v /w/workspace/foundry_device-virtual-go_PR-458:/w/workspace/foundry_device-virtual-go_PR-458:rw,z -v /w/workspace/foundry_device-virtual-go_PR-458@tmp:/w/workspace/foundry_device-virtual-go_PR-458@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 ******** ci-base-image-x86_64 cat 11:54:53 $ docker top bc60549561305c8e3196308d63412ea5420f58812aa7385a7c5c50e99cc839b5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:54 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-458 [Pipeline] fileExists [Pipeline] sh 11:54:54 + make test 11:54:54 go test ./... -coverprofile=coverage.out 11:54:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:55:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:55:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 11:55:11 go vet ./... 11:55:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:55:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:55:14 ./bin/test-attribution-txt.sh [Pipeline] echo 11:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:55:14 $ docker stop --time=1 bc60549561305c8e3196308d63412ea5420f58812aa7385a7c5c50e99cc839b5 11:55:17 $ docker rm -f --volumes bc60549561305c8e3196308d63412ea5420f58812aa7385a7c5c50e99cc839b5 [Pipeline] // withDockerContainer [Pipeline] sh 11:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:55:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:55:19 + ls -al . 11:55:19 total 200 11:55:19 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 11:54 . 11:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 11:53 .. 11:55:19 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 11:55 .git 11:55:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 11:53 .github 11:55:19 -rw-rw-r-- 1 jenkins jenkins 272 Dec 29 11:53 .gitignore 11:55:19 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 11:53 .golangci.yml 11:55:19 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 11:53 .semver 11:55:19 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 29 11:53 Attribution.txt 11:55:19 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 29 11:53 CHANGELOG.md 11:55:19 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 29 11:53 Dockerfile 11:55:19 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 11:53 GOVERNANCE.md 11:55:19 -rw-rw-r-- 1 jenkins jenkins 660 Dec 29 11:53 Jenkinsfile 11:55:19 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 11:53 LICENSE 11:55:19 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 29 11:53 Makefile 11:55:19 -rw-rw-r-- 1 jenkins jenkins 623 Dec 29 11:53 OWNERS.md 11:55:19 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 29 11:53 README.md 11:55:19 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 11:53 VERSION 11:55:19 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 11:53 bin 11:55:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 11:53 cmd 11:55:19 -rw-r--r-- 1 jenkins jenkins 43063 Dec 29 11:55 coverage.out 11:55:19 -rw-rw-r-- 1 jenkins jenkins 3634 Dec 29 11:53 go.mod 11:55:19 -rw-rw-r-- 1 jenkins jenkins 33991 Dec 29 11:53 go.sum 11:55:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 11:53 internal 11:55:19 -rw-rw-r-- 1 jenkins jenkins 235 Dec 29 11:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:19 + 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=f6d042c86147d4d8910c31a7aab1fd6b265c7d9c --label arch=amd64 --label version=0.0.0 . 11:55:19 Sending build context to Docker daemon 31.64MB 11:55:19 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:55:19 Step 2/26 : FROM ${BASE} AS builder 11:55:19 ---> a4c48a617479 11:55:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:55:20 ---> Running in 7eb8a9ea3446 11:55:20 Removing intermediate container 7eb8a9ea3446 11:55:20 ---> 48c7fdd447f0 11:55:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:55:20 ---> Running in 9a45289bbd32 11:55:20 Removing intermediate container 9a45289bbd32 11:55:20 ---> 8ae183f992de 11:55:20 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:55:20 ---> Running in 4328b30b722c 11:55:20 Removing intermediate container 4328b30b722c 11:55:20 ---> 242f895db203 11:55:20 Step 6/26 : WORKDIR /device-virtual-go 11:55:20 ---> Running in 2d79419ed80c 11:55:20 Removing intermediate container 2d79419ed80c 11:55:20 ---> 707fd7355a8d 11:55:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:55:20 ---> Running in 3fd3dfe72916 11:55:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:55:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:55:21 OK: 268 MiB in 56 packages 11:55:22 Removing intermediate container 3fd3dfe72916 11:55:22 ---> 84e62661f089 11:55:22 Step 8/26 : COPY go.mod vendor* ./ 11:55:22 ---> 71508ed9a22a 11:55:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:55:22 ---> Running in 44f5938836fa 11:55:22 Removing intermediate container 44f5938836fa 11:55:22 ---> d2b1c728e908 11:55:22 Step 10/26 : COPY . . 11:55:23 ---> ef86f0d950b0 11:55:23 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:55:23 ---> Running in a20c25c26efb 11:55:23 Removing intermediate container a20c25c26efb 11:55:23 ---> 053e69a7aff5 11:55:23 Step 12/26 : RUN $MAKE 11:55:23 ---> Running in 6d5b7f187605 11:55:24 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.6" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:55:42 Removing intermediate container 6d5b7f187605 11:55:42 ---> 3d139045f501 11:55:42 Step 13/26 : FROM alpine:3.18 11:55:42 3.18: Pulling from library/alpine 11:55:42 c926b61bad3b: Pulling fs layer 11:55:42 c926b61bad3b: Verifying Checksum 11:55:42 c926b61bad3b: Download complete 11:55:42 c926b61bad3b: Pull complete 11:55:42 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:55:42 Status: Downloaded newer image for alpine:3.18 11:55:42 ---> b541f2080109 11:55:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:55:42 ---> Running in 02dd4322ddf8 11:55:42 Removing intermediate container 02dd4322ddf8 11:55:42 ---> b197ed9c787c 11:55:42 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:55:42 ---> Running in d4596d8fda9d 11:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:55:42 (1/1) Installing dumb-init (1.2.5-r2) 11:55:42 Executing busybox-1.36.1-r5.trigger 11:55:42 OK: 7 MiB in 16 packages 11:55:43 Removing intermediate container d4596d8fda9d 11:55:43 ---> 963e2236fc2a 11:55:43 Step 16/26 : RUN apk --no-cache upgrade 11:55:43 ---> Running in 3c4c59701c3d 11:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:55:43 OK: 7 MiB in 16 packages 11:55:44 Removing intermediate container 3c4c59701c3d 11:55:44 ---> 745649f34a37 11:55:44 Step 17/26 : WORKDIR / 11:55:44 ---> Running in 8a67125cfc8c 11:55:44 Removing intermediate container 8a67125cfc8c 11:55:44 ---> fa6093a54077 11:55:44 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:55:44 ---> 791406fd1820 11:55:44 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:55:44 ---> e35d5872a38c 11:55:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:55:45 ---> 4ebecec7db82 11:55:45 Step 21/26 : EXPOSE 59900 11:55:45 ---> Running in 116026048ea3 11:55:45 Removing intermediate container 116026048ea3 11:55:45 ---> e3ccaa5e0426 11:55:45 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:55:45 ---> Running in 6e05e5155193 11:55:45 Removing intermediate container 6e05e5155193 11:55:45 ---> 524165e2da6a 11:55:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:55:45 ---> Running in 8bf9552398f7 11:55:45 Removing intermediate container 8bf9552398f7 11:55:45 ---> 1906f30287e9 11:55:45 Step 24/26 : LABEL arch=amd64 11:55:45 ---> Running in 99c3d4e9d3e4 11:55:45 Removing intermediate container 99c3d4e9d3e4 11:55:45 ---> adc21375d871 11:55:45 Step 25/26 : LABEL git_sha=f6d042c86147d4d8910c31a7aab1fd6b265c7d9c 11:55:45 ---> Running in c89b96249857 11:55:45 Removing intermediate container c89b96249857 11:55:45 ---> cda0abe35dd7 11:55:45 Step 26/26 : LABEL version=0.0.0 11:55:45 ---> Running in b0c50938fb50 11:55:45 Removing intermediate container b0c50938fb50 11:55:45 ---> 815fd42616c6 11:55:45 [Warning] One or more build-args [ARCH] were not consumed 11:55:45 Successfully built 815fd42616c6 11:55:45 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:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:55:46 11:55:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:55:47 latest: Pulling from edgex-lftools-log-publisher 11:55:47 5eb5b503b376: Pulling fs layer 11:55:47 5c69ac0246d0: Pulling fs layer 11:55:47 ec43610c2a17: Pulling fs layer 11:55:47 3a2ae6a8a46f: Pulling fs layer 11:55:47 33b1e0a273af: Pulling fs layer 11:55:47 5d3b04190fa2: Pulling fs layer 11:55:47 2f39f015ded8: Pulling fs layer 11:55:47 3a2ae6a8a46f: Waiting 11:55:47 2f39f015ded8: Waiting 11:55:47 5d3b04190fa2: Waiting 11:55:47 5c69ac0246d0: Download complete 11:55:47 3a2ae6a8a46f: Verifying Checksum 11:55:47 3a2ae6a8a46f: Download complete 11:55:47 33b1e0a273af: Verifying Checksum 11:55:47 33b1e0a273af: Download complete 11:55:47 5d3b04190fa2: Verifying Checksum 11:55:47 5d3b04190fa2: Download complete 11:55:47 ec43610c2a17: Verifying Checksum 11:55:47 ec43610c2a17: Download complete 11:55:47 5eb5b503b376: Verifying Checksum 11:55:47 5eb5b503b376: Download complete 11:55:47 2f39f015ded8: Download complete 11:55:48 5eb5b503b376: Pull complete 11:55:48 5c69ac0246d0: Pull complete 11:55:49 ec43610c2a17: Pull complete 11:55:49 3a2ae6a8a46f: Pull complete 11:55:49 33b1e0a273af: Pull complete 11:55:49 5d3b04190fa2: Pull complete 11:55:53 2f39f015ded8: Pull complete 11:55:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:55:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:55:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:54 prd-ubuntu20.04-docker-8c-8g-26387 does not seem to be running inside a container 11:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-458 -v /w/workspace/foundry_device-virtual-go_PR-458:/w/workspace/foundry_device-virtual-go_PR-458:rw,z -v /w/workspace/foundry_device-virtual-go_PR-458@tmp:/w/workspace/foundry_device-virtual-go_PR-458@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:55:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26388 in /w/workspace/foundry_device-virtual-go_PR-458 11:55:58 $ docker top c6e82a7e5f33072262385226925aad70b7b5fbfe5f424cd9074a3b357182fa28 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 11:55:58 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:55:58 The recommended git tool is: git 11:55:58 ---> job-cost.sh 11:55:58 lf-activate-venv: SKIPPING 11:55:58 INFO: No Stack... 11:55:59 INFO: Retrieving Pricing Info for: v3-standard-8 11:55:59 INFO: Archiving Costs [Pipeline] sh 11:55:59 + cat /w/workspace/foundry_device-virtual-go_PR-458/archives/cost.csv 11:55:59 + cut -d, -f6 [Pipeline] lock 11:55:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] 11:55:59 Resource [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] did not exist. Created. 11:55:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:56:00 + echo total: 0.2199999988079071 [Pipeline] stash 11:56:00 Stashed 1 file(s) [Pipeline] } 11:56:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:56:00 $ docker stop --time=1 c6e82a7e5f33072262385226925aad70b7b5fbfe5f424cd9074a3b357182fa28 11:56:01 $ docker rm -f --volumes c6e82a7e5f33072262385226925aad70b7b5fbfe5f424cd9074a3b357182fa28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:56:04 using credential edgex-jenkins-ssh 11:56:04 Cloning the remote Git repository 11:56:04 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:56:04 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:56:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:56:04 > git --version # timeout=10 11:56:04 > git --version # 'git version 2.25.1' 11:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 11:56:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:56:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:56:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:56:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:56:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:56:11 using GIT_SSH to set credentials SSH Credentials for GitHub 11:56:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:56:12 Merging remotes/origin/main commit fb1784cb48d67777d6d76d542ae5273b128f716d into PR head commit f6d042c86147d4d8910c31a7aab1fd6b265c7d9c 11:56:12 Merge succeeded, producing f6d042c86147d4d8910c31a7aab1fd6b265c7d9c 11:56:12 Checking out Revision f6d042c86147d4d8910c31a7aab1fd6b265c7d9c (PR-458) 11:56:13 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:56:13 > git --version # timeout=10 11:56:13 > git --version # 'git version 2.25.1' 11:56:13 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 11:56:12 > git config core.sparsecheckout # timeout=10 11:56:12 > git checkout -f f6d042c86147d4d8910c31a7aab1fd6b265c7d9c # timeout=10 11:56:12 > git remote # timeout=10 11:56:12 > git config --get remote.origin.url # timeout=10 11:56:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:56:12 > git merge fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 11:56:12 > git rev-parse HEAD^{commit} # timeout=10 11:56:12 > git config core.sparsecheckout # timeout=10 11:56:12 > git checkout -f f6d042c86147d4d8910c31a7aab1fd6b265c7d9c # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:56:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:56:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:56:14 Dload Upload Total Spent Left Speed 11:56:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 94641 0 --:--:-- --:--:-- --:--:-- 95353 [Pipeline] sh 11:56:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:56:15 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 11:56:15 tee /etc/docker/daemon.new 11:56:15 { 11:56:15 "registry-mirrors": [ 11:56:15 "https://nexus3.edgexfoundry.org:10001" 11:56:15 ], 11:56:15 "bip": "10.250.0.254/24", 11:56:15 "hosts": [ 11:56:15 "tcp://0.0.0.0:5555", 11:56:15 "unix:///var/run/docker.sock" 11:56:15 ], 11:56:15 "mtu": 1458, 11:56:15 "selinux-enabled": true, 11:56:15 "seccomp-profile": "/etc/docker/seccomp.json" 11:56:15 } [Pipeline] sh 11:56:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:56:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:56:34 provisioning config files... 11:56:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17984908906000919473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:56:34 ---> ****-login.sh 11:56:34 nexus3.edgexfoundry.org:10001 11:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:35 Configure a credential helper to remove this warning. See 11:56:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:35 11:56:35 Login Succeeded 11:56:35 nexus3.edgexfoundry.org:10002 11:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:35 Configure a credential helper to remove this warning. See 11:56:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:35 11:56:35 Login Succeeded 11:56:35 nexus3.edgexfoundry.org:10003 11:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:35 Configure a credential helper to remove this warning. See 11:56:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:35 11:56:35 Login Succeeded 11:56:35 nexus3.edgexfoundry.org:10004 11:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:36 Configure a credential helper to remove this warning. See 11:56:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:36 11:56:36 Login Succeeded 11:56:36 ****.io 11:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:36 Configure a credential helper to remove this warning. See 11:56:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:36 11:56:36 Login Succeeded 11:56:36 ---> ****-login.sh ends [Pipeline] } 11:56:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:56:37 ========================================================= 11:56:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:56:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:37 + 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:56:39 #0 building with "default" instance using docker driver 11:56:39 11:56:39 #1 [internal] load .dockerignore 11:56:39 #1 transferring context: 2B done 11:56:39 #1 DONE 0.1s 11:56:39 11:56:39 #2 [internal] load build definition from Dockerfile 11:56:39 #2 transferring dockerfile: 1.79kB done 11:56:39 #2 DONE 0.1s 11:56:39 11:56:39 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:56:39 #3 DONE 0.1s 11:56:40 11:56:40 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:56:40 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 11:56:40 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 753.66kB / 63.99MB 0.1s 11:56:40 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 11:56:40 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s 11:56:40 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.05MB / 3.33MB 0.2s 11:56:40 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 11:56:40 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.3s 11:56:40 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 11:56:40 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 11:56:40 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 11:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 11:56:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.4s 11:56:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.78MB / 63.99MB 0.5s 11:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 11:56:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.75MB / 63.99MB 0.6s 11:56:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 11:56:40 #4 ... 11:56:40 11:56:40 #5 [internal] load build context 11:56:40 #5 transferring context: 15.81MB 0.6s done 11:56:40 #5 DONE 0.7s 11:56:40 11:56:40 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.09MB / 63.99MB 0.7s 11:56:40 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 11:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.7s 11:56:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.36MB / 63.99MB 0.9s 11:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 0.9s 11:56:40 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 11:56:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s 11:56:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 1.0s 11:56:40 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 11:56:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.1s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 1.1s 11:56:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.3s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.16MB / 97.63MB 1.3s 11:56:41 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 11:56:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s 11:56:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.5s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.6s 11:56:41 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.8s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.20MB / 97.63MB 1.9s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 89.13MB / 97.63MB 2.0s 11:56:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.1s 11:56:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 11:56:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.1s 11:56:51 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.2s 11:56:58 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.4s done 11:56:59 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 11:56:59 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 11:56:59 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 11:56:59 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11:57:04 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 11:57:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.8s done 11:57:07 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 11:57:09 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 11:57:09 #4 DONE 29.5s 11:57:09 11:57:09 #6 [builder 2/7] WORKDIR /device-virtual-go 11:57:10 #6 DONE 1.6s 11:57:10 11:57:10 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:57:11 #7 0.690 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:57:12 #7 1.069 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:57:13 #7 2.015 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:57:13 #7 2.041 (2/4) Installing libedit (20221030.3.1-r1) 11:57:13 #7 2.054 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:57:13 #7 2.117 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:57:13 #7 2.143 Executing busybox-1.36.1-r5.trigger 11:57:13 #7 2.177 OK: 271 MiB in 56 packages 11:57:13 #7 DONE 2.4s 11:57:13 11:57:13 #8 [builder 4/7] COPY go.mod vendor* ./ 11:57:13 #8 DONE 0.1s 11:57:13 11:57:13 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:57:35 #9 DONE 20.8s 11:57:35 11:57:35 #10 [builder 6/7] COPY . . 11:57:35 #10 DONE 0.4s 11:57:35 11:57:35 #11 [builder 7/7] RUN echo noop 11:57:35 #11 0.673 noop 11:57:36 #11 DONE 1.5s 11:57:36 11:57:36 #12 exporting to image 11:57:36 #12 exporting layers 11:57:58 #12 exporting layers 22.2s done 11:57:58 #12 writing image sha256:eec9e645981a6aef4df1517d60d9554cee5c6b38ab92d15ce2057b5adebc927c done 11:57:58 #12 naming to docker.io/library/ci-base-image-arm64 done 11:57:58 #12 DONE 22.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:59 + docker inspect -f . ci-base-image-arm64 11:57:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:57:59 prd-ubuntu20.04-docker-arm64-4c-16g-26388 does not seem to be running inside a container 11:57:59 $ 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 ******** ci-base-image-arm64 cat 11:58:00 $ docker top 6a137540805f3928f2e620f949cea1357f9e18f59cf63fd3fe3bf238768b4879 -eo pid,comm [Pipeline] { [Pipeline] sh 11:58:01 + go version 11:58:01 go version go1.21.0 linux/arm64 [Pipeline] } 11:58:01 $ docker stop --time=1 6a137540805f3928f2e620f949cea1357f9e18f59cf63fd3fe3bf238768b4879 11:58:06 $ docker rm -f --volumes 6a137540805f3928f2e620f949cea1357f9e18f59cf63fd3fe3bf238768b4879 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:07 + docker inspect -f . ci-base-image-arm64 11:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:58:07 prd-ubuntu20.04-docker-arm64-4c-16g-26388 does not seem to be running inside a container 11:58:07 $ 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 ******** ci-base-image-arm64 cat 11:58:08 $ docker top 670ffcada41de875297236e1ad313ef0a1ee5e762bc7bab74df85762fbbcb26d -eo pid,comm [Pipeline] { [Pipeline] sh 11:58:09 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:58:09 + make test 11:58:09 go test ./... -coverprofile=coverage.out 11:58:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:59:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:59:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.070s coverage: 58.4% of statements 11:59:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:59:10 go vet ./... 11:59:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:59:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:59:15 ./bin/test-attribution-txt.sh [Pipeline] echo 11:59:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:59:15 $ docker stop --time=1 670ffcada41de875297236e1ad313ef0a1ee5e762bc7bab74df85762fbbcb26d 11:59:19 $ docker rm -f --volumes 670ffcada41de875297236e1ad313ef0a1ee5e762bc7bab74df85762fbbcb26d [Pipeline] // withDockerContainer [Pipeline] sh 11:59:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:59:20 Warning: overwriting stash ‘coverage-report’ 11:59:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:59:22 + ls -al . 11:59:22 total 196 11:59:22 drwxrwxr-x 7 jenkins jenkins 4096 Dec 29 11:58 . 11:59:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 11:56 .. 11:59:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 11:56 .git 11:59:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 11:56 .github 11:59:22 -rw-rw-r-- 1 jenkins jenkins 272 Dec 29 11:56 .gitignore 11:59:22 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 11:56 .golangci.yml 11:59:22 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 29 11:56 Attribution.txt 11:59:22 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 29 11:56 CHANGELOG.md 11:59:22 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 29 11:56 Dockerfile 11:59:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 11:56 GOVERNANCE.md 11:59:22 -rw-rw-r-- 1 jenkins jenkins 660 Dec 29 11:56 Jenkinsfile 11:59:22 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 11:56 LICENSE 11:59:22 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 29 11:56 Makefile 11:59:22 -rw-rw-r-- 1 jenkins jenkins 623 Dec 29 11:56 OWNERS.md 11:59:22 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 29 11:56 README.md 11:59:22 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 11:53 VERSION 11:59:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 11:56 bin 11:59:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 11:56 cmd 11:59:22 -rw-r--r-- 1 jenkins jenkins 43063 Dec 29 11:59 coverage.out 11:59:22 -rw-rw-r-- 1 jenkins jenkins 3634 Dec 29 11:56 go.mod 11:59:22 -rw-rw-r-- 1 jenkins jenkins 33991 Dec 29 11:56 go.sum 11:59:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 11:56 internal 11:59:22 -rw-rw-r-- 1 jenkins jenkins 235 Dec 29 11:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:22 + 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=f6d042c86147d4d8910c31a7aab1fd6b265c7d9c --label arch=arm64 --label version=0.0.0 . 11:59:23 #0 building with "default" instance using docker driver 11:59:23 11:59:23 #1 [internal] load build definition from Dockerfile 11:59:23 #1 transferring dockerfile: 30B 11:59:23 #1 transferring dockerfile: 1.79kB 0.0s done 11:59:23 #1 DONE 0.0s 11:59:23 11:59:23 #2 [internal] load .dockerignore 11:59:23 #2 transferring context: 2B done 11:59:23 #2 DONE 0.0s 11:59:23 11:59:23 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 11:59:23 #3 DONE 0.0s 11:59:23 11:59:23 #4 [internal] load metadata for docker.io/library/alpine:3.18 11:59:23 #4 DONE 0.3s 11:59:23 11:59:23 #5 [internal] load build context 11:59:23 #5 transferring context: 51.61kB 0.1s done 11:59:23 #5 DONE 0.1s 11:59:23 11:59:23 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:59:23 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 11:59:23 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 11:59:23 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 11:59:23 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 11:59:23 #6 ... 11:59:23 11:59:23 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 11:59:23 #7 DONE 0.2s 11:59:23 11:59:23 #8 [builder 2/7] WORKDIR /device-virtual-go 11:59:23 #8 DONE 0.1s 11:59:23 11:59:23 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:59:23 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 11:59:23 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 11:59:23 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 11:59:24 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 11:59:24 #6 DONE 0.9s 11:59:24 11:59:24 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:59:25 #9 0.633 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:59:25 #9 0.952 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:59:26 #9 ... 11:59:26 11:59:26 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:59:26 #10 0.726 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:59:26 #10 1.207 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:59:26 #10 2.244 OK: 271 MiB in 56 packages 11:59:26 #10 DONE 2.5s 11:59:26 11:59:26 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:59:26 #9 1.934 (1/1) Installing dumb-init (1.2.5-r2) 11:59:26 #9 1.951 Executing busybox-1.36.1-r5.trigger 11:59:26 #9 1.975 OK: 8 MiB in 16 packages 11:59:26 #9 ... 11:59:26 11:59:26 #11 [builder 4/7] COPY go.mod vendor* ./ 11:59:26 #11 DONE 0.2s 11:59:26 11:59:26 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:59:26 #9 DONE 2.3s 11:59:26 11:59:27 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:32 #12 ... 11:59:32 11:59:32 #13 [stage-1 3/7] RUN apk --no-cache upgrade 11:59:32 #13 0.757 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:59:32 #13 1.069 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:59:32 #13 2.032 OK: 8 MiB in 16 packages 11:59:32 #13 DONE 4.8s 11:59:32 11:59:32 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:32 #12 DONE 5.1s 11:59:32 11:59:32 #14 [builder 6/7] COPY . . 11:59:32 #14 DONE 0.4s 11:59:32 11:59:32 #15 [builder 7/7] RUN make build 11:59:33 #15 0.628 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.6" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:00:40 #15 DONE 57.3s 12:00:40 12:00:40 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 12:00:40 #16 DONE 0.1s 12:00:40 12:00:40 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 12:00:40 #17 DONE 0.1s 12:00:40 12:00:40 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 12:00:40 #18 DONE 0.3s 12:00:40 12:00:40 #19 exporting to image 12:00:40 #19 exporting layers 12:00:40 #19 exporting layers 0.2s done 12:00:40 #19 writing image sha256:2444aae00a42d68587e462aa3e0071ea514e7375e915d256324418cb29c70847 done 12:00:40 #19 naming to docker.io/library/device-virtual-arm64 done 12:00:40 #19 DONE 0.3s [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 12:00:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:42 12:00:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:42 arm64: Pulling from edgex-lftools-log-publisher 12:00:42 8998bd30e6a1: Pulling fs layer 12:00:42 04944245beec: Pulling fs layer 12:00:42 699f458cf7ca: Pulling fs layer 12:00:42 765212b225bb: Pulling fs layer 12:00:42 f23df028b6ca: Pulling fs layer 12:00:42 d65c8cfc05b1: Pulling fs layer 12:00:42 2437ff75d9bd: Pulling fs layer 12:00:42 765212b225bb: Waiting 12:00:42 f23df028b6ca: Waiting 12:00:42 d65c8cfc05b1: Waiting 12:00:42 2437ff75d9bd: Waiting 12:00:43 04944245beec: Verifying Checksum 12:00:43 04944245beec: Download complete 12:00:43 765212b225bb: Verifying Checksum 12:00:43 765212b225bb: Download complete 12:00:43 f23df028b6ca: Verifying Checksum 12:00:43 f23df028b6ca: Download complete 12:00:43 d65c8cfc05b1: Verifying Checksum 12:00:43 d65c8cfc05b1: Download complete 12:00:43 699f458cf7ca: Verifying Checksum 12:00:43 699f458cf7ca: Download complete 12:00:43 8998bd30e6a1: Verifying Checksum 12:00:43 8998bd30e6a1: Download complete 12:00:45 2437ff75d9bd: Verifying Checksum 12:00:45 2437ff75d9bd: Download complete 12:00:49 8998bd30e6a1: Pull complete 12:00:49 04944245beec: Pull complete 12:00:51 699f458cf7ca: Pull complete 12:00:51 765212b225bb: Pull complete 12:00:56 f23df028b6ca: Pull complete 12:00:56 d65c8cfc05b1: Pull complete 12:01:18 2437ff75d9bd: Pull complete 12:01:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:01:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:18 prd-ubuntu20.04-docker-arm64-4c-16g-26388 does not seem to be running inside a container 12:01:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:01:20 $ docker top 3815bba12cd5dbdbc55ead5afbf4b1dc45082f9ce259c4500f25971cb6c6cb40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:21 ---> job-cost.sh 12:01:21 lf-activate-venv: SKIPPING 12:01:21 INFO: No Stack... 12:01:22 INFO: Retrieving Pricing Info for: v3-standard-8 12:01:23 INFO: Archiving Costs [Pipeline] sh 12:01:23 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 12:01:23 + cut -d, -f6 [Pipeline] lock 12:01:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] 12:01:23 Resource [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] did not exist. Created. 12:01:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:01:23 /w/workspace/device-virtual-go/1@tmp/durable-7bc8be8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:01:24 + echo total: 0.2199999988079071 [Pipeline] stash 12:01:24 Warning: overwriting stash ‘stack-cost’ 12:01:24 Stashed 1 file(s) [Pipeline] } 12:01:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-458-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:01:24 $ docker stop --time=1 3815bba12cd5dbdbc55ead5afbf4b1dc45082f9ce259c4500f25971cb6c6cb40 12:01:25 $ docker rm -f --volumes 3815bba12cd5dbdbc55ead5afbf4b1dc45082f9ce259c4500f25971cb6c6cb40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:01:28 provisioning config files... 12:01:28 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-458@tmp/config11490581213470614532tmp [Pipeline] { [Pipeline] sh 12:01:28 + set +x 12:01:28 + curl -s https://codecov.io/bash 12:01:28 + bash -s -- 12:01:28 12:01:28 _____ _ 12:01:28 / ____| | | 12:01:28 | | ___ __| | ___ ___ _____ __ 12:01:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:01:28 | |___| (_) | (_| | __/ (_| (_) \ V / 12:01:28 \_____\___/ \__,_|\___|\___\___/ \_/ 12:01:28 Bash-1.0.6 12:01:28 12:01:28 12:01:28 ==> git version 2.25.1 found 12:01:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:01:28 Release-Date: 2020-01-08 12:01:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:01:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:01:28 ==> Jenkins CI detected. 12:01:28 current dir:  /w/workspace/foundry_device-virtual-go_PR-458 12:01:28 project root: . 12:01:28 --> token set from env 12:01:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:01:28 ==> Running gcov in . (disable via -X gcov) 12:01:28 ==> Python coveragepy not found 12:01:28 ==> Searching for coverage reports in: 12:01:28 + . 12:01:28 -> Found 1 reports 12:01:28 ==> Detecting git/mercurial file structure 12:01:28 ==> Reading reports 12:01:28 + ./coverage.out bytes=43063 12:01:28 ==> Appending adjustments 12:01:28 https://docs.codecov.io/docs/fixing-reports 12:01:29 + Found adjustments 12:01:29 ==> Gzipping contents 12:01:29 8.0K /tmp/codecov.d0zHb3.gz 12:01:29 ==> Uploading reports 12:01:29 url: https://codecov.io 12:01:29 query: branch=PR-458&commit=f6d042c86147d4d8910c31a7aab1fd6b265c7d9c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=458&job=&cmd_args= 12:01:29 -> Pinging Codecov 12:01:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-458&commit=f6d042c86147d4d8910c31a7aab1fd6b265c7d9c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=458&job=&cmd_args= 12:01:29 -> Uploading to 12:01:29 https://storage.googleapis.com/codecov/v4/raw/2023-12-29/5E52B4B073DB2E39498172D8E973AA87/f6d042c86147d4d8910c31a7aab1fd6b265c7d9c/ce76fb53-e588-4f0c-aa35-a79086694f91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T120129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=598951e9691681f44c795901aab127cab53e5b744e7c4753236df064699bbbc4 12:01:29 % Total % Received % Xferd Average Speed Time Time Time Current 12:01:29 Dload Upload Total Spent Left Speed 12:01:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 80612 --:--:-- --:--:-- --:--:-- 79333 100 4998 0 0 100 4998 0 20400 --:--:-- --:--:-- --:--:-- 20317 12:01:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f6d042c86147d4d8910c31a7aab1fd6b265c7d9c [Pipeline] } 12:01:29 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 12:01:32 + [ -d /w/workspace/foundry_device-virtual-go_PR-458/archives ] 12:01:32 + ls -al /w/workspace/foundry_device-virtual-go_PR-458/archives 12:01:32 total 16 12:01:32 drwxr-xr-x 3 root root 4096 Dec 29 11:55 . 12:01:32 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 11:56 .. 12:01:32 drwxr-xr-x 2 root root 4096 Dec 29 11:55 cost 12:01:32 -rw-r--r-- 1 root root 89 Dec 29 11:55 cost.csv 12:01:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-458/archives 12:01:32 + ls -al /w/workspace/foundry_device-virtual-go_PR-458/archives 12:01:32 total 16 12:01:32 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 11:55 . 12:01:32 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 11:56 .. 12:01:32 drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 11:55 cost 12:01:32 -rw-r--r-- 1 jenkins jenkins 89 Dec 29 11:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:01:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:01:34 ---> package-listing.sh 12:01:34 ++ facter osfamily 12:01:34 ++ tr '[:upper:]' '[:lower:]' 12:01:34 + OS_FAMILY=debian 12:01:34 + workspace=/w/workspace/foundry_device-virtual-go_PR-458 12:01:34 + START_PACKAGES=/tmp/packages_start.txt 12:01:34 + END_PACKAGES=/tmp/packages_end.txt 12:01:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:01:34 + PACKAGES=/tmp/packages_start.txt 12:01:34 + '[' /w/workspace/foundry_device-virtual-go_PR-458 ']' 12:01:34 + PACKAGES=/tmp/packages_end.txt 12:01:34 + case "${OS_FAMILY}" in 12:01:34 + dpkg -l 12:01:34 + grep '^ii' 12:01:34 + '[' -f /tmp/packages_start.txt ']' 12:01:34 + '[' -f /tmp/packages_end.txt ']' 12:01:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:01:34 + '[' /w/workspace/foundry_device-virtual-go_PR-458 ']' 12:01:34 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-458/archives/ 12:01:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-458/archives/ [Pipeline] echo 12:01:34 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-458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:01:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:01:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:35 prd-ubuntu20.04-docker-8c-8g-26387 does not seem to be running inside a container 12:01:35 $ 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-458/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-458 -v /w/workspace/foundry_device-virtual-go_PR-458:/w/workspace/foundry_device-virtual-go_PR-458:rw,z -v /w/workspace/foundry_device-virtual-go_PR-458@tmp:/w/workspace/foundry_device-virtual-go_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:01:35 $ docker top 3dac96cca08ac92f8824a3d05b2cf9f31282d6396ad4e3bac30bb9bdc837036f -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:36 + touch /tmp/pre-build-complete [Pipeline] sh 12:01:36 + mkdir -p /var/log/sysstat [Pipeline] sh 12:01:37 + ls /var/log/sa-host 12:01:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:37 provisioning config files... 12:01:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-458@tmp/config17558476645076420933tmp [Pipeline] { [Pipeline] echo 12:01:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:01:37 ---> create-netrc.sh [Pipeline] } 12:01:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:01:38 ---> python-tools-install.sh [Pipeline] echo 12:01:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:01:38 ---> sudo-logs.sh 12:01:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:01:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:01:39 ---> job-cost.sh 12:01:39 lf-activate-venv: SKIPPING 12:01:39 DEBUG: total: 0.2199999988079071 12:01:39 INFO: Retrieving Stack Cost... 12:01:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:01:39 INFO: Archiving Costs [Pipeline] echo 12:01:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:01:39 ---> logs-deploy.sh 12:01:39 lf-activate-venv: SKIPPING 12:01:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-458/1 12:01:39 INFO: archiving workspace using pattern(s): 12:01:40 Archives upload complete. 12:01:40 INFO: archiving logs to Nexus