Pull request #292 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c+36f1c9105c586ba8e2014e0f524de26550782ad6 (33a7dd73d1cfdb5a24ff725d0f5c7c722ed20e15) 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-ssh11089179888088470481.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh10834664979980792182.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-292/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-292/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9053138951247571621.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-292/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3159521408930885618.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15851303402094223685.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-292/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-292/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh444363546692171149.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.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 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-15150 in /w/workspace/foundry_device-virtual-go_PR-292 [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-292 # 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 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c Merge succeeded, producing 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c Checking out Revision 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c (PR-292) > 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/292/head:refs/remotes/origin/PR-292 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c # 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 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c # 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:35 ========================================================= 11:06:35 EdgeX Global Pipelines Version Info 11:06:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:35 ------------------- 11:06:35 stable info: 11:06:35 ------------------- 11:06:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:35 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 11:06:35 Message: update stable to v1.0.234 11:06:36 ------------------- 11:06:36 experimental info: 11:06:36 ------------------- 11:06:36 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:36 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 11:06:36 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:06:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-292 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-292 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-292 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bab06e [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:38 provisioning config files... 11:06:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-292@tmp/config3234705051538422379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:38 ---> docker-login.sh 11:06:38 nexus3.edgexfoundry.org:10001 11:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:38 Configure a credential helper to remove this warning. See 11:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:38 11:06:38 Login Succeeded 11:06:38 nexus3.edgexfoundry.org:10002 11:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 nexus3.edgexfoundry.org:10003 11:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 nexus3.edgexfoundry.org:10004 11:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 docker.io 11:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 ---> docker-login.sh ends [Pipeline] } 11:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:40 + git rev-list -1 --merges 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c~1..9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c [Pipeline] echo 11:06:40 -----------> git rev-list -1 --merges 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c~1..9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c [false] [Pipeline] sh 11:06:40 + git log --format=format:%s -1 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c [Pipeline] echo 11:06:40 ========================================================= 11:06:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:41 + git log --format=format:%s -1 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c [Pipeline] echo 11:06:41 [semverPrep] GIT_COMMIT: 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:06:41 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:41 + grep -v github /etc/ssh/ssh_known_hosts 11:06:41 + [ -e /tmp/ssh_known_hosts ] 11:06:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:06:41 + sudo tee -a /etc/ssh/ssh_known_hosts 11:06:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:41 11:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:42 0.1.4: Pulling from edgex-devops/py-git-semver 11:06:42 42c077c10790: Pulling fs layer 11:06:42 f63e77b7563a: Pulling fs layer 11:06:42 bd5fdadae976: Pulling fs layer 11:06:42 205491f53016: Pulling fs layer 11:06:42 df18705c85c3: Pulling fs layer 11:06:42 bdb3f477010e: Pulling fs layer 11:06:42 c8a8fc8e1c8f: Pulling fs layer 11:06:42 2c6e9b1d212d: Pulling fs layer 11:06:42 205491f53016: Waiting 11:06:42 df18705c85c3: Waiting 11:06:42 c8a8fc8e1c8f: Waiting 11:06:42 bdb3f477010e: Waiting 11:06:42 bdb8f0575790: Pulling fs layer 11:06:42 386e3cb2ff24: Pulling fs layer 11:06:42 2c6e9b1d212d: Waiting 11:06:42 bdb8f0575790: Waiting 11:06:42 2343380bae48: Pulling fs layer 11:06:42 386e3cb2ff24: Waiting 11:06:42 2343380bae48: Waiting 11:06:42 f63e77b7563a: Verifying Checksum 11:06:42 f63e77b7563a: Download complete 11:06:42 205491f53016: Verifying Checksum 11:06:42 205491f53016: Download complete 11:06:42 df18705c85c3: Verifying Checksum 11:06:42 df18705c85c3: Download complete 11:06:42 bd5fdadae976: Verifying Checksum 11:06:42 bd5fdadae976: Download complete 11:06:42 bdb3f477010e: Download complete 11:06:42 2c6e9b1d212d: Download complete 11:06:42 bdb8f0575790: Download complete 11:06:42 386e3cb2ff24: Verifying Checksum 11:06:42 386e3cb2ff24: Download complete 11:06:42 2343380bae48: Verifying Checksum 11:06:42 2343380bae48: Download complete 11:06:42 42c077c10790: Verifying Checksum 11:06:42 42c077c10790: Download complete 11:06:42 c8a8fc8e1c8f: Download complete 11:06:44 42c077c10790: Pull complete 11:06:44 f63e77b7563a: Pull complete 11:06:44 bd5fdadae976: Pull complete 11:06:44 205491f53016: Pull complete 11:06:45 df18705c85c3: Pull complete 11:06:45 bdb3f477010e: Pull complete 11:06:46 c8a8fc8e1c8f: Pull complete 11:06:46 2c6e9b1d212d: Pull complete 11:06:46 bdb8f0575790: Pull complete 11:06:47 386e3cb2ff24: Pull complete 11:06:47 2343380bae48: Pull complete 11:06:47 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 11:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:47 prd-ubuntu20.04-docker-8c-8g-15150 does not seem to be running inside a container 11:06:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-292 -v /w/workspace/foundry_device-virtual-go_PR-292:/w/workspace/foundry_device-virtual-go_PR-292:rw,z -v /w/workspace/foundry_device-virtual-go_PR-292@tmp:/w/workspace/foundry_device-virtual-go_PR-292@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:06:48 $ docker top 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 -eo pid,comm 11:06:48 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:06:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:48 [ssh-agent] Looking for ssh-agent implementation... 11:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:49 $ docker exec 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 ssh-agent 11:06:49 SSH_AUTH_SOCK=/tmp/ssh-w7RY6LS33pjo/agent.35 11:06:49 SSH_AGENT_PID=41 11:06:49 Running ssh-add (command line suppressed) 11:06:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-292@tmp/private_key_452546795014401350.key (/w/workspace/foundry_device-virtual-go_PR-292@tmp/private_key_452546795014401350.key) 11:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:49 + git tag --points-at HEAD [Pipeline] } 11:06:49 $ docker exec --env ******** --env ******** 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 ssh-agent -k 11:06:49 unset SSH_AUTH_SOCK; 11:06:49 unset SSH_AGENT_PID; 11:06:49 echo Agent pid 41 killed; 11:06:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:49 [ssh-agent] Looking for ssh-agent implementation... 11:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:50 $ docker exec 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 ssh-agent 11:06:50 SSH_AUTH_SOCK=/tmp/ssh-xGxQJSwXp6bx/agent.75 11:06:50 SSH_AGENT_PID=81 11:06:50 Running ssh-add (command line suppressed) 11:06:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-292@tmp/private_key_6340133710292721317.key (/w/workspace/foundry_device-virtual-go_PR-292@tmp/private_key_6340133710292721317.key) 11:06:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:50 + git semver init 11:06:50 2022-06-20 11:06:50,833 [run_init] DEBUG init version:0.0.0 force:False 11:06:50 2022-06-20 11:06:50,834 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-292/.semver 11:06:50 2022-06-20 11:06:50,834 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-292/.semver 11:06:50 2022-06-20 11:06:50,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-292/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-292, universal_newlines=False, shell=None, istream=None) 11:06:51 2022-06-20 11:06:51,757 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-292/.git/info/exclude 11:06:51 2022-06-20 11:06:51,758 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-292/.semver/PR-292 with force:False 11:06:51 2022-06-20 11:06:51,758 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-292/.semver/PR-292 11:06:51 2022-06-20 11:06:51,762 [execute] INFO git cat-file --batch-check 11:06:51 2022-06-20 11:06:51,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-292/.semver, universal_newlines=False, shell=None, istream=) 11:06:51 2022-06-20 11:06:51,768 [execute] INFO git cat-file --batch 11:06:51 2022-06-20 11:06:51,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-292/.semver, universal_newlines=False, shell=None, istream=) 11:06:51 2022-06-20 11:06:51,772 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-292/.semver/PR-292 11:06:51 0.0.0 [Pipeline] } 11:06:51 $ docker exec --env ******** --env ******** 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 ssh-agent -k 11:06:51 unset SSH_AUTH_SOCK; 11:06:51 unset SSH_AGENT_PID; 11:06:51 echo Agent pid 81 killed; 11:06:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:52 + git semver [Pipeline] } 11:06:52 $ docker stop --time=1 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 11:06:54 $ docker rm -f 8fcc9edc8b7803246e523ae00fa09b615475c57b02a26343d3ee2f7eff34f621 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:54 Stashed 1 file(s) [Pipeline] echo 11:06:54 [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:06:55 provisioning config files... 11:06:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-292@tmp/config8557404356853846179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:55 ---> docker-login.sh 11:06:55 nexus3.edgexfoundry.org:10001 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 nexus3.edgexfoundry.org:10002 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 nexus3.edgexfoundry.org:10003 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 nexus3.edgexfoundry.org:10004 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 docker.io 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 ---> docker-login.sh ends [Pipeline] } 11:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:56 ========================================================= 11:06:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:06:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:57 + 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 . 11:06:57 Sending build context to Docker daemon 23.01MB 11:06:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:06:57 Step 2/12 : FROM ${BASE} AS builder 11:06:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:57 59bf1c3509f3: Pulling fs layer 11:06:57 666ba61612fd: Pulling fs layer 11:06:57 8ed8ca486205: Pulling fs layer 11:06:57 cc1cd167ecdc: Pulling fs layer 11:06:57 c516ae0d96e1: Pulling fs layer 11:06:57 684cea983483: Pulling fs layer 11:06:57 dd3240ac7de5: Pulling fs layer 11:06:57 b1e948a4e11c: Pulling fs layer 11:06:57 a8fd76ee1af6: Pulling fs layer 11:06:57 646ad004c059: Pulling fs layer 11:06:57 cc1cd167ecdc: Waiting 11:06:57 b1e948a4e11c: Waiting 11:06:57 c516ae0d96e1: Waiting 11:06:57 a8fd76ee1af6: Waiting 11:06:57 684cea983483: Waiting 11:06:57 646ad004c059: Waiting 11:06:57 dd3240ac7de5: Waiting 11:06:57 8ed8ca486205: Download complete 11:06:57 666ba61612fd: Download complete 11:06:57 c516ae0d96e1: Download complete 11:06:57 684cea983483: Verifying Checksum 11:06:57 684cea983483: Download complete 11:06:57 59bf1c3509f3: Verifying Checksum 11:06:57 59bf1c3509f3: Download complete 11:06:57 dd3240ac7de5: Download complete 11:06:57 b1e948a4e11c: Verifying Checksum 11:06:57 b1e948a4e11c: Download complete 11:06:57 59bf1c3509f3: Pull complete 11:06:57 666ba61612fd: Pull complete 11:06:57 8ed8ca486205: Pull complete 11:06:58 646ad004c059: Verifying Checksum 11:06:58 646ad004c059: Download complete 11:06:58 cc1cd167ecdc: Verifying Checksum 11:06:58 cc1cd167ecdc: Download complete 11:06:58 a8fd76ee1af6: Download complete 11:07:01 cc1cd167ecdc: Pull complete 11:07:01 c516ae0d96e1: Pull complete 11:07:01 684cea983483: Pull complete 11:07:01 dd3240ac7de5: Pull complete 11:07:01 b1e948a4e11c: Pull complete 11:07:03 a8fd76ee1af6: Pull complete 11:07:04 646ad004c059: Pull complete 11:07:04 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 11:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:07:04 ---> 8f69c11f6b0c 11:07:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:06 ---> Running in 7c131ba15efb 11:07:06 Removing intermediate container 7c131ba15efb 11:07:06 ---> 846f06bc8b09 11:07:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:07:06 ---> Running in 0b30d150e0c4 11:07:06 Removing intermediate container 0b30d150e0c4 11:07:06 ---> e31a5964dae8 11:07:06 Step 5/12 : WORKDIR /device-virtual-go 11:07:06 ---> Running in 14ec79c0d561 11:07:06 Removing intermediate container 14ec79c0d561 11:07:06 ---> bb01516e189b 11:07:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:06 ---> Running in 39b156f52007 11:07:06 Removing intermediate container 39b156f52007 11:07:06 ---> c0330a26852b 11:07:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:06 ---> Running in 031649dfce7e 11:07:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:08 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:07:08 (2/4) Installing libedit (20210910.3.1-r0) 11:07:08 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:07:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:07:08 Executing busybox-1.34.1-r3.trigger 11:07:08 OK: 224 MiB in 56 packages 11:07:08 Removing intermediate container 031649dfce7e 11:07:08 ---> 251a227b65c3 11:07:08 Step 8/12 : COPY go.mod vendor* ./ 11:07:08 ---> a10146fd8b82 11:07:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:08 ---> Running in d802c936e328 11:07:10 Still waiting to schedule task 11:07:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:07:21 Removing intermediate container d802c936e328 11:07:21 ---> 44c3b9fd441e 11:07:21 Step 10/12 : COPY . . 11:07:21 ---> 968b67afcb79 11:07:21 Step 11/12 : ARG MAKE='make build' 11:07:21 ---> Running in 24c678120ae3 11:07:21 Removing intermediate container 24c678120ae3 11:07:21 ---> f73f7461f236 11:07:21 Step 12/12 : RUN $MAKE 11:07:21 ---> Running in 7b7d12d250c3 11:07:21 noop 11:07:21 Removing intermediate container 7b7d12d250c3 11:07:21 ---> 8c09280ef0ee 11:07:21 Successfully built 8c09280ef0ee 11:07:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:22 + docker inspect -f . ci-base-image-x86_64 11:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:22 prd-ubuntu20.04-docker-8c-8g-15150 does not seem to be running inside a container 11:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-292 -v /w/workspace/foundry_device-virtual-go_PR-292:/w/workspace/foundry_device-virtual-go_PR-292:rw,z -v /w/workspace/foundry_device-virtual-go_PR-292@tmp:/w/workspace/foundry_device-virtual-go_PR-292@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:07:23 $ docker top cff0128b063e49b07986e882e40d8a9bb5fbfc257e6934f0f9af99f1a85f2799 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:23 + go version 11:07:23 go version go1.17.7 linux/amd64 [Pipeline] } 11:07:23 $ docker stop --time=1 cff0128b063e49b07986e882e40d8a9bb5fbfc257e6934f0f9af99f1a85f2799 11:07:24 $ docker rm -f cff0128b063e49b07986e882e40d8a9bb5fbfc257e6934f0f9af99f1a85f2799 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:25 + docker inspect -f . ci-base-image-x86_64 11:07:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:25 prd-ubuntu20.04-docker-8c-8g-15150 does not seem to be running inside a container 11:07:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-292 -v /w/workspace/foundry_device-virtual-go_PR-292:/w/workspace/foundry_device-virtual-go_PR-292:rw,z -v /w/workspace/foundry_device-virtual-go_PR-292@tmp:/w/workspace/foundry_device-virtual-go_PR-292@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:07:26 $ docker top 0b01fc05bd5059427f4bc0ee02b6e8bbb1e0a30ae94d0ade49675d4d2577cae7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:07:26 + make test 11:07:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:07:26 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:07:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:07:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.034s coverage: 65.7% of statements 11:07:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:07:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:07:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:07:44 ./bin/test-attribution-txt.sh [Pipeline] echo 11:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:07:45 $ docker stop --time=1 0b01fc05bd5059427f4bc0ee02b6e8bbb1e0a30ae94d0ade49675d4d2577cae7 11:07:46 $ docker rm -f 0b01fc05bd5059427f4bc0ee02b6e8bbb1e0a30ae94d0ade49675d4d2577cae7 [Pipeline] // withDockerContainer [Pipeline] sh 11:07:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:07:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:07:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:48 + ls -al . 11:07:48 total 192 11:07:48 drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 11:07 . 11:07:48 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 11:06 .. 11:07:48 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 11:06 .git 11:07:48 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:06 .github 11:07:48 -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 11:06 .gitignore 11:07:48 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 11:06 .golangci.yml 11:07:48 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 11:06 .semver 11:07:48 -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 11:06 Attribution.txt 11:07:48 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 11:06 CHANGELOG.md 11:07:48 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 11:06 Dockerfile 11:07:48 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 11:06 GOVERNANCE.md 11:07:48 -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 11:06 Jenkinsfile 11:07:48 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 11:06 LICENSE 11:07:48 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 11:06 Makefile 11:07:48 -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 11:06 OWNERS.md 11:07:48 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 11:06 README.md 11:07:48 -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 11:06 VERSION 11:07:48 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 11:06 bin 11:07:48 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:06 cmd 11:07:48 -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 11:07 coverage.out 11:07:48 -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 11:06 go.mod 11:07:48 -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 11:06 go.sum 11:07:48 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:06 internal 11:07:48 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:06 snap 11:07:48 -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:48 + 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=9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c --label arch=amd64 --label version=0.0.0 . 11:07:48 Sending build context to Docker daemon 23.06MB 11:07:48 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:07:48 Step 2/26 : FROM ${BASE} AS builder 11:07:48 ---> 8c09280ef0ee 11:07:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:49 ---> Running in a482e8b1264b 11:07:49 Removing intermediate container a482e8b1264b 11:07:49 ---> 5dfbde0681de 11:07:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:07:49 ---> Running in cca09bb53bae 11:07:49 Removing intermediate container cca09bb53bae 11:07:49 ---> caf9c0cf5ef1 11:07:49 Step 5/26 : WORKDIR /device-virtual-go 11:07:49 ---> Running in b0aff74fd41c 11:07:49 Removing intermediate container b0aff74fd41c 11:07:49 ---> fdf1f0e645a3 11:07:49 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:49 ---> Running in 6da6f7cf4864 11:07:50 Removing intermediate container 6da6f7cf4864 11:07:50 ---> 1dc8181c2efd 11:07:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:50 ---> Running in 9bb4e7aa4ab8 11:07:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:51 OK: 224 MiB in 56 packages 11:07:51 Removing intermediate container 9bb4e7aa4ab8 11:07:51 ---> e32381ae3cca 11:07:51 Step 8/26 : COPY go.mod vendor* ./ 11:07:51 ---> 93c9b8f1d951 11:07:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:51 ---> Running in 558821929f60 11:07:52 Removing intermediate container 558821929f60 11:07:52 ---> d2f53b1db0ae 11:07:52 Step 10/26 : COPY . . 11:07:52 ---> 2387af00dab4 11:07:52 Step 11/26 : ARG MAKE='make build' 11:07:52 ---> Running in 608a439e2f65 11:07:52 Removing intermediate container 608a439e2f65 11:07:52 ---> 82f8283d12eb 11:07:52 Step 12/26 : RUN $MAKE 11:07:52 ---> Running in bd8e9d1e9f4f 11:07:53 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:08:15 Removing intermediate container bd8e9d1e9f4f 11:08:15 ---> 09e705d42ab4 11:08:15 Step 13/26 : FROM alpine:3.14 11:08:15 3.14: Pulling from library/alpine 11:08:15 8663204ce13b: Pulling fs layer 11:08:15 8663204ce13b: Verifying Checksum 11:08:15 8663204ce13b: Download complete 11:08:15 8663204ce13b: Pull complete 11:08:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:08:15 Status: Downloaded newer image for alpine:3.14 11:08:15 ---> e04c818066af 11:08:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:08:15 ---> Running in ec23b32e32fd 11:08:15 Removing intermediate container ec23b32e32fd 11:08:15 ---> cbdfb5f1ccbc 11:08:15 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:15 ---> Running in 5f90517a75b1 11:08:15 Removing intermediate container 5f90517a75b1 11:08:15 ---> a170a72caa55 11:08:15 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:08:15 ---> Running in c0329e32c577 11:08:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:08:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:08:15 (1/6) Installing dumb-init (1.2.5-r1) 11:08:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:08:15 (3/6) Installing libsodium (1.0.18-r0) 11:08:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:08:15 (5/6) Installing libzmq (4.3.4-r0) 11:08:15 (6/6) Installing zeromq (4.3.4-r0) 11:08:15 Executing busybox-1.33.1-r7.trigger 11:08:15 OK: 8 MiB in 20 packages 11:08:15 Removing intermediate container c0329e32c577 11:08:15 ---> 57a08c76bfcc 11:08:15 Step 17/26 : WORKDIR / 11:08:15 ---> Running in 83458da2676a 11:08:15 Removing intermediate container 83458da2676a 11:08:15 ---> ca51bd4c6ab1 11:08:15 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:08:15 ---> 398b5c673654 11:08:15 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:08:16 ---> 49e2466527c8 11:08:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:08:16 ---> f18ed39d5be1 11:08:16 Step 21/26 : EXPOSE 59900 11:08:16 ---> Running in 416a068448dc 11:08:16 Removing intermediate container 416a068448dc 11:08:16 ---> e6a4d0d57b97 11:08:16 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:08:16 ---> Running in 210e85692c27 11:08:16 Removing intermediate container 210e85692c27 11:08:16 ---> 5b5b01dab36c 11:08:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:08:16 ---> Running in 804029b2ab7d 11:08:16 Removing intermediate container 804029b2ab7d 11:08:16 ---> b9b8eacf5142 11:08:16 Step 24/26 : LABEL arch=amd64 11:08:16 ---> Running in d4b891018b8c 11:08:16 Removing intermediate container d4b891018b8c 11:08:16 ---> 7a1dd134b102 11:08:16 Step 25/26 : LABEL git_sha=9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c 11:08:16 ---> Running in d6aa2dc4a424 11:08:17 Removing intermediate container d6aa2dc4a424 11:08:17 ---> 29adaae97dbc 11:08:17 Step 26/26 : LABEL version=0.0.0 11:08:17 ---> Running in 579a08c48f1c 11:08:17 Removing intermediate container 579a08c48f1c 11:08:17 ---> 613885bba285 11:08:17 [Warning] One or more build-args [ARCH] were not consumed 11:08:17 Successfully built 613885bba285 11:08:17 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:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:18 11:08:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:18 latest: Pulling from edgex-lftools-log-publisher 11:08:18 5eb5b503b376: Pulling fs layer 11:08:18 5c69ac0246d0: Pulling fs layer 11:08:18 ec43610c2a17: Pulling fs layer 11:08:18 3a2ae6a8a46f: Pulling fs layer 11:08:18 33b1e0a273af: Pulling fs layer 11:08:18 5d3b04190fa2: Pulling fs layer 11:08:18 2f39f015ded8: Pulling fs layer 11:08:18 3a2ae6a8a46f: Waiting 11:08:18 33b1e0a273af: Waiting 11:08:18 5d3b04190fa2: Waiting 11:08:18 2f39f015ded8: Waiting 11:08:18 5c69ac0246d0: Verifying Checksum 11:08:18 3a2ae6a8a46f: Download complete 11:08:18 ec43610c2a17: Verifying Checksum 11:08:18 ec43610c2a17: Download complete 11:08:18 33b1e0a273af: Verifying Checksum 11:08:18 33b1e0a273af: Download complete 11:08:18 5d3b04190fa2: Verifying Checksum 11:08:18 5d3b04190fa2: Download complete 11:08:18 5eb5b503b376: Verifying Checksum 11:08:18 5eb5b503b376: Download complete 11:08:19 2f39f015ded8: Download complete 11:08:19 5eb5b503b376: Pull complete 11:08:20 5c69ac0246d0: Pull complete 11:08:20 ec43610c2a17: Pull complete 11:08:20 3a2ae6a8a46f: Pull complete 11:08:20 33b1e0a273af: Pull complete 11:08:20 5d3b04190fa2: Pull complete 11:08:25 2f39f015ded8: Pull complete 11:08:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:25 prd-ubuntu20.04-docker-8c-8g-15150 does not seem to be running inside a container 11:08:25 $ 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-292 -v /w/workspace/foundry_device-virtual-go_PR-292:/w/workspace/foundry_device-virtual-go_PR-292:rw,z -v /w/workspace/foundry_device-virtual-go_PR-292@tmp:/w/workspace/foundry_device-virtual-go_PR-292@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:08:26 $ docker top 98df28347a7cba4a8c7bbc2b7efa130763d1d213e4494b1e72cf8ae6b062ce2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:27 ---> job-cost.sh 11:08:27 lf-activate-venv: SKIPPING 11:08:27 INFO: No Stack... 11:08:27 INFO: Retrieving Pricing Info for: v3-standard-8 11:08:27 INFO: Archiving Costs [Pipeline] sh 11:08:28 + cat /w/workspace/foundry_device-virtual-go_PR-292/archives/cost.csv 11:08:28 + cut -d, -f6 [Pipeline] lock 11:08:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] 11:08:28 Resource [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] did not exist. Created. 11:08:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:08:28 + echo total: 0.2199999988079071 [Pipeline] stash 11:08:28 Stashed 1 file(s) [Pipeline] } 11:08:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:08:28 $ docker stop --time=1 98df28347a7cba4a8c7bbc2b7efa130763d1d213e4494b1e72cf8ae6b062ce2e 11:08:29 $ docker rm -f 98df28347a7cba4a8c7bbc2b7efa130763d1d213e4494b1e72cf8ae6b062ce2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:08:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15151 in /w/workspace/foundry_device-virtual-go_PR-292 [Pipeline] { [Pipeline] ws 11:08:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:08:48 The recommended git tool is: git 11:08:54 using credential edgex-jenkins-ssh 11:08:54 Cloning the remote Git repository 11:08:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:08:54 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:08:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:54 > git --version # timeout=10 11:08:54 > git --version # 'git version 2.25.1' 11:08:54 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:57 Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c 11:08:57 Merge succeeded, producing 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c 11:08:57 Checking out Revision 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c (PR-292) 11:08:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/292/head:refs/remotes/origin/PR-292 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:08:57 > git config core.sparsecheckout # timeout=10 11:08:57 > git checkout -f 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c # timeout=10 11:08:57 > git remote # timeout=10 11:08:57 > git config --get remote.origin.url # timeout=10 11:08:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:57 > git merge 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 11:08:57 > git rev-parse HEAD^{commit} # timeout=10 11:08:57 > git config core.sparsecheckout # timeout=10 11:08:57 > git checkout -f 9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c # timeout=10 11:09:01 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:09:01 > git --version # timeout=10 11:09:01 > git --version # 'git version 2.25.1' 11:09:01 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:09:02 % Total % Received % Xferd Average Speed Time Time Time Current 11:09:02 Dload Upload Total Spent Left Speed 11:09:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 59480 0 --:--:-- --:--:-- --:--:-- 59480 [Pipeline] sh 11:09:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:09:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:09:04 + sudo tee /etc/docker/daemon.new 11:09:04 { 11:09:04 "registry-mirrors": [ 11:09:04 "https://nexus3.edgexfoundry.org:10001" 11:09:04 ], 11:09:04 "bip": "10.250.0.254/24", 11:09:04 "hosts": [ 11:09:04 "tcp://0.0.0.0:5555", 11:09:04 "unix:///var/run/docker.sock" 11:09:04 ], 11:09:04 "mtu": 1458, 11:09:04 "selinux-enabled": true, 11:09:04 "seccomp-profile": "/etc/docker/seccomp.json" 11:09:04 } [Pipeline] sh 11:09:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:09:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:23 provisioning config files... 11:09:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4231443788182360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:23 ---> docker-login.sh 11:09:23 nexus3.edgexfoundry.org:10001 11:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:24 Configure a credential helper to remove this warning. See 11:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:24 11:09:24 Login Succeeded 11:09:24 nexus3.edgexfoundry.org:10002 11:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:24 Configure a credential helper to remove this warning. See 11:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:24 11:09:24 Login Succeeded 11:09:24 nexus3.edgexfoundry.org:10003 11:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:25 Configure a credential helper to remove this warning. See 11:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:25 11:09:25 Login Succeeded 11:09:25 nexus3.edgexfoundry.org:10004 11:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:26 Configure a credential helper to remove this warning. See 11:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:26 11:09:26 Login Succeeded 11:09:26 docker.io 11:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:26 Configure a credential helper to remove this warning. See 11:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:26 11:09:26 Login Succeeded 11:09:26 ---> docker-login.sh ends [Pipeline] } 11:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:27 ========================================================= 11:09:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:09:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:09:27 Sending build context to Docker daemon 11.64MB 11:09:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:09:28 Step 2/12 : FROM ${BASE} AS builder 11:09:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:09:28 9b3977197b4f: Pulling fs layer 11:09:28 1a89e8eeedd5: Pulling fs layer 11:09:28 94645a83ff95: Pulling fs layer 11:09:28 e6fb740bc735: Pulling fs layer 11:09:28 3a77bd46dcc9: Pulling fs layer 11:09:28 355e64cbe906: Pulling fs layer 11:09:28 63ab81a10011: Pulling fs layer 11:09:28 555d1d1c4555: Pulling fs layer 11:09:28 7d9057610161: Pulling fs layer 11:09:28 355e64cbe906: Waiting 11:09:28 63ab81a10011: Waiting 11:09:28 555d1d1c4555: Waiting 11:09:28 e6fb740bc735: Waiting 11:09:28 7d9057610161: Waiting 11:09:28 3a77bd46dcc9: Waiting 11:09:28 94645a83ff95: Verifying Checksum 11:09:28 94645a83ff95: Download complete 11:09:28 1a89e8eeedd5: Verifying Checksum 11:09:28 1a89e8eeedd5: Download complete 11:09:28 3a77bd46dcc9: Verifying Checksum 11:09:28 3a77bd46dcc9: Download complete 11:09:28 355e64cbe906: Verifying Checksum 11:09:28 355e64cbe906: Download complete 11:09:28 9b3977197b4f: Verifying Checksum 11:09:28 9b3977197b4f: Download complete 11:09:28 63ab81a10011: Verifying Checksum 11:09:28 63ab81a10011: Download complete 11:09:29 7d9057610161: Verifying Checksum 11:09:29 7d9057610161: Download complete 11:09:29 9b3977197b4f: Pull complete 11:09:29 1a89e8eeedd5: Pull complete 11:09:30 94645a83ff95: Pull complete 11:09:30 555d1d1c4555: Verifying Checksum 11:09:30 555d1d1c4555: Download complete 11:09:30 e6fb740bc735: Verifying Checksum 11:09:30 e6fb740bc735: Download complete 11:09:43 e6fb740bc735: Pull complete 11:09:43 3a77bd46dcc9: Pull complete 11:09:43 355e64cbe906: Pull complete 11:09:43 63ab81a10011: Pull complete 11:09:50 555d1d1c4555: Pull complete 11:09:51 7d9057610161: Pull complete 11:09:51 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 11:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:09:51 ---> 819e984ddca1 11:09:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:53 ---> Running in a98c991d5cca 11:09:53 Removing intermediate container a98c991d5cca 11:09:53 ---> e735453b318c 11:09:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:09:53 ---> Running in c9ccf370fc69 11:09:54 Removing intermediate container c9ccf370fc69 11:09:54 ---> 9aec6b6b3104 11:09:54 Step 5/12 : WORKDIR /device-virtual-go 11:09:54 ---> Running in 1098ae29f88e 11:09:56 Removing intermediate container 1098ae29f88e 11:09:56 ---> 1e8ee4ab479b 11:09:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:56 ---> Running in 3f1b0aec76ef 11:09:57 Removing intermediate container 3f1b0aec76ef 11:09:57 ---> a914642fcc83 11:09:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:57 ---> Running in 9f33cc6d1b16 11:09:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:09:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:10:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:10:00 (2/4) Installing libedit (20210910.3.1-r0) 11:10:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:10:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:10:00 Executing busybox-1.34.1-r3.trigger 11:10:00 OK: 224 MiB in 56 packages 11:10:01 Removing intermediate container 9f33cc6d1b16 11:10:01 ---> 2b140e70bf9c 11:10:01 Step 8/12 : COPY go.mod vendor* ./ 11:10:02 ---> 617c6f93892c 11:10:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:02 ---> Running in 2ec4c8f5d46d 11:10:49 Removing intermediate container 2ec4c8f5d46d 11:10:49 ---> 86fe7892db41 11:10:49 Step 10/12 : COPY . . 11:10:49 ---> 3c6226796b35 11:10:49 Step 11/12 : ARG MAKE='make build' 11:10:49 ---> Running in e33a195aa757 11:10:49 Removing intermediate container e33a195aa757 11:10:49 ---> 11060fb7a223 11:10:49 Step 12/12 : RUN $MAKE 11:10:49 ---> Running in d6eef4733369 11:10:49 noop 11:10:49 Removing intermediate container d6eef4733369 11:10:49 ---> cbf8151269d2 11:10:49 Successfully built cbf8151269d2 11:10:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:49 + docker inspect -f . ci-base-image-arm64 11:10:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:50 prd-ubuntu20.04-docker-arm64-4c-16g-15151 does not seem to be running inside a container 11:10:50 $ 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:10:51 $ docker top 01f6036e7375121ccc02f3b1f654ab0cda9384a3179294e64b20181e0ee34455 -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:52 + go version 11:10:52 go version go1.17.7 linux/arm64 [Pipeline] } 11:10:52 $ docker stop --time=1 01f6036e7375121ccc02f3b1f654ab0cda9384a3179294e64b20181e0ee34455 11:10:54 $ docker rm -f 01f6036e7375121ccc02f3b1f654ab0cda9384a3179294e64b20181e0ee34455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:55 + docker inspect -f . ci-base-image-arm64 11:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:55 prd-ubuntu20.04-docker-arm64-4c-16g-15151 does not seem to be running inside a container 11:10:55 $ 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:10:56 $ docker top c09cc5a3f5837928b6346602a22dfacc4f42698038d3ba0a831e317a18d55036 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:10:57 + make test 11:10:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:10:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:12:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:12:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements 11:12:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:12:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:12:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:43 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:12:43 $ docker stop --time=1 c09cc5a3f5837928b6346602a22dfacc4f42698038d3ba0a831e317a18d55036 11:12:45 $ docker rm -f c09cc5a3f5837928b6346602a22dfacc4f42698038d3ba0a831e317a18d55036 [Pipeline] // withDockerContainer [Pipeline] sh 11:12:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:46 Warning: overwriting stash ‘coverage-report’ 11:12:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:47 + ls -al . 11:12:47 total 188 11:12:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 11:12 . 11:12:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 11:08 .. 11:12:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 11:09 .git 11:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:08 .github 11:12:47 -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 11:08 .gitignore 11:12:47 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 11:08 .golangci.yml 11:12:47 -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 11:08 Attribution.txt 11:12:47 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 11:08 CHANGELOG.md 11:12:47 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 11:08 Dockerfile 11:12:47 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 11:08 GOVERNANCE.md 11:12:47 -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 11:08 Jenkinsfile 11:12:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 11:08 LICENSE 11:12:47 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 11:08 Makefile 11:12:47 -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 11:08 OWNERS.md 11:12:47 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 11:08 README.md 11:12:47 -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 11:06 VERSION 11:12:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 11:08 bin 11:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:08 cmd 11:12:47 -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 11:12 coverage.out 11:12:47 -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 11:08 go.mod 11:12:47 -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 11:08 go.sum 11:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:08 internal 11:12:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 11:08 snap 11:12:47 -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 11:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:48 + 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=9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c --label arch=arm64 --label version=0.0.0 . 11:12:48 Sending build context to Docker daemon 11.68MB 11:12:48 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:12:48 Step 2/26 : FROM ${BASE} AS builder 11:12:48 ---> cbf8151269d2 11:12:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:12:48 ---> Running in ce83991b4147 11:12:49 Removing intermediate container ce83991b4147 11:12:49 ---> dc8212730e5f 11:12:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:12:49 ---> Running in 4bd93b9ba9ed 11:12:49 Removing intermediate container 4bd93b9ba9ed 11:12:49 ---> f46efe294f69 11:12:49 Step 5/26 : WORKDIR /device-virtual-go 11:12:49 ---> Running in cb5a050fbf03 11:12:49 Removing intermediate container cb5a050fbf03 11:12:49 ---> c0b8b12240aa 11:12:49 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:49 ---> Running in daa746150658 11:12:51 Removing intermediate container daa746150658 11:12:51 ---> 2568c4599989 11:12:51 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:51 ---> Running in 756790e91035 11:12:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:12:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:12:54 OK: 224 MiB in 56 packages 11:12:54 Removing intermediate container 756790e91035 11:12:54 ---> 313aa3058a7a 11:12:54 Step 8/26 : COPY go.mod vendor* ./ 11:12:55 ---> 82d8b1b07fe0 11:12:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:55 ---> Running in 635e02f3daf1 11:12:57 Removing intermediate container 635e02f3daf1 11:12:57 ---> 5d252f9834bd 11:12:57 Step 10/26 : COPY . . 11:12:58 ---> db6f79836bf8 11:12:58 Step 11/26 : ARG MAKE='make build' 11:12:58 ---> Running in 9279f2dcd2af 11:12:58 Removing intermediate container 9279f2dcd2af 11:12:58 ---> f0f29003de04 11:12:58 Step 12/26 : RUN $MAKE 11:12:59 ---> Running in bbfe9faf0df5 11:13:00 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:15:06 Removing intermediate container bbfe9faf0df5 11:15:06 ---> 204b65a5e1a0 11:15:06 Step 13/26 : FROM alpine:3.14 11:15:06 3.14: Pulling from library/alpine 11:15:06 455c02918c45: Pulling fs layer 11:15:06 455c02918c45: Verifying Checksum 11:15:06 455c02918c45: Download complete 11:15:06 455c02918c45: Pull complete 11:15:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:15:06 Status: Downloaded newer image for alpine:3.14 11:15:06 ---> ac73e934f311 11:15:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:15:06 ---> Running in 6f7a98d86ec7 11:15:06 Removing intermediate container 6f7a98d86ec7 11:15:06 ---> f5c9359fad39 11:15:06 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:06 ---> Running in 9e7e5e8628ba 11:15:06 Removing intermediate container 9e7e5e8628ba 11:15:06 ---> 6e5cd2e6003d 11:15:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:15:06 ---> Running in a72a9ce374cf 11:15:06 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:15:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:15:06 (1/6) Installing dumb-init (1.2.5-r1) 11:15:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:15:06 (3/6) Installing libsodium (1.0.18-r0) 11:15:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:15:06 (5/6) Installing libzmq (4.3.4-r0) 11:15:06 (6/6) Installing zeromq (4.3.4-r0) 11:15:06 Executing busybox-1.33.1-r7.trigger 11:15:06 OK: 8 MiB in 20 packages 11:15:06 Removing intermediate container a72a9ce374cf 11:15:06 ---> c45d6cc7d718 11:15:06 Step 17/26 : WORKDIR / 11:15:06 ---> Running in cafc34c72ee1 11:15:06 Removing intermediate container cafc34c72ee1 11:15:06 ---> c9779c68bec0 11:15:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:15:06 ---> 30327f50e3a3 11:15:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:15:06 ---> 1e31c7624d4e 11:15:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:15:06 ---> c0100fe5a992 11:15:06 Step 21/26 : EXPOSE 59900 11:15:06 ---> Running in 25099e98df0e 11:15:06 Removing intermediate container 25099e98df0e 11:15:06 ---> 556b0d2caf08 11:15:06 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:15:06 ---> Running in ac4cd896ad9e 11:15:06 Removing intermediate container ac4cd896ad9e 11:15:06 ---> eddd78cc4711 11:15:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:15:06 ---> Running in 00984b6ac1ca 11:15:06 Removing intermediate container 00984b6ac1ca 11:15:06 ---> d188900edf97 11:15:06 Step 24/26 : LABEL arch=arm64 11:15:06 ---> Running in 443194707e79 11:15:06 Removing intermediate container 443194707e79 11:15:06 ---> f9e02973ac50 11:15:06 Step 25/26 : LABEL git_sha=9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c 11:15:06 ---> Running in 6a43496d8c76 11:15:06 Removing intermediate container 6a43496d8c76 11:15:06 ---> 87f63372c1e7 11:15:06 Step 26/26 : LABEL version=0.0.0 11:15:06 ---> Running in 1bbe287e19d5 11:15:06 Removing intermediate container 1bbe287e19d5 11:15:06 ---> dffb34c884ae 11:15:06 [Warning] One or more build-args [ARCH] were not consumed 11:15:06 Successfully built dffb34c884ae 11:15:06 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:15:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:07 11:15:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:08 arm64: Pulling from edgex-lftools-log-publisher 11:15:08 8998bd30e6a1: Pulling fs layer 11:15:08 04944245beec: Pulling fs layer 11:15:08 699f458cf7ca: Pulling fs layer 11:15:08 765212b225bb: Pulling fs layer 11:15:08 f23df028b6ca: Pulling fs layer 11:15:08 d65c8cfc05b1: Pulling fs layer 11:15:08 2437ff75d9bd: Pulling fs layer 11:15:08 765212b225bb: Waiting 11:15:08 f23df028b6ca: Waiting 11:15:08 d65c8cfc05b1: Waiting 11:15:08 2437ff75d9bd: Waiting 11:15:08 04944245beec: Verifying Checksum 11:15:08 04944245beec: Download complete 11:15:08 765212b225bb: Verifying Checksum 11:15:08 765212b225bb: Download complete 11:15:08 f23df028b6ca: Download complete 11:15:08 d65c8cfc05b1: Verifying Checksum 11:15:08 d65c8cfc05b1: Download complete 11:15:08 699f458cf7ca: Verifying Checksum 11:15:08 699f458cf7ca: Download complete 11:15:09 8998bd30e6a1: Verifying Checksum 11:15:09 8998bd30e6a1: Download complete 11:15:11 2437ff75d9bd: Verifying Checksum 11:15:11 2437ff75d9bd: Download complete 11:15:13 8998bd30e6a1: Pull complete 11:15:13 04944245beec: Pull complete 11:15:14 699f458cf7ca: Pull complete 11:15:15 765212b225bb: Pull complete 11:15:16 f23df028b6ca: Pull complete 11:15:16 d65c8cfc05b1: Pull complete 11:15:31 2437ff75d9bd: Pull complete 11:15:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:15:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:31 prd-ubuntu20.04-docker-arm64-4c-16g-15151 does not seem to be running inside a container 11:15:31 $ 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:15:34 $ docker top 162b8fd95a0dbfdc9fafc6fb578cf1003ba634e554282ba2622959f55240ec34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:35 ---> job-cost.sh 11:15:35 lf-activate-venv: SKIPPING 11:15:35 INFO: No Stack... 11:15:35 INFO: Retrieving Pricing Info for: v3-standard-4 11:15:36 INFO: Archiving Costs [Pipeline] sh 11:15:37 + cut -d, -f6 11:15:37 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 11:15:37 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] 11:15:37 Resource [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] did not exist. Created. 11:15:37 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:15:37 /w/workspace/device-virtual-go/1@tmp/durable-a938ea10/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:15:38 + echo total: 0.10999999940395355 [Pipeline] stash 11:15:38 Warning: overwriting stash ‘stack-cost’ 11:15:38 Stashed 1 file(s) [Pipeline] } 11:15:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-292-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:15:38 $ docker stop --time=1 162b8fd95a0dbfdc9fafc6fb578cf1003ba634e554282ba2622959f55240ec34 11:15:40 $ docker rm -f 162b8fd95a0dbfdc9fafc6fb578cf1003ba634e554282ba2622959f55240ec34 [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:15:41 provisioning config files... 11:15:41 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-292@tmp/config855298369393523969tmp [Pipeline] { [Pipeline] sh 11:15:41 + set +x 11:15:41 + + bashcurl -s -s -- https://codecov.io/bash 11:15:41 11:15:41 11:15:41 _____ _ 11:15:41 / ____| | | 11:15:41 | | ___ __| | ___ ___ _____ __ 11:15:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:15:41 | |___| (_) | (_| | __/ (_| (_) \ V / 11:15:41 \_____\___/ \__,_|\___|\___\___/ \_/ 11:15:41 Bash-1.0.6 11:15:41 11:15:41 11:15:41 ==> git version 2.25.1 found 11:15:41 ==> 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:15:41 Release-Date: 2020-01-08 11:15:41 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:15:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:15:41 ==> Jenkins CI detected. 11:15:41 current dir:  /w/workspace/foundry_device-virtual-go_PR-292 11:15:41 project root: . 11:15:41 --> token set from env 11:15:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:15:41 ==> Running gcov in . (disable via -X gcov) 11:15:41 ==> Python coveragepy not found 11:15:41 ==> Searching for coverage reports in: 11:15:41 + . 11:15:41 -> Found 1 reports 11:15:41 ==> Detecting git/mercurial file structure 11:15:41 ==> Reading reports 11:15:41 + ./coverage.out bytes=44128 11:15:41 ==> Appending adjustments 11:15:41 https://docs.codecov.io/docs/fixing-reports 11:15:41 + Found adjustments 11:15:41 ==> Gzipping contents 11:15:41 8.0K /tmp/codecov.nyh9Ya.gz 11:15:41 ==> Uploading reports 11:15:41 url: https://codecov.io 11:15:41 query: branch=PR-292&commit=9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-292%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=292&job=&cmd_args= 11:15:41 -> Pinging Codecov 11:15:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-292&commit=9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-292%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=292&job=&cmd_args= 11:15:42 -> Uploading to 11:15:42 https://storage.googleapis.com/codecov/v4/raw/2022-06-20/5E52B4B073DB2E39498172D8E973AA87/9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c/44dd645b-5ed5-410f-ae54-fd047a9d9de1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T111542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f88db658fa35b2538e4316fa260c0dc1bc4f29be2e42549e2192413505d67bbb 11:15:42 % Total % Received % Xferd Average Speed Time Time Time Current 11:15:42 Dload Upload Total Spent Left Speed 11:15:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5480 0 0 100 5480 0 20371 --:--:-- --:--:-- --:--:-- 20371 11:15:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9bab06ef66a4c2aeb37ff8957d33d1c3af5edb4c [Pipeline] } 11:15:42 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:15:44 + [ -d /w/workspace/foundry_device-virtual-go_PR-292/archives ] 11:15:44 + ls -al /w/workspace/foundry_device-virtual-go_PR-292/archives 11:15:44 total 16 11:15:44 drwxr-xr-x 3 root root 4096 Jun 20 11:08 . 11:15:44 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 11:08 .. 11:15:44 drwxr-xr-x 2 root root 4096 Jun 20 11:08 cost 11:15:44 -rw-r--r-- 1 root root 88 Jun 20 11:08 cost.csv 11:15:44 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-292/archives 11:15:44 + ls -al /w/workspace/foundry_device-virtual-go_PR-292/archives 11:15:44 total 16 11:15:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 11:08 . 11:15:44 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 11:08 .. 11:15:44 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 11:08 cost 11:15:44 -rw-r--r-- 1 jenkins jenkins 88 Jun 20 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:15:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:15:45 ---> package-listing.sh 11:15:45 ++ facter osfamily 11:15:45 ++ tr '[:upper:]' '[:lower:]' 11:15:45 + OS_FAMILY=debian 11:15:45 + workspace=/w/workspace/foundry_device-virtual-go_PR-292 11:15:45 + START_PACKAGES=/tmp/packages_start.txt 11:15:45 + END_PACKAGES=/tmp/packages_end.txt 11:15:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:15:45 + PACKAGES=/tmp/packages_start.txt 11:15:45 + '[' /w/workspace/foundry_device-virtual-go_PR-292 ']' 11:15:45 + PACKAGES=/tmp/packages_end.txt 11:15:45 + case "${OS_FAMILY}" in 11:15:45 + dpkg -l 11:15:45 + grep '^ii' 11:15:45 + '[' -f /tmp/packages_start.txt ']' 11:15:45 + '[' -f /tmp/packages_end.txt ']' 11:15:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:15:45 + '[' /w/workspace/foundry_device-virtual-go_PR-292 ']' 11:15:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-292/archives/ 11:15:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-292/archives/ [Pipeline] echo 11:15:45 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-292/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:15:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:15:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:46 prd-ubuntu20.04-docker-8c-8g-15150 does not seem to be running inside a container 11:15:46 $ 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-292/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-292 -v /w/workspace/foundry_device-virtual-go_PR-292:/w/workspace/foundry_device-virtual-go_PR-292:rw,z -v /w/workspace/foundry_device-virtual-go_PR-292@tmp:/w/workspace/foundry_device-virtual-go_PR-292@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:15:47 $ docker top c03d51f6e94c07500a671a91f3dffb27d964f1701943be7252e1ad9383a47216 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:47 + touch /tmp/pre-build-complete [Pipeline] sh 11:15:47 + mkdir -p /var/log/sysstat [Pipeline] sh 11:15:48 + ls /var/log/sa-host 11:15:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:48 provisioning config files... 11:15:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-292@tmp/config5608775295649880976tmp [Pipeline] { [Pipeline] echo 11:15:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:15:48 ---> create-netrc.sh [Pipeline] } 11:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:15:49 ---> python-tools-install.sh [Pipeline] echo 11:15:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:15:49 ---> sudo-logs.sh 11:15:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:15:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:15:49 ---> job-cost.sh 11:15:49 lf-activate-venv: SKIPPING 11:15:49 DEBUG: total: 0.2199999988079071 11:15:49 INFO: Retrieving Stack Cost... 11:15:50 INFO: Retrieving Pricing Info for: v3-standard-8 11:15:50 INFO: Archiving Costs [Pipeline] echo 11:15:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:15:50 ---> logs-deploy.sh 11:15:50 lf-activate-venv: SKIPPING 11:15:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-292/1 11:15:50 INFO: archiving workspace using pattern(s): 11:15:51 Archives upload complete. 11:15:52 INFO: archiving logs to Nexus 11:15:52 ---> uname -a: 11:15:52 Linux prd-ubuntu20-04-docker-8c-8g-15150 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 11:15:52 11:15:52 11:15:52 ---> lscpu: 11:15:52 Architecture: x86_64 11:15:52 CPU op-mode(s): 32-bit, 64-bit 11:15:52 Byte Order: Little Endian 11:15:52 Address sizes: 40 bits physical, 48 bits virtual 11:15:52 CPU(s): 8 11:15:52 On-line CPU(s) list: 0-7 11:15:52 Thread(s) per core: 1 11:15:52 Core(s) per socket: 1 11:15:52 Socket(s): 8 11:15:52 NUMA node(s): 1 11:15:52 Vendor ID: AuthenticAMD 11:15:52 CPU family: 23 11:15:52 Model: 49 11:15:52 Model name: AMD EPYC-Rome Processor 11:15:52 Stepping: 0 11:15:52 CPU MHz: 2800.000 11:15:52 BogoMIPS: 5600.00 11:15:52 Virtualization: AMD-V 11:15:52 Hypervisor vendor: KVM 11:15:52 Virtualization type: full 11:15:52 L1d cache: 256 KiB 11:15:52 L1i cache: 256 KiB 11:15:52 L2 cache: 4 MiB 11:15:52 L3 cache: 128 MiB 11:15:52 NUMA node0 CPU(s): 0-7 11:15:52 Vulnerability Itlb multihit: Not affected 11:15:52 Vulnerability L1tf: Not affected 11:15:52 Vulnerability Mds: Not affected 11:15:52 Vulnerability Meltdown: Not affected 11:15:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:15:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:15:52 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:15:52 Vulnerability Srbds: Not affected 11:15:52 Vulnerability Tsx async abort: Not affected 11:15:52 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:15:52 11:15:52 11:15:52 ---> nproc: 11:15:52 8 11:15:52 11:15:52 11:15:52 ---> df -h: 11:15:52 Filesystem Size Used Avail Use% Mounted on 11:15:52 overlay 155G 11G 145G 7% / 11:15:52 tmpfs 64M 0 64M 0% /dev 11:15:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:15:52 shm 64M 0 64M 0% /dev/shm 11:15:52 /dev/vda1 155G 11G 145G 7% /facter-os 11:15:52 11:15:52 11:15:52 ---> sar -b -r -n DEV: 11:15:52 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-15150) 06/20/22 _x86_64_ (8 CPU) 11:15:52 11:15:52 11:05:59 LINUX RESTART (8 CPU) 11:15:52 11:15:52 11:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:15:52 11:07:01 446.60 78.99 367.61 0.00 10715.63 211628.52 0.00 11:15:52 11:08:01 226.00 1.40 224.60 0.00 22.26 65111.95 0.00 11:15:52 11:09:01 125.67 0.02 125.65 0.00 0.13 32966.00 0.00 11:15:52 11:10:01 1.02 0.00 1.02 0.00 0.00 10.81 0.00 11:15:52 11:11:01 1.63 0.02 1.62 0.00 0.13 18.40 0.00 11:15:52 11:12:01 1.02 0.00 1.02 0.00 0.00 12.40 0.00 11:15:52 11:13:01 1.15 0.00 1.15 0.00 0.00 14.53 0.00 11:15:52 11:14:01 0.90 0.00 0.90 0.00 0.00 10.53 0.00 11:15:52 11:15:01 1.27 0.00 1.27 0.00 0.00 14.80 0.00 11:15:52 Average: 89.48 8.94 80.54 0.00 1193.33 34424.19 0.00 11:15:52 11:15:52 11:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:15:52 11:07:01 29081864 31756572 554496 1.69 113972 2836400 2337812 6.89 1126324 2310920 495324 11:15:52 11:08:01 27944644 31538720 749760 2.28 163872 3623760 2626584 7.74 1619628 2849228 182696 11:15:52 11:09:01 27661360 31779836 510420 1.55 174848 4093696 1925548 5.67 1345284 3363504 96 11:15:52 11:10:01 27661952 31780552 509308 1.55 174880 4093696 1925548 5.67 1344444 3363504 20 11:15:52 11:11:01 27664388 31783012 506964 1.54 174904 4093684 1925548 5.67 1342656 3363568 32 11:15:52 11:12:01 27664340 31783012 506900 1.54 174932 4093704 1925548 5.67 1342448 3363572 20 11:15:52 11:13:01 27671372 31790068 499808 1.52 174952 4093712 1925548 5.67 1334896 3363580 40 11:15:52 11:14:01 27671616 31790316 499520 1.52 174964 4093716 1925548 5.67 1334852 3363584 28 11:15:52 11:15:01 27671860 31790608 499172 1.52 175004 4093720 1925548 5.67 1334912 3363588 12 11:15:52 Average: 27854822 31754744 537372 1.63 166925 3901788 2049248 6.04 1347272 3189450 75363 11:15:52 11:15:52 11:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:15:52 11:07:01 docker0 23.44 20.69 1.93 184.59 0.00 0.00 0.00 0.00 11:15:52 11:07:01 ens3 941.09 607.18 8983.71 114.22 0.00 0.00 0.00 0.00 11:15:52 11:07:01 lo 8.93 8.93 0.86 0.86 0.00 0.00 0.00 0.00 11:15:52 11:08:01 vethe5d4f8a 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 11:15:52 11:08:01 docker0 111.73 136.44 8.84 1080.69 0.00 0.00 0.00 0.00 11:15:52 11:08:01 ens3 212.03 170.55 1135.93 78.00 0.00 0.00 0.00 0.00 11:15:52 11:08:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 11:15:52 11:09:01 docker0 7.38 9.27 0.43 51.72 0.00 0.00 0.00 0.00 11:15:52 11:09:01 ens3 124.53 89.82 2628.25 38.24 0.00 0.00 0.00 0.00 11:15:52 11:09:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 11:15:52 11:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:10:01 ens3 0.67 0.70 0.04 0.06 0.00 0.00 0.00 0.00 11:15:52 11:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:11:01 ens3 7.12 7.73 0.69 13.97 0.00 0.00 0.00 0.00 11:15:52 11:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:15:52 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:12:01 ens3 4.32 7.85 0.35 7.51 0.00 0.00 0.00 0.00 11:15:52 11:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:13:01 ens3 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 11:15:52 11:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:15:52 11:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:14:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:52 11:15:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 11:15:52 11:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:15:52 Average: docker0 15.84 18.49 1.24 146.34 0.00 0.00 0.00 0.00 11:15:52 Average: ens3 143.35 98.24 1416.67 28.00 0.00 0.00 0.00 0.00 11:15:52 Average: lo 1.29 1.29 0.12 0.12 0.00 0.00 0.00 0.00 11:15:52 11:15:52 11:15:52 ---> sar -P ALL: 11:15:52 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-15150) 06/20/22 _x86_64_ (8 CPU) 11:15:52 11:15:52 11:05:59 LINUX RESTART (8 CPU) 11:15:52 11:15:52 11:06:01 CPU %user %nice %system %iowait %steal %idle 11:15:52 11:07:01 all 10.61 0.00 4.51 1.89 0.07 82.92 11:15:52 11:07:01 0 12.15 0.00 4.03 2.53 0.07 81.22 11:15:52 11:07:01 1 9.90 0.00 3.28 0.35 0.07 86.40 11:15:52 11:07:01 2 9.49 0.00 4.18 3.63 0.05 82.64 11:15:52 11:07:01 3 8.87 0.00 6.22 2.28 0.07 82.55 11:15:52 11:07:01 4 12.70 0.00 5.22 0.57 0.07 81.44 11:15:52 11:07:01 5 12.56 0.00 4.18 1.20 0.07 82.00 11:15:52 11:07:01 6 10.06 0.00 3.84 3.55 0.07 82.49 11:15:52 11:07:01 7 9.18 0.00 5.13 0.98 0.07 84.63 11:15:52 11:08:01 all 31.47 0.00 6.71 0.98 0.09 60.75 11:15:52 11:08:01 0 31.53 0.00 7.51 3.94 0.08 56.93 11:15:52 11:08:01 1 30.07 0.00 7.49 0.17 0.08 62.19 11:15:52 11:08:01 2 30.55 0.00 6.35 0.12 0.10 62.88 11:15:52 11:08:01 3 32.51 0.00 6.22 1.18 0.08 60.01 11:15:52 11:08:01 4 31.21 0.00 6.63 0.83 0.08 61.25 11:15:52 11:08:01 5 32.90 0.00 6.26 0.39 0.08 60.37 11:15:52 11:08:01 6 32.05 0.00 6.29 1.00 0.07 60.60 11:15:52 11:08:01 7 30.98 0.00 6.91 0.24 0.10 61.77 11:15:52 11:09:01 all 7.76 0.00 2.13 0.54 0.03 89.54 11:15:52 11:09:01 0 8.85 0.00 2.63 3.10 0.03 85.38 11:15:52 11:09:01 1 6.52 0.00 1.69 0.00 0.03 91.76 11:15:52 11:09:01 2 8.30 0.00 1.80 0.15 0.02 89.73 11:15:52 11:09:01 3 7.51 0.00 2.12 0.02 0.03 90.33 11:15:52 11:09:01 4 7.30 0.00 2.69 0.07 0.03 89.91 11:15:52 11:09:01 5 7.65 0.00 1.53 0.05 0.03 90.73 11:15:52 11:09:01 6 7.61 0.00 2.23 0.72 0.03 89.41 11:15:52 11:09:01 7 8.32 0.00 2.39 0.22 0.03 89.04 11:15:52 11:10:01 all 0.01 0.00 0.01 0.00 0.00 99.97 11:15:52 11:10:01 0 0.02 0.00 0.02 0.02 0.00 99.95 11:15:52 11:10:01 1 0.00 0.00 0.00 0.00 0.00 100.00 11:15:52 11:10:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:15:52 11:10:01 3 0.02 0.00 0.02 0.00 0.02 99.95 11:15:52 11:10:01 4 0.00 0.00 0.00 0.00 0.00 100.00 11:15:52 11:10:01 5 0.00 0.00 0.02 0.00 0.00 99.98 11:15:52 11:10:01 6 0.03 0.00 0.02 0.00 0.02 99.93 11:15:52 11:10:01 7 0.02 0.00 0.02 0.00 0.00 99.97 11:15:52 11:11:01 all 0.05 0.00 0.03 0.00 0.00 99.91 11:15:52 11:11:01 0 0.02 0.00 0.02 0.03 0.00 99.93 11:15:52 11:11:01 1 0.03 0.00 0.05 0.00 0.00 99.92 11:15:52 11:11:01 2 0.08 0.00 0.02 0.00 0.02 99.88 11:15:52 11:11:01 3 0.05 0.00 0.02 0.00 0.00 99.93 11:15:52 11:11:01 4 0.12 0.00 0.02 0.00 0.00 99.87 11:15:52 11:11:01 5 0.03 0.00 0.02 0.00 0.02 99.93 11:15:52 11:11:01 6 0.07 0.00 0.03 0.00 0.00 99.90 11:15:52 11:11:01 7 0.03 0.00 0.05 0.00 0.00 99.92 11:15:52 11:12:01 all 0.02 0.00 0.00 0.00 0.00 99.97 11:15:52 11:12:01 0 0.07 0.00 0.03 0.02 0.00 99.88 11:15:52 11:12:01 1 0.00 0.00 0.00 0.00 0.00 100.00 11:15:52 11:12:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:15:52 11:12:01 3 0.02 0.00 0.00 0.00 0.02 99.97 11:15:52 11:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 11:15:52 11:12:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:15:52 11:12:01 6 0.02 0.00 0.00 0.00 0.02 99.97 11:15:52 11:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 11:15:52 11:13:01 all 0.02 0.00 0.01 0.00 0.00 99.96 11:15:52 11:13:01 0 0.02 0.00 0.00 0.02 0.00 99.97 11:15:52 11:13:01 1 0.02 0.00 0.00 0.02 0.00 99.97 11:15:52 11:13:01 2 0.02 0.00 0.00 0.00 0.02 99.97 11:15:52 11:13:01 3 0.02 0.00 0.03 0.00 0.00 99.95 11:15:52 11:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:15:52 11:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:15:52 11:13:01 6 0.05 0.00 0.02 0.00 0.00 99.93 11:15:52 11:13:01 7 0.02 0.00 0.02 0.00 0.00 99.97 11:15:52 11:14:01 all 0.01 0.00 0.01 0.00 0.01 99.97 11:15:52 11:14:01 0 0.00 0.00 0.02 0.00 0.00 99.98 11:15:52 11:14:01 1 0.00 0.00 0.00 0.00 0.02 99.98 11:15:52 11:14:01 2 0.02 0.00 0.03 0.00 0.00 99.95 11:15:52 11:14:01 3 0.03 0.00 0.02 0.00 0.02 99.93 11:15:52 11:14:01 4 0.00 0.00 0.00 0.02 0.02 99.97 11:15:52 11:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 11:15:52 11:14:01 6 0.03 0.00 0.02 0.00 0.00 99.95 11:15:52 11:14:01 7 0.00 0.00 0.02 0.00 0.00 99.98 11:15:52 11:15:01 all 0.01 0.00 0.02 0.00 0.00 99.97 11:15:52 11:15:01 0 0.02 0.00 0.02 0.02 0.00 99.95 11:15:52 11:15:01 1 0.00 0.00 0.02 0.00 0.00 99.98 11:15:52 11:15:01 2 0.02 0.00 0.03 0.00 0.00 99.95 11:15:52 11:15:01 3 0.00 0.00 0.02 0.00 0.02 99.97 11:15:52 11:15:01 4 0.00 0.00 0.02 0.02 0.00 99.97 11:15:52 11:15:01 5 0.00 0.00 0.02 0.00 0.00 99.98 11:15:52 11:15:01 6 0.02 0.00 0.00 0.00 0.02 99.97 11:15:52 11:15:01 7 0.02 0.00 0.02 0.00 0.00 99.97 11:15:52 Average: all 5.50 0.00 1.48 0.38 0.02 92.62 11:15:52 Average: 0 5.79 0.00 1.57 1.07 0.02 91.56 11:15:52 Average: 1 5.13 0.00 1.38 0.06 0.02 93.41 11:15:52 Average: 2 5.35 0.00 1.37 0.43 0.02 92.83 11:15:52 Average: 3 5.40 0.00 1.62 0.38 0.03 92.57 11:15:52 Average: 4 5.66 0.00 1.61 0.17 0.02 92.54 11:15:52 Average: 5 5.85 0.00 1.32 0.18 0.02 92.62 11:15:52 Average: 6 5.49 0.00 1.37 0.58 0.02 92.54 11:15:52 Average: 7 5.34 0.00 1.60 0.16 0.02 92.88 11:15:52 11:15:52 11:15:52