Pull request #300 updated 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 rather than c6051772b3684361e4ed1e111942558285e6c3c6 Obtained Jenkinsfile from b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 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-ssh12993087658306530737.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13457124208725964906.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10767281765625971309.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11448596990816305439.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14315356535868488364.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-22588 in /w/workspace/foundry_device-virtual-go_PR-300 [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-300 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit c6051772b3684361e4ed1e111942558285e6c3c6 Merge succeeded, producing c6051772b3684361e4ed1e111942558285e6c3c6 Checking out Revision c6051772b3684361e4ed1e111942558285e6c3c6 (PR-300) > 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/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # 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 b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 Commit message: "revert(snap): Revert `latest` version in edgex-docs' link" > git rev-list --no-walk 4b178002e221fe3f5b3d3ae238b1d54201d7be48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:39:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:39:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:39:56 ========================================================= 06:39:56 EdgeX Global Pipelines Version Info 06:39:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:39:57 ------------------- 06:39:57 stable info: 06:39:57 ------------------- 06:39:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:39:57 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:39:57 Message: update stable to v1.0.238 06:39:58 ------------------- 06:39:58 experimental info: 06:39:58 ------------------- 06:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:39:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:39:58 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:39:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c605177 [Pipeline] echo 06:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:59 provisioning config files... 06:39:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config1490513757441808247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:59 ---> docker-login.sh 06:39:59 nexus3.edgexfoundry.org:10001 06:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:59 Configure a credential helper to remove this warning. See 06:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:59 06:39:59 Login Succeeded 06:39:59 nexus3.edgexfoundry.org:10002 06:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:00 Configure a credential helper to remove this warning. See 06:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:00 06:40:00 Login Succeeded 06:40:00 nexus3.edgexfoundry.org:10003 06:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:00 Configure a credential helper to remove this warning. See 06:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:00 06:40:00 Login Succeeded 06:40:00 nexus3.edgexfoundry.org:10004 06:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:00 Configure a credential helper to remove this warning. See 06:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:00 06:40:00 Login Succeeded 06:40:00 docker.io 06:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:00 Configure a credential helper to remove this warning. See 06:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:00 06:40:00 Login Succeeded 06:40:00 ---> docker-login.sh ends [Pipeline] } 06:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:40:01 + git rev-list -1 --merges c6051772b3684361e4ed1e111942558285e6c3c6~1..c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo 06:40:01 -----------> git rev-list -1 --merges c6051772b3684361e4ed1e111942558285e6c3c6~1..c6051772b3684361e4ed1e111942558285e6c3c6 c6051772b3684361e4ed1e111942558285e6c3c6 [false] [Pipeline] sh 06:40:01 + git log --format=format:%s -1 c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo 06:40:01 ========================================================= 06:40:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:40:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:01 + git log --format=format:%s -1 c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] echo 06:40:01 [semverPrep] GIT_COMMIT: c6051772b3684361e4ed1e111942558285e6c3c6, Commit Message: revert(snap): Revert `latest` version in edgex-docs' link [Pipeline] echo 06:40:01 [semverPrep] This is not a build commit. [Pipeline] sh 06:40:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:40:02 + grep -v github /etc/ssh/ssh_known_hosts 06:40:02 + [ -e /tmp/ssh_known_hosts ] 06:40:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:40:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:40:02 + sudo tee -a /etc/ssh/ssh_known_hosts 06:40:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:40:02 06:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:40:03 0.1.4: Pulling from edgex-devops/py-git-semver 06:40:03 b85a868b505f: Pulling fs layer 06:40:03 e2be974225ed: Pulling fs layer 06:40:03 339a4e72a1f5: Pulling fs layer 06:40:03 988bab9f4d93: Pulling fs layer 06:40:03 1469e6f7b9e6: Pulling fs layer 06:40:03 eaf3925da568: Pulling fs layer 06:40:03 bab4dde63d76: Pulling fs layer 06:40:03 bde34c3a00c8: Pulling fs layer 06:40:03 b352a97aabf1: Pulling fs layer 06:40:03 4872d77fe225: Pulling fs layer 06:40:03 5851b861e8e6: Pulling fs layer 06:40:03 bab4dde63d76: Waiting 06:40:03 bde34c3a00c8: Waiting 06:40:03 5851b861e8e6: Waiting 06:40:03 b352a97aabf1: Waiting 06:40:03 eaf3925da568: Waiting 06:40:03 988bab9f4d93: Waiting 06:40:03 4872d77fe225: Waiting 06:40:03 1469e6f7b9e6: Waiting 06:40:03 e2be974225ed: Download complete 06:40:03 988bab9f4d93: Verifying Checksum 06:40:03 988bab9f4d93: Download complete 06:40:03 1469e6f7b9e6: Verifying Checksum 06:40:03 1469e6f7b9e6: Download complete 06:40:03 eaf3925da568: Verifying Checksum 06:40:03 eaf3925da568: Download complete 06:40:03 339a4e72a1f5: Verifying Checksum 06:40:03 339a4e72a1f5: Download complete 06:40:03 bde34c3a00c8: Download complete 06:40:03 b352a97aabf1: Verifying Checksum 06:40:03 b352a97aabf1: Download complete 06:40:03 4872d77fe225: Download complete 06:40:03 5851b861e8e6: Verifying Checksum 06:40:03 5851b861e8e6: Download complete 06:40:03 b85a868b505f: Verifying Checksum 06:40:03 b85a868b505f: Download complete 06:40:03 bab4dde63d76: Verifying Checksum 06:40:03 bab4dde63d76: Download complete 06:40:04 b85a868b505f: Pull complete 06:40:04 e2be974225ed: Pull complete 06:40:05 339a4e72a1f5: Pull complete 06:40:05 988bab9f4d93: Pull complete 06:40:05 1469e6f7b9e6: Pull complete 06:40:05 eaf3925da568: Pull complete 06:40:07 bab4dde63d76: Pull complete 06:40:07 bde34c3a00c8: Pull complete 06:40:07 b352a97aabf1: Pull complete 06:40:08 4872d77fe225: Pull complete 06:40:08 5851b861e8e6: Pull complete 06:40:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:40:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:40:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:08 prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container 06:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:40:10 $ docker top a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 -eo pid,comm 06:40:10 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). 06:40:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:10 [ssh-agent] Looking for ssh-agent implementation... 06:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:10 $ docker exec a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent 06:40:10 SSH_AUTH_SOCK=/tmp/ssh-pDZU52bsBQgl/agent.34 06:40:10 SSH_AGENT_PID=41 06:40:10 Running ssh-add (command line suppressed) 06:40:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_4811472806148146238.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_4811472806148146238.key) 06:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:11 + git tag --points-at HEAD [Pipeline] } 06:40:11 $ docker exec --env ******** --env ******** a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent -k 06:40:11 unset SSH_AUTH_SOCK; 06:40:11 unset SSH_AGENT_PID; 06:40:11 echo Agent pid 41 killed; 06:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:11 [ssh-agent] Looking for ssh-agent implementation... 06:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:11 $ docker exec a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent 06:40:11 SSH_AUTH_SOCK=/tmp/ssh-GSXmKQlLuxPX/agent.74 06:40:11 SSH_AGENT_PID=80 06:40:11 Running ssh-add (command line suppressed) 06:40:11 Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7965762132153753980.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7965762132153753980.key) 06:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:12 + git semver init 06:40:12 2022-08-12 06:40:12,232 [run_init] DEBUG init version:0.0.0 force:False 06:40:12 2022-08-12 06:40:12,233 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-300/.semver 06:40:12 2022-08-12 06:40:12,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-300/.semver 06:40:12 2022-08-12 06:40:12,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-300/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-300, universal_newlines=False, shell=None, istream=None) 06:40:13 2022-08-12 06:40:13,253 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-300/.git/info/exclude 06:40:13 2022-08-12 06:40:13,254 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 with force:False 06:40:13 2022-08-12 06:40:13,254 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 06:40:13 2022-08-12 06:40:13,260 [execute] INFO git cat-file --batch-check 06:40:13 2022-08-12 06:40:13,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) 06:40:13 2022-08-12 06:40:13,268 [execute] INFO git cat-file --batch 06:40:13 2022-08-12 06:40:13,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) 06:40:13 2022-08-12 06:40:13,276 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 06:40:13 0.0.0 [Pipeline] } 06:40:13 $ docker exec --env ******** --env ******** a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 ssh-agent -k 06:40:13 unset SSH_AUTH_SOCK; 06:40:13 unset SSH_AGENT_PID; 06:40:13 echo Agent pid 80 killed; 06:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:40:14 + git semver [Pipeline] } 06:40:14 $ docker stop --time=1 a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 06:40:15 $ docker rm -f a66ac871fccbfafc8811ea3b5127265451351b2d7be34783824d025fa0234de5 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:40:16 Stashed 1 file(s) [Pipeline] echo 06:40: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 06:40:16 provisioning config files... 06:40:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config6317286202447813524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:16 ---> docker-login.sh 06:40:16 nexus3.edgexfoundry.org:10001 06:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:16 Configure a credential helper to remove this warning. See 06:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:16 06:40:16 Login Succeeded 06:40:16 nexus3.edgexfoundry.org:10002 06:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:17 Configure a credential helper to remove this warning. See 06:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:17 06:40:17 Login Succeeded 06:40:17 nexus3.edgexfoundry.org:10003 06:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:17 Configure a credential helper to remove this warning. See 06:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:17 06:40:17 Login Succeeded 06:40:17 nexus3.edgexfoundry.org:10004 06:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:17 Configure a credential helper to remove this warning. See 06:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:17 06:40:17 Login Succeeded 06:40:17 docker.io 06:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:17 Configure a credential helper to remove this warning. See 06:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:17 06:40:17 Login Succeeded 06:40:17 ---> docker-login.sh ends [Pipeline] } 06:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:40:17 ========================================================= 06:40:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:40:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40: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 . 06:40:18 Sending build context to Docker daemon 23.13MB 06:40:18 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 06:40:18 Step 2/12 : FROM ${BASE} AS builder 06:40:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:40:18 2408cc74d12b: Pulling fs layer 06:40:18 ea60b727a1ce: Pulling fs layer 06:40:18 30c4a7721957: Pulling fs layer 06:40:18 370296b7ddb6: Pulling fs layer 06:40:18 7c6cee850709: Pulling fs layer 06:40:18 39a5fcdaea64: Pulling fs layer 06:40:18 d94ebbe4e438: Pulling fs layer 06:40:18 bcfd1f05c69d: Pulling fs layer 06:40:18 59ccb84bbe0f: Pulling fs layer 06:40:18 370296b7ddb6: Waiting 06:40:18 7c6cee850709: Waiting 06:40:18 d94ebbe4e438: Waiting 06:40:18 bcfd1f05c69d: Waiting 06:40:18 59ccb84bbe0f: Waiting 06:40:18 30c4a7721957: Verifying Checksum 06:40:18 30c4a7721957: Download complete 06:40:18 ea60b727a1ce: Verifying Checksum 06:40:18 ea60b727a1ce: Download complete 06:40:18 7c6cee850709: Verifying Checksum 06:40:18 7c6cee850709: Download complete 06:40:18 39a5fcdaea64: Verifying Checksum 06:40:18 39a5fcdaea64: Download complete 06:40:18 2408cc74d12b: Verifying Checksum 06:40:18 2408cc74d12b: Download complete 06:40:18 d94ebbe4e438: Download complete 06:40:18 2408cc74d12b: Pull complete 06:40:18 ea60b727a1ce: Pull complete 06:40:18 30c4a7721957: Pull complete 06:40:18 59ccb84bbe0f: Verifying Checksum 06:40:18 59ccb84bbe0f: Download complete 06:40:19 370296b7ddb6: Verifying Checksum 06:40:19 370296b7ddb6: Download complete 06:40:19 bcfd1f05c69d: Verifying Checksum 06:40:19 bcfd1f05c69d: Download complete 06:40:23 370296b7ddb6: Pull complete 06:40:23 7c6cee850709: Pull complete 06:40:23 39a5fcdaea64: Pull complete 06:40:23 d94ebbe4e438: Pull complete 06:40:25 bcfd1f05c69d: Pull complete 06:40:26 59ccb84bbe0f: Pull complete 06:40:26 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:40:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:40:26 ---> a4fb48ad2a94 06:40:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:40:29 ---> Running in e0bd56046a8a 06:40:29 Removing intermediate container e0bd56046a8a 06:40:29 ---> 6b2e96e9e269 06:40:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:40:29 ---> Running in f2e7bceab059 06:40:29 Removing intermediate container f2e7bceab059 06:40:29 ---> 85cf341d5647 06:40:29 Step 5/12 : WORKDIR /device-virtual-go 06:40:29 ---> Running in 1bee700710d3 06:40:29 Removing intermediate container 1bee700710d3 06:40:29 ---> d253a9317855 06:40:29 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:29 ---> Running in cb46117e1948 06:40:30 Removing intermediate container cb46117e1948 06:40:30 ---> 1a939d8c4a23 06:40:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:40:30 ---> Running in b0a0efadb6ba 06:40:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:40:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:40:31 (1/4) Installing openssh-keygen (9.0_p1-r2) 06:40:31 Still waiting to schedule task 06:40:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:40:31 (2/4) Installing libedit (20210910.3.1-r0) 06:40:31 (3/4) Installing openssh-client-common (9.0_p1-r2) 06:40:31 (4/4) Installing openssh-client-default (9.0_p1-r2) 06:40:31 Executing busybox-1.35.0-r13.trigger 06:40:31 OK: 216 MiB in 55 packages 06:40:32 Removing intermediate container b0a0efadb6ba 06:40:32 ---> ab98239e16a5 06:40:32 Step 8/12 : COPY go.mod vendor* ./ 06:40:32 ---> f7403cbe30b7 06:40:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:40:32 ---> Running in 438ec119c48c 06:40:50 Removing intermediate container 438ec119c48c 06:40:50 ---> b51d2efedc0f 06:40:50 Step 10/12 : COPY . . 06:40:50 ---> 7b92fe63472f 06:40:50 Step 11/12 : ARG MAKE='make build' 06:40:50 ---> Running in 2966a25b8c04 06:40:50 Removing intermediate container 2966a25b8c04 06:40:50 ---> fccb8f5fd49f 06:40:50 Step 12/12 : RUN $MAKE 06:40:50 ---> Running in ad3e99aea9ff 06:40:50 noop 06:40:50 Removing intermediate container ad3e99aea9ff 06:40:50 ---> da850a0f1aeb 06:40:50 Successfully built da850a0f1aeb 06:40:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:51 + docker inspect -f . ci-base-image-x86_64 06:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:51 prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container 06:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:40:51 $ docker top 4bd7cc6d2d1f636244ee96b8dd975a1a3aa76266c5022b5c03198d614821fef1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:51 + go version 06:40:51 go version go1.18.3 linux/amd64 [Pipeline] } 06:40:51 $ docker stop --time=1 4bd7cc6d2d1f636244ee96b8dd975a1a3aa76266c5022b5c03198d614821fef1 06:40:53 $ docker rm -f 4bd7cc6d2d1f636244ee96b8dd975a1a3aa76266c5022b5c03198d614821fef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:53 + docker inspect -f . ci-base-image-x86_64 06:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:53 prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container 06:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:40:54 $ docker top 5f46fc8a5f22289461e90f60bd81a9f55d51e9fd0561cd49e8396fe0179f50d5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:54 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] fileExists [Pipeline] sh 06:40:54 + make test 06:40:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:40:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:41:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:41:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 06:41:11 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." 06:41:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:41:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:41:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:41:15 ./bin/test-attribution-txt.sh 06:41:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:41:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:41:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:41:15 $ docker stop --time=1 5f46fc8a5f22289461e90f60bd81a9f55d51e9fd0561cd49e8396fe0179f50d5 06:41:17 $ docker rm -f 5f46fc8a5f22289461e90f60bd81a9f55d51e9fd0561cd49e8396fe0179f50d5 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:41:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:41:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:41:18 + ls -al . 06:41:18 total 192 06:41:18 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 06:40 . 06:41:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:39 .. 06:41:18 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:41 .git 06:41:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:39 .github 06:41:18 -rw-rw-r-- 1 jenkins jenkins 337 Aug 12 06:39 .gitignore 06:41:18 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:39 .golangci.yml 06:41:18 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:40 .semver 06:41:18 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 12 06:39 Attribution.txt 06:41:18 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 12 06:39 CHANGELOG.md 06:41:18 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 12 06:39 Dockerfile 06:41:18 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:39 GOVERNANCE.md 06:41:18 -rw-rw-r-- 1 jenkins jenkins 660 Aug 12 06:39 Jenkinsfile 06:41:18 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:39 LICENSE 06:41:18 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 12 06:39 Makefile 06:41:18 -rw-rw-r-- 1 jenkins jenkins 623 Aug 12 06:39 OWNERS.md 06:41:18 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 12 06:39 README.md 06:41:18 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:40 VERSION 06:41:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:39 bin 06:41:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:39 cmd 06:41:18 -rw-r--r-- 1 jenkins jenkins 44128 Aug 12 06:41 coverage.out 06:41:18 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 12 06:39 go.mod 06:41:18 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 12 06:39 go.sum 06:41:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:39 internal 06:41:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:39 snap 06:41:18 -rw-rw-r-- 1 jenkins jenkins 235 Aug 12 06:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:19 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c6051772b3684361e4ed1e111942558285e6c3c6 --label arch=amd64 --label version=0.0.0 . 06:41:19 Sending build context to Docker daemon 23.17MB 06:41:19 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 06:41:19 Step 2/26 : FROM ${BASE} AS builder 06:41:19 ---> da850a0f1aeb 06:41:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:41:19 ---> Running in fbb5e6a7c8d8 06:41:19 Removing intermediate container fbb5e6a7c8d8 06:41:19 ---> 3214e1eb9a6c 06:41:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:41:19 ---> Running in 22a9f252ab56 06:41:19 Removing intermediate container 22a9f252ab56 06:41:19 ---> c16b4e27351e 06:41:19 Step 5/26 : WORKDIR /device-virtual-go 06:41:19 ---> Running in ebb126b27580 06:41:19 Removing intermediate container ebb126b27580 06:41:19 ---> fa23901f015f 06:41:19 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:19 ---> Running in da57646c2d11 06:41:20 Removing intermediate container da57646c2d11 06:41:20 ---> ab706c0f1296 06:41:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:41:20 ---> Running in 858d030540db 06:41:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:41:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:41:21 OK: 216 MiB in 55 packages 06:41:22 Removing intermediate container 858d030540db 06:41:22 ---> 368e09b4bb2e 06:41:22 Step 8/26 : COPY go.mod vendor* ./ 06:41:22 ---> 2bd36431ad95 06:41:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:41:22 ---> Running in 2b38533a9275 06:41:22 Removing intermediate container 2b38533a9275 06:41:22 ---> ab9a671ad832 06:41:22 Step 10/26 : COPY . . 06:41:23 ---> 4968894bbeeb 06:41:23 Step 11/26 : ARG MAKE='make build' 06:41:23 ---> Running in 5344bf796e1a 06:41:23 Removing intermediate container 5344bf796e1a 06:41:23 ---> e7e430227429 06:41:23 Step 12/26 : RUN $MAKE 06:41:23 ---> Running in 28c526a3aa15 06:41:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:41:46 Removing intermediate container 28c526a3aa15 06:41:46 ---> 4bec34ba5113 06:41:46 Step 13/26 : FROM alpine:3.16 06:41:46 3.16: Pulling from library/alpine 06:41:46 213ec9aee27d: Pulling fs layer 06:41:46 213ec9aee27d: Verifying Checksum 06:41:46 213ec9aee27d: Download complete 06:41:46 213ec9aee27d: Pull complete 06:41:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:41:46 Status: Downloaded newer image for alpine:3.16 06:41:46 ---> 9c6f07244728 06:41:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:41:46 ---> Running in f073bded0647 06:41:46 Removing intermediate container f073bded0647 06:41:46 ---> 14111dc6e743 06:41:46 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:46 ---> Running in 251a91256d31 06:41:46 Removing intermediate container 251a91256d31 06:41:46 ---> bdd2d8445666 06:41:46 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:41:46 ---> Running in 56b0b9e473dc 06:41:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:41:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:41:47 (1/6) Installing dumb-init (1.2.5-r1) 06:41:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 06:41:47 (3/6) Installing libsodium (1.0.18-r0) 06:41:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 06:41:47 (5/6) Installing libzmq (4.3.4-r0) 06:41:47 (6/6) Installing zeromq (4.3.4-r0) 06:41:47 Executing busybox-1.35.0-r17.trigger 06:41:47 OK: 8 MiB in 20 packages 06:41:48 Removing intermediate container 56b0b9e473dc 06:41:48 ---> 458bc3c5c7b4 06:41:48 Step 17/26 : WORKDIR / 06:41:48 ---> Running in 213f7e6d9da1 06:41:48 Removing intermediate container 213f7e6d9da1 06:41:48 ---> 042c72ea2551 06:41:48 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:41:48 ---> c39d19d45126 06:41:48 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:41:48 ---> 20b979521009 06:41:48 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:41:49 ---> deec9131c232 06:41:49 Step 21/26 : EXPOSE 59900 06:41:49 ---> Running in 006cdf83dc55 06:41:49 Removing intermediate container 006cdf83dc55 06:41:49 ---> d7bee0415c1e 06:41:49 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:41:49 ---> Running in 18c3fe497c9c 06:41:49 Removing intermediate container 18c3fe497c9c 06:41:49 ---> 10cdc0487b4b 06:41:49 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:41:49 ---> Running in fb7981b1b9ce 06:41:49 Removing intermediate container fb7981b1b9ce 06:41:49 ---> f7a0eaf4a19e 06:41:49 Step 24/26 : LABEL arch=amd64 06:41:49 ---> Running in b44b6c90edfb 06:41:49 Removing intermediate container b44b6c90edfb 06:41:49 ---> ca8bd0d0e8b8 06:41:49 Step 25/26 : LABEL git_sha=c6051772b3684361e4ed1e111942558285e6c3c6 06:41:49 ---> Running in 413f29adbb5d 06:41:49 Removing intermediate container 413f29adbb5d 06:41:49 ---> eaf83efdd51a 06:41:49 Step 26/26 : LABEL version=0.0.0 06:41:49 ---> Running in cc79503228e3 06:41:49 Removing intermediate container cc79503228e3 06:41:49 ---> 91bb17dd3f1a 06:41:49 [Warning] One or more build-args [ARCH] were not consumed 06:41:49 Successfully built 91bb17dd3f1a 06:41:49 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 06:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:50 06:41:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:50 latest: Pulling from edgex-lftools-log-publisher 06:41:50 5eb5b503b376: Pulling fs layer 06:41:50 5c69ac0246d0: Pulling fs layer 06:41:50 ec43610c2a17: Pulling fs layer 06:41:50 3a2ae6a8a46f: Pulling fs layer 06:41:50 33b1e0a273af: Pulling fs layer 06:41:50 5d3b04190fa2: Pulling fs layer 06:41:50 2f39f015ded8: Pulling fs layer 06:41:50 33b1e0a273af: Waiting 06:41:50 5d3b04190fa2: Waiting 06:41:50 2f39f015ded8: Waiting 06:41:50 3a2ae6a8a46f: Waiting 06:41:50 5c69ac0246d0: Verifying Checksum 06:41:50 5c69ac0246d0: Download complete 06:41:50 3a2ae6a8a46f: Verifying Checksum 06:41:50 3a2ae6a8a46f: Download complete 06:41:50 33b1e0a273af: Verifying Checksum 06:41:50 33b1e0a273af: Download complete 06:41:50 5d3b04190fa2: Verifying Checksum 06:41:50 5d3b04190fa2: Download complete 06:41:50 ec43610c2a17: Verifying Checksum 06:41:50 ec43610c2a17: Download complete 06:41:50 5eb5b503b376: Verifying Checksum 06:41:50 5eb5b503b376: Download complete 06:41:51 2f39f015ded8: Download complete 06:41:52 5eb5b503b376: Pull complete 06:41:52 5c69ac0246d0: Pull complete 06:41:52 ec43610c2a17: Pull complete 06:41:53 3a2ae6a8a46f: Pull complete 06:41:53 33b1e0a273af: Pull complete 06:41:53 5d3b04190fa2: Pull complete 06:41:58 2f39f015ded8: Pull complete 06:41:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:58 prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container 06:41:58 $ 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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:42:01 $ docker top 267a208691c9f87d96fc807bb80f1c51060ddb8c7710d970a4cd651957fbe5fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:01 ---> job-cost.sh 06:42:01 lf-activate-venv: SKIPPING 06:42:01 INFO: No Stack... 06:42:02 INFO: Retrieving Pricing Info for: v3-standard-8 06:42:02 INFO: Archiving Costs [Pipeline] sh 06:42:02 + cat /w/workspace/foundry_device-virtual-go_PR-300/archives/cost.csv 06:42:02 + cut -d, -f6 [Pipeline] lock 06:42:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] 06:42:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] did not exist. Created. 06:42:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:42:02 + echo total: 0.2199999988079071 [Pipeline] stash 06:42:02 Stashed 1 file(s) [Pipeline] } 06:42:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:42:02 $ docker stop --time=1 267a208691c9f87d96fc807bb80f1c51060ddb8c7710d970a4cd651957fbe5fa 06:42:04 $ docker rm -f 267a208691c9f87d96fc807bb80f1c51060ddb8c7710d970a4cd651957fbe5fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:44:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22589 in /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] { [Pipeline] ws 06:44:26 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 06:44:26 The recommended git tool is: git 06:44:33 using credential edgex-jenkins-ssh 06:44:33 Cloning the remote Git repository 06:44:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:44:33 > git init /w/workspace/device-virtual-go/4 # timeout=10 06:44:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:44:33 > git --version # timeout=10 06:44:33 > git --version # 'git version 2.25.1' 06:44:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:36 Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit c6051772b3684361e4ed1e111942558285e6c3c6 06:44:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:44:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:44:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:44:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:44:36 > git config core.sparsecheckout # timeout=10 06:44:36 > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 06:44:36 Merge succeeded, producing c6051772b3684361e4ed1e111942558285e6c3c6 06:44:36 Checking out Revision c6051772b3684361e4ed1e111942558285e6c3c6 (PR-300) 06:44:36 > git remote # timeout=10 06:44:36 > git config --get remote.origin.url # timeout=10 06:44:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:36 > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 06:44:36 > git rev-parse HEAD^{commit} # timeout=10 06:44:36 > git config core.sparsecheckout # timeout=10 06:44:36 > git checkout -f c6051772b3684361e4ed1e111942558285e6c3c6 # timeout=10 06:44:41 Commit message: "revert(snap): Revert `latest` version in edgex-docs' link" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:44:42 % Total % Received % Xferd Average Speed Time Time Time Current 06:44:42 Dload Upload Total Spent Left Speed 06:44:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh 06:44:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:44:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:44:43 + sudo tee /etc/docker/daemon.new 06:44:43 { 06:44:43 "registry-mirrors": [ 06:44:43 "https://nexus3.edgexfoundry.org:10001" 06:44:43 ], 06:44:43 "bip": "10.250.0.254/24", 06:44:43 "hosts": [ 06:44:43 "tcp://0.0.0.0:5555", 06:44:43 "unix:///var/run/docker.sock" 06:44:43 ], 06:44:43 "mtu": 1458, 06:44:43 "selinux-enabled": true, 06:44:43 "seccomp-profile": "/etc/docker/seccomp.json" 06:44:43 } [Pipeline] sh 06:44:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:44:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:02 provisioning config files... 06:45:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config474548610920760360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:02 ---> docker-login.sh 06:45:02 nexus3.edgexfoundry.org:10001 06:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:03 Configure a credential helper to remove this warning. See 06:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:03 06:45:03 Login Succeeded 06:45:03 nexus3.edgexfoundry.org:10002 06:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:04 Configure a credential helper to remove this warning. See 06:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:04 06:45:04 Login Succeeded 06:45:04 nexus3.edgexfoundry.org:10003 06:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:04 Configure a credential helper to remove this warning. See 06:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:04 06:45:04 Login Succeeded 06:45:04 nexus3.edgexfoundry.org:10004 06:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:04 Configure a credential helper to remove this warning. See 06:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:04 06:45:04 Login Succeeded 06:45:04 docker.io 06:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:05 Configure a credential helper to remove this warning. See 06:45:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:05 06:45:05 Login Succeeded 06:45:05 ---> docker-login.sh ends [Pipeline] } 06:45:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:45:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:45:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:45:06 ========================================================= 06:45:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:45:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:07 + 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 . 06:45:07 Sending build context to Docker daemon 11.72MB 06:45:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 06:45:07 Step 2/12 : FROM ${BASE} AS builder 06:45:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:45:07 b3c136eddcbf: Pulling fs layer 06:45:07 c0a3192eca97: Pulling fs layer 06:45:07 a050256f5b6f: Pulling fs layer 06:45:07 656be50a0ddc: Pulling fs layer 06:45:07 2bbca73fdf42: Pulling fs layer 06:45:07 46d945488cbd: Pulling fs layer 06:45:07 8a5474983e97: Pulling fs layer 06:45:07 329c88fbcd65: Pulling fs layer 06:45:07 46d945488cbd: Waiting 06:45:07 656be50a0ddc: Waiting 06:45:07 329c88fbcd65: Waiting 06:45:07 8a5474983e97: Waiting 06:45:07 2bbca73fdf42: Waiting 06:45:08 a050256f5b6f: Verifying Checksum 06:45:08 a050256f5b6f: Download complete 06:45:08 c0a3192eca97: Verifying Checksum 06:45:08 c0a3192eca97: Download complete 06:45:08 2bbca73fdf42: Download complete 06:45:08 46d945488cbd: Verifying Checksum 06:45:08 46d945488cbd: Download complete 06:45:08 b3c136eddcbf: Verifying Checksum 06:45:08 b3c136eddcbf: Download complete 06:45:09 b3c136eddcbf: Pull complete 06:45:09 329c88fbcd65: Verifying Checksum 06:45:09 329c88fbcd65: Download complete 06:45:09 c0a3192eca97: Pull complete 06:45:09 a050256f5b6f: Pull complete 06:45:10 8a5474983e97: Verifying Checksum 06:45:10 8a5474983e97: Download complete 06:45:11 656be50a0ddc: Verifying Checksum 06:45:11 656be50a0ddc: Download complete 06:45:26 656be50a0ddc: Pull complete 06:45:26 2bbca73fdf42: Pull complete 06:45:26 46d945488cbd: Pull complete 06:45:31 8a5474983e97: Pull complete 06:45:33 329c88fbcd65: Pull complete 06:45:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:45:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:45:33 ---> ff4287adb874 06:45:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:45:34 ---> Running in a19d21b09380 06:45:35 Removing intermediate container a19d21b09380 06:45:35 ---> ca47d05dc206 06:45:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:45:35 ---> Running in 42298a796969 06:45:35 Removing intermediate container 42298a796969 06:45:35 ---> 9d0e1fa30fef 06:45:35 Step 5/12 : WORKDIR /device-virtual-go 06:45:35 ---> Running in 8a20f736364a 06:45:36 Removing intermediate container 8a20f736364a 06:45:36 ---> 1014ea693c1d 06:45:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:36 ---> Running in 08e056447740 06:45:38 Removing intermediate container 08e056447740 06:45:38 ---> d442c7171d3e 06:45:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:45:38 ---> Running in 9be15d4d11c8 06:45:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:45:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:45:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 06:45:40 (2/4) Installing libedit (20210910.3.1-r0) 06:45:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 06:45:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 06:45:41 Executing busybox-1.35.0-r13.trigger 06:45:41 OK: 226 MiB in 55 packages 06:45:42 Removing intermediate container 9be15d4d11c8 06:45:42 ---> c033433cae05 06:45:42 Step 8/12 : COPY go.mod vendor* ./ 06:45:42 ---> 887d558edf16 06:45:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:45:42 ---> Running in b432cc001ac6 06:46:29 Removing intermediate container b432cc001ac6 06:46:29 ---> 33d374b3db46 06:46:29 Step 10/12 : COPY . . 06:46:29 ---> ec9a8b4a2756 06:46:29 Step 11/12 : ARG MAKE='make build' 06:46:29 ---> Running in bb24a1783a71 06:46:29 Removing intermediate container bb24a1783a71 06:46:29 ---> ec3a989873f9 06:46:29 Step 12/12 : RUN $MAKE 06:46:29 ---> Running in a06f36abeb9c 06:46:30 noop 06:46:31 Removing intermediate container a06f36abeb9c 06:46:31 ---> 598ebb85c2c0 06:46:31 Successfully built 598ebb85c2c0 06:46:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:32 + docker inspect -f . ci-base-image-arm64 06:46:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:32 prd-ubuntu20.04-docker-arm64-4c-16g-22589 does not seem to be running inside a container 06:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:33 $ docker top 825f82c4d98f334cf4b2f071df7d31db94b8318aa381af2e88eee4395fb03a51 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:34 + go version 06:46:34 go version go1.18.3 linux/arm64 [Pipeline] } 06:46:34 $ docker stop --time=1 825f82c4d98f334cf4b2f071df7d31db94b8318aa381af2e88eee4395fb03a51 06:46:36 $ docker rm -f 825f82c4d98f334cf4b2f071df7d31db94b8318aa381af2e88eee4395fb03a51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:36 + docker inspect -f . ci-base-image-arm64 06:46:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:37 prd-ubuntu20.04-docker-arm64-4c-16g-22589 does not seem to be running inside a container 06:46:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:38 $ docker top 55c9bc7502516c1dcb098b495240c597ec9349f54034728c35fda5f3897d12d7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:39 + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh 06:46:39 + make test 06:46:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:46:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:48:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:48:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements 06:48:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:48:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:48:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:48:18 ./bin/test-attribution-txt.sh 06:48:18 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:48:18 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:48:18 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:48:18 $ docker stop --time=1 55c9bc7502516c1dcb098b495240c597ec9349f54034728c35fda5f3897d12d7 06:48:20 $ docker rm -f 55c9bc7502516c1dcb098b495240c597ec9349f54034728c35fda5f3897d12d7 [Pipeline] // withDockerContainer [Pipeline] sh 06:48:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:48:21 Warning: overwriting stash ‘coverage-report’ 06:48:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:48:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:48:22 + ls -al . 06:48:22 total 188 06:48:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:46 . 06:48:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:44 .. 06:48:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:44 .git 06:48:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 .github 06:48:22 -rw-rw-r-- 1 jenkins jenkins 337 Aug 12 06:44 .gitignore 06:48:22 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:44 .golangci.yml 06:48:22 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 12 06:44 Attribution.txt 06:48:22 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 12 06:44 CHANGELOG.md 06:48:22 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 12 06:44 Dockerfile 06:48:22 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:44 GOVERNANCE.md 06:48:22 -rw-rw-r-- 1 jenkins jenkins 660 Aug 12 06:44 Jenkinsfile 06:48:22 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:44 LICENSE 06:48:22 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 12 06:44 Makefile 06:48:22 -rw-rw-r-- 1 jenkins jenkins 623 Aug 12 06:44 OWNERS.md 06:48:22 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 12 06:44 README.md 06:48:22 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:40 VERSION 06:48:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:44 bin 06:48:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 cmd 06:48:22 -rw-r--r-- 1 jenkins jenkins 44128 Aug 12 06:47 coverage.out 06:48:22 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 12 06:44 go.mod 06:48:22 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 12 06:44 go.sum 06:48:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:44 internal 06:48:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:44 snap 06:48:22 -rw-rw-r-- 1 jenkins jenkins 235 Aug 12 06:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:22 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c6051772b3684361e4ed1e111942558285e6c3c6 --label arch=arm64 --label version=0.0.0 . 06:48:23 Sending build context to Docker daemon 11.76MB 06:48:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 06:48:23 Step 2/26 : FROM ${BASE} AS builder 06:48:23 ---> 598ebb85c2c0 06:48:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:48:23 ---> Running in b4f98743a837 06:48:23 Removing intermediate container b4f98743a837 06:48:23 ---> ce9830fcb908 06:48:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:48:23 ---> Running in 3f0696985379 06:48:24 Removing intermediate container 3f0696985379 06:48:24 ---> c05acb5f11a2 06:48:24 Step 5/26 : WORKDIR /device-virtual-go 06:48:24 ---> Running in bad1caa712c2 06:48:24 Removing intermediate container bad1caa712c2 06:48:24 ---> e6a1b6d7e7e0 06:48:24 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:24 ---> Running in ccaacbbb54df 06:48:25 Removing intermediate container ccaacbbb54df 06:48:25 ---> 7854a55b4e18 06:48:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:48:26 ---> Running in e763d8f3aa11 06:48:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:48:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:48:28 OK: 226 MiB in 55 packages 06:48:29 Removing intermediate container e763d8f3aa11 06:48:29 ---> 55c50f2a3952 06:48:29 Step 8/26 : COPY go.mod vendor* ./ 06:48:30 ---> e3e46aec229b 06:48:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:48:30 ---> Running in 0a258c8b036c 06:48:32 Removing intermediate container 0a258c8b036c 06:48:32 ---> c41746436f83 06:48:32 Step 10/26 : COPY . . 06:48:33 ---> 9a1b6dc4c321 06:48:33 Step 11/26 : ARG MAKE='make build' 06:48:33 ---> Running in 39ab76403882 06:48:33 Removing intermediate container 39ab76403882 06:48:33 ---> a71e80c7387f 06:48:33 Step 12/26 : RUN $MAKE 06:48:33 ---> Running in d01b0298b1da 06:48:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:50:41 Removing intermediate container d01b0298b1da 06:50:41 ---> a5816a787828 06:50:41 Step 13/26 : FROM alpine:3.16 06:50:41 3.16: Pulling from library/alpine 06:50:41 9b18e9b68314: Pulling fs layer 06:50:41 9b18e9b68314: Verifying Checksum 06:50:41 9b18e9b68314: Download complete 06:50:41 9b18e9b68314: Pull complete 06:50:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:50:41 Status: Downloaded newer image for alpine:3.16 06:50:41 ---> a6215f271958 06:50:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:50:41 ---> Running in a14e2db0e7b8 06:50:41 Removing intermediate container a14e2db0e7b8 06:50:41 ---> 18c128a82d34 06:50:41 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:41 ---> Running in 3f7ca7b9e070 06:50:41 Removing intermediate container 3f7ca7b9e070 06:50:41 ---> d49b9e599a86 06:50:41 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:50:41 ---> Running in 0680fe84dc71 06:50:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:50:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:50:41 (1/6) Installing dumb-init (1.2.5-r1) 06:50:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 06:50:41 (3/6) Installing libsodium (1.0.18-r0) 06:50:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 06:50:41 (5/6) Installing libzmq (4.3.4-r0) 06:50:41 (6/6) Installing zeromq (4.3.4-r0) 06:50:42 Executing busybox-1.35.0-r17.trigger 06:50:42 OK: 8 MiB in 20 packages 06:50:42 Removing intermediate container 0680fe84dc71 06:50:42 ---> adb4e6df7076 06:50:42 Step 17/26 : WORKDIR / 06:50:43 ---> Running in f73cd5952658 06:50:43 Removing intermediate container f73cd5952658 06:50:43 ---> 62382c0a389b 06:50:43 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:50:43 ---> c521bba10dfd 06:50:43 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:50:44 ---> 664f643ca389 06:50:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:50:45 ---> 9fae932f75e4 06:50:45 Step 21/26 : EXPOSE 59900 06:50:45 ---> Running in 9c65b9236a81 06:50:45 Removing intermediate container 9c65b9236a81 06:50:45 ---> 0190e5ec13eb 06:50:45 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:50:45 ---> Running in 3952bd7b41f2 06:50:46 Removing intermediate container 3952bd7b41f2 06:50:46 ---> d43d7de7d512 06:50:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:50:46 ---> Running in 818cc2531fcc 06:50:46 Removing intermediate container 818cc2531fcc 06:50:46 ---> 3ec2946d5e24 06:50:46 Step 24/26 : LABEL arch=arm64 06:50:46 ---> Running in 0ee073aa88fc 06:50:47 Removing intermediate container 0ee073aa88fc 06:50:47 ---> f555852c8d3b 06:50:47 Step 25/26 : LABEL git_sha=c6051772b3684361e4ed1e111942558285e6c3c6 06:50:47 ---> Running in 4b7b2bd11b9d 06:50:47 Removing intermediate container 4b7b2bd11b9d 06:50:47 ---> 6684229a2f87 06:50:47 Step 26/26 : LABEL version=0.0.0 06:50:47 ---> Running in df7914e7f09f 06:50:47 Removing intermediate container df7914e7f09f 06:50:47 ---> 49adf936aba7 06:50:47 [Warning] One or more build-args [ARCH] were not consumed 06:50:47 Successfully built 49adf936aba7 06:50:47 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 06:50:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:50:48 06:50:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:50:48 arm64: Pulling from edgex-lftools-log-publisher 06:50:48 8998bd30e6a1: Pulling fs layer 06:50:48 04944245beec: Pulling fs layer 06:50:48 699f458cf7ca: Pulling fs layer 06:50:48 765212b225bb: Pulling fs layer 06:50:48 f23df028b6ca: Pulling fs layer 06:50:48 d65c8cfc05b1: Pulling fs layer 06:50:48 2437ff75d9bd: Pulling fs layer 06:50:48 765212b225bb: Waiting 06:50:48 f23df028b6ca: Waiting 06:50:48 d65c8cfc05b1: Waiting 06:50:48 2437ff75d9bd: Waiting 06:50:48 04944245beec: Verifying Checksum 06:50:48 04944245beec: Download complete 06:50:48 765212b225bb: Verifying Checksum 06:50:48 765212b225bb: Download complete 06:50:48 f23df028b6ca: Verifying Checksum 06:50:48 f23df028b6ca: Download complete 06:50:48 d65c8cfc05b1: Download complete 06:50:48 699f458cf7ca: Verifying Checksum 06:50:48 699f458cf7ca: Download complete 06:50:49 8998bd30e6a1: Verifying Checksum 06:50:49 8998bd30e6a1: Download complete 06:50:51 2437ff75d9bd: Verifying Checksum 06:50:51 2437ff75d9bd: Download complete 06:50:53 8998bd30e6a1: Pull complete 06:50:53 04944245beec: Pull complete 06:50:55 699f458cf7ca: Pull complete 06:50:55 765212b225bb: Pull complete 06:50:56 f23df028b6ca: Pull complete 06:50:56 d65c8cfc05b1: Pull complete 06:51:11 2437ff75d9bd: Pull complete 06:51:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:51:11 prd-ubuntu20.04-docker-arm64-4c-16g-22589 does not seem to be running inside a container 06:51:12 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:51:14 $ docker top db6026a0d6ea2ea05fc5633caca03ca3263df00d5f1152b0ee5533d03a9a76e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:15 ---> job-cost.sh 06:51:15 lf-activate-venv: SKIPPING 06:51:15 INFO: No Stack... 06:51:16 INFO: Retrieving Pricing Info for: v3-standard-4 06:51:17 INFO: Archiving Costs [Pipeline] sh 06:51:17 + cut -d, -f6 06:51:17 + cat /w/workspace/device-virtual-go/4/archives/cost.csv [Pipeline] lock 06:51:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] 06:51:17 Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] did not exist. Created. 06:51:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:51:18 /w/workspace/device-virtual-go/4@tmp/durable-80de8525/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:51:19 + echo total: 0.10999999940395355 [Pipeline] stash 06:51:19 Warning: overwriting stash ‘stack-cost’ 06:51:19 Stashed 1 file(s) [Pipeline] } 06:51:19 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:51:19 $ docker stop --time=1 db6026a0d6ea2ea05fc5633caca03ca3263df00d5f1152b0ee5533d03a9a76e6 06:51:20 $ docker rm -f db6026a0d6ea2ea05fc5633caca03ca3263df00d5f1152b0ee5533d03a9a76e6 [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 06:51:21 provisioning config files... 06:51:21 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config7752663531811328039tmp [Pipeline] { [Pipeline] sh 06:51:21 + set +x 06:51:21 + curl -s https://codecov.io/bash 06:51:21 + bash -s -- 06:51:21 06:51:21 _____ _ 06:51:21 / ____| | | 06:51:21 | | ___ __| | ___ ___ _____ __ 06:51:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:51:21 | |___| (_) | (_| | __/ (_| (_) \ V / 06:51:21 \_____\___/ \__,_|\___|\___\___/ \_/ 06:51:21 Bash-1.0.6 06:51:21 06:51:21 06:51:21 ==> git version 2.25.1 found 06:51:21 ==> 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 06:51:21 Release-Date: 2020-01-08 06:51:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:51:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:51:21 ==> Jenkins CI detected. 06:51:21 current dir:  /w/workspace/foundry_device-virtual-go_PR-300 06:51:21 project root: . 06:51:21 --> token set from env 06:51:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:51:21 ==> Running gcov in . (disable via -X gcov) 06:51:21 ==> Python coveragepy not found 06:51:21 ==> Searching for coverage reports in: 06:51:21 + . 06:51:21 -> Found 1 reports 06:51:21 ==> Detecting git/mercurial file structure 06:51:21 ==> Reading reports 06:51:21 + ./coverage.out bytes=44128 06:51:21 ==> Appending adjustments 06:51:21 https://docs.codecov.io/docs/fixing-reports 06:51:21 + Found adjustments 06:51:21 ==> Gzipping contents 06:51:21 8.0K /tmp/codecov.JVZ6Xj.gz 06:51:21 ==> Uploading reports 06:51:21 url: https://codecov.io 06:51:21 query: branch=PR-300&commit=c6051772b3684361e4ed1e111942558285e6c3c6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= 06:51:21 -> Pinging Codecov 06:51:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-300&commit=c6051772b3684361e4ed1e111942558285e6c3c6&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= 06:51:21 -> Uploading to 06:51:21 https://storage.googleapis.com/codecov/v4/raw/2022-08-12/5E52B4B073DB2E39498172D8E973AA87/c6051772b3684361e4ed1e111942558285e6c3c6/d920572b-8dab-4c54-b635-7c56bef5931d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T065121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=359a201472713e6f7a7fd58895e4844d1bae9a16a05a1242e21abf76bb8ddced 06:51:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:51:21 Dload Upload Total Spent Left Speed 06:51:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5470 0 0 100 5470 0 20641 --:--:-- --:--:-- --:--:-- 20641 06:51:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c6051772b3684361e4ed1e111942558285e6c3c6 [Pipeline] } 06:51:22 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 06:51:22 + [ -d /w/workspace/foundry_device-virtual-go_PR-300/archives ] 06:51:22 + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives 06:51:22 total 16 06:51:22 drwxr-xr-x 3 root root 4096 Aug 12 06:42 . 06:51:22 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:42 .. 06:51:22 drwxr-xr-x 2 root root 4096 Aug 12 06:42 cost 06:51:22 -rw-r--r-- 1 root root 89 Aug 12 06:42 cost.csv 06:51:22 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-300/archives 06:51:22 + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives 06:51:22 total 16 06:51:22 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:42 . 06:51:22 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:42 .. 06:51:22 drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 06:42 cost 06:51:22 -rw-r--r-- 1 jenkins jenkins 89 Aug 12 06:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:51:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:51:24 ---> package-listing.sh 06:51:24 ++ facter osfamily 06:51:24 ++ tr '[:upper:]' '[:lower:]' 06:51:24 + OS_FAMILY=debian 06:51:24 + workspace=/w/workspace/foundry_device-virtual-go_PR-300 06:51:24 + START_PACKAGES=/tmp/packages_start.txt 06:51:24 + END_PACKAGES=/tmp/packages_end.txt 06:51:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:51:24 + PACKAGES=/tmp/packages_start.txt 06:51:24 + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' 06:51:24 + PACKAGES=/tmp/packages_end.txt 06:51:24 + case "${OS_FAMILY}" in 06:51:24 + dpkg -l 06:51:24 + grep '^ii' 06:51:24 + '[' -f /tmp/packages_start.txt ']' 06:51:24 + '[' -f /tmp/packages_end.txt ']' 06:51:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:51:24 + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' 06:51:24 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-300/archives/ 06:51:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-300/archives/ [Pipeline] echo 06:51:24 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-300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:51:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:51:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:51:25 prd-ubuntu20.04-docker-8c-8g-22588 does not seem to be running inside a container 06:51:25 $ 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-300/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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:51:25 $ docker top f9adf8dcf72037c6d77886d4c6799f1747c24a4dd48e8bd10e5012355c5a42d5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:51:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:51:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:51:26 + ls /var/log/sa-host 06:51:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:51:26 provisioning config files... 06:51:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config719563634698650171tmp [Pipeline] { [Pipeline] echo 06:51:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:51:26 ---> create-netrc.sh [Pipeline] } 06:51:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:51:27 ---> python-tools-install.sh [Pipeline] echo 06:51:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:51:27 ---> sudo-logs.sh 06:51:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:51:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:51:27 ---> job-cost.sh 06:51:27 lf-activate-venv: SKIPPING 06:51:27 DEBUG: total: 0.2199999988079071 06:51:27 INFO: Retrieving Stack Cost... 06:51:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:51:28 INFO: Archiving Costs [Pipeline] echo 06:51:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:51:28 ---> logs-deploy.sh 06:51:28 lf-activate-venv: SKIPPING 06:51:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-300/4 06:51:28 INFO: archiving workspace using pattern(s): 06:51:29 Archives upload complete. 06:51:29 INFO: archiving logs to Nexus 06:51:30 ---> uname -a: 06:51:30 Linux prd-ubuntu20-04-docker-8c-8g-22588 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 06:51:30 06:51:30 06:51:30 ---> lscpu: 06:51:30 Architecture: x86_64 06:51:30 CPU op-mode(s): 32-bit, 64-bit 06:51:30 Byte Order: Little Endian 06:51:30 Address sizes: 40 bits physical, 48 bits virtual 06:51:30 CPU(s): 8 06:51:30 On-line CPU(s) list: 0-7 06:51:30 Thread(s) per core: 1 06:51:30 Core(s) per socket: 1 06:51:30 Socket(s): 8 06:51:30 NUMA node(s): 1 06:51:30 Vendor ID: AuthenticAMD 06:51:30 CPU family: 23 06:51:30 Model: 49 06:51:30 Model name: AMD EPYC-Rome Processor 06:51:30 Stepping: 0 06:51:30 CPU MHz: 2799.998 06:51:30 BogoMIPS: 5599.99 06:51:30 Virtualization: AMD-V 06:51:30 Hypervisor vendor: KVM 06:51:30 Virtualization type: full 06:51:30 L1d cache: 256 KiB 06:51:30 L1i cache: 256 KiB 06:51:30 L2 cache: 4 MiB 06:51:30 L3 cache: 128 MiB 06:51:30 NUMA node0 CPU(s): 0-7 06:51:30 Vulnerability Itlb multihit: Not affected 06:51:30 Vulnerability L1tf: Not affected 06:51:30 Vulnerability Mds: Not affected 06:51:30 Vulnerability Meltdown: Not affected 06:51:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:51:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:51:30 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:51:30 Vulnerability Srbds: Not affected 06:51:30 Vulnerability Tsx async abort: Not affected 06:51:30 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 06:51:30 06:51:30 06:51:30 ---> nproc: 06:51:30 8 06:51:30 06:51:30 06:51:30 ---> df -h: 06:51:30 Filesystem Size Used Avail Use% Mounted on 06:51:30 overlay 155G 11G 145G 7% / 06:51:30 tmpfs 64M 0 64M 0% /dev 06:51:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:51:30 shm 64M 0 64M 0% /dev/shm 06:51:30 /dev/vda1 155G 11G 145G 7% /facter-os 06:51:30 06:51:30 06:51:30 ---> sar -b -r -n DEV: 06:51:30 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22588) 08/12/22 _x86_64_ (8 CPU) 06:51:30 06:51:30 06:39:20 LINUX RESTART (8 CPU) 06:51:30 06:51:30 06:40:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:51:30 06:41:01 206.35 4.48 201.87 0.00 423.26 113711.85 0.00 06:51:30 06:42:01 186.54 0.13 186.40 0.00 4.93 41234.19 0.00 06:51:30 06:43:01 3.67 0.00 3.67 0.00 0.00 61.06 0.00 06:51:30 06:44:01 1.77 0.00 1.77 0.00 0.00 21.06 0.00 06:51:30 06:45:01 1.47 0.02 1.45 0.00 0.13 16.93 0.00 06:51:30 06:46:02 1.37 0.00 1.37 0.00 0.00 16.66 0.00 06:51:30 06:47:01 1.03 0.00 1.03 0.00 0.00 12.47 0.00 06:51:30 06:48:01 1.38 0.00 1.38 0.00 0.00 16.00 0.00 06:51:30 06:49:01 1.02 0.00 1.02 0.00 0.00 11.60 0.00 06:51:30 06:50:01 2.02 0.00 2.02 0.00 0.00 29.99 0.00 06:51:30 06:51:01 1.65 0.00 1.65 0.00 0.00 19.46 0.00 06:51:30 Average: 37.17 0.42 36.75 0.00 39.00 14125.62 0.00 06:51:30 06:51:30 06:40:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:51:30 06:41:01 28009260 31621144 669128 2.03 160492 3644936 2519064 7.42 1442188 2964384 182332 06:51:30 06:42:01 27560868 31753108 534452 1.63 174024 4166780 2055988 6.06 1305988 3500400 312 06:51:30 06:43:01 27575092 31767068 522472 1.59 174120 4166644 1954084 5.76 1300752 3491148 16 06:51:30 06:44:01 27576636 31768876 520644 1.58 174164 4166636 1954084 5.76 1300280 3491288 12 06:51:30 06:45:01 27582636 31774904 514536 1.56 174212 4166656 1954084 5.76 1293992 3491304 24 06:51:30 06:46:02 27576540 31768840 520552 1.58 174228 4166660 1954084 5.76 1302872 3491304 48 06:51:30 06:47:01 27583824 31776592 513204 1.56 174252 4166664 1954084 5.76 1294292 3491744 12 06:51:30 06:48:01 27583556 31776384 513396 1.56 174264 4166668 1954084 5.76 1294040 3491796 48 06:51:30 06:49:01 27583500 31776348 513356 1.56 174288 4166668 1954084 5.76 1294768 3491796 24 06:51:30 06:50:01 27582868 31775888 513820 1.56 174340 4166648 1954084 5.76 1294616 3491880 12 06:51:30 06:51:01 27583064 31776272 513356 1.56 174408 4166772 1954084 5.76 1294356 3492012 12 06:51:30 Average: 27617986 31757766 531720 1.62 172981 4119248 2014710 5.94 1310740 3444460 16623 06:51:30 06:51:30 06:40:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:51:30 06:41:01 lo 4.13 4.13 0.41 0.41 0.00 0.00 0.00 0.00 06:51:30 06:41:01 docker0 140.33 167.02 11.50 1663.53 0.00 0.00 0.00 0.00 06:51:30 06:41:01 ens3 443.93 330.83 7278.57 99.55 0.00 0.00 0.00 0.00 06:51:30 06:41:01 vethb35a25d 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 06:51:30 06:42:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 06:51:30 06:42:01 docker0 17.98 21.45 1.09 99.04 0.00 0.00 0.00 0.00 06:51:30 06:42:01 ens3 140.08 91.55 2684.49 21.01 0.00 0.00 0.00 0.00 06:51:30 06:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:43:01 ens3 6.48 3.93 5.39 1.97 0.00 0.00 0.00 0.00 06:51:30 06:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:51:30 06:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:44:01 ens3 1.03 0.60 0.17 0.11 0.00 0.00 0.00 0.00 06:51:30 06:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:45:01 ens3 0.67 0.40 0.34 0.27 0.00 0.00 0.00 0.00 06:51:30 06:46:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:51:30 06:46:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:46:02 ens3 14.45 9.37 13.52 10.07 0.00 0.00 0.00 0.00 06:51:30 06:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:47:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:51:30 06:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:48:01 ens3 0.18 0.12 0.01 0.01 0.00 0.00 0.00 0.00 06:51:30 06:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:49:01 ens3 4.83 4.40 0.41 7.01 0.00 0.00 0.00 0.00 06:51:30 06:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:51:30 06:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:50:01 ens3 8.45 15.84 0.84 15.14 0.00 0.00 0.00 0.00 06:51:30 06:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 06:51:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:51:30 Average: lo 0.64 0.64 0.06 0.06 0.00 0.00 0.00 0.00 06:51:30 Average: docker0 14.41 17.16 1.15 160.47 0.00 0.00 0.00 0.00 06:51:30 Average: ens3 56.46 41.61 908.96 14.13 0.00 0.00 0.00 0.00 06:51:30 06:51:30 06:51:30 ---> sar -P ALL: 06:51:30 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22588) 08/12/22 _x86_64_ (8 CPU) 06:51:30 06:51:30 06:39:20 LINUX RESTART (8 CPU) 06:51:30 06:51:30 06:40:01 CPU %user %nice %system %iowait %steal %idle 06:51:30 06:41:01 all 19.60 0.00 5.89 2.84 0.07 71.61 06:51:30 06:41:01 0 18.46 0.00 5.31 0.17 0.07 75.99 06:51:30 06:41:01 1 20.85 0.00 5.78 0.56 0.07 72.75 06:51:30 06:41:01 2 19.76 0.00 5.73 1.42 0.07 73.02 06:51:30 06:41:01 3 19.28 0.00 5.42 0.73 0.07 74.51 06:51:30 06:41:01 4 20.38 0.00 6.33 11.12 0.07 62.10 06:51:30 06:41:01 5 18.20 0.00 6.41 4.84 0.07 70.48 06:51:30 06:41:01 6 19.09 0.00 5.75 3.37 0.07 71.71 06:51:30 06:41:01 7 20.77 0.00 6.35 0.54 0.07 72.27 06:51:30 06:42:01 all 30.53 0.00 5.87 1.59 0.09 61.92 06:51:30 06:42:01 0 29.89 0.00 5.88 1.25 0.07 62.92 06:51:30 06:42:01 1 30.06 0.00 5.73 0.39 0.07 63.76 06:51:30 06:42:01 2 29.95 0.00 5.33 1.35 0.10 63.28 06:51:30 06:42:01 3 31.84 0.00 6.59 3.77 0.12 57.68 06:51:30 06:42:01 4 31.39 0.00 5.17 0.19 0.07 63.19 06:51:30 06:42:01 5 30.86 0.00 6.80 2.39 0.05 59.90 06:51:30 06:42:01 6 29.41 0.00 6.37 3.31 0.07 60.83 06:51:30 06:42:01 7 30.89 0.00 5.07 0.05 0.15 63.84 06:51:30 06:43:01 all 0.19 0.00 0.11 0.01 0.01 99.68 06:51:30 06:43:01 0 0.57 0.00 0.27 0.00 0.02 99.15 06:51:30 06:43:01 1 0.08 0.00 0.08 0.00 0.00 99.83 06:51:30 06:43:01 2 0.18 0.00 0.05 0.03 0.02 99.72 06:51:30 06:43:01 3 0.17 0.00 0.08 0.02 0.02 99.72 06:51:30 06:43:01 4 0.13 0.00 0.08 0.00 0.00 99.78 06:51:30 06:43:01 5 0.13 0.00 0.10 0.00 0.02 99.75 06:51:30 06:43:01 6 0.12 0.00 0.08 0.02 0.03 99.75 06:51:30 06:43:01 7 0.13 0.00 0.10 0.00 0.00 99.77 06:51:30 06:44:01 all 0.01 0.00 0.01 0.00 0.01 99.96 06:51:30 06:44:01 0 0.02 0.00 0.00 0.00 0.02 99.97 06:51:30 06:44:01 1 0.00 0.00 0.00 0.00 0.02 99.98 06:51:30 06:44:01 2 0.02 0.00 0.02 0.03 0.00 99.93 06:51:30 06:44:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:51:30 06:44:01 4 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:44:01 5 0.00 0.00 0.02 0.00 0.00 99.98 06:51:30 06:44:01 6 0.02 0.00 0.03 0.00 0.03 99.92 06:51:30 06:44:01 7 0.00 0.00 0.02 0.00 0.02 99.97 06:51:30 06:45:01 all 0.03 0.00 0.01 0.00 0.00 99.96 06:51:30 06:45:01 0 0.03 0.00 0.00 0.00 0.00 99.97 06:51:30 06:45:01 1 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:45:01 2 0.02 0.00 0.02 0.03 0.00 99.93 06:51:30 06:45:01 3 0.03 0.00 0.00 0.00 0.00 99.97 06:51:30 06:45:01 4 0.03 0.00 0.03 0.00 0.00 99.93 06:51:30 06:45:01 5 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:45:01 6 0.05 0.00 0.00 0.00 0.02 99.93 06:51:30 06:45:01 7 0.00 0.00 0.02 0.00 0.00 99.98 06:51:30 06:46:02 all 0.06 0.00 0.02 0.01 0.01 99.90 06:51:30 06:46:02 0 0.10 0.00 0.05 0.00 0.02 99.83 06:51:30 06:46:02 1 0.07 0.00 0.00 0.00 0.02 99.92 06:51:30 06:46:02 2 0.03 0.00 0.00 0.02 0.00 99.95 06:51:30 06:46:02 3 0.05 0.00 0.03 0.00 0.02 99.90 06:51:30 06:46:02 4 0.05 0.00 0.02 0.00 0.02 99.92 06:51:30 06:46:02 5 0.02 0.00 0.02 0.00 0.00 99.97 06:51:30 06:46:02 6 0.07 0.00 0.02 0.03 0.03 99.85 06:51:30 06:46:02 7 0.08 0.00 0.03 0.00 0.00 99.88 06:51:30 06:47:01 all 0.02 0.00 0.01 0.00 0.00 99.96 06:51:30 06:47:01 0 0.00 0.00 0.00 0.00 0.00 100.00 06:51:30 06:47:01 1 0.00 0.00 0.02 0.00 0.00 99.98 06:51:30 06:47:01 2 0.03 0.00 0.02 0.02 0.02 99.92 06:51:30 06:47:01 3 0.00 0.00 0.00 0.00 0.00 100.00 06:51:30 06:47:01 4 0.03 0.00 0.00 0.00 0.00 99.97 06:51:30 06:47:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:51:30 06:47:01 6 0.07 0.00 0.02 0.02 0.02 99.88 06:51:30 06:47:01 7 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:48:01 all 0.00 0.00 0.01 0.00 0.01 99.98 06:51:30 06:48:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:51:30 06:48:01 1 0.00 0.00 0.00 0.00 0.00 100.00 06:51:30 06:48:01 2 0.00 0.00 0.00 0.02 0.00 99.98 06:51:30 06:48:01 3 0.00 0.00 0.02 0.00 0.00 99.98 06:51:30 06:48:01 4 0.00 0.00 0.00 0.00 0.02 99.98 06:51:30 06:48:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:51:30 06:48:01 6 0.02 0.00 0.02 0.00 0.05 99.92 06:51:30 06:48:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:51:30 06:49:01 all 0.03 0.00 0.01 0.01 0.01 99.95 06:51:30 06:49:01 0 0.00 0.00 0.00 0.00 0.02 99.98 06:51:30 06:49:01 1 0.03 0.00 0.00 0.00 0.02 99.95 06:51:30 06:49:01 2 0.02 0.00 0.00 0.03 0.00 99.95 06:51:30 06:49:01 3 0.05 0.00 0.00 0.00 0.00 99.95 06:51:30 06:49:01 4 0.02 0.00 0.02 0.00 0.00 99.97 06:51:30 06:49:01 5 0.05 0.00 0.02 0.00 0.00 99.93 06:51:30 06:49:01 6 0.07 0.00 0.02 0.02 0.03 99.87 06:51:30 06:49:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:51:30 06:50:01 all 0.05 0.00 0.02 0.01 0.00 99.91 06:51:30 06:50:01 0 0.08 0.00 0.02 0.00 0.00 99.90 06:51:30 06:50:01 1 0.12 0.00 0.05 0.00 0.00 99.83 06:51:30 06:50:01 2 0.05 0.00 0.03 0.07 0.00 99.85 06:51:30 06:50:01 3 0.12 0.00 0.00 0.00 0.00 99.88 06:51:30 06:50:01 4 0.00 0.00 0.02 0.00 0.00 99.98 06:51:30 06:50:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:51:30 06:50:01 6 0.03 0.00 0.00 0.02 0.03 99.92 06:51:30 06:50:01 7 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:51:01 all 0.02 0.00 0.01 0.01 0.01 99.95 06:51:30 06:51:01 0 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:51:01 1 0.00 0.00 0.00 0.00 0.02 99.98 06:51:30 06:51:01 2 0.03 0.00 0.00 0.03 0.02 99.92 06:51:30 06:51:01 3 0.00 0.00 0.02 0.00 0.02 99.97 06:51:30 06:51:01 4 0.02 0.00 0.02 0.00 0.02 99.95 06:51:30 06:51:01 5 0.02 0.00 0.00 0.08 0.00 99.90 06:51:30 06:51:01 6 0.05 0.00 0.03 0.00 0.03 99.88 06:51:30 06:51:01 7 0.02 0.00 0.00 0.00 0.00 99.98 06:51:30 06:51:30 Average: CPU %user %nice %system %iowait %steal %idle 06:51:30 Average: all 4.55 0.00 1.08 0.40 0.02 93.95 06:51:30 Average: 0 4.44 0.00 1.04 0.13 0.02 94.38 06:51:30 Average: 1 4.62 0.00 1.05 0.09 0.02 94.23 06:51:30 Average: 2 4.52 0.00 1.01 0.28 0.02 94.18 06:51:30 Average: 3 4.65 0.00 1.10 0.41 0.02 93.82 06:51:30 Average: 4 4.68 0.00 1.05 1.01 0.02 93.24 06:51:30 Average: 5 4.44 0.00 1.20 0.66 0.01 93.68 06:51:30 Average: 6 4.42 0.00 1.11 0.61 0.04 93.82 06:51:30 Average: 7 4.66 0.00 1.04 0.05 0.02 94.22 06:51:30 06:51:30 06:51:30