Pull request #278 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca rather than e8259c7b579e86cb3b93c137143892732b1f4dd6 Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 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-ssh15051313548322351804.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13603425635727140151.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5538843622522375949.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh17034430777888435946.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3622868175414761937.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21395’ Running on prd-ubuntu20.04-docker-8c-8g-21407 in /w/workspace/foundry_device-virtual-go_PR-278 [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-278 # 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit e8259c7b579e86cb3b93c137143892732b1f4dd6 Merge succeeded, producing e8259c7b579e86cb3b93c137143892732b1f4dd6 Checking out Revision e8259c7b579e86cb3b93c137143892732b1f4dd6 (PR-278) > 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/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8259c7b579e86cb3b93c137143892732b1f4dd6 # 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 Commit message: "feat(security): Roll out delayed start configuration.toml scaffolding" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:54:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:54:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:54:53 ========================================================= 21:54:53 EdgeX Global Pipelines Version Info 21:54:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ceaade6570595a6266fae564bb75a9269c6364c8 # timeout=10 21:54:53 ------------------- 21:54:53 stable info: 21:54:53 ------------------- 21:54:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:54:53 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:54:53 Message: update stable to v1.0.221 21:54:54 ------------------- 21:54:54 experimental info: 21:54:54 ------------------- 21:54:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:54:54 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 21:54:54 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-278 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-278 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-278 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo 21:54:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8259c7 [Pipeline] echo 21:54:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:55 provisioning config files... 21:54:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config6694452441216627220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:55 ---> docker-login.sh 21:54:55 nexus3.edgexfoundry.org:10001 21:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:55 Configure a credential helper to remove this warning. See 21:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:55 21:54:55 Login Succeeded 21:54:55 nexus3.edgexfoundry.org:10002 21:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:55 Configure a credential helper to remove this warning. See 21:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:55 21:54:55 Login Succeeded 21:54:55 nexus3.edgexfoundry.org:10003 21:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:56 Configure a credential helper to remove this warning. See 21:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:56 21:54:56 Login Succeeded 21:54:56 nexus3.edgexfoundry.org:10004 21:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:56 Configure a credential helper to remove this warning. See 21:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:56 21:54:56 Login Succeeded 21:54:56 docker.io 21:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:56 Configure a credential helper to remove this warning. See 21:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:56 21:54:56 Login Succeeded 21:54:56 ---> docker-login.sh ends [Pipeline] } 21:54:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:54:57 + git rev-list -1 --merges e8259c7b579e86cb3b93c137143892732b1f4dd6~1..e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo 21:54:57 -----------> git rev-list -1 --merges e8259c7b579e86cb3b93c137143892732b1f4dd6~1..e8259c7b579e86cb3b93c137143892732b1f4dd6 e8259c7b579e86cb3b93c137143892732b1f4dd6 [false] [Pipeline] sh 21:54:57 + git log --format=format:%s -1 e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo 21:54:57 ========================================================= 21:54:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:54:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:57 + git log --format=format:%s -1 e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo 21:54:57 [semverPrep] GIT_COMMIT: e8259c7b579e86cb3b93c137143892732b1f4dd6, Commit Message: feat(security): Roll out delayed start configuration.toml scaffolding [Pipeline] echo 21:54:57 [semverPrep] This is not a build commit. [Pipeline] sh 21:54:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:54:58 + grep -v github /etc/ssh/ssh_known_hosts 21:54:58 + [ -e /tmp/ssh_known_hosts ] 21:54:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:54:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:54:58 + sudo tee -a /etc/ssh/ssh_known_hosts 21:54:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:54:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:54:58 21:54:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:54:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:54:58 latest: Pulling from edgex-devops/git-semver 21:54:58 a0d0a0d46f8b: Pulling fs layer 21:54:58 3e5f54012d9b: Pulling fs layer 21:54:58 4c7163046ea9: Pulling fs layer 21:54:58 0c2d73faf560: Pulling fs layer 21:54:58 0c2d73faf560: Waiting 21:54:58 3e5f54012d9b: Verifying Checksum 21:54:58 3e5f54012d9b: Download complete 21:54:58 a0d0a0d46f8b: Verifying Checksum 21:54:58 a0d0a0d46f8b: Download complete 21:54:58 0c2d73faf560: Verifying Checksum 21:54:58 0c2d73faf560: Download complete 21:54:59 4c7163046ea9: Verifying Checksum 21:54:59 4c7163046ea9: Download complete 21:54:59 a0d0a0d46f8b: Pull complete 21:54:59 3e5f54012d9b: Pull complete 21:54:59 4c7163046ea9: Pull complete 21:54:59 0c2d73faf560: Pull complete 21:54:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:54:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:54:59 prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container 21:54:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:55:00 $ docker top a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:00 [ssh-agent] Looking for ssh-agent implementation... 21:55:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:00 $ docker exec a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent 21:55:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcOlMIB/agent.13 21:55:01 SSH_AGENT_PID=19 21:55:01 Running ssh-add (command line suppressed) 21:55:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_3665769360278439280.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_3665769360278439280.key) 21:55:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:01 + git tag --points-at HEAD [Pipeline] } 21:55:01 $ docker exec --env ******** --env ******** a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent -k 21:55:01 unset SSH_AUTH_SOCK; 21:55:01 unset SSH_AGENT_PID; 21:55:01 echo Agent pid 19 killed; 21:55:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:55:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:01 [ssh-agent] Looking for ssh-agent implementation... 21:55:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:01 $ docker exec a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent 21:55:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGjnEkI/agent.53 21:55:01 SSH_AGENT_PID=59 21:55:01 Running ssh-add (command line suppressed) 21:55:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6581825523241857873.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6581825523241857873.key) 21:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:02 + git semver init 21:55:02 # -> Open(): unable to determine branch for HEAD 21:55:02 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.git 21:55:02 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-278 21:55:02 # $SEMVER_REMOTE_NAME = origin 21:55:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:55:02 # $SEMVER_USER_NAME = edgex-jenkins 21:55:02 # $SEMVER_BRANCH = PR-278 21:55:02 # $SEMVER_TEMP = /tmp/semver-766254947 21:55:02 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 21:55:04 # '/tmp/semver-766254947' -> '/w/workspace/foundry_device-virtual-go_PR-278/.semver' 21:55:04 # -> Force: false 21:55:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.semver [Pipeline] } 21:55:04 $ docker exec --env ******** --env ******** a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent -k 21:55:04 unset SSH_AUTH_SOCK; 21:55:04 unset SSH_AGENT_PID; 21:55:04 echo Agent pid 59 killed; 21:55:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:55:04 + git semver [Pipeline] } 21:55:04 $ docker stop --time=1 a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 21:55:06 $ docker rm -f a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 [Pipeline] // withDockerContainer [Pipeline] sh 21:55:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:55:06 Stashed 1 file(s) [Pipeline] echo 21:55:06 [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 21:55:06 provisioning config files... 21:55:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config7007940522227956203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:07 ---> docker-login.sh 21:55:07 nexus3.edgexfoundry.org:10001 21:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:07 Configure a credential helper to remove this warning. See 21:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:07 21:55:07 Login Succeeded 21:55:07 nexus3.edgexfoundry.org:10002 21:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:07 Configure a credential helper to remove this warning. See 21:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:07 21:55:07 Login Succeeded 21:55:07 nexus3.edgexfoundry.org:10003 21:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:07 Configure a credential helper to remove this warning. See 21:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:07 21:55:07 Login Succeeded 21:55:07 nexus3.edgexfoundry.org:10004 21:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:07 Configure a credential helper to remove this warning. See 21:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:07 21:55:07 Login Succeeded 21:55:07 docker.io 21:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:08 Configure a credential helper to remove this warning. See 21:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:08 21:55:08 Login Succeeded 21:55:08 ---> docker-login.sh ends [Pipeline] } 21:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:55:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:08 ========================================================= 21:55:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:55:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:55:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:55:08 Sending build context to Docker daemon 22.94MB 21:55:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 21:55:08 Step 2/12 : FROM ${BASE} AS builder 21:55:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:55:08 59bf1c3509f3: Pulling fs layer 21:55:08 666ba61612fd: Pulling fs layer 21:55:08 8ed8ca486205: Pulling fs layer 21:55:08 4fe6c5a15a65: Pulling fs layer 21:55:08 22a0e8bec74d: Pulling fs layer 21:55:08 640e595b4fbd: Pulling fs layer 21:55:08 763cafe07f6e: Pulling fs layer 21:55:08 0c0b528cf693: Pulling fs layer 21:55:08 10935f4eaf8b: Pulling fs layer 21:55:08 22a0e8bec74d: Waiting 21:55:08 10935f4eaf8b: Waiting 21:55:08 640e595b4fbd: Waiting 21:55:08 763cafe07f6e: Waiting 21:55:08 0c0b528cf693: Waiting 21:55:08 4fe6c5a15a65: Waiting 21:55:08 8ed8ca486205: Verifying Checksum 21:55:08 8ed8ca486205: Download complete 21:55:08 22a0e8bec74d: Download complete 21:55:08 640e595b4fbd: Verifying Checksum 21:55:08 640e595b4fbd: Download complete 21:55:08 763cafe07f6e: Verifying Checksum 21:55:08 763cafe07f6e: Download complete 21:55:08 59bf1c3509f3: Verifying Checksum 21:55:08 0c0b528cf693: Verifying Checksum 21:55:08 0c0b528cf693: Download complete 21:55:09 59bf1c3509f3: Pull complete 21:55:09 666ba61612fd: Pull complete 21:55:09 8ed8ca486205: Pull complete 21:55:09 10935f4eaf8b: Verifying Checksum 21:55:09 10935f4eaf8b: Download complete 21:55:09 4fe6c5a15a65: Verifying Checksum 21:55:09 4fe6c5a15a65: Download complete 21:55:14 4fe6c5a15a65: Pull complete 21:55:14 22a0e8bec74d: Pull complete 21:55:14 640e595b4fbd: Pull complete 21:55:14 763cafe07f6e: Pull complete 21:55:14 0c0b528cf693: Pull complete 21:55:16 10935f4eaf8b: Pull complete 21:55:16 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 21:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:55:16 ---> 99d49a6021b9 21:55:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:55:18 ---> Running in de6b7f0ebf41 21:55:18 Removing intermediate container de6b7f0ebf41 21:55:18 ---> 48fb71cd9a1d 21:55:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:55:18 ---> Running in 20160b8762ee 21:55:18 Removing intermediate container 20160b8762ee 21:55:18 ---> 86f7f412a56f 21:55:18 Step 5/12 : WORKDIR /device-virtual-go 21:55:18 ---> Running in 03e08acb8985 21:55:19 Removing intermediate container 03e08acb8985 21:55:19 ---> b7934a7fdff9 21:55:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:55:19 ---> Running in cb0cc593f220 21:55:19 Removing intermediate container cb0cc593f220 21:55:19 ---> 028e7ac5eefe 21:55:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:55:19 ---> Running in da5387b9241c 21:55:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:55:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:55:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:55:21 (2/4) Installing libedit (20210910.3.1-r0) 21:55:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:55:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:55:21 Executing busybox-1.34.1-r3.trigger 21:55:21 OK: 224 MiB in 56 packages 21:55:21 Still waiting to schedule task 21:55:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21406’ is offline 21:55:22 Removing intermediate container da5387b9241c 21:55:22 ---> 0bf43067411a 21:55:22 Step 8/12 : COPY go.mod vendor* ./ 21:55:22 ---> 3b7b2ddad33a 21:55:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:22 ---> Running in e0ebe4d3bf1e 21:55:37 Removing intermediate container e0ebe4d3bf1e 21:55:37 ---> 8768aacbcfc3 21:55:37 Step 10/12 : COPY . . 21:55:37 ---> d4d1f031d606 21:55:37 Step 11/12 : ARG MAKE='make build' 21:55:38 ---> Running in 88f17609b762 21:55:38 Removing intermediate container 88f17609b762 21:55:38 ---> 4f4a67c0b37e 21:55:38 Step 12/12 : RUN $MAKE 21:55:38 ---> Running in 58914109530c 21:55:38 noop 21:55:38 Removing intermediate container 58914109530c 21:55:38 ---> c7f0cd002c16 21:55:38 Successfully built c7f0cd002c16 21:55:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:55:39 + docker inspect -f . ci-base-image-x86_64 21:55:39 . [Pipeline] withDockerContainer 21:55:39 prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container 21:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:55:39 $ docker top 450f4bcba7188d9928bfa35a913ee3b5f5114df2e16a69b70bfe52e5cb220268 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:40 + go version 21:55:40 go version go1.17.6 linux/amd64 [Pipeline] } 21:55:40 $ docker stop --time=1 450f4bcba7188d9928bfa35a913ee3b5f5114df2e16a69b70bfe52e5cb220268 21:55:41 $ docker rm -f 450f4bcba7188d9928bfa35a913ee3b5f5114df2e16a69b70bfe52e5cb220268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:55:41 + docker inspect -f . ci-base-image-x86_64 21:55:41 . [Pipeline] withDockerContainer 21:55:42 prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container 21:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:55:42 $ docker top 19e309cf58bcc58590a7f4bd6d1e30d44f1b82cb9c2057d2d828383f8a3af1be -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:55:42 + make test 21:55:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:55:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:55:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:55:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 21:56:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:56:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:05 ./bin/test-attribution-txt.sh [Pipeline] echo 21:56:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:56:05 $ docker stop --time=1 19e309cf58bcc58590a7f4bd6d1e30d44f1b82cb9c2057d2d828383f8a3af1be 21:56:07 $ docker rm -f 19e309cf58bcc58590a7f4bd6d1e30d44f1b82cb9c2057d2d828383f8a3af1be [Pipeline] // withDockerContainer [Pipeline] sh 21:56:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:56:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:56:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:56:09 + ls -al . 21:56:09 total 204 21:56:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:56 . 21:56:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:54 .. 21:56:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:54 .git 21:56:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:54 .github 21:56:09 -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:54 .gitignore 21:56:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:54 .golangci.yml 21:56:09 drwx------ 3 jenkins jenkins 4096 Apr 19 21:55 .semver 21:56:09 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:54 Attribution.txt 21:56:09 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:54 CHANGELOG.md 21:56:09 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:54 Dockerfile 21:56:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:54 GOVERNANCE.md 21:56:09 -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:54 Jenkinsfile 21:56:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:54 LICENSE 21:56:09 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:54 Makefile 21:56:09 -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:54 OWNERS.md 21:56:09 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:54 README.md 21:56:09 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:55 VERSION 21:56:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:54 bin 21:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:54 cmd 21:56:09 -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 21:55 coverage.out 21:56:09 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:54 go.mod 21:56:09 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:54 go.sum 21:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:54 internal 21:56:09 -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:54 version.go [Pipeline] isUnix [Pipeline] sh 21:56:09 + 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=e8259c7b579e86cb3b93c137143892732b1f4dd6 --label arch=amd64 --label version=0.0.0 . 21:56:09 Sending build context to Docker daemon 22.98MB 21:56:09 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 21:56:09 Step 2/26 : FROM ${BASE} AS builder 21:56:09 ---> c7f0cd002c16 21:56:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:56:09 ---> Running in 648aa9653a91 21:56:09 Removing intermediate container 648aa9653a91 21:56:09 ---> 72f96797292a 21:56:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:56:09 ---> Running in d8dbf0a0f5dc 21:56:09 Removing intermediate container d8dbf0a0f5dc 21:56:09 ---> 8b95f9ad1346 21:56:09 Step 5/26 : WORKDIR /device-virtual-go 21:56:09 ---> Running in 1079ba323544 21:56:09 Removing intermediate container 1079ba323544 21:56:09 ---> cb768527f3b9 21:56:09 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:56:10 ---> Running in a1ef8db12ae2 21:56:10 Removing intermediate container a1ef8db12ae2 21:56:10 ---> b37df7c9ade5 21:56:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:56:10 ---> Running in 25102c33c28d 21:56:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:56:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:56:12 OK: 224 MiB in 56 packages 21:56:12 Removing intermediate container 25102c33c28d 21:56:12 ---> 29ceef9cf5bc 21:56:12 Step 8/26 : COPY go.mod vendor* ./ 21:56:12 ---> 077d1296ba69 21:56:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:12 ---> Running in 086eba9e9ce5 21:56:13 Removing intermediate container 086eba9e9ce5 21:56:13 ---> 279a88d0e17e 21:56:13 Step 10/26 : COPY . . 21:56:13 ---> c64c609d8db2 21:56:13 Step 11/26 : ARG MAKE='make build' 21:56:14 ---> Running in 32a4553ab240 21:56:14 Removing intermediate container 32a4553ab240 21:56:14 ---> 29307e95ab4a 21:56:14 Step 12/26 : RUN $MAKE 21:56:14 ---> Running in 4e61977b610e 21:56:14 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 21:56:36 Removing intermediate container 4e61977b610e 21:56:36 ---> 3685061d5ffb 21:56:36 Step 13/26 : FROM alpine:3.14 21:56:37 3.14: Pulling from library/alpine 21:56:37 8663204ce13b: Pulling fs layer 21:56:37 8663204ce13b: Verifying Checksum 21:56:37 8663204ce13b: Download complete 21:56:37 8663204ce13b: Pull complete 21:56:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:56:37 Status: Downloaded newer image for alpine:3.14 21:56:37 ---> e04c818066af 21:56:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:56:38 ---> Running in 4baebaaa5887 21:56:38 Removing intermediate container 4baebaaa5887 21:56:38 ---> 121a6f5cca03 21:56:38 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:56:38 ---> Running in d3e2bfd18a0e 21:56:38 Removing intermediate container d3e2bfd18a0e 21:56:38 ---> db87fe20da89 21:56:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 21:56:38 ---> Running in 4eb024a63640 21:56:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:56:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:56:40 (1/6) Installing dumb-init (1.2.5-r1) 21:56:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:56:40 (3/6) Installing libsodium (1.0.18-r0) 21:56:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:56:40 (5/6) Installing libzmq (4.3.4-r0) 21:56:40 (6/6) Installing zeromq (4.3.4-r0) 21:56:40 Executing busybox-1.33.1-r7.trigger 21:56:40 OK: 8 MiB in 20 packages 21:56:41 Removing intermediate container 4eb024a63640 21:56:41 ---> ee674be4f62f 21:56:41 Step 17/26 : WORKDIR / 21:56:41 ---> Running in cd06485c839d 21:56:41 Removing intermediate container cd06485c839d 21:56:41 ---> 7db34e3d9687 21:56:41 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:56:41 ---> a610210cf7b6 21:56:41 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 21:56:41 ---> 3a0d42ed6307 21:56:41 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 21:56:42 ---> aabcf73c654c 21:56:42 Step 21/26 : EXPOSE 59900 21:56:42 ---> Running in 261d41110beb 21:56:42 Removing intermediate container 261d41110beb 21:56:42 ---> 107a5b2b2d08 21:56:42 Step 22/26 : ENTRYPOINT ["/device-virtual"] 21:56:42 ---> Running in 2de0e59e5f15 21:56:42 Removing intermediate container 2de0e59e5f15 21:56:42 ---> f90c59e1d14f 21:56:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:56:42 ---> Running in 049aa4864dfc 21:56:42 Removing intermediate container 049aa4864dfc 21:56:42 ---> 592c63f5afa4 21:56:42 Step 24/26 : LABEL arch=amd64 21:56:42 ---> Running in 8def222c5ea2 21:56:43 Removing intermediate container 8def222c5ea2 21:56:43 ---> 403fa345ecb7 21:56:43 Step 25/26 : LABEL git_sha=e8259c7b579e86cb3b93c137143892732b1f4dd6 21:56:43 ---> Running in 2834b27c6a26 21:56:43 Removing intermediate container 2834b27c6a26 21:56:43 ---> fcb68cf9223a 21:56:43 Step 26/26 : LABEL version=0.0.0 21:56:43 ---> Running in 317886e67bc1 21:56:43 Removing intermediate container 317886e67bc1 21:56:43 ---> 589d73915e24 21:56:43 [Warning] One or more build-args [ARCH] were not consumed 21:56:43 Successfully built 589d73915e24 21:56:43 Successfully tagged device-virtual:latest [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] sh 21:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:56:43 21:56:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:56:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:56:44 latest: Pulling from edgex-lftools-log-publisher 21:56:44 5eb5b503b376: Pulling fs layer 21:56:44 5c69ac0246d0: Pulling fs layer 21:56:44 ec43610c2a17: Pulling fs layer 21:56:44 3a2ae6a8a46f: Pulling fs layer 21:56:44 33b1e0a273af: Pulling fs layer 21:56:44 5d3b04190fa2: Pulling fs layer 21:56:44 2f39f015ded8: Pulling fs layer 21:56:44 33b1e0a273af: Waiting 21:56:44 5d3b04190fa2: Waiting 21:56:44 2f39f015ded8: Waiting 21:56:44 3a2ae6a8a46f: Waiting 21:56:44 5c69ac0246d0: Verifying Checksum 21:56:44 5c69ac0246d0: Download complete 21:56:44 3a2ae6a8a46f: Verifying Checksum 21:56:44 3a2ae6a8a46f: Download complete 21:56:44 33b1e0a273af: Verifying Checksum 21:56:44 33b1e0a273af: Download complete 21:56:44 ec43610c2a17: Verifying Checksum 21:56:44 ec43610c2a17: Download complete 21:56:44 5d3b04190fa2: Verifying Checksum 21:56:44 5d3b04190fa2: Download complete 21:56:44 5eb5b503b376: Verifying Checksum 21:56:44 5eb5b503b376: Download complete 21:56:44 2f39f015ded8: Download complete 21:56:45 5eb5b503b376: Pull complete 21:56:45 5c69ac0246d0: Pull complete 21:56:46 ec43610c2a17: Pull complete 21:56:46 3a2ae6a8a46f: Pull complete 21:56:46 33b1e0a273af: Pull complete 21:56:46 5d3b04190fa2: Pull complete 21:56:52 2f39f015ded8: Pull complete 21:56:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:56:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:56:52 prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container 21:56:52 $ 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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:56:54 $ docker top 3af860bf00cce3dbacc503cd0b4b662b213f37736af36d18f1800c4bb343caf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:54 ---> job-cost.sh 21:56:54 lf-activate-venv: SKIPPING 21:56:54 INFO: No Stack... 21:56:55 INFO: Retrieving Pricing Info for: v3-standard-8 21:56:55 INFO: Archiving Costs [Pipeline] sh 21:56:56 + cat /w/workspace/foundry_device-virtual-go_PR-278/archives/cost.csv 21:56:56 + cut -d, -f6 [Pipeline] lock 21:56:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] 21:56:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] did not exist. Created. 21:56:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:56:56 + echo total: 0.2199999988079071 [Pipeline] stash 21:56:56 Stashed 1 file(s) [Pipeline] } 21:56:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:56:56 $ docker stop --time=1 3af860bf00cce3dbacc503cd0b4b662b213f37736af36d18f1800c4bb343caf1 21:56:57 $ docker rm -f 3af860bf00cce3dbacc503cd0b4b662b213f37736af36d18f1800c4bb343caf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:56:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21408 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] ws 21:56:59 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 21:57:00 The recommended git tool is: git 21:57:07 using credential edgex-jenkins-ssh 21:57:07 Cloning the remote Git repository 21:57:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:57:07 > git init /w/workspace/device-virtual-go/2 # timeout=10 21:57:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:57:07 > git --version # timeout=10 21:57:07 > git --version # 'git version 2.25.1' 21:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:57:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:57:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:57:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:57:10 Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:57:10 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:57:11 + [ -d /w/workspace/foundry_device-virtual-go_PR-278/archives ] 21:57:11 + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives 21:57:11 total 16 21:57:11 drwxr-xr-x 3 root root 4096 Apr 19 21:56 . 21:57:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:56 .. 21:57:11 drwxr-xr-x 2 root root 4096 Apr 19 21:56 cost 21:57:11 -rw-r--r-- 1 root root 88 Apr 19 21:56 cost.csv 21:57:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-278/archives 21:57:11 + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives 21:57:11 total 16 21:57:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:56 . 21:57:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:56 .. 21:57:11 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:56 cost 21:57:11 -rw-r--r-- 1 jenkins jenkins 88 Apr 19 21:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:57:11 ---> sysstat.sh 21:57:10 > git config core.sparsecheckout # timeout=10 21:57:10 > git checkout -f e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 21:57:12 ---> package-listing.sh 21:57:12 ++ tr '[:upper:]' '[:lower:]' 21:57:12 ++ facter osfamily 21:57:12 + OS_FAMILY=debian 21:57:12 + workspace=/w/workspace/foundry_device-virtual-go_PR-278 21:57:12 + START_PACKAGES=/tmp/packages_start.txt 21:57:12 + END_PACKAGES=/tmp/packages_end.txt 21:57:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:57:12 + PACKAGES=/tmp/packages_start.txt 21:57:12 + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' 21:57:12 + PACKAGES=/tmp/packages_end.txt 21:57:12 + case "${OS_FAMILY}" in 21:57:12 + dpkg -l 21:57:12 + grep '^ii' 21:57:12 + '[' -f /tmp/packages_start.txt ']' 21:57:12 + '[' -f /tmp/packages_end.txt ']' 21:57:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:57:12 + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' 21:57:12 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-278/archives/ 21:57:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-278/archives/ [Pipeline] echo 21:57:13 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-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:57:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:13 . [Pipeline] withDockerContainer 21:57:13 prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container 21:57:13 $ 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-278/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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:57:14 $ docker top a8a4ee4439b76b2e43e2f91ff48519174aa4493acab2662b7226c8e7d1a267ef -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:14 + touch /tmp/pre-build-complete [Pipeline] sh 21:57:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:57:15 + ls /var/log/sa-host 21:57:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:15 provisioning config files... 21:57:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config8060979210157662660tmp [Pipeline] { [Pipeline] echo 21:57:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:57:15 ---> create-netrc.sh [Pipeline] } 21:57:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:57:15 ---> python-tools-install.sh [Pipeline] echo 21:57:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:57:16 ---> sudo-logs.sh 21:57:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:57:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:57:16 ---> job-cost.sh 21:57:16 lf-activate-venv: SKIPPING 21:57:16 DEBUG: total: 0.2199999988079071 21:57:16 INFO: Retrieving Stack Cost... 21:57:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:57:17 INFO: Archiving Costs [Pipeline] echo 21:57:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:57:17 ---> logs-deploy.sh 21:57:17 lf-activate-venv: SKIPPING 21:57:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-278/2 21:57:17 INFO: archiving workspace using pattern(s): 21:57:18 Archives upload complete. 21:57:18 INFO: archiving logs to Nexus 21:57:19 ---> uname -a: 21:57:19 Linux prd-ubuntu20-04-docker-8c-8g-21407 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 21:57:19 21:57:19 21:57:19 ---> lscpu: 21:57:19 Architecture: x86_64 21:57:19 CPU op-mode(s): 32-bit, 64-bit 21:57:19 Byte Order: Little Endian 21:57:19 Address sizes: 40 bits physical, 48 bits virtual 21:57:19 CPU(s): 8 21:57:19 On-line CPU(s) list: 0-7 21:57:19 Thread(s) per core: 1 21:57:19 Core(s) per socket: 1 21:57:19 Socket(s): 8 21:57:19 NUMA node(s): 1 21:57:19 Vendor ID: AuthenticAMD 21:57:19 CPU family: 23 21:57:19 Model: 49 21:57:19 Model name: AMD EPYC-Rome Processor 21:57:19 Stepping: 0 21:57:19 CPU MHz: 2800.000 21:57:19 BogoMIPS: 5600.00 21:57:19 Virtualization: AMD-V 21:57:19 Hypervisor vendor: KVM 21:57:19 Virtualization type: full 21:57:19 L1d cache: 256 KiB 21:57:19 L1i cache: 256 KiB 21:57:19 L2 cache: 4 MiB 21:57:19 L3 cache: 128 MiB 21:57:19 NUMA node0 CPU(s): 0-7 21:57:19 Vulnerability Itlb multihit: Not affected 21:57:19 Vulnerability L1tf: Not affected 21:57:19 Vulnerability Mds: Not affected 21:57:19 Vulnerability Meltdown: Not affected 21:57:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:57:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:57:19 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:57:19 Vulnerability Srbds: Not affected 21:57:19 Vulnerability Tsx async abort: Not affected 21:57:19 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 21:57:19 21:57:19 21:57:19 ---> nproc: 21:57:19 8 21:57:19 21:57:19 21:57:19 ---> df -h: 21:57:19 Filesystem Size Used Avail Use% Mounted on 21:57:19 overlay 155G 11G 145G 7% / 21:57:19 tmpfs 64M 0 64M 0% /dev 21:57:19 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:57:19 shm 64M 0 64M 0% /dev/shm 21:57:19 /dev/vda1 155G 11G 145G 7% /facter-os 21:57:19 21:57:19 21:57:19 ---> sar -b -r -n DEV: 21:57:19 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21407) 04/19/22 _x86_64_ (8 CPU) 21:57:19 21:57:19 21:54:11 LINUX RESTART (8 CPU) 21:57:19 21:57:19 21:55:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:57:19 21:56:01 166.02 2.47 163.55 0.00 40.13 72862.77 0.00 21:57:19 21:57:01 192.42 0.10 192.32 0.00 12.40 40211.00 0.00 21:57:19 Average: 179.33 1.28 178.06 0.00 26.14 56398.35 0.00 21:57:19 21:57:19 21:55:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:57:19 21:56:01 28642804 31733444 558172 1.70 149272 3164752 1995824 5.88 1324340 2479960 118872 21:57:19 21:57:01 28034516 31764224 526928 1.60 163068 3745516 1803788 5.32 1371596 2994236 88 21:57:19 Average: 28338660 31748834 542550 1.65 156170 3455134 1899806 5.60 1347968 2737098 59480 21:57:19 21:57:19 21:55:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:57:19 21:56:01 lo 2.78 2.78 0.28 0.28 0.00 0.00 0.00 0.00 21:57:19 21:56:01 docker0 152.08 162.82 12.73 1253.61 0.00 0.00 0.00 0.00 21:57:19 21:56:01 vethc13527e 0.00 0.19 0.00 0.02 0.00 0.00 0.00 0.00 21:57:19 21:56:01 ens3 340.38 261.84 4688.80 88.38 0.00 0.00 0.00 0.00 21:57:19 21:57:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 21:57:19 21:57:01 docker0 12.81 17.23 0.74 89.69 0.00 0.00 0.00 0.00 21:57:19 21:57:01 ens3 177.67 115.13 2694.47 62.35 0.00 0.00 0.00 0.00 21:57:19 Average: lo 2.45 2.45 0.24 0.24 0.00 0.00 0.00 0.00 21:57:19 Average: docker0 81.85 89.41 6.68 666.71 0.00 0.00 0.00 0.00 21:57:19 Average: ens3 258.34 187.86 3683.17 75.26 0.00 0.00 0.00 0.00 21:57:19 21:57:19 21:57:19 ---> sar -P ALL: 21:57:19 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21407) 04/19/22 _x86_64_ (8 CPU) 21:57:19 21:57:19 21:54:11 LINUX RESTART (8 CPU) 21:57:19 21:57:19 21:55:02 CPU %user %nice %system %iowait %steal %idle 21:57:19 21:56:01 all 27.90 0.00 6.55 1.67 0.22 63.66 21:57:19 21:56:01 0 28.33 0.00 5.92 0.60 0.19 64.96 21:57:19 21:56:01 1 27.50 0.00 6.31 1.22 0.19 64.78 21:57:19 21:56:01 2 29.52 0.00 6.92 2.49 0.22 60.85 21:57:19 21:56:01 3 29.32 0.00 6.03 0.84 0.24 63.56 21:57:19 21:56:01 4 27.39 0.00 7.43 0.41 0.22 64.53 21:57:19 21:56:01 5 28.62 0.00 6.66 2.46 0.26 62.01 21:57:19 21:56:01 6 27.23 0.00 7.03 4.65 0.21 60.88 21:57:19 21:56:01 7 25.27 0.00 6.07 0.71 0.22 67.73 21:57:19 21:57:01 all 21.43 0.00 5.13 1.56 0.23 71.66 21:57:19 21:57:01 0 24.17 0.00 5.58 2.13 0.22 67.89 21:57:19 21:57:01 1 20.67 0.00 4.90 0.08 0.25 74.09 21:57:19 21:57:01 2 18.30 0.00 4.39 2.26 0.20 74.84 21:57:19 21:57:01 3 25.59 0.00 6.85 5.05 0.24 62.27 21:57:19 21:57:01 4 19.43 0.00 4.47 1.28 0.22 74.60 21:57:19 21:57:01 5 20.57 0.00 4.90 0.24 0.24 74.07 21:57:19 21:57:01 6 21.71 0.00 5.12 0.85 0.22 72.10 21:57:19 21:57:01 7 20.95 0.00 4.80 0.58 0.25 73.42 21:57:19 Average: all 24.63 0.00 5.83 1.62 0.22 67.70 21:57:19 Average: 0 26.23 0.00 5.75 1.38 0.20 66.44 21:57:19 Average: 1 24.05 0.00 5.60 0.65 0.22 69.48 21:57:19 Average: 2 23.87 0.00 5.65 2.38 0.21 67.90 21:57:19 Average: 3 27.43 0.00 6.45 2.97 0.24 62.91 21:57:19 Average: 4 23.37 0.00 5.94 0.85 0.22 69.62 21:57:19 Average: 5 24.55 0.00 5.77 1.33 0.25 68.10 21:57:19 Average: 6 24.45 0.00 6.07 2.73 0.21 66.54 21:57:19 Average: 7 23.09 0.00 5.43 0.64 0.24 70.60 21:57:19 21:57:19 21:57:19