Pull request #330 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 7b778363b5e6f5bd44260dda054e65a84ccb7ba8+ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (f927655d4a63bac329a1e6585f4db1e13bdeedbb) 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-ssh11653540326005360156.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8821141786373342687.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-330/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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16081687635319310948.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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10322880737714406864.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17884160071822192773.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-330/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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3098901191887074050.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3052 in /w/workspace/foundry_device-virtual-go_PR-330 [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-330 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 Merge succeeded, producing 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 Checking out Revision 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 (PR-330) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 # 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 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 # timeout=10 Commit message: "build(deps): bump device-sdk-go version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:22:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:22:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:22:53 ========================================================= 02:22:53 EdgeX Global Pipelines Version Info 02:22:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:22:54 ------------------- 02:22:54 stable info: 02:22:54 ------------------- 02:22:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:22:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:22:54 Message: update stable to v1.0.244 02:22:55 ------------------- 02:22:55 experimental info: 02:22:55 ------------------- 02:22:55 Commited By: **** collab-it+edgex@linuxfoundation.org 02:22:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:22:55 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:22:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b77836 [Pipeline] echo 02:22:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:56 provisioning config files... 02:22:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-330@tmp/config4122421510666216176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:57 ---> docker-login.sh 02:22:57 nexus3.edgexfoundry.org:10001 02:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:57 Configure a credential helper to remove this warning. See 02:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:57 02:22:57 Login Succeeded 02:22:57 nexus3.edgexfoundry.org:10002 02:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:57 Configure a credential helper to remove this warning. See 02:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:57 02:22:57 Login Succeeded 02:22:57 nexus3.edgexfoundry.org:10003 02:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:57 Configure a credential helper to remove this warning. See 02:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:57 02:22:57 Login Succeeded 02:22:57 nexus3.edgexfoundry.org:10004 02:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:57 Configure a credential helper to remove this warning. See 02:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:57 02:22:57 Login Succeeded 02:22:57 docker.io 02:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:57 Configure a credential helper to remove this warning. See 02:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:57 02:22:57 Login Succeeded 02:22:57 ---> docker-login.sh ends [Pipeline] } 02:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:22:58 + git rev-list -1 --merges 7b778363b5e6f5bd44260dda054e65a84ccb7ba8~1..7b778363b5e6f5bd44260dda054e65a84ccb7ba8 [Pipeline] echo 02:22:58 -----------> git rev-list -1 --merges 7b778363b5e6f5bd44260dda054e65a84ccb7ba8~1..7b778363b5e6f5bd44260dda054e65a84ccb7ba8 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 [false] [Pipeline] sh 02:22:58 + git log --format=format:%s -1 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 [Pipeline] echo 02:22:58 ========================================================= 02:22:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:22:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:22:59 + git log --format=format:%s -1 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 [Pipeline] echo 02:22:59 [semverPrep] GIT_COMMIT: 7b778363b5e6f5bd44260dda054e65a84ccb7ba8, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo 02:22:59 [semverPrep] This is not a build commit. [Pipeline] sh 02:22:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:22:59 + grep -v github /etc/ssh/ssh_known_hosts 02:22:59 + [ -e /tmp/ssh_known_hosts ] 02:22:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:22:59 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 02:22:59 /etc/ssh/ssh_known_hosts 02:22:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:00 02:23:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:00 0.1.4: Pulling from edgex-devops/py-git-semver 02:23:00 b85a868b505f: Pulling fs layer 02:23:00 e2be974225ed: Pulling fs layer 02:23:00 339a4e72a1f5: Pulling fs layer 02:23:00 988bab9f4d93: Pulling fs layer 02:23:00 1469e6f7b9e6: Pulling fs layer 02:23:00 eaf3925da568: Pulling fs layer 02:23:00 bab4dde63d76: Pulling fs layer 02:23:00 bde34c3a00c8: Pulling fs layer 02:23:00 b352a97aabf1: Pulling fs layer 02:23:00 4872d77fe225: Pulling fs layer 02:23:00 5851b861e8e6: Pulling fs layer 02:23:00 988bab9f4d93: Waiting 02:23:00 b352a97aabf1: Waiting 02:23:00 1469e6f7b9e6: Waiting 02:23:00 eaf3925da568: Waiting 02:23:00 bab4dde63d76: Waiting 02:23:00 bde34c3a00c8: Waiting 02:23:00 4872d77fe225: Waiting 02:23:00 e2be974225ed: Verifying Checksum 02:23:00 e2be974225ed: Download complete 02:23:00 988bab9f4d93: Verifying Checksum 02:23:00 988bab9f4d93: Download complete 02:23:00 1469e6f7b9e6: Verifying Checksum 02:23:00 1469e6f7b9e6: Download complete 02:23:00 eaf3925da568: Verifying Checksum 02:23:00 eaf3925da568: Download complete 02:23:00 339a4e72a1f5: Verifying Checksum 02:23:00 339a4e72a1f5: Download complete 02:23:00 bde34c3a00c8: Verifying Checksum 02:23:00 bde34c3a00c8: Download complete 02:23:00 b352a97aabf1: Verifying Checksum 02:23:00 b352a97aabf1: Download complete 02:23:01 4872d77fe225: Verifying Checksum 02:23:01 4872d77fe225: Download complete 02:23:01 5851b861e8e6: Verifying Checksum 02:23:01 b85a868b505f: Verifying Checksum 02:23:01 b85a868b505f: Download complete 02:23:01 bab4dde63d76: Verifying Checksum 02:23:01 bab4dde63d76: Download complete 02:23:02 b85a868b505f: Pull complete 02:23:02 e2be974225ed: Pull complete 02:23:02 339a4e72a1f5: Pull complete 02:23:02 988bab9f4d93: Pull complete 02:23:03 1469e6f7b9e6: Pull complete 02:23:03 eaf3925da568: Pull complete 02:23:05 bab4dde63d76: Pull complete 02:23:05 bde34c3a00c8: Pull complete 02:23:05 b352a97aabf1: Pull complete 02:23:05 4872d77fe225: Pull complete 02:23:05 5851b861e8e6: Pull complete 02:23:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:23:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:06 prd-ubuntu20.04-docker-8c-8g-3052 does not seem to be running inside a container 02:23:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-330 -v /w/workspace/foundry_device-virtual-go_PR-330:/w/workspace/foundry_device-virtual-go_PR-330:rw,z -v /w/workspace/foundry_device-virtual-go_PR-330@tmp:/w/workspace/foundry_device-virtual-go_PR-330@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-devops/py-git-semver:0.1.4 cat 02:23:09 $ docker top 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b -eo pid,comm 02:23:09 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). 02:23:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:23:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:10 [ssh-agent] Looking for ssh-agent implementation... 02:23:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:10 $ docker exec 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b ssh-agent 02:23:10 SSH_AUTH_SOCK=/tmp/ssh-qJoJuAHaJR2v/agent.31 02:23:10 SSH_AGENT_PID=37 02:23:10 Running ssh-add (command line suppressed) 02:23:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-330@tmp/private_key_9248703421353633393.key (/w/workspace/foundry_device-virtual-go_PR-330@tmp/private_key_9248703421353633393.key) 02:23:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:10 + git tag --points-at HEAD [Pipeline] } 02:23:10 $ docker exec --env ******** --env ******** 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b ssh-agent -k 02:23:10 unset SSH_AUTH_SOCK; 02:23:10 unset SSH_AGENT_PID; 02:23:10 echo Agent pid 37 killed; 02:23:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:23:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:11 [ssh-agent] Looking for ssh-agent implementation... 02:23:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:11 $ docker exec 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b ssh-agent 02:23:11 SSH_AUTH_SOCK=/tmp/ssh-bRhPkXROOv3w/agent.68 02:23:11 SSH_AGENT_PID=74 02:23:11 Running ssh-add (command line suppressed) 02:23:11 Identity added: /w/workspace/foundry_device-virtual-go_PR-330@tmp/private_key_5024258525549340635.key (/w/workspace/foundry_device-virtual-go_PR-330@tmp/private_key_5024258525549340635.key) 02:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:11 + git semver init 02:23:11 2023-01-19 02:23:11,917 [run_init] DEBUG init version:0.0.0 force:False 02:23:11 2023-01-19 02:23:11,918 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-330/.semver 02:23:11 2023-01-19 02:23:11,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-330/.semver 02:23:11 2023-01-19 02:23:11,919 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-330/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-330, universal_newlines=False, shell=None, istream=None) 02:23:13 2023-01-19 02:23:13,186 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-330/.git/info/exclude 02:23:13 2023-01-19 02:23:13,187 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-330/.semver/PR-330 with force:False 02:23:13 2023-01-19 02:23:13,187 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-330/.semver/PR-330 02:23:13 2023-01-19 02:23:13,190 [execute] INFO git cat-file --batch-check 02:23:13 2023-01-19 02:23:13,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 02:23:13 2023-01-19 02:23:13,198 [execute] INFO git cat-file --batch 02:23:13 2023-01-19 02:23:13,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 02:23:13 2023-01-19 02:23:13,204 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-330/.semver/PR-330 02:23:13 0.0.0 [Pipeline] } 02:23:13 $ docker exec --env ******** --env ******** 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b ssh-agent -k 02:23:13 unset SSH_AUTH_SOCK; 02:23:13 unset SSH_AGENT_PID; 02:23:13 echo Agent pid 74 killed; 02:23:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:23:13 + git semver [Pipeline] } 02:23:14 $ docker stop --time=1 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b 02:23:15 $ docker rm -f --volumes 3af625eb98666a7c988190bde96408a93fa9796faa6461ca9c3babb4b77c467b [Pipeline] // withDockerContainer [Pipeline] sh 02:23:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:23:16 Stashed 1 file(s) [Pipeline] echo 02:23:16 [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 02:23:16 provisioning config files... 02:23:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-330@tmp/config10422955934999232374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:17 ---> docker-login.sh 02:23:17 nexus3.edgexfoundry.org:10001 02:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:17 Configure a credential helper to remove this warning. See 02:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:17 02:23:17 Login Succeeded 02:23:17 nexus3.edgexfoundry.org:10002 02:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:17 Configure a credential helper to remove this warning. See 02:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:17 02:23:17 Login Succeeded 02:23:17 nexus3.edgexfoundry.org:10003 02:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:17 Configure a credential helper to remove this warning. See 02:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:17 02:23:17 Login Succeeded 02:23:17 nexus3.edgexfoundry.org:10004 02:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:17 Configure a credential helper to remove this warning. See 02:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:17 02:23:17 Login Succeeded 02:23:17 docker.io 02:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:17 Configure a credential helper to remove this warning. See 02:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:17 02:23:17 Login Succeeded 02:23:17 ---> docker-login.sh ends [Pipeline] } 02:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:23:18 ========================================================= 02:23:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:23:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:23:18 Sending build context to Docker daemon 23.36MB 02:23:18 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:23:18 Step 2/12 : FROM ${BASE} AS builder 02:23:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:23:18 213ec9aee27d: Pulling fs layer 02:23:18 4583459ba037: Pulling fs layer 02:23:18 93c1e223e6f2: Pulling fs layer 02:23:18 53926ce57604: Pulling fs layer 02:23:18 21b2b0c7a3f4: Pulling fs layer 02:23:18 22ff95d597cd: Pulling fs layer 02:23:18 12d6caf4c0d1: Pulling fs layer 02:23:18 96b7cbca73a9: Pulling fs layer 02:23:18 a7acece74701: Pulling fs layer 02:23:18 53926ce57604: Waiting 02:23:18 12d6caf4c0d1: Waiting 02:23:18 96b7cbca73a9: Waiting 02:23:18 22ff95d597cd: Waiting 02:23:18 21b2b0c7a3f4: Waiting 02:23:18 4583459ba037: Verifying Checksum 02:23:18 4583459ba037: Download complete 02:23:18 93c1e223e6f2: Verifying Checksum 02:23:18 93c1e223e6f2: Download complete 02:23:18 21b2b0c7a3f4: Verifying Checksum 02:23:18 21b2b0c7a3f4: Download complete 02:23:18 22ff95d597cd: Verifying Checksum 02:23:18 22ff95d597cd: Download complete 02:23:18 213ec9aee27d: Verifying Checksum 02:23:18 213ec9aee27d: Download complete 02:23:18 12d6caf4c0d1: Download complete 02:23:19 213ec9aee27d: Pull complete 02:23:19 4583459ba037: Pull complete 02:23:19 93c1e223e6f2: Pull complete 02:23:19 a7acece74701: Verifying Checksum 02:23:19 a7acece74701: Download complete 02:23:20 53926ce57604: Verifying Checksum 02:23:20 53926ce57604: Download complete 02:23:20 96b7cbca73a9: Verifying Checksum 02:23:20 96b7cbca73a9: Download complete 02:23:24 53926ce57604: Pull complete 02:23:24 21b2b0c7a3f4: Pull complete 02:23:24 22ff95d597cd: Pull complete 02:23:24 12d6caf4c0d1: Pull complete 02:23:26 96b7cbca73a9: Pull complete 02:23:27 a7acece74701: Pull complete 02:23:27 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:23:27 ---> db6d94c90886 02:23:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:23:31 Still waiting to schedule task 02:23:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:23:34 ---> Running in 66d3812b7135 02:23:34 Removing intermediate container 66d3812b7135 02:23:34 ---> e736522c4081 02:23:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:23:34 ---> Running in 638e7e1e5b22 02:23:34 Removing intermediate container 638e7e1e5b22 02:23:34 ---> 46303fecff50 02:23:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:23:34 ---> Running in a06299d36766 02:23:34 Removing intermediate container a06299d36766 02:23:34 ---> 5a94078e0287 02:23:34 Step 6/12 : WORKDIR /device-virtual-go 02:23:34 ---> Running in 33d36f4cc91d 02:23:34 Removing intermediate container 33d36f4cc91d 02:23:34 ---> 862c810b4a63 02:23:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:23:34 ---> Running in 4ba70baa2e23 02:23:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:23:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:23:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:23:34 (2/4) Installing libedit (20210910.3.1-r0) 02:23:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:23:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:23:34 Executing busybox-1.35.0-r17.trigger 02:23:34 OK: 216 MiB in 55 packages 02:23:35 Removing intermediate container 4ba70baa2e23 02:23:35 ---> ed6631791d04 02:23:35 Step 8/12 : COPY go.mod vendor* ./ 02:23:35 ---> ad8e9d25c0cf 02:23:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:23:35 ---> Running in 30ac04444f7d 02:24:13 Removing intermediate container 30ac04444f7d 02:24:13 ---> 423db1bf4880 02:24:13 Step 10/12 : COPY . . 02:24:13 ---> 6de26a66658f 02:24:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:24:13 ---> Running in 4253442a12ec 02:24:13 Removing intermediate container 4253442a12ec 02:24:13 ---> bf6850d0e8db 02:24:13 Step 12/12 : RUN $MAKE 02:24:13 ---> Running in efc984549aa3 02:24:13 noop 02:24:13 Removing intermediate container efc984549aa3 02:24:13 ---> f010bb6a31ae 02:24:13 Successfully built f010bb6a31ae 02:24:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:14 + docker inspect -f . ci-base-image-x86_64 02:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:14 prd-ubuntu20.04-docker-8c-8g-3052 does not seem to be running inside a container 02:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-330 -v /w/workspace/foundry_device-virtual-go_PR-330:/w/workspace/foundry_device-virtual-go_PR-330:rw,z -v /w/workspace/foundry_device-virtual-go_PR-330@tmp:/w/workspace/foundry_device-virtual-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:14 $ docker top 2d966105ad784e517e55db1ca66cd8ff4722f9e9348c4a23346c0a1ea4142d08 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:15 + go version 02:24:15 go version go1.18.7 linux/amd64 [Pipeline] } 02:24:15 $ docker stop --time=1 2d966105ad784e517e55db1ca66cd8ff4722f9e9348c4a23346c0a1ea4142d08 02:24:16 $ docker rm -f --volumes 2d966105ad784e517e55db1ca66cd8ff4722f9e9348c4a23346c0a1ea4142d08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:17 + docker inspect -f . ci-base-image-x86_64 02:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:17 prd-ubuntu20.04-docker-8c-8g-3052 does not seem to be running inside a container 02:24:17 $ 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-330 -v /w/workspace/foundry_device-virtual-go_PR-330:/w/workspace/foundry_device-virtual-go_PR-330:rw,z -v /w/workspace/foundry_device-virtual-go_PR-330@tmp:/w/workspace/foundry_device-virtual-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:17 $ docker top 75a1e02f4637f821725581703fa109ffede8d86e41bc1b3dc9336138e4eb5108 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:18 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-330 [Pipeline] fileExists [Pipeline] sh 02:24:18 + make test 02:24:18 go test ./... -coverprofile=coverage.out 02:24:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:24:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:24:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 02:24:34 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:24:34 go vet ./... 02:24:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:24:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:24:37 ./bin/test-attribution-txt.sh 02:24:37 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:24:37 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:24:37 $ docker stop --time=1 75a1e02f4637f821725581703fa109ffede8d86e41bc1b3dc9336138e4eb5108 02:24:40 $ docker rm -f --volumes 75a1e02f4637f821725581703fa109ffede8d86e41bc1b3dc9336138e4eb5108 [Pipeline] // withDockerContainer [Pipeline] sh 02:24:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:24:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:24:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:24:41 + ls -al . 02:24:41 total 196 02:24:41 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:24 . 02:24:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:22 .. 02:24:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:24 .git 02:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:22 .github 02:24:41 -rw-rw-r-- 1 jenkins jenkins 337 Jan 19 02:22 .gitignore 02:24:41 -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:22 .golangci.yml 02:24:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:23 .semver 02:24:41 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 19 02:22 Attribution.txt 02:24:41 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 19 02:22 CHANGELOG.md 02:24:41 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 19 02:22 Dockerfile 02:24:41 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:22 GOVERNANCE.md 02:24:41 -rw-rw-r-- 1 jenkins jenkins 660 Jan 19 02:22 Jenkinsfile 02:24:41 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:22 LICENSE 02:24:41 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 19 02:22 Makefile 02:24:41 -rw-rw-r-- 1 jenkins jenkins 623 Jan 19 02:22 OWNERS.md 02:24:41 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 19 02:22 README.md 02:24:41 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:23 VERSION 02:24:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:22 bin 02:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:22 cmd 02:24:41 -rw-r--r-- 1 jenkins jenkins 44128 Jan 19 02:24 coverage.out 02:24:41 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 19 02:22 go.mod 02:24:41 -rw-rw-r-- 1 jenkins jenkins 34165 Jan 19 02:22 go.sum 02:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:22 internal 02:24:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:22 snap 02:24:41 -rw-rw-r-- 1 jenkins jenkins 235 Jan 19 02:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:42 + 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=7b778363b5e6f5bd44260dda054e65a84ccb7ba8 --label arch=amd64 --label version=0.0.0 . 02:24:42 Sending build context to Docker daemon 23.4MB 02:24:42 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:24:42 Step 2/25 : FROM ${BASE} AS builder 02:24:42 ---> f010bb6a31ae 02:24:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:24:42 ---> Running in 21f031932cd0 02:24:42 Removing intermediate container 21f031932cd0 02:24:42 ---> 9844c68e1a5c 02:24:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:24:42 ---> Running in 1ca8a9bd9be2 02:24:42 Removing intermediate container 1ca8a9bd9be2 02:24:42 ---> d7eadbb8ffb8 02:24:42 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:24:42 ---> Running in ef2427fefad8 02:24:42 Removing intermediate container ef2427fefad8 02:24:42 ---> 645b3e1e001c 02:24:42 Step 6/25 : WORKDIR /device-virtual-go 02:24:42 ---> Running in 7074999c7c84 02:24:42 Removing intermediate container 7074999c7c84 02:24:42 ---> 76b3ebdbd11f 02:24:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:24:42 ---> Running in a6b94e44655d 02:24:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:24:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:24:43 OK: 216 MiB in 55 packages 02:24:43 Removing intermediate container a6b94e44655d 02:24:43 ---> 3046f1da1bde 02:24:43 Step 8/25 : COPY go.mod vendor* ./ 02:24:43 ---> fa1fe1f46434 02:24:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:24:44 ---> Running in 2319c6c59be7 02:24:44 Removing intermediate container 2319c6c59be7 02:24:44 ---> aaa2d89a3413 02:24:44 Step 10/25 : COPY . . 02:24:45 ---> 22ab08ac599d 02:24:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:24:45 ---> Running in 29170dca9e55 02:24:45 Removing intermediate container 29170dca9e55 02:24:45 ---> 8ffbfdf96806 02:24:45 Step 12/25 : RUN $MAKE 02:24:45 ---> Running in ba844cdc51f0 02:24:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:25:08 Removing intermediate container ba844cdc51f0 02:25:08 ---> fb7d215c6619 02:25:08 Step 13/25 : FROM alpine:3.16 02:25:08 3.16: Pulling from library/alpine 02:25:08 ca7dd9ec2225: Pulling fs layer 02:25:08 ca7dd9ec2225: Verifying Checksum 02:25:08 ca7dd9ec2225: Download complete 02:25:08 ca7dd9ec2225: Pull complete 02:25:08 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:25:08 Status: Downloaded newer image for alpine:3.16 02:25:08 ---> bfe296a52501 02:25:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:25:08 ---> Running in 4a54b4ae904f 02:25:08 Removing intermediate container 4a54b4ae904f 02:25:08 ---> c596a16b4d41 02:25:08 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:25:08 ---> Running in cfb297e94a29 02:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:25:09 (1/1) Installing dumb-init (1.2.5-r1) 02:25:09 Executing busybox-1.35.0-r17.trigger 02:25:09 OK: 6 MiB in 15 packages 02:25:09 Removing intermediate container cfb297e94a29 02:25:09 ---> 03033fb270ab 02:25:09 Step 16/25 : WORKDIR / 02:25:09 ---> Running in 95113f58725b 02:25:09 Removing intermediate container 95113f58725b 02:25:09 ---> f0d2d6f87259 02:25:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:25:09 ---> 1f69028ad4b1 02:25:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:25:10 ---> 2e3d8d31a27f 02:25:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:25:10 ---> b9fe722014bc 02:25:10 Step 20/25 : EXPOSE 59900 02:25:10 ---> Running in bcea08e5bdb1 02:25:10 Removing intermediate container bcea08e5bdb1 02:25:10 ---> d488e245c63a 02:25:10 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:25:10 ---> Running in c37b1f41e232 02:25:10 Removing intermediate container c37b1f41e232 02:25:10 ---> b87f1f46a204 02:25:10 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:25:10 ---> Running in 122779057c14 02:25:10 Removing intermediate container 122779057c14 02:25:10 ---> 453ee016cbaa 02:25:10 Step 23/25 : LABEL arch=amd64 02:25:10 ---> Running in aaa9c1be3240 02:25:11 Removing intermediate container aaa9c1be3240 02:25:11 ---> 100ad0f9c6c9 02:25:11 Step 24/25 : LABEL git_sha=7b778363b5e6f5bd44260dda054e65a84ccb7ba8 02:25:11 ---> Running in fad12afb674c 02:25:11 Removing intermediate container fad12afb674c 02:25:11 ---> 7073b70064f8 02:25:11 Step 25/25 : LABEL version=0.0.0 02:25:11 ---> Running in 5ee1484d21e2 02:25:11 Removing intermediate container 5ee1484d21e2 02:25:11 ---> 4fee977aeed9 02:25:11 [Warning] One or more build-args [ARCH] were not consumed 02:25:11 Successfully built 4fee977aeed9 02:25:11 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 02:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:12 02:25:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:12 latest: Pulling from edgex-lftools-log-publisher 02:25:12 5eb5b503b376: Pulling fs layer 02:25:12 5c69ac0246d0: Pulling fs layer 02:25:12 ec43610c2a17: Pulling fs layer 02:25:12 3a2ae6a8a46f: Pulling fs layer 02:25:12 33b1e0a273af: Pulling fs layer 02:25:12 5d3b04190fa2: Pulling fs layer 02:25:12 2f39f015ded8: Pulling fs layer 02:25:12 3a2ae6a8a46f: Waiting 02:25:12 33b1e0a273af: Waiting 02:25:12 2f39f015ded8: Waiting 02:25:12 5d3b04190fa2: Waiting 02:25:12 5c69ac0246d0: Download complete 02:25:12 3a2ae6a8a46f: Verifying Checksum 02:25:12 3a2ae6a8a46f: Download complete 02:25:12 33b1e0a273af: Verifying Checksum 02:25:12 33b1e0a273af: Download complete 02:25:12 5d3b04190fa2: Verifying Checksum 02:25:12 5d3b04190fa2: Download complete 02:25:12 ec43610c2a17: Verifying Checksum 02:25:12 ec43610c2a17: Download complete 02:25:13 5eb5b503b376: Verifying Checksum 02:25:13 5eb5b503b376: Download complete 02:25:13 2f39f015ded8: Verifying Checksum 02:25:13 2f39f015ded8: Download complete 02:25:14 5eb5b503b376: Pull complete 02:25:14 5c69ac0246d0: Pull complete 02:25:14 ec43610c2a17: Pull complete 02:25:14 3a2ae6a8a46f: Pull complete 02:25:14 33b1e0a273af: Pull complete 02:25:14 5d3b04190fa2: Pull complete 02:25:19 2f39f015ded8: Pull complete 02:25:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:25:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:19 prd-ubuntu20.04-docker-8c-8g-3052 does not seem to be running inside a container 02:25:19 $ 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-330 -v /w/workspace/foundry_device-virtual-go_PR-330:/w/workspace/foundry_device-virtual-go_PR-330:rw,z -v /w/workspace/foundry_device-virtual-go_PR-330@tmp:/w/workspace/foundry_device-virtual-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:25:23 $ docker top 56451748b00fdd1665e7b5ac2e56f7887e6346dffc5920868ab0e0454348f111 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:24 ---> job-cost.sh 02:25:24 lf-activate-venv: SKIPPING 02:25:24 INFO: No Stack... 02:25:24 INFO: Retrieving Pricing Info for: v3-standard-8 02:25:25 INFO: Archiving Costs [Pipeline] sh 02:25:25 + + cat /w/workspace/foundry_device-virtual-go_PR-330/archives/cost.csv 02:25:25 cut -d, -f6 [Pipeline] lock 02:25:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] 02:25:25 Resource [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] did not exist. Created. 02:25:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:25:26 + echo total: 0.2199999988079071 [Pipeline] stash 02:25:26 Stashed 1 file(s) [Pipeline] } 02:25:26 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:25:26 $ docker stop --time=1 56451748b00fdd1665e7b5ac2e56f7887e6346dffc5920868ab0e0454348f111 02:25:27 $ docker rm -f --volumes 56451748b00fdd1665e7b5ac2e56f7887e6346dffc5920868ab0e0454348f111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:26:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3053 in /w/workspace/foundry_device-virtual-go_PR-330 [Pipeline] { [Pipeline] ws 02:26:56 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 02:26:56 The recommended git tool is: git 02:27:01 using credential edgex-jenkins-ssh 02:27:01 Cloning the remote Git repository 02:27:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:27:02 > git init /w/workspace/device-virtual-go/1 # timeout=10 02:27:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:27:02 > git --version # timeout=10 02:27:02 > git --version # 'git version 2.25.1' 02:27:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:27:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:27:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:27:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:27:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:27:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:27:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:27:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:27:06 Merging remotes/origin/main commit ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 into PR head commit 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 02:27:06 Merge succeeded, producing 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 02:27:06 Checking out Revision 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 (PR-330) 02:27:06 > git config core.sparsecheckout # timeout=10 02:27:06 > git checkout -f 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 # timeout=10 02:27:06 > git remote # timeout=10 02:27:06 > git config --get remote.origin.url # timeout=10 02:27:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:27:06 > git merge ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 02:27:06 > git rev-parse HEAD^{commit} # timeout=10 02:27:06 > git config core.sparsecheckout # timeout=10 02:27:06 > git checkout -f 7b778363b5e6f5bd44260dda054e65a84ccb7ba8 # timeout=10 02:27:10 Commit message: "build(deps): bump device-sdk-go version" 02:27:10 > git --version # timeout=10 02:27:10 > git --version # 'git version 2.25.1' 02:27:10 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:27:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:27:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:27:11 Dload Upload Total Spent Left Speed 02:27:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12751 97 12393 0 0 59581 0 --:--:-- --:--:-- --:--:-- 59581 100 12751 100 12751 0 0 61009 0 --:--:-- --:--:-- --:--:-- 60719 [Pipeline] sh 02:27:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:27:12 + sudo tee /etc/docker/daemon.new+ 02:27:12 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:27:12 { 02:27:12 "registry-mirrors": [ 02:27:12 "https://nexus3.edgexfoundry.org:10001" 02:27:12 ], 02:27:12 "bip": "10.250.0.254/24", 02:27:12 "hosts": [ 02:27:12 "tcp://0.0.0.0:5555", 02:27:12 "unix:///var/run/docker.sock" 02:27:12 ], 02:27:12 "mtu": 1458, 02:27:12 "selinux-enabled": true, 02:27:12 "seccomp-profile": "/etc/docker/seccomp.json" 02:27:12 } [Pipeline] sh 02:27:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:27:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:27:31 provisioning config files... 02:27:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16921625186259636841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:27:32 ---> docker-login.sh 02:27:32 nexus3.edgexfoundry.org:10001 02:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:27:32 Configure a credential helper to remove this warning. See 02:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:27:32 02:27:32 Login Succeeded 02:27:32 nexus3.edgexfoundry.org:10002 02:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:27:33 Configure a credential helper to remove this warning. See 02:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:27:33 02:27:33 Login Succeeded 02:27:33 nexus3.edgexfoundry.org:10003 02:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:27:33 Configure a credential helper to remove this warning. See 02:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:27:33 02:27:33 Login Succeeded 02:27:33 nexus3.edgexfoundry.org:10004 02:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:27:33 Configure a credential helper to remove this warning. See 02:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:27:33 02:27:33 Login Succeeded 02:27:33 docker.io 02:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:27:34 Configure a credential helper to remove this warning. See 02:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:27:34 02:27:34 Login Succeeded 02:27:34 ---> docker-login.sh ends [Pipeline] } 02:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:27:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:27:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:27:34 ========================================================= 02:27:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:27:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:27:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:27:35 Sending build context to Docker daemon 11.84MB 02:27:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:27:35 Step 2/12 : FROM ${BASE} AS builder 02:27:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:27:35 9b18e9b68314: Pulling fs layer 02:27:35 35d82f9e3411: Pulling fs layer 02:27:35 e16973657156: Pulling fs layer 02:27:35 fc693d55d65f: Pulling fs layer 02:27:35 7e9fc2657dce: Pulling fs layer 02:27:35 dda99020689f: Pulling fs layer 02:27:35 db1c61fa0a46: Pulling fs layer 02:27:35 891c053d2c06: Pulling fs layer 02:27:35 7e9fc2657dce: Waiting 02:27:35 fc693d55d65f: Waiting 02:27:35 dda99020689f: Waiting 02:27:35 db1c61fa0a46: Waiting 02:27:35 891c053d2c06: Waiting 02:27:35 e16973657156: Download complete 02:27:35 35d82f9e3411: Verifying Checksum 02:27:35 35d82f9e3411: Download complete 02:27:35 7e9fc2657dce: Verifying Checksum 02:27:35 7e9fc2657dce: Download complete 02:27:36 dda99020689f: Verifying Checksum 02:27:36 dda99020689f: Download complete 02:27:36 9b18e9b68314: Verifying Checksum 02:27:36 9b18e9b68314: Download complete 02:27:37 9b18e9b68314: Pull complete 02:27:37 891c053d2c06: Verifying Checksum 02:27:37 891c053d2c06: Download complete 02:27:37 35d82f9e3411: Pull complete 02:27:38 e16973657156: Pull complete 02:27:38 db1c61fa0a46: Download complete 02:27:38 fc693d55d65f: Verifying Checksum 02:27:38 fc693d55d65f: Download complete 02:27:51 fc693d55d65f: Pull complete 02:27:51 7e9fc2657dce: Pull complete 02:27:51 dda99020689f: Pull complete 02:27:56 db1c61fa0a46: Pull complete 02:27:57 891c053d2c06: Pull complete 02:27:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:27:58 ---> f96f9c87975a 02:27:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:28:00 ---> Running in 3a98f541a44c 02:28:00 Removing intermediate container 3a98f541a44c 02:28:00 ---> 10d11a78de06 02:28:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:28:00 ---> Running in 974b0cb4f93b 02:28:00 Removing intermediate container 974b0cb4f93b 02:28:00 ---> 06993d9bb777 02:28:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:28:00 ---> Running in dc46c7ee4a58 02:28:01 Removing intermediate container dc46c7ee4a58 02:28:01 ---> 432d9df04487 02:28:01 Step 6/12 : WORKDIR /device-virtual-go 02:28:01 ---> Running in 9ca58d574dc1 02:28:01 Removing intermediate container 9ca58d574dc1 02:28:01 ---> 4cd3bcea3057 02:28:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:28:01 ---> Running in 384617d54d46 02:28:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:28:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:28:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:28:04 (2/4) Installing libedit (20210910.3.1-r0) 02:28:04 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:28:04 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:28:04 Executing busybox-1.35.0-r17.trigger 02:28:04 OK: 226 MiB in 55 packages 02:28:05 Removing intermediate container 384617d54d46 02:28:05 ---> 64cddfc342ee 02:28:05 Step 8/12 : COPY go.mod vendor* ./ 02:28:05 ---> 36168f56901e 02:28:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:28:05 ---> Running in ea8d40526a6f 02:29:13 Removing intermediate container ea8d40526a6f 02:29:13 ---> 45f9eef24408 02:29:13 Step 10/12 : COPY . . 02:29:13 ---> a46083ad7e13 02:29:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:29:13 ---> Running in 994e08953cf2 02:29:13 Removing intermediate container 994e08953cf2 02:29:13 ---> 1266066fd818 02:29:13 Step 12/12 : RUN $MAKE 02:29:13 ---> Running in 0417061859b4 02:29:13 noop 02:29:13 Removing intermediate container 0417061859b4 02:29:13 ---> b921b73b8b48 02:29:13 Successfully built b921b73b8b48 02:29:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:14 + docker inspect -f . ci-base-image-arm64 02:29:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:14 prd-ubuntu20.04-docker-arm64-4c-16g-3053 does not seem to be running inside a container 02:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:29:15 $ docker top db383a4df40b4e71a0fbd46e3d6a621b09c28f53aaec1e7e490b9dafed453d88 -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:16 + go version 02:29:16 go version go1.18.7 linux/arm64 [Pipeline] } 02:29:16 $ docker stop --time=1 db383a4df40b4e71a0fbd46e3d6a621b09c28f53aaec1e7e490b9dafed453d88 02:29:17 $ docker rm -f --volumes db383a4df40b4e71a0fbd46e3d6a621b09c28f53aaec1e7e490b9dafed453d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:18 + docker inspect -f . ci-base-image-arm64 02:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:19 prd-ubuntu20.04-docker-arm64-4c-16g-3053 does not seem to be running inside a container 02:29:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:29:20 $ docker top 47ae809c45f72cd3851aac903fa7f78da8dd7a44145723490dfb270d5b5de6db -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:21 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 02:29:21 + make test 02:29:21 go test ./... -coverprofile=coverage.out 02:29:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:30:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:30:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.123s coverage: 65.7% of statements 02:30:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:30:45 go vet ./... 02:31:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:31:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:31:00 ./bin/test-attribution-txt.sh 02:31:00 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:31:00 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:31:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:31:00 $ docker stop --time=1 47ae809c45f72cd3851aac903fa7f78da8dd7a44145723490dfb270d5b5de6db 02:31:01 $ docker rm -f --volumes 47ae809c45f72cd3851aac903fa7f78da8dd7a44145723490dfb270d5b5de6db [Pipeline] // withDockerContainer [Pipeline] sh 02:31:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:31:02 Warning: overwriting stash ‘coverage-report’ 02:31:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:04 + ls -al . 02:31:04 total 192 02:31:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:29 . 02:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:27 .. 02:31:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:27 .git 02:31:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:27 .github 02:31:04 -rw-rw-r-- 1 jenkins jenkins 337 Jan 19 02:27 .gitignore 02:31:04 -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:27 .golangci.yml 02:31:04 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 19 02:27 Attribution.txt 02:31:04 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 19 02:27 CHANGELOG.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 19 02:27 Dockerfile 02:31:04 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:27 GOVERNANCE.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 660 Jan 19 02:27 Jenkinsfile 02:31:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:27 LICENSE 02:31:04 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 19 02:27 Makefile 02:31:04 -rw-rw-r-- 1 jenkins jenkins 623 Jan 19 02:27 OWNERS.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 19 02:27 README.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:23 VERSION 02:31:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:27 bin 02:31:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:27 cmd 02:31:04 -rw-r--r-- 1 jenkins jenkins 44128 Jan 19 02:30 coverage.out 02:31:04 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 19 02:27 go.mod 02:31:04 -rw-rw-r-- 1 jenkins jenkins 34165 Jan 19 02:27 go.sum 02:31:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:27 internal 02:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:27 snap 02:31:04 -rw-rw-r-- 1 jenkins jenkins 235 Jan 19 02:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:04 + 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=7b778363b5e6f5bd44260dda054e65a84ccb7ba8 --label arch=arm64 --label version=0.0.0 . 02:31:05 Sending build context to Docker daemon 11.89MB 02:31:05 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:31:05 Step 2/25 : FROM ${BASE} AS builder 02:31:05 ---> b921b73b8b48 02:31:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:31:05 ---> Running in bd29a48d9f89 02:31:05 Removing intermediate container bd29a48d9f89 02:31:05 ---> 9a7f871f72cc 02:31:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:31:05 ---> Running in 97bdda72ce88 02:31:05 Removing intermediate container 97bdda72ce88 02:31:05 ---> 7689fbff3c97 02:31:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:31:06 ---> Running in a74c4178bbef 02:31:06 Removing intermediate container a74c4178bbef 02:31:06 ---> e78d6181626d 02:31:06 Step 6/25 : WORKDIR /device-virtual-go 02:31:06 ---> Running in 6135f567e7d5 02:31:06 Removing intermediate container 6135f567e7d5 02:31:06 ---> b3d53ef9a263 02:31:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:06 ---> Running in eeb7b18215fb 02:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:31:08 OK: 226 MiB in 55 packages 02:31:09 Removing intermediate container eeb7b18215fb 02:31:09 ---> 5480ff2691f0 02:31:09 Step 8/25 : COPY go.mod vendor* ./ 02:31:12 ---> 37304f5cb310 02:31:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:12 ---> Running in 79e70d2427fd 02:31:16 Removing intermediate container 79e70d2427fd 02:31:16 ---> 67008dffb1b0 02:31:16 Step 10/25 : COPY . . 02:31:17 ---> 5e24f88a0879 02:31:17 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:31:17 ---> Running in 8df3d42e94c1 02:31:18 Removing intermediate container 8df3d42e94c1 02:31:18 ---> b867a697edea 02:31:18 Step 12/25 : RUN $MAKE 02:31:18 ---> Running in e2b9bad9ac14 02:31:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:33:40 Removing intermediate container e2b9bad9ac14 02:33:40 ---> fb885c4cdc44 02:33:40 Step 13/25 : FROM alpine:3.16 02:33:40 3.16: Pulling from library/alpine 02:33:40 6875df1f5354: Pulling fs layer 02:33:40 6875df1f5354: Download complete 02:33:40 6875df1f5354: Pull complete 02:33:40 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:33:40 Status: Downloaded newer image for alpine:3.16 02:33:40 ---> 2b4661558fb8 02:33:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:33:40 ---> Running in 3b7efeffc069 02:33:40 Removing intermediate container 3b7efeffc069 02:33:40 ---> 6a841f143b50 02:33:40 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:33:40 ---> Running in b5a7e6767820 02:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:33:40 (1/1) Installing dumb-init (1.2.5-r1) 02:33:40 Executing busybox-1.35.0-r17.trigger 02:33:40 OK: 5 MiB in 15 packages 02:33:40 Removing intermediate container b5a7e6767820 02:33:40 ---> 8d95f55ae3da 02:33:40 Step 16/25 : WORKDIR / 02:33:40 ---> Running in e9fbe4f21e88 02:33:40 Removing intermediate container e9fbe4f21e88 02:33:40 ---> dc04969f5650 02:33:40 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:33:40 ---> 49892a88c34e 02:33:40 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:33:40 ---> 373de9241ca9 02:33:40 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:33:40 ---> 938ba4bc4ceb 02:33:40 Step 20/25 : EXPOSE 59900 02:33:40 ---> Running in 3bb9347bb5af 02:33:40 Removing intermediate container 3bb9347bb5af 02:33:40 ---> 6660245fdabb 02:33:40 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:33:40 ---> Running in 4c16ce22d374 02:33:40 Removing intermediate container 4c16ce22d374 02:33:40 ---> 8e9683bff691 02:33:40 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:33:40 ---> Running in 5b0067d32892 02:33:40 Removing intermediate container 5b0067d32892 02:33:40 ---> 3a5cc36dd1bc 02:33:40 Step 23/25 : LABEL arch=arm64 02:33:40 ---> Running in 23e3e959697c 02:33:40 Removing intermediate container 23e3e959697c 02:33:40 ---> cd0d0f5585ee 02:33:40 Step 24/25 : LABEL git_sha=7b778363b5e6f5bd44260dda054e65a84ccb7ba8 02:33:40 ---> Running in 4b21dee2cabc 02:33:40 Removing intermediate container 4b21dee2cabc 02:33:40 ---> a0ca9c93a602 02:33:40 Step 25/25 : LABEL version=0.0.0 02:33:40 ---> Running in ae614e701032 02:33:40 Removing intermediate container ae614e701032 02:33:40 ---> f380f2bc589a 02:33:40 [Warning] One or more build-args [ARCH] were not consumed 02:33:40 Successfully built f380f2bc589a 02:33:40 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:41 02:33:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:41 arm64: Pulling from edgex-lftools-log-publisher 02:33:41 8998bd30e6a1: Pulling fs layer 02:33:41 04944245beec: Pulling fs layer 02:33:41 699f458cf7ca: Pulling fs layer 02:33:41 765212b225bb: Pulling fs layer 02:33:41 f23df028b6ca: Pulling fs layer 02:33:41 d65c8cfc05b1: Pulling fs layer 02:33:41 2437ff75d9bd: Pulling fs layer 02:33:41 f23df028b6ca: Waiting 02:33:41 d65c8cfc05b1: Waiting 02:33:41 2437ff75d9bd: Waiting 02:33:41 765212b225bb: Waiting 02:33:42 04944245beec: Verifying Checksum 02:33:42 04944245beec: Download complete 02:33:42 765212b225bb: Verifying Checksum 02:33:42 765212b225bb: Download complete 02:33:42 f23df028b6ca: Download complete 02:33:42 d65c8cfc05b1: Verifying Checksum 02:33:42 d65c8cfc05b1: Download complete 02:33:42 699f458cf7ca: Verifying Checksum 02:33:42 699f458cf7ca: Download complete 02:33:42 8998bd30e6a1: Verifying Checksum 02:33:42 8998bd30e6a1: Download complete 02:33:45 2437ff75d9bd: Verifying Checksum 02:33:45 2437ff75d9bd: Download complete 02:33:46 8998bd30e6a1: Pull complete 02:33:47 04944245beec: Pull complete 02:33:48 699f458cf7ca: Pull complete 02:33:48 765212b225bb: Pull complete 02:33:49 f23df028b6ca: Pull complete 02:33:49 d65c8cfc05b1: Pull complete 02:34:04 2437ff75d9bd: Pull complete 02:34:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:34:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:34:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:04 prd-ubuntu20.04-docker-arm64-4c-16g-3053 does not seem to be running inside a container 02:34:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:34:09 $ docker top db3c4c284db8e7c8d285bc432442387cb4dd105a6c2bd01504fd0ba47d0ad1b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:10 ---> job-cost.sh 02:34:10 lf-activate-venv: SKIPPING 02:34:10 INFO: No Stack... 02:34:10 INFO: Retrieving Pricing Info for: v3-standard-4 02:34:11 INFO: Archiving Costs [Pipeline] sh 02:34:11 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 02:34:11 + cut -d, -f6 [Pipeline] lock 02:34:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] 02:34:11 Resource [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] did not exist. Created. 02:34:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:34:12 /w/workspace/device-virtual-go/1@tmp/durable-955b91e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:34:13 + echo total: 0.10999999940395355 [Pipeline] stash 02:34:13 Warning: overwriting stash ‘stack-cost’ 02:34:13 Stashed 1 file(s) [Pipeline] } 02:34:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:13 $ docker stop --time=1 db3c4c284db8e7c8d285bc432442387cb4dd105a6c2bd01504fd0ba47d0ad1b3 02:34:14 $ docker rm -f --volumes db3c4c284db8e7c8d285bc432442387cb4dd105a6c2bd01504fd0ba47d0ad1b3 [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 02:34:15 provisioning config files... 02:34:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-330@tmp/config7245460150218380866tmp [Pipeline] { [Pipeline] sh 02:34:16 + set +x 02:34:16 + curl -s https://codecov.io/bash 02:34:16 + bash -s -- 02:34:16 02:34:16 _____ _ 02:34:16 / ____| | | 02:34:16 | | ___ __| | ___ ___ _____ __ 02:34:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:34:16 | |___| (_) | (_| | __/ (_| (_) \ V / 02:34:16 \_____\___/ \__,_|\___|\___\___/ \_/ 02:34:16 Bash-1.0.6 02:34:16 02:34:16 02:34:16 ==> git version 2.25.1 found 02:34:16 ==> 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 02:34:16 Release-Date: 2020-01-08 02:34:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:34:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:34:16 ==> Jenkins CI detected. 02:34:16 current dir:  /w/workspace/foundry_device-virtual-go_PR-330 02:34:16 project root: . 02:34:16 --> token set from env 02:34:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:34:16 ==> Running gcov in . (disable via -X gcov) 02:34:16 ==> Python coveragepy not found 02:34:16 ==> Searching for coverage reports in: 02:34:16 + . 02:34:16 -> Found 1 reports 02:34:16 ==> Detecting git/mercurial file structure 02:34:16 ==> Reading reports 02:34:16 + ./coverage.out bytes=44128 02:34:16 ==> Appending adjustments 02:34:16 https://docs.codecov.io/docs/fixing-reports 02:34:16 + Found adjustments 02:34:16 ==> Gzipping contents 02:34:16 8.0K /tmp/codecov.NELx1H.gz 02:34:16 ==> Uploading reports 02:34:16 url: https://codecov.io 02:34:16 query: branch=PR-330&commit=7b778363b5e6f5bd44260dda054e65a84ccb7ba8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-330%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=330&job=&cmd_args= 02:34:16 -> Pinging Codecov 02:34:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-330&commit=7b778363b5e6f5bd44260dda054e65a84ccb7ba8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-330%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=330&job=&cmd_args= 02:34:16 -> Uploading to 02:34:16 https://storage.googleapis.com/codecov/v4/raw/2023-01-19/5E52B4B073DB2E39498172D8E973AA87/7b778363b5e6f5bd44260dda054e65a84ccb7ba8/d506ff07-f47c-46c2-a890-f0d5bfadfe0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T023416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=789d3e53653e633144f6ee9366d19fd797f1e9549d2d19ea7da541ab1863e472 02:34:16 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:16 Dload Upload Total Spent Left Speed 02:34:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 21836 --:--:-- --:--:-- --:--:-- 21836 02:34:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/7b778363b5e6f5bd44260dda054e65a84ccb7ba8 [Pipeline] } 02:34:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [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 02:34:18 + [ -d /w/workspace/foundry_device-virtual-go_PR-330/archives ] 02:34:18 + ls -al /w/workspace/foundry_device-virtual-go_PR-330/archives 02:34:18 total 16 02:34:18 drwxr-xr-x 3 root root 4096 Jan 19 02:25 . 02:34:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:25 .. 02:34:18 drwxr-xr-x 2 root root 4096 Jan 19 02:25 cost 02:34:18 -rw-r--r-- 1 root root 89 Jan 19 02:25 cost.csv 02:34:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-330/archives 02:34:18 + ls -al /w/workspace/foundry_device-virtual-go_PR-330/archives 02:34:18 total 16 02:34:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:25 . 02:34:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:25 .. 02:34:18 drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:25 cost 02:34:18 -rw-r--r-- 1 jenkins jenkins 89 Jan 19 02:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:34:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:34:19 ---> package-listing.sh 02:34:19 ++ facter osfamily 02:34:19 ++ tr '[:upper:]' '[:lower:]' 02:34:20 + OS_FAMILY=debian 02:34:20 + workspace=/w/workspace/foundry_device-virtual-go_PR-330 02:34:20 + START_PACKAGES=/tmp/packages_start.txt 02:34:20 + END_PACKAGES=/tmp/packages_end.txt 02:34:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:34:20 + PACKAGES=/tmp/packages_start.txt 02:34:20 + '[' /w/workspace/foundry_device-virtual-go_PR-330 ']' 02:34:20 + PACKAGES=/tmp/packages_end.txt 02:34:20 + case "${OS_FAMILY}" in 02:34:20 + dpkg -l 02:34:20 + grep '^ii' 02:34:20 + '[' -f /tmp/packages_start.txt ']' 02:34:20 + '[' -f /tmp/packages_end.txt ']' 02:34:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:34:20 + '[' /w/workspace/foundry_device-virtual-go_PR-330 ']' 02:34:20 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-330/archives/ 02:34:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-330/archives/ [Pipeline] echo 02:34:20 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:34:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:21 prd-ubuntu20.04-docker-8c-8g-3052 does not seem to be running inside a container 02:34:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-330/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-330 -v /w/workspace/foundry_device-virtual-go_PR-330:/w/workspace/foundry_device-virtual-go_PR-330:rw,z -v /w/workspace/foundry_device-virtual-go_PR-330@tmp:/w/workspace/foundry_device-virtual-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:22 $ docker top 4fbb645bf3b59cafce656244078856eec1932f53133fc3a14fd54715f404610e -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:22 + touch /tmp/pre-build-complete [Pipeline] sh 02:34:22 + mkdir -p /var/log/sysstat [Pipeline] sh 02:34:23 + ls /var/log/sa-host 02:34:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:23 provisioning config files... 02:34:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-330@tmp/config11887211027693600151tmp [Pipeline] { [Pipeline] echo 02:34:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:34:23 ---> create-netrc.sh [Pipeline] } 02:34:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:34:24 ---> python-tools-install.sh [Pipeline] echo 02:34:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:34:24 ---> sudo-logs.sh 02:34:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:34:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:34:24 ---> job-cost.sh 02:34:24 lf-activate-venv: SKIPPING 02:34:24 DEBUG: total: 0.2199999988079071 02:34:24 INFO: Retrieving Stack Cost... 02:34:25 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:25 INFO: Archiving Costs [Pipeline] echo 02:34:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:34:26 ---> logs-deploy.sh 02:34:26 lf-activate-venv: SKIPPING 02:34:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-330/1 02:34:26 INFO: archiving workspace using pattern(s): 02:34:27 Archives upload complete. 02:34:27 INFO: archiving logs to Nexus 02:34:28 ---> uname -a: 02:34:28 Linux prd-ubuntu20-04-docker-8c-8g-3052 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:34:28 02:34:28 02:34:28 ---> lscpu: 02:34:28 Architecture: x86_64 02:34:28 CPU op-mode(s): 32-bit, 64-bit 02:34:28 Byte Order: Little Endian 02:34:28 Address sizes: 40 bits physical, 48 bits virtual 02:34:28 CPU(s): 8 02:34:28 On-line CPU(s) list: 0-7 02:34:28 Thread(s) per core: 1 02:34:28 Core(s) per socket: 1 02:34:28 Socket(s): 8 02:34:28 NUMA node(s): 1 02:34:28 Vendor ID: AuthenticAMD 02:34:28 CPU family: 23 02:34:28 Model: 49 02:34:28 Model name: AMD EPYC-Rome Processor 02:34:28 Stepping: 0 02:34:28 CPU MHz: 2799.998 02:34:28 BogoMIPS: 5599.99 02:34:28 Virtualization: AMD-V 02:34:28 Hypervisor vendor: KVM 02:34:28 Virtualization type: full 02:34:28 L1d cache: 256 KiB 02:34:28 L1i cache: 256 KiB 02:34:28 L2 cache: 4 MiB 02:34:28 L3 cache: 128 MiB 02:34:28 NUMA node0 CPU(s): 0-7 02:34:28 Vulnerability Itlb multihit: Not affected 02:34:28 Vulnerability L1tf: Not affected 02:34:28 Vulnerability Mds: Not affected 02:34:28 Vulnerability Meltdown: Not affected 02:34:28 Vulnerability Mmio stale data: Not affected 02:34:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:34:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:34:28 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:34:28 Vulnerability Srbds: Not affected 02:34:28 Vulnerability Tsx async abort: Not affected 02:34:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:34:28 02:34:28 02:34:28 ---> nproc: 02:34:28 8 02:34:28 02:34:28 02:34:28 ---> df -h: 02:34:28 Filesystem Size Used Avail Use% Mounted on 02:34:28 overlay 155G 12G 144G 8% / 02:34:28 tmpfs 64M 0 64M 0% /dev 02:34:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:34:28 shm 64M 0 64M 0% /dev/shm 02:34:28 /dev/vda1 155G 12G 144G 8% /facter-os 02:34:28 02:34:28 02:34:28 ---> sar -b -r -n DEV: 02:34:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3052) 01/19/23 _x86_64_ (8 CPU) 02:34:28 02:34:28 02:22:12 LINUX RESTART (8 CPU) 02:34:28 02:34:28 02:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:34:28 02:24:01 165.31 4.08 161.22 0.00 432.86 62653.69 0.00 02:34:28 02:25:01 129.21 0.32 128.89 0.00 29.19 29962.55 0.00 02:34:28 02:26:01 111.78 0.05 111.73 0.00 5.47 32701.77 0.00 02:34:28 02:27:01 1.95 0.00 1.95 0.00 0.00 20.53 0.00 02:34:28 02:28:01 58.06 11.61 46.45 0.00 5176.01 8824.93 0.00 02:34:28 02:29:01 4.45 0.02 4.43 0.00 0.13 101.05 0.00 02:34:28 02:30:01 3.35 0.63 2.72 0.00 70.52 30.39 0.00 02:34:28 02:31:01 2.10 0.00 2.10 0.00 0.00 23.19 0.00 02:34:28 02:32:01 1.33 0.00 1.33 0.00 0.00 15.20 0.00 02:34:28 02:33:01 2.08 0.00 2.08 0.00 0.00 22.53 0.00 02:34:28 02:34:01 1.42 0.00 1.42 0.00 0.00 15.33 0.00 02:34:28 Average: 43.73 1.52 42.21 0.00 519.52 12215.41 0.00 02:34:28 02:34:28 02:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:34:28 02:24:01 27778648 31558420 748220 2.28 143308 3785660 1864820 5.50 1194184 3414576 562048 02:34:28 02:25:01 28101284 31528400 771672 2.35 148880 3457500 1960684 5.78 1263176 3046820 195972 02:34:28 02:26:01 27630212 31562932 738320 2.25 158700 3916092 1747228 5.15 1251096 3491052 104 02:34:28 02:27:01 27629300 31562132 738864 2.25 158764 3916092 1747228 5.15 1251188 3491056 16 02:34:28 02:28:01 27113332 31548984 733768 2.23 192216 4371736 1820292 5.36 1566612 3657268 172 02:34:28 02:29:01 27118464 31549216 733776 2.23 190800 4368480 1797572 5.30 1565352 3654016 8 02:34:28 02:30:01 27117876 31551000 731848 2.23 190904 4370572 1806376 5.32 1563528 3655728 0 02:34:28 02:31:01 27118428 31551640 731140 2.22 190988 4370584 1806376 5.32 1563600 3655740 8 02:34:28 02:32:01 27118704 31552008 730824 2.22 191068 4370592 1806376 5.32 1563612 3655744 8 02:34:28 02:33:01 27118728 31552116 730668 2.22 191136 4370588 1806376 5.32 1563708 3655740 16 02:34:28 02:34:01 27118892 31552532 730300 2.22 191228 4370592 1806376 5.32 1563632 3655880 12 02:34:28 Average: 27360352 31551762 738127 2.24 177090 4151681 1815428 5.35 1446335 3548511 68942 02:34:28 02:34:28 02:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:34:28 02:24:01 docker0 193.12 271.79 15.63 2109.28 0.00 0.00 0.00 0.00 02:34:28 02:24:01 lo 2.67 2.67 0.26 0.26 0.00 0.00 0.00 0.00 02:34:28 02:24:01 ens3 443.09 324.51 6146.08 69.25 0.00 0.00 0.00 0.00 02:34:28 02:25:01 docker0 1.63 4.03 0.10 40.57 0.00 0.00 0.00 0.00 02:34:28 02:25:01 veth214451f 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 02:34:28 02:25:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:34:28 02:25:01 ens3 40.64 26.46 78.73 16.40 0.00 0.00 0.00 0.00 02:34:28 02:26:01 docker0 1.77 4.12 0.11 41.06 0.00 0.00 0.00 0.00 02:34:28 02:26:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 02:34:28 02:26:01 ens3 107.38 75.20 2612.62 13.52 0.00 0.00 0.00 0.00 02:34:28 02:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:34:28 02:27:01 ens3 1.30 1.02 0.62 0.51 0.00 0.00 0.00 0.00 02:34:28 02:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:28:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:34:28 02:28:01 ens3 163.53 94.17 2753.45 6.67 0.00 0.00 0.00 0.00 02:34:28 02:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:34:28 02:29:01 ens3 0.28 0.20 0.02 0.02 0.00 0.00 0.00 0.00 02:34:28 02:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:30:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:34:28 02:31:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:34:28 02:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:32:01 ens3 2.63 1.50 6.86 0.10 0.00 0.00 0.00 0.00 02:34:28 02:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:34:28 02:33:01 ens3 0.23 0.23 0.08 0.07 0.00 0.00 0.00 0.00 02:34:28 02:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 02:34:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:28 Average: docker0 17.86 25.45 1.44 199.16 0.00 0.00 0.00 0.00 02:34:28 Average: lo 0.56 0.56 0.05 0.05 0.00 0.00 0.00 0.00 02:34:28 Average: ens3 69.03 47.58 1054.39 9.69 0.00 0.00 0.00 0.00 02:34:28 02:34:28 02:34:28 ---> sar -P ALL: 02:34:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3052) 01/19/23 _x86_64_ (8 CPU) 02:34:28 02:34:28 02:22:12 LINUX RESTART (8 CPU) 02:34:28 02:34:28 02:23:01 CPU %user %nice %system %iowait %steal %idle 02:34:28 02:24:01 all 9.90 0.00 4.49 4.29 0.08 81.24 02:34:28 02:24:01 0 9.80 0.00 4.33 1.58 0.07 84.21 02:34:28 02:24:01 1 11.43 0.00 3.66 0.55 0.07 84.29 02:34:28 02:24:01 2 10.05 0.00 4.47 3.37 0.07 82.05 02:34:28 02:24:01 3 8.40 0.00 3.26 0.59 0.07 87.68 02:34:28 02:24:01 4 8.85 0.00 5.31 2.41 0.08 83.35 02:34:28 02:24:01 5 10.15 0.00 4.99 0.93 0.07 83.86 02:34:28 02:24:01 6 9.76 0.00 5.02 14.79 0.08 70.34 02:34:28 02:24:01 7 10.75 0.00 4.92 10.20 0.10 74.02 02:34:28 02:25:01 all 34.81 0.00 5.71 2.53 0.10 56.85 02:34:28 02:25:01 0 35.02 0.00 5.93 0.20 0.10 58.75 02:34:28 02:25:01 1 32.13 0.00 5.86 2.53 0.08 59.39 02:34:28 02:25:01 2 34.49 0.00 5.56 0.39 0.10 59.46 02:34:28 02:25:01 3 34.82 0.00 5.68 0.02 0.08 59.40 02:34:28 02:25:01 4 35.86 0.00 6.14 10.32 0.12 47.56 02:34:28 02:25:01 5 35.37 0.00 5.33 2.48 0.08 56.73 02:34:28 02:25:01 6 34.93 0.00 5.59 4.01 0.08 55.39 02:34:28 02:25:01 7 35.87 0.00 5.60 0.25 0.12 58.15 02:34:28 02:26:01 all 3.46 0.00 1.57 2.18 0.03 92.77 02:34:28 02:26:01 0 2.73 0.00 1.64 0.03 0.02 95.58 02:34:28 02:26:01 1 3.08 0.00 0.99 0.72 0.02 95.19 02:34:28 02:26:01 2 4.12 0.00 2.20 7.21 0.05 86.43 02:34:28 02:26:01 3 2.42 0.00 1.50 1.23 0.03 94.82 02:34:28 02:26:01 4 3.52 0.00 1.54 0.37 0.03 94.53 02:34:28 02:26:01 5 3.93 0.00 1.51 0.02 0.03 94.51 02:34:28 02:26:01 6 4.14 0.00 1.29 0.75 0.03 93.79 02:34:28 02:26:01 7 3.70 0.00 1.89 7.10 0.03 87.27 02:34:28 02:27:01 all 0.17 0.00 0.01 0.00 0.00 99.82 02:34:28 02:27:01 0 0.05 0.00 0.02 0.00 0.00 99.93 02:34:28 02:27:01 1 0.03 0.00 0.00 0.02 0.00 99.95 02:34:28 02:27:01 2 1.06 0.00 0.00 0.00 0.00 98.94 02:34:28 02:27:01 3 0.02 0.00 0.00 0.02 0.00 99.97 02:34:28 02:27:01 4 0.07 0.00 0.02 0.00 0.00 99.92 02:34:28 02:27:01 5 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:27:01 6 0.05 0.00 0.02 0.00 0.02 99.92 02:34:28 02:27:01 7 0.05 0.00 0.02 0.00 0.00 99.93 02:34:28 02:28:01 all 2.45 0.00 1.50 0.77 0.03 95.25 02:34:28 02:28:01 0 3.07 0.00 0.88 0.05 0.03 95.96 02:34:28 02:28:01 1 2.69 0.00 2.40 0.61 0.03 94.26 02:34:28 02:28:01 2 2.98 0.00 1.14 0.15 0.03 95.70 02:34:28 02:28:01 3 1.07 0.00 2.34 1.97 0.03 94.59 02:34:28 02:28:01 4 2.30 0.00 1.34 1.08 0.02 95.26 02:34:28 02:28:01 5 2.25 0.00 1.32 1.25 0.02 95.16 02:34:28 02:28:01 6 2.11 0.00 1.37 0.99 0.02 95.52 02:34:28 02:28:01 7 3.15 0.00 1.17 0.08 0.03 95.56 02:34:28 02:29:01 all 0.33 0.00 0.07 0.02 0.00 99.58 02:34:28 02:29:01 0 0.28 0.00 0.13 0.02 0.00 99.57 02:34:28 02:29:01 1 2.07 0.00 0.07 0.10 0.02 97.75 02:34:28 02:29:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:34:28 02:29:01 3 0.03 0.00 0.08 0.00 0.00 99.88 02:34:28 02:29:01 4 0.05 0.00 0.05 0.00 0.00 99.90 02:34:28 02:29:01 5 0.07 0.00 0.07 0.00 0.00 99.87 02:34:28 02:29:01 6 0.03 0.00 0.05 0.00 0.00 99.92 02:34:28 02:29:01 7 0.02 0.00 0.05 0.02 0.00 99.92 02:34:28 02:30:01 all 0.28 0.00 0.04 0.09 0.01 99.59 02:34:28 02:30:01 0 0.12 0.00 0.05 0.00 0.02 99.82 02:34:28 02:30:01 1 1.84 0.00 0.10 0.46 0.00 97.60 02:34:28 02:30:01 2 0.05 0.00 0.03 0.02 0.00 99.90 02:34:28 02:30:01 3 0.02 0.00 0.03 0.02 0.02 99.92 02:34:28 02:30:01 4 0.10 0.00 0.05 0.00 0.02 99.83 02:34:28 02:30:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:34:28 02:30:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:34:28 02:30:01 7 0.05 0.00 0.03 0.18 0.02 99.72 02:34:28 02:31:01 all 0.05 0.00 0.05 0.07 0.00 99.84 02:34:28 02:31:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:34:28 02:31:01 1 0.08 0.00 0.03 0.30 0.00 99.58 02:34:28 02:31:01 2 0.08 0.00 0.17 0.00 0.00 99.75 02:34:28 02:31:01 3 0.02 0.00 0.00 0.12 0.00 99.87 02:34:28 02:31:01 4 0.05 0.00 0.07 0.00 0.00 99.88 02:34:28 02:31:01 5 0.05 0.00 0.03 0.00 0.00 99.92 02:34:28 02:31:01 6 0.03 0.00 0.03 0.00 0.00 99.93 02:34:28 02:31:01 7 0.02 0.00 0.03 0.15 0.00 99.80 02:34:28 02:32:01 all 0.04 0.00 0.01 0.01 0.00 99.94 02:34:28 02:32:01 0 0.05 0.00 0.03 0.00 0.00 99.92 02:34:28 02:32:01 1 0.03 0.00 0.00 0.05 0.00 99.92 02:34:28 02:32:01 2 0.02 0.00 0.00 0.00 0.00 99.98 02:34:28 02:32:01 3 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:32:01 4 0.10 0.00 0.03 0.00 0.02 99.85 02:34:28 02:32:01 5 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:32:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:32:01 7 0.10 0.00 0.02 0.02 0.00 99.87 02:34:28 02:33:01 all 0.01 0.00 0.01 0.01 0.01 99.95 02:34:28 02:33:01 0 0.02 0.00 0.02 0.00 0.02 99.95 02:34:28 02:33:01 1 0.00 0.00 0.02 0.08 0.02 99.88 02:34:28 02:33:01 2 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:33:01 3 0.00 0.00 0.00 0.02 0.02 99.97 02:34:28 02:33:01 4 0.08 0.00 0.02 0.00 0.02 99.88 02:34:28 02:33:01 5 0.00 0.00 0.02 0.00 0.00 99.98 02:34:28 02:33:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:34:28 02:33:01 7 0.00 0.00 0.00 0.00 0.02 99.98 02:34:28 02:34:01 all 0.03 0.00 0.00 0.01 0.00 99.95 02:34:28 02:34:01 0 0.07 0.00 0.00 0.00 0.00 99.93 02:34:28 02:34:01 1 0.02 0.00 0.00 0.07 0.00 99.92 02:34:28 02:34:01 2 0.02 0.00 0.00 0.00 0.00 99.98 02:34:28 02:34:01 3 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:34:01 4 0.07 0.00 0.03 0.00 0.00 99.90 02:34:28 02:34:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:34:28 02:34:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:34:28 02:34:01 7 0.08 0.00 0.00 0.02 0.00 99.90 02:34:28 02:34:28 Average: CPU %user %nice %system %iowait %steal %idle 02:34:28 Average: all 4.65 0.00 1.21 0.90 0.02 93.22 02:34:28 Average: 0 4.63 0.00 1.18 0.17 0.02 94.00 02:34:28 Average: 1 4.82 0.00 1.19 0.50 0.02 93.48 02:34:28 Average: 2 4.77 0.00 1.23 1.01 0.02 92.97 02:34:28 Average: 3 4.22 0.00 1.16 0.36 0.02 94.23 02:34:28 Average: 4 4.61 0.00 1.32 1.28 0.03 92.76 02:34:28 Average: 5 4.67 0.00 1.20 0.42 0.02 93.69 02:34:28 Average: 6 4.61 0.00 1.21 1.84 0.02 92.32 02:34:28 Average: 7 4.85 0.00 1.24 1.62 0.03 92.27 02:34:28 02:34:28 02:34:28