Pull request #297 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32d9ecc9568397e682767f6e647e4ab35eb00fad+a4c5e1680f302981d2a38419928a1399fd8860a9 (5d4585d753f5460fedd01085a8b68f24ea5ec416) 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-ssh13603094723440151482.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-ssh3212459884399582726.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15597348747696411003.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6367524277745487988.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10075987693531701142.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5388872718485443694.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21673 in /w/workspace/foundry_device-virtual-go_PR-297 [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-297 # 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 a4c5e1680f302981d2a38419928a1399fd8860a9 into PR head commit 32d9ecc9568397e682767f6e647e4ab35eb00fad Merge succeeded, producing 32d9ecc9568397e682767f6e647e4ab35eb00fad Checking out Revision 32d9ecc9568397e682767f6e647e4ab35eb00fad (PR-297) > 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/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32d9ecc9568397e682767f6e647e4ab35eb00fad # 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 a4c5e1680f302981d2a38419928a1399fd8860a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32d9ecc9568397e682767f6e647e4ab35eb00fad # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:58 ========================================================= 11:04:58 EdgeX Global Pipelines Version Info 11:04:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:58 ------------------- 11:04:58 stable info: 11:04:58 ------------------- 11:04:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 11:04:58 Message: update stable to v1.0.238 11:04:59 ------------------- 11:04:59 experimental info: 11:04:59 ------------------- 11:04:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:59 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 11:04:59 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:05:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-297 [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-297 [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-297 [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32d9ecc9568397e682767f6e647e4ab35eb00fad [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32d9ecc [Pipeline] echo 11:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:05:01 provisioning config files... 11:05:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-297@tmp/config2061898607126397841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:01 ---> docker-login.sh 11:05:01 nexus3.edgexfoundry.org:10001 11:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:02 Configure a credential helper to remove this warning. See 11:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:02 11:05:02 Login Succeeded 11:05:02 nexus3.edgexfoundry.org:10002 11:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:02 Configure a credential helper to remove this warning. See 11:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:02 11:05:02 Login Succeeded 11:05:02 nexus3.edgexfoundry.org:10003 11:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:02 Configure a credential helper to remove this warning. See 11:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:02 11:05:02 Login Succeeded 11:05:02 nexus3.edgexfoundry.org:10004 11:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:02 Configure a credential helper to remove this warning. See 11:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:02 11:05:02 Login Succeeded 11:05:02 docker.io 11:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:03 Configure a credential helper to remove this warning. See 11:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:03 11:05:03 Login Succeeded 11:05:03 ---> docker-login.sh ends [Pipeline] } 11:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:05:04 + git rev-list -1 --merges 32d9ecc9568397e682767f6e647e4ab35eb00fad~1..32d9ecc9568397e682767f6e647e4ab35eb00fad [Pipeline] echo 11:05:04 -----------> git rev-list -1 --merges 32d9ecc9568397e682767f6e647e4ab35eb00fad~1..32d9ecc9568397e682767f6e647e4ab35eb00fad 32d9ecc9568397e682767f6e647e4ab35eb00fad [false] [Pipeline] sh 11:05:04 + git log --format=format:%s -1 32d9ecc9568397e682767f6e647e4ab35eb00fad [Pipeline] echo 11:05:04 ========================================================= 11:05:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:05:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:05:04 + git log --format=format:%s -1 32d9ecc9568397e682767f6e647e4ab35eb00fad [Pipeline] echo 11:05:04 [semverPrep] GIT_COMMIT: 32d9ecc9568397e682767f6e647e4ab35eb00fad, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:05:04 [semverPrep] This is not a build commit. [Pipeline] sh 11:05:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:05:05 + grep -v github /etc/ssh/ssh_known_hosts 11:05:05 + [ -e /tmp/ssh_known_hosts ] 11:05:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:05:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:05:05 + sudo tee -a /etc/ssh/ssh_known_hosts 11:05:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:05:05 11:05:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:05:06 0.1.4: Pulling from edgex-devops/py-git-semver 11:05:06 b85a868b505f: Pulling fs layer 11:05:06 e2be974225ed: Pulling fs layer 11:05:06 339a4e72a1f5: Pulling fs layer 11:05:06 988bab9f4d93: Pulling fs layer 11:05:06 1469e6f7b9e6: Pulling fs layer 11:05:06 eaf3925da568: Pulling fs layer 11:05:06 bab4dde63d76: Pulling fs layer 11:05:06 bde34c3a00c8: Pulling fs layer 11:05:06 b352a97aabf1: Pulling fs layer 11:05:06 4872d77fe225: Pulling fs layer 11:05:06 5851b861e8e6: Pulling fs layer 11:05:06 988bab9f4d93: Waiting 11:05:06 1469e6f7b9e6: Waiting 11:05:06 b352a97aabf1: Waiting 11:05:06 eaf3925da568: Waiting 11:05:06 4872d77fe225: Waiting 11:05:06 bab4dde63d76: Waiting 11:05:06 5851b861e8e6: Waiting 11:05:06 bde34c3a00c8: Waiting 11:05:06 e2be974225ed: Download complete 11:05:06 988bab9f4d93: Verifying Checksum 11:05:06 988bab9f4d93: Download complete 11:05:06 1469e6f7b9e6: Verifying Checksum 11:05:06 1469e6f7b9e6: Download complete 11:05:06 eaf3925da568: Verifying Checksum 11:05:06 eaf3925da568: Download complete 11:05:06 339a4e72a1f5: Verifying Checksum 11:05:06 339a4e72a1f5: Download complete 11:05:06 b352a97aabf1: Download complete 11:05:06 4872d77fe225: Verifying Checksum 11:05:06 5851b861e8e6: Verifying Checksum 11:05:06 5851b861e8e6: Download complete 11:05:06 b85a868b505f: Verifying Checksum 11:05:06 b85a868b505f: Download complete 11:05:06 bab4dde63d76: Verifying Checksum 11:05:06 bab4dde63d76: Download complete 11:05:08 b85a868b505f: Pull complete 11:05:08 e2be974225ed: Pull complete 11:05:08 339a4e72a1f5: Pull complete 11:05:08 988bab9f4d93: Pull complete 11:05:08 1469e6f7b9e6: Pull complete 11:05:08 eaf3925da568: Pull complete 11:05:10 bab4dde63d76: Pull complete 11:05:11 bde34c3a00c8: Pull complete 11:05:11 b352a97aabf1: Pull complete 11:05:11 4872d77fe225: Pull complete 11:05:11 5851b861e8e6: Pull complete 11:05:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:05:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:05:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:11 prd-ubuntu20.04-docker-8c-8g-21673 does not seem to be running inside a container 11:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-297 -v /w/workspace/foundry_device-virtual-go_PR-297:/w/workspace/foundry_device-virtual-go_PR-297:rw,z -v /w/workspace/foundry_device-virtual-go_PR-297@tmp:/w/workspace/foundry_device-virtual-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:05:12 $ docker top 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e -eo pid,comm 11:05:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:05:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:05:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:13 [ssh-agent] Looking for ssh-agent implementation... 11:05:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:13 $ docker exec 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e ssh-agent 11:05:13 SSH_AUTH_SOCK=/tmp/ssh-WTy12mRNcLJ1/agent.32 11:05:13 SSH_AGENT_PID=38 11:05:13 Running ssh-add (command line suppressed) 11:05:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-297@tmp/private_key_26062145989686786.key (/w/workspace/foundry_device-virtual-go_PR-297@tmp/private_key_26062145989686786.key) 11:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:13 + git tag --points-at HEAD [Pipeline] } 11:05:13 $ docker exec --env ******** --env ******** 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e ssh-agent -k 11:05:13 unset SSH_AUTH_SOCK; 11:05:13 unset SSH_AGENT_PID; 11:05:13 echo Agent pid 38 killed; 11:05:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:05:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:14 [ssh-agent] Looking for ssh-agent implementation... 11:05:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:14 $ docker exec 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e ssh-agent 11:05:14 SSH_AUTH_SOCK=/tmp/ssh-uHtAQSNwdIuV/agent.71 11:05:14 SSH_AGENT_PID=77 11:05:14 Running ssh-add (command line suppressed) 11:05:14 Identity added: /w/workspace/foundry_device-virtual-go_PR-297@tmp/private_key_2390708431618207095.key (/w/workspace/foundry_device-virtual-go_PR-297@tmp/private_key_2390708431618207095.key) 11:05:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:14 + git semver init 11:05:15 2022-08-01 11:05:15,050 [run_init] DEBUG init version:0.0.0 force:False 11:05:15 2022-08-01 11:05:15,050 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-297/.semver 11:05:15 2022-08-01 11:05:15,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-297/.semver 11:05:15 2022-08-01 11:05:15,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-297/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-297, universal_newlines=False, shell=None, istream=None) 11:05:16 2022-08-01 11:05:15,979 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-297/.git/info/exclude 11:05:16 2022-08-01 11:05:15,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-297/.semver/PR-297 with force:False 11:05:16 2022-08-01 11:05:15,979 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-297/.semver/PR-297 11:05:16 2022-08-01 11:05:15,984 [execute] INFO git cat-file --batch-check 11:05:16 2022-08-01 11:05:15,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) 11:05:16 2022-08-01 11:05:15,992 [execute] INFO git cat-file --batch 11:05:16 2022-08-01 11:05:15,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) 11:05:16 2022-08-01 11:05:15,998 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-297/.semver/PR-297 11:05:16 0.0.0 [Pipeline] } 11:05:16 $ docker exec --env ******** --env ******** 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e ssh-agent -k 11:05:16 unset SSH_AUTH_SOCK; 11:05:16 unset SSH_AGENT_PID; 11:05:16 echo Agent pid 77 killed; 11:05:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:05:16 + git semver [Pipeline] } 11:05:16 $ docker stop --time=1 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e 11:05:18 $ docker rm -f 9baaad3703f8d984aed83dc84c565f8339bfc11405aaf5ba8a1191cdab13293e [Pipeline] // withDockerContainer [Pipeline] sh 11:05:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:05:19 Stashed 1 file(s) [Pipeline] echo 11:05:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:05:19 provisioning config files... 11:05:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-297@tmp/config4170901213091599355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:19 ---> docker-login.sh 11:05:19 nexus3.edgexfoundry.org:10001 11:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:19 Configure a credential helper to remove this warning. See 11:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:19 11:05:19 Login Succeeded 11:05:19 nexus3.edgexfoundry.org:10002 11:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:20 Configure a credential helper to remove this warning. See 11:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:20 11:05:20 Login Succeeded 11:05:20 nexus3.edgexfoundry.org:10003 11:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:20 Configure a credential helper to remove this warning. See 11:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:20 11:05:20 Login Succeeded 11:05:20 nexus3.edgexfoundry.org:10004 11:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:20 Configure a credential helper to remove this warning. See 11:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:20 11:05:20 Login Succeeded 11:05:20 docker.io 11:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:20 Configure a credential helper to remove this warning. See 11:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:20 11:05:20 Login Succeeded 11:05:20 ---> docker-login.sh ends [Pipeline] } 11:05:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:21 ========================================================= 11:05:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:05:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:21 + 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 . 11:05:21 Sending build context to Docker daemon 23.08MB 11:05:21 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:05:21 Step 2/12 : FROM ${BASE} AS builder 11:05:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:05:21 2408cc74d12b: Pulling fs layer 11:05:21 ea60b727a1ce: Pulling fs layer 11:05:21 30c4a7721957: Pulling fs layer 11:05:21 370296b7ddb6: Pulling fs layer 11:05:21 7c6cee850709: Pulling fs layer 11:05:21 39a5fcdaea64: Pulling fs layer 11:05:21 d94ebbe4e438: Pulling fs layer 11:05:21 bcfd1f05c69d: Pulling fs layer 11:05:21 59ccb84bbe0f: Pulling fs layer 11:05:21 7c6cee850709: Waiting 11:05:21 d94ebbe4e438: Waiting 11:05:21 39a5fcdaea64: Waiting 11:05:21 bcfd1f05c69d: Waiting 11:05:21 370296b7ddb6: Waiting 11:05:21 59ccb84bbe0f: Waiting 11:05:21 30c4a7721957: Verifying Checksum 11:05:21 30c4a7721957: Download complete 11:05:21 ea60b727a1ce: Verifying Checksum 11:05:21 ea60b727a1ce: Download complete 11:05:21 7c6cee850709: Verifying Checksum 11:05:21 7c6cee850709: Download complete 11:05:21 39a5fcdaea64: Verifying Checksum 11:05:21 39a5fcdaea64: Download complete 11:05:21 2408cc74d12b: Verifying Checksum 11:05:21 2408cc74d12b: Download complete 11:05:21 d94ebbe4e438: Download complete 11:05:21 2408cc74d12b: Pull complete 11:05:22 ea60b727a1ce: Pull complete 11:05:22 30c4a7721957: Pull complete 11:05:22 59ccb84bbe0f: Verifying Checksum 11:05:22 59ccb84bbe0f: Download complete 11:05:22 bcfd1f05c69d: Verifying Checksum 11:05:22 bcfd1f05c69d: Download complete 11:05:22 370296b7ddb6: Verifying Checksum 11:05:22 370296b7ddb6: Download complete 11:05:26 370296b7ddb6: Pull complete 11:05:27 7c6cee850709: Pull complete 11:05:27 39a5fcdaea64: Pull complete 11:05:27 d94ebbe4e438: Pull complete 11:05:29 bcfd1f05c69d: Pull complete 11:05:30 59ccb84bbe0f: Pull complete 11:05:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 11:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:05:30 ---> a4fb48ad2a94 11:05:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:31 ---> Running in aea27181beb5 11:05:31 Removing intermediate container aea27181beb5 11:05:31 ---> c965bcc9ad57 11:05:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:05:31 ---> Running in da9c2edd4ba1 11:05:31 Removing intermediate container da9c2edd4ba1 11:05:31 ---> 69c9a548408f 11:05:31 Step 5/12 : WORKDIR /device-virtual-go 11:05:31 ---> Running in 870d0217406a 11:05:31 Removing intermediate container 870d0217406a 11:05:31 ---> bcb538315e84 11:05:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:31 ---> Running in 832080a33e26 11:05:32 Removing intermediate container 832080a33e26 11:05:32 ---> b85a31755a95 11:05:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:32 ---> Running in 087cf853a16a 11:05:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:05:34 (2/4) Installing libedit (20210910.3.1-r0) 11:05:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:05:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:05:34 Executing busybox-1.35.0-r13.trigger 11:05:34 OK: 216 MiB in 55 packages 11:05:34 Still waiting to schedule task 11:05:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:05:34 Removing intermediate container 087cf853a16a 11:05:34 ---> 4dadff893119 11:05:34 Step 8/12 : COPY go.mod vendor* ./ 11:05:34 ---> 1a6fd180df0a 11:05:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:34 ---> Running in e020c6229ba0 11:05:56 Removing intermediate container e020c6229ba0 11:05:56 ---> 7587d48bb991 11:05:56 Step 10/12 : COPY . . 11:05:56 ---> a9771cb6a92f 11:05:56 Step 11/12 : ARG MAKE='make build' 11:05:56 ---> Running in 195a21d98db9 11:05:56 Removing intermediate container 195a21d98db9 11:05:56 ---> 9f84ff9e0110 11:05:56 Step 12/12 : RUN $MAKE 11:05:56 ---> Running in d316a5e92373 11:05:56 noop 11:05:56 Removing intermediate container d316a5e92373 11:05:56 ---> 6261ca8a7d0b 11:05:56 Successfully built 6261ca8a7d0b 11:05:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:57 + docker inspect -f . ci-base-image-x86_64 11:05:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:57 prd-ubuntu20.04-docker-8c-8g-21673 does not seem to be running inside a container 11:05:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-297 -v /w/workspace/foundry_device-virtual-go_PR-297:/w/workspace/foundry_device-virtual-go_PR-297:rw,z -v /w/workspace/foundry_device-virtual-go_PR-297@tmp:/w/workspace/foundry_device-virtual-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:05:58 $ docker top 4a8f5233b2ae90ba018acabb9961125412de3f26317cacbb4c0a87fe90c3f32a -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:58 + go version 11:05:58 go version go1.18.3 linux/amd64 [Pipeline] } 11:05:58 $ docker stop --time=1 4a8f5233b2ae90ba018acabb9961125412de3f26317cacbb4c0a87fe90c3f32a 11:05:59 $ docker rm -f 4a8f5233b2ae90ba018acabb9961125412de3f26317cacbb4c0a87fe90c3f32a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:00 + docker inspect -f . ci-base-image-x86_64 11:06:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:00 prd-ubuntu20.04-docker-8c-8g-21673 does not seem to be running inside a container 11:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-297 -v /w/workspace/foundry_device-virtual-go_PR-297:/w/workspace/foundry_device-virtual-go_PR-297:rw,z -v /w/workspace/foundry_device-virtual-go_PR-297@tmp:/w/workspace/foundry_device-virtual-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:06:01 $ docker top fd512b54a6a85ca38fbe71e6969132d5b68f11894eb199a1881486fee7a2ccf8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:01 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-297 [Pipeline] fileExists [Pipeline] sh 11:06:01 + make test 11:06:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:06:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:06:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:06:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 11:06:20 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." 11:06:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:06:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:06:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:06:23 ./bin/test-attribution-txt.sh 11:06:23 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:06:23 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:06:23 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:06:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:06:23 $ docker stop --time=1 fd512b54a6a85ca38fbe71e6969132d5b68f11894eb199a1881486fee7a2ccf8 11:06:25 $ docker rm -f fd512b54a6a85ca38fbe71e6969132d5b68f11894eb199a1881486fee7a2ccf8 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:06:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:06:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:06:26 + ls -al . 11:06:26 total 192 11:06:26 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 11:06 . 11:06:26 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 11:04 .. 11:06:26 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 11:06 .git 11:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 11:04 .github 11:06:26 -rw-rw-r-- 1 jenkins jenkins 337 Aug 1 11:04 .gitignore 11:06:26 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 11:04 .golangci.yml 11:06:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 11:05 .semver 11:06:26 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 1 11:04 Attribution.txt 11:06:26 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 1 11:04 CHANGELOG.md 11:06:26 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 1 11:04 Dockerfile 11:06:26 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 11:04 GOVERNANCE.md 11:06:26 -rw-rw-r-- 1 jenkins jenkins 660 Aug 1 11:04 Jenkinsfile 11:06:26 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 11:04 LICENSE 11:06:26 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 1 11:04 Makefile 11:06:26 -rw-rw-r-- 1 jenkins jenkins 623 Aug 1 11:04 OWNERS.md 11:06:26 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 1 11:04 README.md 11:06:26 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 11:05 VERSION 11:06:26 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 11:04 bin 11:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 11:04 cmd 11:06:26 -rw-r--r-- 1 jenkins jenkins 44128 Aug 1 11:06 coverage.out 11:06:26 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 1 11:04 go.mod 11:06:26 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 1 11:04 go.sum 11:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 11:04 internal 11:06:26 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 11:04 snap 11:06:26 -rw-rw-r-- 1 jenkins jenkins 235 Aug 1 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:27 + 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=32d9ecc9568397e682767f6e647e4ab35eb00fad --label arch=amd64 --label version=0.0.0 . 11:06:27 Sending build context to Docker daemon 23.13MB 11:06:27 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 11:06:27 Step 2/26 : FROM ${BASE} AS builder 11:06:27 ---> 6261ca8a7d0b 11:06:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:06:27 ---> Running in 58c7011e6129 11:06:27 Removing intermediate container 58c7011e6129 11:06:27 ---> 3223e9f717f8 11:06:27 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:06:27 ---> Running in 67ae25ccd29b 11:06:27 Removing intermediate container 67ae25ccd29b 11:06:27 ---> 73e8dc2b9001 11:06:27 Step 5/26 : WORKDIR /device-virtual-go 11:06:27 ---> Running in 47837b4e9252 11:06:27 Removing intermediate container 47837b4e9252 11:06:27 ---> 1cdf0145b4a2 11:06:27 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:27 ---> Running in 22c2b529993e 11:06:28 Removing intermediate container 22c2b529993e 11:06:28 ---> a3212c6d9217 11:06:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:28 ---> Running in 0c0c796cf4f2 11:06:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:29 OK: 216 MiB in 55 packages 11:06:30 Removing intermediate container 0c0c796cf4f2 11:06:30 ---> ac4048844007 11:06:30 Step 8/26 : COPY go.mod vendor* ./ 11:06:30 ---> 1f45157c4af6 11:06:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:30 ---> Running in d12c683c9e18 11:06:30 Removing intermediate container d12c683c9e18 11:06:30 ---> d8d79b81ecdd 11:06:30 Step 10/26 : COPY . . 11:06:31 ---> 64b9f2eb76d1 11:06:31 Step 11/26 : ARG MAKE='make build' 11:06:31 ---> Running in 1d51149056e8 11:06:31 Removing intermediate container 1d51149056e8 11:06:31 ---> 335d46fc9850 11:06:31 Step 12/26 : RUN $MAKE 11:06:31 ---> Running in 5dff3be406b9 11:06:31 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 11:06:53 Removing intermediate container 5dff3be406b9 11:06:53 ---> d6990f6873bb 11:06:53 Step 13/26 : FROM alpine:3.16 11:06:53 3.16: Pulling from library/alpine 11:06:53 530afca65e2e: Pulling fs layer 11:06:53 530afca65e2e: Verifying Checksum 11:06:53 530afca65e2e: Download complete 11:06:53 530afca65e2e: Pull complete 11:06:53 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 11:06:53 Status: Downloaded newer image for alpine:3.16 11:06:53 ---> d7d3d98c851f 11:06:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:53 ---> Running in 3b5446806685 11:06:53 Removing intermediate container 3b5446806685 11:06:53 ---> a52fe9a7b347 11:06:53 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:53 ---> Running in 500682a1e5b0 11:06:53 Removing intermediate container 500682a1e5b0 11:06:53 ---> 72c22fa85648 11:06:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:06:53 ---> Running in b1a89dd235aa 11:06:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:55 (1/6) Installing dumb-init (1.2.5-r1) 11:06:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:06:55 (3/6) Installing libsodium (1.0.18-r0) 11:06:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:06:55 (5/6) Installing libzmq (4.3.4-r0) 11:06:55 (6/6) Installing zeromq (4.3.4-r0) 11:06:55 Executing busybox-1.35.0-r15.trigger 11:06:55 OK: 8 MiB in 20 packages 11:06:55 Removing intermediate container b1a89dd235aa 11:06:55 ---> cf4ece621367 11:06:55 Step 17/26 : WORKDIR / 11:06:55 ---> Running in f2779188ed41 11:06:56 Removing intermediate container f2779188ed41 11:06:56 ---> 1aca4ce36cfb 11:06:56 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:56 ---> 0c692f05a91f 11:06:56 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:56 ---> f2762703d22e 11:06:56 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:06:56 ---> 5670a41df365 11:06:56 Step 21/26 : EXPOSE 59900 11:06:56 ---> Running in 3ababb6e63da 11:06:56 Removing intermediate container 3ababb6e63da 11:06:56 ---> 44c3b0f27985 11:06:56 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:06:56 ---> Running in 16fea3e9d966 11:06:57 Removing intermediate container 16fea3e9d966 11:06:57 ---> 19064738aa1a 11:06:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:57 ---> Running in c525507c98dd 11:06:57 Removing intermediate container c525507c98dd 11:06:57 ---> 6def4a1e5533 11:06:57 Step 24/26 : LABEL arch=amd64 11:06:57 ---> Running in 07d0d633a73b 11:06:57 Removing intermediate container 07d0d633a73b 11:06:57 ---> f99c2e7e4746 11:06:57 Step 25/26 : LABEL git_sha=32d9ecc9568397e682767f6e647e4ab35eb00fad 11:06:57 ---> Running in dc91b9c16a0e 11:06:57 Removing intermediate container dc91b9c16a0e 11:06:57 ---> 6f448faed7e0 11:06:57 Step 26/26 : LABEL version=0.0.0 11:06:57 ---> Running in 8d0902304c14 11:06:57 Removing intermediate container 8d0902304c14 11:06:57 ---> f84aba963274 11:06:57 [Warning] One or more build-args [ARCH] were not consumed 11:06:57 Successfully built f84aba963274 11:06:57 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:58 11:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:58 latest: Pulling from edgex-lftools-log-publisher 11:06:58 5eb5b503b376: Pulling fs layer 11:06:58 5c69ac0246d0: Pulling fs layer 11:06:58 ec43610c2a17: Pulling fs layer 11:06:58 3a2ae6a8a46f: Pulling fs layer 11:06:58 33b1e0a273af: Pulling fs layer 11:06:58 5d3b04190fa2: Pulling fs layer 11:06:58 2f39f015ded8: Pulling fs layer 11:06:58 33b1e0a273af: Waiting 11:06:58 5c69ac0246d0: Download complete 11:06:58 3a2ae6a8a46f: Verifying Checksum 11:06:58 3a2ae6a8a46f: Download complete 11:06:58 33b1e0a273af: Verifying Checksum 11:06:58 33b1e0a273af: Download complete 11:06:59 5d3b04190fa2: Download complete 11:06:59 ec43610c2a17: Verifying Checksum 11:06:59 ec43610c2a17: Download complete 11:06:59 5eb5b503b376: Verifying Checksum 11:06:59 5eb5b503b376: Download complete 11:06:59 2f39f015ded8: Download complete 11:07:00 5eb5b503b376: Pull complete 11:07:00 5c69ac0246d0: Pull complete 11:07:01 ec43610c2a17: Pull complete 11:07:01 3a2ae6a8a46f: Pull complete 11:07:01 33b1e0a273af: Pull complete 11:07:01 5d3b04190fa2: Pull complete 11:07:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21674 in /w/workspace/foundry_device-virtual-go_PR-297 [Pipeline] { [Pipeline] ws 11:07:06 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:07:06 The recommended git tool is: git 11:07:06 2f39f015ded8: Pull complete 11:07:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:07:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:06 prd-ubuntu20.04-docker-8c-8g-21673 does not seem to be running inside a container 11:07:06 $ 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-297 -v /w/workspace/foundry_device-virtual-go_PR-297:/w/workspace/foundry_device-virtual-go_PR-297:rw,z -v /w/workspace/foundry_device-virtual-go_PR-297@tmp:/w/workspace/foundry_device-virtual-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:07:08 $ docker top 2f84f26c797263944926e227454edf947e4a0aaae67a8c50e2cf3ef6d4350cbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:08 ---> job-cost.sh 11:07:08 lf-activate-venv: SKIPPING 11:07:08 INFO: No Stack... 11:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 11:07:09 INFO: Archiving Costs [Pipeline] sh 11:07:10 + cat /w/workspace/foundry_device-virtual-go_PR-297/archives/cost.csv 11:07:10 + cut -d, -f6 [Pipeline] lock 11:07:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] 11:07:10 Resource [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] did not exist. Created. 11:07:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:07:10 + echo total: 0.2199999988079071 [Pipeline] stash 11:07:10 Stashed 1 file(s) [Pipeline] } 11:07:10 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:07:10 $ docker stop --time=1 2f84f26c797263944926e227454edf947e4a0aaae67a8c50e2cf3ef6d4350cbb 11:07:11 $ docker rm -f 2f84f26c797263944926e227454edf947e4a0aaae67a8c50e2cf3ef6d4350cbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:07:14 using credential edgex-jenkins-ssh 11:07:14 Cloning the remote Git repository 11:07:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:07:14 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:07:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:07:14 > git --version # timeout=10 11:07:14 > git --version # 'git version 2.25.1' 11:07:14 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:07:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:07:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:07:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:07:17 Merging remotes/origin/main commit a4c5e1680f302981d2a38419928a1399fd8860a9 into PR head commit 32d9ecc9568397e682767f6e647e4ab35eb00fad 11:07:17 Merge succeeded, producing 32d9ecc9568397e682767f6e647e4ab35eb00fad 11:07:17 Checking out Revision 32d9ecc9568397e682767f6e647e4ab35eb00fad (PR-297) 11:07:17 > git config core.sparsecheckout # timeout=10 11:07:17 > git checkout -f 32d9ecc9568397e682767f6e647e4ab35eb00fad # timeout=10 11:07:17 > git remote # timeout=10 11:07:17 > git config --get remote.origin.url # timeout=10 11:07:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:17 > git merge a4c5e1680f302981d2a38419928a1399fd8860a9 # timeout=10 11:07:17 > git rev-parse HEAD^{commit} # timeout=10 11:07:17 > git config core.sparsecheckout # timeout=10 11:07:17 > git checkout -f 32d9ecc9568397e682767f6e647e4ab35eb00fad # timeout=10 11:07:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:07:22 > git --version # timeout=10 11:07:22 > git --version # 'git version 2.25.1' 11:07:22 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:07:23 % Total % Received % Xferd Average Speed Time Time Time Current 11:07:23 Dload Upload Total Spent Left Speed 11:07:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88719 0 --:--:-- --:--:-- --:--:-- 88719 [Pipeline] sh 11:07:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:07:24 + sudo tee /etc/docker/daemon.new 11:07:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:07:24 { 11:07:24 "registry-mirrors": [ 11:07:24 "https://nexus3.edgexfoundry.org:10001" 11:07:24 ], 11:07:24 "bip": "10.250.0.254/24", 11:07:24 "hosts": [ 11:07:24 "tcp://0.0.0.0:5555", 11:07:24 "unix:///var/run/docker.sock" 11:07:24 ], 11:07:24 "mtu": 1458, 11:07:24 "selinux-enabled": true, 11:07:24 "seccomp-profile": "/etc/docker/seccomp.json" 11:07:24 } [Pipeline] sh 11:07:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:07:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:43 provisioning config files... 11:07:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2755593173805647315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:44 ---> docker-login.sh 11:07:44 nexus3.edgexfoundry.org:10001 11:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:45 Configure a credential helper to remove this warning. See 11:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:45 11:07:45 Login Succeeded 11:07:45 nexus3.edgexfoundry.org:10002 11:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:45 Configure a credential helper to remove this warning. See 11:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:45 11:07:45 Login Succeeded 11:07:45 nexus3.edgexfoundry.org:10003 11:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:46 Configure a credential helper to remove this warning. See 11:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:46 11:07:46 Login Succeeded 11:07:46 nexus3.edgexfoundry.org:10004 11:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:46 Configure a credential helper to remove this warning. See 11:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:46 11:07:46 Login Succeeded 11:07:46 docker.io 11:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:47 Configure a credential helper to remove this warning. See 11:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:47 11:07:47 Login Succeeded 11:07:47 ---> docker-login.sh ends [Pipeline] } 11:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:47 ========================================================= 11:07:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:07:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:48 + 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 . 11:07:48 Sending build context to Docker daemon 11.67MB 11:07:48 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:07:48 Step 2/12 : FROM ${BASE} AS builder 11:07:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:48 b3c136eddcbf: Pulling fs layer 11:07:48 c0a3192eca97: Pulling fs layer 11:07:48 a050256f5b6f: Pulling fs layer 11:07:48 656be50a0ddc: Pulling fs layer 11:07:48 2bbca73fdf42: Pulling fs layer 11:07:48 46d945488cbd: Pulling fs layer 11:07:48 8a5474983e97: Pulling fs layer 11:07:48 329c88fbcd65: Pulling fs layer 11:07:48 656be50a0ddc: Waiting 11:07:48 8a5474983e97: Waiting 11:07:48 329c88fbcd65: Waiting 11:07:48 2bbca73fdf42: Waiting 11:07:48 46d945488cbd: Waiting 11:07:48 a050256f5b6f: Verifying Checksum 11:07:48 a050256f5b6f: Download complete 11:07:48 c0a3192eca97: Verifying Checksum 11:07:48 c0a3192eca97: Download complete 11:07:48 2bbca73fdf42: Download complete 11:07:48 46d945488cbd: Verifying Checksum 11:07:48 46d945488cbd: Download complete 11:07:48 b3c136eddcbf: Download complete 11:07:49 b3c136eddcbf: Pull complete 11:07:50 329c88fbcd65: Download complete 11:07:50 c0a3192eca97: Pull complete 11:07:50 a050256f5b6f: Pull complete 11:07:51 8a5474983e97: Verifying Checksum 11:07:51 8a5474983e97: Download complete 11:07:51 656be50a0ddc: Verifying Checksum 11:07:51 656be50a0ddc: Download complete 11:08:07 656be50a0ddc: Pull complete 11:08:07 2bbca73fdf42: Pull complete 11:08:07 46d945488cbd: Pull complete 11:08:11 8a5474983e97: Pull complete 11:08:13 329c88fbcd65: Pull complete 11:08:13 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 11:08:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:08:13 ---> ff4287adb874 11:08:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:08:14 ---> Running in 88b393dff50b 11:08:14 Removing intermediate container 88b393dff50b 11:08:14 ---> fb85817b5424 11:08:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:08:14 ---> Running in 371930d110bd 11:08:15 Removing intermediate container 371930d110bd 11:08:15 ---> 465cc626352a 11:08:15 Step 5/12 : WORKDIR /device-virtual-go 11:08:15 ---> Running in 02535bf71a20 11:08:15 Removing intermediate container 02535bf71a20 11:08:15 ---> 16ec3eca9195 11:08:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:15 ---> Running in ad9684c32ca3 11:08:17 Removing intermediate container ad9684c32ca3 11:08:17 ---> b478d22463f1 11:08:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:08:17 ---> Running in 66dc1fb3f76f 11:08:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:08:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:08:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:08:21 (2/4) Installing libedit (20210910.3.1-r0) 11:08:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:08:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:08:22 Executing busybox-1.35.0-r13.trigger 11:08:22 OK: 226 MiB in 55 packages 11:08:23 Removing intermediate container 66dc1fb3f76f 11:08:23 ---> 3bdcf4058ece 11:08:23 Step 8/12 : COPY go.mod vendor* ./ 11:08:23 ---> 18ff86598ab0 11:08:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:23 ---> Running in cdf0b7049839 11:09:10 Removing intermediate container cdf0b7049839 11:09:10 ---> 86f2a4cc8cdf 11:09:10 Step 10/12 : COPY . . 11:09:11 ---> 8acfc434174f 11:09:11 Step 11/12 : ARG MAKE='make build' 11:09:11 ---> Running in f6d4582e9dc5 11:09:11 Removing intermediate container f6d4582e9dc5 11:09:11 ---> 3130a4ab1cac 11:09:11 Step 12/12 : RUN $MAKE 11:09:11 ---> Running in a73cd418de2d 11:09:12 noop 11:09:13 Removing intermediate container a73cd418de2d 11:09:13 ---> 1c05fcf3d889 11:09:13 Successfully built 1c05fcf3d889 11:09:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:13 + docker inspect -f . ci-base-image-arm64 11:09:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:14 prd-ubuntu20.04-docker-arm64-4c-16g-21674 does not seem to be running inside a container 11:09:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:09:15 $ docker top 6cb0e3ea5122a1433dbb6deebf4a679157731a32da35ac88d482986b7e31f14b -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:16 + go version 11:09:16 go version go1.18.3 linux/arm64 [Pipeline] } 11:09:16 $ docker stop --time=1 6cb0e3ea5122a1433dbb6deebf4a679157731a32da35ac88d482986b7e31f14b 11:09:17 $ docker rm -f 6cb0e3ea5122a1433dbb6deebf4a679157731a32da35ac88d482986b7e31f14b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:18 + docker inspect -f . ci-base-image-arm64 11:09:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:19 prd-ubuntu20.04-docker-arm64-4c-16g-21674 does not seem to be running inside a container 11:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:09:20 $ docker top 2d73dfd5b8377b1d7ab7bf5a80edfd62bd437cf90ce3a79b707d3e63c811b99c -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:21 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:09:22 + make test 11:09:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:09:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:10:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:10:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.124s coverage: 65.7% of statements 11:10:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:10:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:11:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:11:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:11:00 ./bin/test-attribution-txt.sh 11:11:00 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:11:00 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:11:00 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:11:00 $ docker stop --time=1 2d73dfd5b8377b1d7ab7bf5a80edfd62bd437cf90ce3a79b707d3e63c811b99c 11:11:02 $ docker rm -f 2d73dfd5b8377b1d7ab7bf5a80edfd62bd437cf90ce3a79b707d3e63c811b99c [Pipeline] // withDockerContainer [Pipeline] sh 11:11:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:03 Warning: overwriting stash ‘coverage-report’ 11:11:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:04 + ls -al . 11:11:04 total 188 11:11:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 11:09 . 11:11:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 11:07 .. 11:11:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 11:07 .git 11:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 11:07 .github 11:11:04 -rw-rw-r-- 1 jenkins jenkins 337 Aug 1 11:07 .gitignore 11:11:04 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 11:07 .golangci.yml 11:11:04 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 1 11:07 Attribution.txt 11:11:04 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 1 11:07 CHANGELOG.md 11:11:04 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 1 11:07 Dockerfile 11:11:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 11:07 GOVERNANCE.md 11:11:04 -rw-rw-r-- 1 jenkins jenkins 660 Aug 1 11:07 Jenkinsfile 11:11:04 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 11:07 LICENSE 11:11:04 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 1 11:07 Makefile 11:11:04 -rw-rw-r-- 1 jenkins jenkins 623 Aug 1 11:07 OWNERS.md 11:11:04 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 1 11:07 README.md 11:11:04 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 11:05 VERSION 11:11:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 11:07 bin 11:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 11:07 cmd 11:11:04 -rw-r--r-- 1 jenkins jenkins 44128 Aug 1 11:10 coverage.out 11:11:04 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 1 11:07 go.mod 11:11:04 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 1 11:07 go.sum 11:11:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 11:07 internal 11:11:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 11:07 snap 11:11:04 -rw-rw-r-- 1 jenkins jenkins 235 Aug 1 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:05 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=32d9ecc9568397e682767f6e647e4ab35eb00fad --label arch=arm64 --label version=0.0.0 . 11:11:05 Sending build context to Docker daemon 11.72MB 11:11:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 11:11:05 Step 2/26 : FROM ${BASE} AS builder 11:11:05 ---> 1c05fcf3d889 11:11:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:05 ---> Running in 361637fb3703 11:11:06 Removing intermediate container 361637fb3703 11:11:06 ---> 485c315e9b16 11:11:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:11:06 ---> Running in 6ebdc2fed17e 11:11:06 Removing intermediate container 6ebdc2fed17e 11:11:06 ---> 9d6228fb581b 11:11:06 Step 5/26 : WORKDIR /device-virtual-go 11:11:06 ---> Running in 1dff00184ef6 11:11:07 Removing intermediate container 1dff00184ef6 11:11:07 ---> 24ad2c263334 11:11:07 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:07 ---> Running in 660b1968faf2 11:11:09 Removing intermediate container 660b1968faf2 11:11:09 ---> 782b46eb52ef 11:11:09 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:09 ---> Running in bbeb77f55b4c 11:11:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:11:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:11:11 OK: 226 MiB in 55 packages 11:11:12 Removing intermediate container bbeb77f55b4c 11:11:12 ---> e3330eda8abc 11:11:12 Step 8/26 : COPY go.mod vendor* ./ 11:11:12 ---> 786659a05f31 11:11:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:13 ---> Running in 11c0f35393ea 11:11:15 Removing intermediate container 11c0f35393ea 11:11:15 ---> 165f5c26041f 11:11:15 Step 10/26 : COPY . . 11:11:16 ---> dc0d6ad05a03 11:11:16 Step 11/26 : ARG MAKE='make build' 11:11:16 ---> Running in a509d6ed450c 11:11:16 Removing intermediate container a509d6ed450c 11:11:16 ---> 3835d5132088 11:11:16 Step 12/26 : RUN $MAKE 11:11:16 ---> Running in c35c02803094 11:11:17 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 11:13:24 Removing intermediate container c35c02803094 11:13:24 ---> c15b0f235220 11:13:24 Step 13/26 : FROM alpine:3.16 11:13:24 3.16: Pulling from library/alpine 11:13:24 f97344484467: Pulling fs layer 11:13:24 f97344484467: Pull complete 11:13:24 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 11:13:24 Status: Downloaded newer image for alpine:3.16 11:13:24 ---> 3d81c46cd875 11:13:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:24 ---> Running in cc9848e062a7 11:13:24 Removing intermediate container cc9848e062a7 11:13:24 ---> 0b11a2a43754 11:13:24 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:24 ---> Running in fd67dd76aff8 11:13:24 Removing intermediate container fd67dd76aff8 11:13:24 ---> b255ba318907 11:13:24 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:13:24 ---> Running in e27593930cf7 11:13:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:24 (1/6) Installing dumb-init (1.2.5-r1) 11:13:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:13:24 (3/6) Installing libsodium (1.0.18-r0) 11:13:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:13:24 (5/6) Installing libzmq (4.3.4-r0) 11:13:24 (6/6) Installing zeromq (4.3.4-r0) 11:13:24 Executing busybox-1.35.0-r15.trigger 11:13:24 OK: 8 MiB in 20 packages 11:13:24 Removing intermediate container e27593930cf7 11:13:24 ---> 42c8d0213838 11:13:24 Step 17/26 : WORKDIR / 11:13:24 ---> Running in 3af6647bb3cf 11:13:24 Removing intermediate container 3af6647bb3cf 11:13:24 ---> de072f65b6e0 11:13:24 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:25 ---> eb74fd84295c 11:13:25 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:25 ---> 269a9a9521c6 11:13:25 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:13:27 ---> 8161951489ad 11:13:27 Step 21/26 : EXPOSE 59900 11:13:27 ---> Running in 2be849f07c5e 11:13:27 Removing intermediate container 2be849f07c5e 11:13:27 ---> 32536c44e3c7 11:13:27 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:13:27 ---> Running in b7fcf6fd77ac 11:13:27 Removing intermediate container b7fcf6fd77ac 11:13:27 ---> 88d0d9076a50 11:13:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:28 ---> Running in 15da69af8284 11:13:28 Removing intermediate container 15da69af8284 11:13:28 ---> ad9c83209edf 11:13:28 Step 24/26 : LABEL arch=arm64 11:13:28 ---> Running in 9d2092d252f7 11:13:28 Removing intermediate container 9d2092d252f7 11:13:28 ---> 17e611e1c8f6 11:13:28 Step 25/26 : LABEL git_sha=32d9ecc9568397e682767f6e647e4ab35eb00fad 11:13:28 ---> Running in 15940919674a 11:13:29 Removing intermediate container 15940919674a 11:13:29 ---> 40eba6d2dc1d 11:13:29 Step 26/26 : LABEL version=0.0.0 11:13:29 ---> Running in 489290e5f932 11:13:29 Removing intermediate container 489290e5f932 11:13:29 ---> 1f03033d79f9 11:13:29 [Warning] One or more build-args [ARCH] were not consumed 11:13:29 Successfully built 1f03033d79f9 11:13:29 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 11:13:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:30 11:13:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:31 arm64: Pulling from edgex-lftools-log-publisher 11:13:31 8998bd30e6a1: Pulling fs layer 11:13:31 04944245beec: Pulling fs layer 11:13:31 699f458cf7ca: Pulling fs layer 11:13:31 765212b225bb: Pulling fs layer 11:13:31 f23df028b6ca: Pulling fs layer 11:13:31 d65c8cfc05b1: Pulling fs layer 11:13:31 2437ff75d9bd: Pulling fs layer 11:13:31 f23df028b6ca: Waiting 11:13:31 2437ff75d9bd: Waiting 11:13:31 d65c8cfc05b1: Waiting 11:13:31 765212b225bb: Waiting 11:13:31 04944245beec: Verifying Checksum 11:13:31 04944245beec: Download complete 11:13:31 765212b225bb: Verifying Checksum 11:13:31 765212b225bb: Download complete 11:13:31 f23df028b6ca: Verifying Checksum 11:13:31 f23df028b6ca: Download complete 11:13:31 d65c8cfc05b1: Verifying Checksum 11:13:31 d65c8cfc05b1: Download complete 11:13:31 699f458cf7ca: Verifying Checksum 11:13:31 699f458cf7ca: Download complete 11:13:31 8998bd30e6a1: Verifying Checksum 11:13:31 8998bd30e6a1: Download complete 11:13:34 2437ff75d9bd: Verifying Checksum 11:13:34 2437ff75d9bd: Download complete 11:13:36 8998bd30e6a1: Pull complete 11:13:36 04944245beec: Pull complete 11:13:37 699f458cf7ca: Pull complete 11:13:38 765212b225bb: Pull complete 11:13:38 f23df028b6ca: Pull complete 11:13:39 d65c8cfc05b1: Pull complete 11:13:54 2437ff75d9bd: Pull complete 11:13:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:54 prd-ubuntu20.04-docker-arm64-4c-16g-21674 does not seem to be running inside a container 11:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:57 $ docker top 2dea391694984a407575aeb203e3ccc1a539ebb72bae769b5134cb3428f527ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:58 ---> job-cost.sh 11:13:58 lf-activate-venv: SKIPPING 11:13:58 INFO: No Stack... 11:13:58 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:59 INFO: Archiving Costs [Pipeline] sh 11:13:59 + + cut -d,cat -f6 /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:59 [Pipeline] lock 11:14:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] 11:14:00 Resource [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] did not exist. Created. 11:14:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:00 /w/workspace/device-virtual-go/1@tmp/durable-4f9134d8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:14:01 + echo total: 0.10999999940395355 [Pipeline] stash 11:14:01 Warning: overwriting stash ‘stack-cost’ 11:14:01 Stashed 1 file(s) [Pipeline] } 11:14:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-297-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:14:01 $ docker stop --time=1 2dea391694984a407575aeb203e3ccc1a539ebb72bae769b5134cb3428f527ed 11:14:03 $ docker rm -f 2dea391694984a407575aeb203e3ccc1a539ebb72bae769b5134cb3428f527ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:14:04 provisioning config files... 11:14:04 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-297@tmp/config6998479018347628512tmp [Pipeline] { [Pipeline] sh 11:14:04 + set +x 11:14:04 + curl -s https://codecov.io/bash 11:14:04 + bash -s -- 11:14:04 11:14:04 _____ _ 11:14:04 / ____| | | 11:14:04 | | ___ __| | ___ ___ _____ __ 11:14:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:14:04 | |___| (_) | (_| | __/ (_| (_) \ V / 11:14:04 \_____\___/ \__,_|\___|\___\___/ \_/ 11:14:04 Bash-1.0.6 11:14:04 11:14:04 11:14:04 ==> git version 2.25.1 found 11:14:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:14:04 Release-Date: 2020-01-08 11:14:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:14:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:14:04 ==> Jenkins CI detected. 11:14:04 current dir:  /w/workspace/foundry_device-virtual-go_PR-297 11:14:04 project root: . 11:14:04 --> token set from env 11:14:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:14:04 ==> Running gcov in . (disable via -X gcov) 11:14:04 ==> Python coveragepy not found 11:14:04 ==> Searching for coverage reports in: 11:14:04 + . 11:14:04 -> Found 1 reports 11:14:04 ==> Detecting git/mercurial file structure 11:14:04 ==> Reading reports 11:14:04 + ./coverage.out bytes=44128 11:14:04 ==> Appending adjustments 11:14:04 https://docs.codecov.io/docs/fixing-reports 11:14:04 + Found adjustments 11:14:04 ==> Gzipping contents 11:14:04 8.0K /tmp/codecov.LdTVsO.gz 11:14:04 ==> Uploading reports 11:14:04 url: https://codecov.io 11:14:04 query: branch=PR-297&commit=32d9ecc9568397e682767f6e647e4ab35eb00fad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=297&job=&cmd_args= 11:14:04 -> Pinging Codecov 11:14:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-297&commit=32d9ecc9568397e682767f6e647e4ab35eb00fad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=297&job=&cmd_args= 11:14:05 -> Uploading to 11:14:05 https://storage.googleapis.com/codecov/v4/raw/2022-08-01/5E52B4B073DB2E39498172D8E973AA87/32d9ecc9568397e682767f6e647e4ab35eb00fad/aa13dd22-4fc7-4fe7-8346-333cc2c6ffd6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T111405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0eb03a5b7605c7d4f271aa4298f1b41eb2d92aeae1782b0946d24d8c33b71b2c 11:14:05 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:05 Dload Upload Total Spent Left Speed 11:14:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5500 0 0 100 5500 0 23605 --:--:-- --:--:-- --:--:-- 23605 11:14:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/32d9ecc9568397e682767f6e647e4ab35eb00fad [Pipeline] } 11:14:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:14:07 + [ -d /w/workspace/foundry_device-virtual-go_PR-297/archives ] 11:14:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-297/archives 11:14:07 total 16 11:14:07 drwxr-xr-x 3 root root 4096 Aug 1 11:07 . 11:14:07 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 11:07 .. 11:14:07 drwxr-xr-x 2 root root 4096 Aug 1 11:07 cost 11:14:07 -rw-r--r-- 1 root root 89 Aug 1 11:07 cost.csv 11:14:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-297/archives 11:14:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-297/archives 11:14:07 total 16 11:14:07 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 11:07 . 11:14:07 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 11:07 .. 11:14:07 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 11:07 cost 11:14:07 -rw-r--r-- 1 jenkins jenkins 89 Aug 1 11:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:14:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:14:08 ---> package-listing.sh 11:14:08 ++ facter osfamily 11:14:08 ++ tr '[:upper:]' '[:lower:]' 11:14:08 + OS_FAMILY=debian 11:14:08 + workspace=/w/workspace/foundry_device-virtual-go_PR-297 11:14:08 + START_PACKAGES=/tmp/packages_start.txt 11:14:08 + END_PACKAGES=/tmp/packages_end.txt 11:14:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:14:08 + PACKAGES=/tmp/packages_start.txt 11:14:08 + '[' /w/workspace/foundry_device-virtual-go_PR-297 ']' 11:14:08 + PACKAGES=/tmp/packages_end.txt 11:14:08 + case "${OS_FAMILY}" in 11:14:08 + dpkg -l 11:14:08 + grep '^ii' 11:14:08 + '[' -f /tmp/packages_start.txt ']' 11:14:08 + '[' -f /tmp/packages_end.txt ']' 11:14:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:14:08 + '[' /w/workspace/foundry_device-virtual-go_PR-297 ']' 11:14:08 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-297/archives/ 11:14:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-297/archives/ [Pipeline] echo 11:14:08 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-297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:14:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:09 prd-ubuntu20.04-docker-8c-8g-21673 does not seem to be running inside a container 11:14:09 $ 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-297/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-297 -v /w/workspace/foundry_device-virtual-go_PR-297:/w/workspace/foundry_device-virtual-go_PR-297:rw,z -v /w/workspace/foundry_device-virtual-go_PR-297@tmp:/w/workspace/foundry_device-virtual-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:14:10 $ docker top 647bd4ed187baeef5fcfc96490e8bb201a5166224594bc6faf1b530129405479 -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:10 + touch /tmp/pre-build-complete [Pipeline] sh 11:14:10 + mkdir -p /var/log/sysstat [Pipeline] sh 11:14:11 + ls /var/log/sa-host 11:14:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:11 provisioning config files... 11:14:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-297@tmp/config3816262164682165729tmp [Pipeline] { [Pipeline] echo 11:14:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:14:11 ---> create-netrc.sh [Pipeline] } 11:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:14:12 ---> python-tools-install.sh [Pipeline] echo 11:14:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:14:12 ---> sudo-logs.sh 11:14:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:14:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:14:12 ---> job-cost.sh 11:14:12 lf-activate-venv: SKIPPING 11:14:12 DEBUG: total: 0.2199999988079071 11:14:12 INFO: Retrieving Stack Cost... 11:14:13 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:13 INFO: Archiving Costs [Pipeline] echo 11:14:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:14 ---> logs-deploy.sh 11:14:14 lf-activate-venv: SKIPPING 11:14:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-297/1 11:14:14 INFO: archiving workspace using pattern(s): 11:14:15 Archives upload complete. 11:14:15 INFO: archiving logs to Nexus 11:14:16 ---> uname -a: 11:14:16 Linux prd-ubuntu20-04-docker-8c-8g-21673 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 11:14:16 11:14:16 11:14:16 ---> lscpu: 11:14:16 Architecture: x86_64 11:14:16 CPU op-mode(s): 32-bit, 64-bit 11:14:16 Byte Order: Little Endian 11:14:16 Address sizes: 40 bits physical, 48 bits virtual 11:14:16 CPU(s): 8 11:14:16 On-line CPU(s) list: 0-7 11:14:16 Thread(s) per core: 1 11:14:16 Core(s) per socket: 1 11:14:16 Socket(s): 8 11:14:16 NUMA node(s): 1 11:14:16 Vendor ID: AuthenticAMD 11:14:16 CPU family: 23 11:14:16 Model: 49 11:14:16 Model name: AMD EPYC-Rome Processor 11:14:16 Stepping: 0 11:14:16 CPU MHz: 2800.000 11:14:16 BogoMIPS: 5600.00 11:14:16 Virtualization: AMD-V 11:14:16 Hypervisor vendor: KVM 11:14:16 Virtualization type: full 11:14:16 L1d cache: 256 KiB 11:14:16 L1i cache: 256 KiB 11:14:16 L2 cache: 4 MiB 11:14:16 L3 cache: 128 MiB 11:14:16 NUMA node0 CPU(s): 0-7 11:14:16 Vulnerability Itlb multihit: Not affected 11:14:16 Vulnerability L1tf: Not affected 11:14:16 Vulnerability Mds: Not affected 11:14:16 Vulnerability Meltdown: Not affected 11:14:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:14:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:14:16 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:14:16 Vulnerability Srbds: Not affected 11:14:16 Vulnerability Tsx async abort: Not affected 11:14:16 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 11:14:16 11:14:16 11:14:16 ---> nproc: 11:14:16 8 11:14:16 11:14:16 11:14:16 ---> df -h: 11:14:16 Filesystem Size Used Avail Use% Mounted on 11:14:16 overlay 155G 11G 145G 7% / 11:14:16 tmpfs 64M 0 64M 0% /dev 11:14:16 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:14:16 shm 64M 0 64M 0% /dev/shm 11:14:16 /dev/vda1 155G 11G 145G 7% /facter-os 11:14:16 11:14:16 11:14:16 ---> sar -b -r -n DEV: 11:14:16 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21673) 08/01/22 _x86_64_ (8 CPU) 11:14:16 11:14:16 11:04:19 LINUX RESTART (8 CPU) 11:14:16 11:14:16 11:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:14:16 11:06:01 212.11 12.11 200.00 0.00 1992.73 104708.95 0.00 11:14:16 11:07:01 159.44 0.15 159.29 0.00 7.47 24964.91 0.00 11:14:16 11:08:01 31.49 0.00 31.49 0.00 0.00 16448.53 0.00 11:14:16 11:09:01 2.20 0.00 2.20 0.00 0.00 23.86 0.00 11:14:16 11:10:01 1.25 0.02 1.23 0.00 0.13 13.86 0.00 11:14:16 11:11:01 1.85 0.00 1.85 0.00 0.00 20.26 0.00 11:14:16 11:12:01 1.17 0.00 1.17 0.00 0.00 13.73 0.00 11:14:16 11:13:01 2.05 0.00 2.05 0.00 0.00 22.79 0.00 11:14:16 11:14:01 1.53 0.00 1.53 0.00 0.00 16.13 0.00 11:14:16 Average: 45.90 1.36 44.53 0.00 222.24 16247.22 0.00 11:14:16 11:14:16 11:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:14:16 11:06:01 28367376 31776296 515172 1.57 160136 3464352 1904948 5.61 1128532 2942556 588 11:14:16 11:07:01 27809456 31745532 541916 1.65 167132 3951812 2182008 6.43 1303548 3286300 243708 11:14:16 11:08:01 27593320 31783484 502736 1.53 174620 4165372 1795228 5.29 1283664 3487600 12 11:14:16 11:09:01 27594664 31784948 500936 1.52 174708 4165372 1795228 5.29 1282804 3487600 12 11:14:16 11:10:01 27600596 31790896 495020 1.51 174756 4165372 1795228 5.29 1277832 3487608 16 11:14:16 11:11:01 27600800 31791132 494712 1.50 174804 4165380 1795228 5.29 1277988 3487608 12 11:14:16 11:12:01 27605296 31796000 489976 1.49 174848 4165516 1795228 5.29 1272776 3487912 20 11:14:16 11:13:01 27605460 31796236 489684 1.49 174896 4165520 1795228 5.29 1272820 3487916 12 11:14:16 11:14:01 27605660 31796504 489572 1.49 174964 4165516 1795228 5.29 1273184 3487916 0 11:14:16 Average: 27709181 31784559 502192 1.53 172318 4063801 1850395 5.45 1263683 3404780 27153 11:14:16 11:14:16 11:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:14:16 11:06:01 docker0 150.89 183.80 12.28 1664.72 0.00 0.00 0.00 0.00 11:14:16 11:06:01 ens3 470.15 341.41 7284.53 97.88 0.00 0.00 0.00 0.00 11:14:16 11:06:01 veth820c727 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:06:01 lo 5.87 5.87 0.58 0.58 0.00 0.00 0.00 0.00 11:14:16 11:07:01 docker0 17.86 21.35 1.07 99.08 0.00 0.00 0.00 0.00 11:14:16 11:07:01 ens3 138.28 92.48 2681.18 20.18 0.00 0.00 0.00 0.00 11:14:16 11:07:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 11:14:16 11:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:08:01 ens3 49.28 42.65 24.70 54.46 0.00 0.00 0.00 0.00 11:14:16 11:08:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 11:14:16 11:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:09:01 ens3 0.52 0.53 0.03 0.05 0.00 0.00 0.00 0.00 11:14:16 11:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:14:16 11:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:10:01 ens3 4.77 2.45 4.64 0.22 0.00 0.00 0.00 0.00 11:14:16 11:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:11:01 ens3 0.57 0.43 0.27 0.22 0.00 0.00 0.00 0.00 11:14:16 11:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:14:16 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:12:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:13:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 11:14:16 11:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:14:16 11:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 11:14:01 ens3 0.07 0.00 0.01 0.00 0.00 0.00 0.00 0.00 11:14:16 11:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:16 Average: docker0 18.75 22.79 1.48 195.96 0.00 0.00 0.00 0.00 11:14:16 Average: ens3 73.75 53.34 1110.52 19.22 0.00 0.00 0.00 0.00 11:14:16 Average: lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 11:14:16 11:14:16 11:14:16 ---> sar -P ALL: 11:14:16 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21673) 08/01/22 _x86_64_ (8 CPU) 11:14:16 11:14:16 11:04:19 LINUX RESTART (8 CPU) 11:14:16 11:14:16 11:05:01 CPU %user %nice %system %iowait %steal %idle 11:14:16 11:06:01 all 11.22 0.00 5.31 1.16 0.07 82.25 11:14:16 11:06:01 0 10.61 0.00 5.82 0.20 0.07 83.30 11:14:16 11:06:01 1 10.11 0.00 5.39 1.24 0.05 83.22 11:14:16 11:06:01 2 11.26 0.00 6.37 5.28 0.07 77.02 11:14:16 11:06:01 3 11.78 0.00 5.31 0.44 0.07 82.40 11:14:16 11:06:01 4 11.07 0.00 4.99 0.27 0.07 83.60 11:14:16 11:06:01 5 11.34 0.00 4.98 1.04 0.07 82.58 11:14:16 11:06:01 6 12.58 0.00 3.92 0.12 0.05 83.33 11:14:16 11:06:01 7 11.01 0.00 5.67 0.72 0.09 82.52 11:14:16 11:07:01 all 40.72 0.00 7.48 0.57 0.09 51.13 11:14:16 11:07:01 0 39.50 0.00 7.14 0.15 0.08 53.13 11:14:16 11:07:01 1 41.13 0.00 8.00 0.15 0.10 50.62 11:14:16 11:07:01 2 40.67 0.00 8.16 1.32 0.08 49.77 11:14:16 11:07:01 3 42.14 0.00 7.69 0.32 0.10 49.75 11:14:16 11:07:01 4 41.78 0.00 7.18 0.29 0.10 50.65 11:14:16 11:07:01 5 39.70 0.00 7.50 0.78 0.10 51.92 11:14:16 11:07:01 6 40.47 0.00 6.70 0.05 0.08 52.69 11:14:16 11:07:01 7 40.41 0.00 7.46 1.52 0.08 50.53 11:14:16 11:08:01 all 2.15 0.00 0.91 0.22 0.02 96.70 11:14:16 11:08:01 0 1.86 0.00 0.82 0.00 0.02 97.30 11:14:16 11:08:01 1 2.39 0.00 0.89 0.10 0.02 96.61 11:14:16 11:08:01 2 2.01 0.00 0.72 0.02 0.02 97.24 11:14:16 11:08:01 3 2.26 0.00 0.90 0.03 0.02 96.79 11:14:16 11:08:01 4 2.67 0.00 1.37 1.19 0.03 94.74 11:14:16 11:08:01 5 1.93 0.00 1.11 0.13 0.02 96.81 11:14:16 11:08:01 6 1.99 0.00 0.65 0.00 0.00 97.36 11:14:16 11:08:01 7 2.09 0.00 0.85 0.28 0.02 96.75 11:14:16 11:09:01 all 0.02 0.00 0.02 0.01 0.00 99.95 11:14:16 11:09:01 0 0.03 0.00 0.02 0.00 0.00 99.95 11:14:16 11:09:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:14:16 11:09:01 2 0.03 0.00 0.05 0.00 0.00 99.92 11:14:16 11:09:01 3 0.02 0.00 0.00 0.00 0.00 99.98 11:14:16 11:09:01 4 0.02 0.00 0.02 0.00 0.00 99.97 11:14:16 11:09:01 5 0.00 0.00 0.02 0.03 0.00 99.95 11:14:16 11:09:01 6 0.00 0.00 0.00 0.00 0.00 100.00 11:14:16 11:09:01 7 0.03 0.00 0.05 0.05 0.02 99.85 11:14:16 11:10:01 all 0.05 0.00 0.03 0.01 0.01 99.91 11:14:16 11:10:01 0 0.05 0.00 0.02 0.00 0.02 99.92 11:14:16 11:10:01 1 0.02 0.00 0.03 0.00 0.00 99.95 11:14:16 11:10:01 2 0.05 0.00 0.00 0.00 0.00 99.95 11:14:16 11:10:01 3 0.03 0.00 0.02 0.00 0.00 99.95 11:14:16 11:10:01 4 0.07 0.00 0.02 0.00 0.02 99.90 11:14:16 11:10:01 5 0.05 0.00 0.03 0.00 0.02 99.90 11:14:16 11:10:01 6 0.07 0.00 0.03 0.02 0.00 99.88 11:14:16 11:10:01 7 0.08 0.00 0.08 0.03 0.00 99.80 11:14:16 11:11:01 all 0.02 0.00 0.01 0.00 0.01 99.96 11:14:16 11:11:01 0 0.02 0.00 0.00 0.00 0.00 99.98 11:14:16 11:11:01 1 0.00 0.00 0.02 0.00 0.00 99.98 11:14:16 11:11:01 2 0.02 0.00 0.02 0.00 0.00 99.97 11:14:16 11:11:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:14:16 11:11:01 4 0.03 0.00 0.02 0.00 0.02 99.93 11:14:16 11:11:01 5 0.05 0.00 0.00 0.00 0.00 99.95 11:14:16 11:11:01 6 0.02 0.00 0.00 0.02 0.02 99.95 11:14:16 11:11:01 7 0.02 0.00 0.03 0.02 0.02 99.92 11:14:16 11:12:01 all 0.26 0.00 0.02 0.01 0.00 99.70 11:14:16 11:12:01 0 1.68 0.00 0.00 0.00 0.00 98.32 11:14:16 11:12:01 1 0.03 0.00 0.00 0.00 0.00 99.97 11:14:16 11:12:01 2 0.03 0.00 0.00 0.00 0.00 99.97 11:14:16 11:12:01 3 0.05 0.00 0.03 0.00 0.02 99.90 11:14:16 11:12:01 4 0.05 0.00 0.07 0.00 0.00 99.88 11:14:16 11:12:01 5 0.15 0.00 0.05 0.00 0.00 99.80 11:14:16 11:12:01 6 0.02 0.00 0.03 0.05 0.00 99.90 11:14:16 11:12:01 7 0.08 0.00 0.02 0.05 0.00 99.85 11:14:16 11:13:01 all 0.27 0.00 0.01 0.01 0.01 99.70 11:14:16 11:13:01 0 2.00 0.00 0.02 0.00 0.02 97.96 11:14:16 11:13:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:14:16 11:13:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:14:16 11:13:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:14:16 11:13:01 4 0.02 0.00 0.02 0.00 0.02 99.95 11:14:16 11:13:01 5 0.02 0.00 0.02 0.00 0.02 99.95 11:14:16 11:13:01 6 0.00 0.00 0.02 0.00 0.00 99.98 11:14:16 11:13:01 7 0.07 0.00 0.03 0.05 0.02 99.83 11:14:16 11:14:01 all 0.16 0.00 0.02 0.00 0.00 99.81 11:14:16 11:14:01 0 1.09 0.00 0.03 0.00 0.00 98.87 11:14:16 11:14:01 1 0.00 0.00 0.02 0.00 0.00 99.98 11:14:16 11:14:01 2 0.05 0.00 0.02 0.00 0.00 99.93 11:14:16 11:14:01 3 0.03 0.00 0.02 0.00 0.00 99.95 11:14:16 11:14:01 4 0.05 0.00 0.03 0.00 0.00 99.92 11:14:16 11:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 11:14:16 11:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:14:16 11:14:01 7 0.05 0.00 0.03 0.03 0.00 99.88 11:14:16 Average: all 6.04 0.00 1.52 0.22 0.02 92.20 11:14:16 Average: 0 6.25 0.00 1.52 0.04 0.02 92.17 11:14:16 Average: 1 5.91 0.00 1.58 0.16 0.02 92.33 11:14:16 Average: 2 5.96 0.00 1.69 0.73 0.02 91.61 11:14:16 Average: 3 6.20 0.00 1.54 0.09 0.02 92.15 11:14:16 Average: 4 6.14 0.00 1.51 0.19 0.03 92.13 11:14:16 Average: 5 5.86 0.00 1.51 0.22 0.02 92.39 11:14:16 Average: 6 6.07 0.00 1.25 0.03 0.02 92.63 11:14:16 Average: 7 5.91 0.00 1.56 0.30 0.03 92.20 11:14:16 11:14:16 11:14:16