Pull request #312 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2e3cdc578848e8e23285bbc4f790694862dfab8+38745b3e9e40de14badf8d6af86e73ac7698b39c (c2e58cf6a8927ba41afcfd4cd5935667b3dcff58) 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-ssh1013582611038297685.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7938374013917144069.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-312/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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12496672273026764998.key Verifying host key using known hosts file > 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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15434177305463321738.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6105494051657295620.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-312/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-312/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9550578202989499096.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7511 in /w/workspace/foundry_device-virtual-go_PR-312 [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-312 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 38745b3e9e40de14badf8d6af86e73ac7698b39c into PR head commit d2e3cdc578848e8e23285bbc4f790694862dfab8 Merge succeeded, producing d2e3cdc578848e8e23285bbc4f790694862dfab8 Checking out Revision d2e3cdc578848e8e23285bbc4f790694862dfab8 (PR-312) 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 bd7468d5528128c83034753e4c3def8ef9af3f2d > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:16 ========================================================= 11:04:16 EdgeX Global Pipelines Version Info 11:04:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:17 ------------------- 11:04:17 stable info: 11:04:17 ------------------- 11:04:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:17 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:17 Message: update stable to v1.0.239 11:04:18 ------------------- 11:04:18 experimental info: 11:04:18 ------------------- 11:04:18 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:18 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:18 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-312 [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-312 [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-312 [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2e3cdc [Pipeline] echo 11:04:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:19 provisioning config files... 11:04:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config9493139190991851341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:20 ---> docker-login.sh 11:04:20 nexus3.edgexfoundry.org:10001 11:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:20 Configure a credential helper to remove this warning. See 11:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:20 11:04:20 Login Succeeded 11:04:20 nexus3.edgexfoundry.org:10002 11:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:20 Configure a credential helper to remove this warning. See 11:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:20 11:04:20 Login Succeeded 11:04:20 nexus3.edgexfoundry.org:10003 11:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:20 Configure a credential helper to remove this warning. See 11:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:20 11:04:20 Login Succeeded 11:04:20 nexus3.edgexfoundry.org:10004 11:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:21 Configure a credential helper to remove this warning. See 11:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:21 11:04:21 Login Succeeded 11:04:21 docker.io 11:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:21 Configure a credential helper to remove this warning. See 11:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:21 11:04:21 Login Succeeded 11:04:21 ---> docker-login.sh ends [Pipeline] } 11:04:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:22 + git rev-list -1 --merges d2e3cdc578848e8e23285bbc4f790694862dfab8~1..d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo 11:04:22 -----------> git rev-list -1 --merges d2e3cdc578848e8e23285bbc4f790694862dfab8~1..d2e3cdc578848e8e23285bbc4f790694862dfab8 d2e3cdc578848e8e23285bbc4f790694862dfab8 [false] [Pipeline] sh 11:04:22 + git log --format=format:%s -1 d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo 11:04:22 ========================================================= 11:04:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:22 + git log --format=format:%s -1 d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo 11:04:22 [semverPrep] GIT_COMMIT: d2e3cdc578848e8e23285bbc4f790694862dfab8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:22 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:23 + grep -v github /etc/ssh/ssh_known_hosts 11:04:23 + [ -e /tmp/ssh_known_hosts ] 11:04:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:23 + sudo tee -a /etc/ssh/ssh_known_hosts 11:04:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:23 11:04:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:24 0.1.4: Pulling from edgex-devops/py-git-semver 11:04:24 b85a868b505f: Pulling fs layer 11:04:24 e2be974225ed: Pulling fs layer 11:04:24 339a4e72a1f5: Pulling fs layer 11:04:24 988bab9f4d93: Pulling fs layer 11:04:24 1469e6f7b9e6: Pulling fs layer 11:04:24 eaf3925da568: Pulling fs layer 11:04:24 bab4dde63d76: Pulling fs layer 11:04:24 bde34c3a00c8: Pulling fs layer 11:04:24 b352a97aabf1: Pulling fs layer 11:04:24 4872d77fe225: Pulling fs layer 11:04:24 5851b861e8e6: Pulling fs layer 11:04:24 bde34c3a00c8: Waiting 11:04:24 1469e6f7b9e6: Waiting 11:04:24 b352a97aabf1: Waiting 11:04:24 eaf3925da568: Waiting 11:04:24 bab4dde63d76: Waiting 11:04:24 4872d77fe225: Waiting 11:04:24 5851b861e8e6: Waiting 11:04:24 988bab9f4d93: Waiting 11:04:24 e2be974225ed: Verifying Checksum 11:04:24 e2be974225ed: Download complete 11:04:24 988bab9f4d93: Verifying Checksum 11:04:24 988bab9f4d93: Download complete 11:04:24 339a4e72a1f5: Verifying Checksum 11:04:24 339a4e72a1f5: Download complete 11:04:24 eaf3925da568: Download complete 11:04:24 1469e6f7b9e6: Verifying Checksum 11:04:24 1469e6f7b9e6: Download complete 11:04:24 bde34c3a00c8: Verifying Checksum 11:04:24 bde34c3a00c8: Download complete 11:04:24 b352a97aabf1: Verifying Checksum 11:04:24 b352a97aabf1: Download complete 11:04:24 4872d77fe225: Verifying Checksum 11:04:24 4872d77fe225: Download complete 11:04:24 5851b861e8e6: Download complete 11:04:24 b85a868b505f: Verifying Checksum 11:04:24 b85a868b505f: Download complete 11:04:24 bab4dde63d76: Verifying Checksum 11:04:24 bab4dde63d76: Download complete 11:04:25 b85a868b505f: Pull complete 11:04:25 e2be974225ed: Pull complete 11:04:26 339a4e72a1f5: Pull complete 11:04:26 988bab9f4d93: Pull complete 11:04:26 1469e6f7b9e6: Pull complete 11:04:26 eaf3925da568: Pull complete 11:04:28 bab4dde63d76: Pull complete 11:04:28 bde34c3a00c8: Pull complete 11:04:29 b352a97aabf1: Pull complete 11:04:29 4872d77fe225: Pull complete 11:04:29 5851b861e8e6: Pull complete 11:04:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:04:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:29 prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container 11:04:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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:04:31 $ docker top e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd -eo pid,comm 11:04:31 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:04:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:31 [ssh-agent] Looking for ssh-agent implementation... 11:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:31 $ docker exec e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent 11:04:31 SSH_AUTH_SOCK=/tmp/ssh-knMQLo1JWLN0/agent.20 11:04:31 SSH_AGENT_PID=37 11:04:31 Running ssh-add (command line suppressed) 11:04:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_6562710232348111506.key (/w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_6562710232348111506.key) 11:04:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:32 + git tag --points-at HEAD [Pipeline] } 11:04:32 $ docker exec --env ******** --env ******** e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent -k 11:04:32 unset SSH_AUTH_SOCK; 11:04:32 unset SSH_AGENT_PID; 11:04:32 echo Agent pid 37 killed; 11:04:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:32 [ssh-agent] Looking for ssh-agent implementation... 11:04:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:32 $ docker exec e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent 11:04:32 SSH_AUTH_SOCK=/tmp/ssh-fIPQMq1lePZH/agent.69 11:04:32 SSH_AGENT_PID=75 11:04:32 Running ssh-add (command line suppressed) 11:04:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_1054754802010281018.key (/w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_1054754802010281018.key) 11:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:33 + git semver init 11:04:33 2022-10-10 11:04:33,375 [run_init] DEBUG init version:0.0.0 force:False 11:04:33 2022-10-10 11:04:33,376 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-312/.semver 11:04:33 2022-10-10 11:04:33,376 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-312/.semver 11:04:33 2022-10-10 11:04:33,376 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-312/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-312, universal_newlines=False, shell=None, istream=None) 11:04:34 2022-10-10 11:04:34,619 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-312/.git/info/exclude 11:04:34 2022-10-10 11:04:34,619 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-312/.semver/PR-312 with force:False 11:04:34 2022-10-10 11:04:34,619 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-312/.semver/PR-312 11:04:34 2022-10-10 11:04:34,622 [execute] INFO git cat-file --batch-check 11:04:34 2022-10-10 11:04:34,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) 11:04:34 2022-10-10 11:04:34,626 [execute] INFO git cat-file --batch 11:04:34 2022-10-10 11:04:34,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) 11:04:34 2022-10-10 11:04:34,630 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-312/.semver/PR-312 11:04:34 0.0.0 [Pipeline] } 11:04:34 $ docker exec --env ******** --env ******** e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent -k 11:04:35 unset SSH_AUTH_SOCK; 11:04:35 unset SSH_AGENT_PID; 11:04:35 echo Agent pid 75 killed; 11:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:35 + git semver [Pipeline] } 11:04:35 $ docker stop --time=1 e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd 11:04:37 $ docker rm -f e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd [Pipeline] // withDockerContainer [Pipeline] sh 11:04:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:38 Stashed 1 file(s) [Pipeline] echo 11:04:38 [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:04:38 provisioning config files... 11:04:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config3897028997963185784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:39 ---> docker-login.sh 11:04:39 nexus3.edgexfoundry.org:10001 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 nexus3.edgexfoundry.org:10002 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 nexus3.edgexfoundry.org:10003 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 nexus3.edgexfoundry.org:10004 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 docker.io 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 ---> docker-login.sh ends [Pipeline] } 11:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:40 ========================================================= 11:04:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:04:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:04:40 Sending build context to Docker daemon 23.19MB 11:04:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:04:40 Step 2/13 : FROM ${BASE} AS builder 11:04:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:40 2408cc74d12b: Pulling fs layer 11:04:40 ea60b727a1ce: Pulling fs layer 11:04:40 30c4a7721957: Pulling fs layer 11:04:40 370296b7ddb6: Pulling fs layer 11:04:40 7c6cee850709: Pulling fs layer 11:04:40 aa9baa53a306: Pulling fs layer 11:04:40 8b309c321861: Pulling fs layer 11:04:40 d8d76fd02f46: Pulling fs layer 11:04:40 fa31f396de31: Pulling fs layer 11:04:40 aa9baa53a306: Waiting 11:04:40 8b309c321861: Waiting 11:04:40 d8d76fd02f46: Waiting 11:04:40 370296b7ddb6: Waiting 11:04:40 7c6cee850709: Waiting 11:04:40 fa31f396de31: Waiting 11:04:40 30c4a7721957: Download complete 11:04:40 ea60b727a1ce: Verifying Checksum 11:04:40 ea60b727a1ce: Download complete 11:04:40 7c6cee850709: Verifying Checksum 11:04:40 7c6cee850709: Download complete 11:04:40 aa9baa53a306: Verifying Checksum 11:04:40 aa9baa53a306: Download complete 11:04:40 2408cc74d12b: Verifying Checksum 11:04:41 8b309c321861: Download complete 11:04:41 2408cc74d12b: Pull complete 11:04:41 ea60b727a1ce: Pull complete 11:04:41 fa31f396de31: Verifying Checksum 11:04:41 fa31f396de31: Download complete 11:04:41 30c4a7721957: Pull complete 11:04:41 370296b7ddb6: Verifying Checksum 11:04:41 370296b7ddb6: Download complete 11:04:41 d8d76fd02f46: Verifying Checksum 11:04:41 d8d76fd02f46: Download complete 11:04:46 370296b7ddb6: Pull complete 11:04:46 7c6cee850709: Pull complete 11:04:46 aa9baa53a306: Pull complete 11:04:46 8b309c321861: Pull complete 11:04:48 d8d76fd02f46: Pull complete 11:04:49 fa31f396de31: Pull complete 11:04:49 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 11:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:04:49 ---> cef68f9685f8 11:04:49 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:52 ---> Running in 39e553b738c5 11:04:52 Removing intermediate container 39e553b738c5 11:04:52 ---> a5afcffdfe84 11:04:52 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:04:52 ---> Running in a38e419514d1 11:04:53 Removing intermediate container a38e419514d1 11:04:53 ---> ac220c2490cd 11:04:53 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:04:53 Still waiting to schedule task 11:04:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:04:53 ---> Running in 978d4960335d 11:04:53 Removing intermediate container 978d4960335d 11:04:53 ---> e72e0a3cf319 11:04:53 Step 6/13 : WORKDIR /device-virtual-go 11:04:54 ---> Running in d0ea106b6549 11:04:54 Removing intermediate container d0ea106b6549 11:04:54 ---> 226ed0832617 11:04:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:54 ---> Running in c0c4b9b110ee 11:04:55 Removing intermediate container c0c4b9b110ee 11:04:55 ---> 1c1d20f73ddf 11:04:55 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:55 ---> Running in 5ef485c2a5bb 11:04:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:04:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:04:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:04:57 (2/4) Installing libedit (20210910.3.1-r0) 11:04:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:04:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:04:57 Executing busybox-1.35.0-r13.trigger 11:04:57 OK: 216 MiB in 55 packages 11:04:59 Removing intermediate container 5ef485c2a5bb 11:04:59 ---> c5fe74fa6f7f 11:04:59 Step 9/13 : COPY go.mod vendor* ./ 11:04:59 ---> bc5765cd2ea5 11:04:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:59 ---> Running in 109de773c6f2 11:05:25 Removing intermediate container 109de773c6f2 11:05:25 ---> a1713b2e4c1f 11:05:25 Step 11/13 : COPY . . 11:05:25 ---> 7b7306573bf7 11:05:25 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:25 ---> Running in 21a2bfcdbdf0 11:05:25 Removing intermediate container 21a2bfcdbdf0 11:05:25 ---> 5d97d0ba442e 11:05:25 Step 13/13 : RUN $MAKE 11:05:25 ---> Running in 437f5875e643 11:05:25 noop 11:05:25 Removing intermediate container 437f5875e643 11:05:25 ---> 0727f67da36d 11:05:25 Successfully built 0727f67da36d 11:05:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:26 + docker inspect -f . ci-base-image-x86_64 11:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:26 prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container 11:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:05:26 $ docker top 8bb6b39c524087f0daca2fd958f032ebbc72873655f87084cb3444f35a53814b -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:27 + go version 11:05:27 go version go1.18.3 linux/amd64 [Pipeline] } 11:05:27 $ docker stop --time=1 8bb6b39c524087f0daca2fd958f032ebbc72873655f87084cb3444f35a53814b 11:05:29 $ docker rm -f 8bb6b39c524087f0daca2fd958f032ebbc72873655f87084cb3444f35a53814b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:30 + docker inspect -f . ci-base-image-x86_64 11:05:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:30 prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container 11:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:05:30 $ docker top d0797d45e28432641fd06f98a14c6c3a1211f89d8acbfdbbca845e0e492891ea -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:31 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-312 [Pipeline] fileExists [Pipeline] sh 11:05:31 + make test 11:05:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 11:05:48 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 11:05:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:51 ./bin/test-attribution-txt.sh [Pipeline] echo 11:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:51 $ docker stop --time=1 d0797d45e28432641fd06f98a14c6c3a1211f89d8acbfdbbca845e0e492891ea 11:05:53 $ docker rm -f d0797d45e28432641fd06f98a14c6c3a1211f89d8acbfdbbca845e0e492891ea [Pipeline] // withDockerContainer [Pipeline] sh 11:05:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:55 + ls -al . 11:05:55 total 200 11:05:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 11:05 . 11:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:04 .. 11:05:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:05 .git 11:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:04 .github 11:05:55 -rw-rw-r-- 1 jenkins jenkins 337 Oct 10 11:04 .gitignore 11:05:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 11:04 .golangci.yml 11:05:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 11:04 .semver 11:05:55 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 10 11:04 Attribution.txt 11:05:55 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 10 11:04 CHANGELOG.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 10 11:04 Dockerfile 11:05:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 11:04 GOVERNANCE.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 11:04 Jenkinsfile 11:05:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 11:04 LICENSE 11:05:55 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 10 11:04 Makefile 11:05:55 -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 11:04 OWNERS.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 10 11:04 README.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 11:04 VERSION 11:05:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 11:04 bin 11:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:04 cmd 11:05:55 -rw-r--r-- 1 jenkins jenkins 44128 Oct 10 11:05 coverage.out 11:05:55 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 10 11:04 go.mod 11:05:55 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 10 11:04 go.sum 11:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:04 internal 11:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:04 snap 11:05:55 -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:55 + 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=d2e3cdc578848e8e23285bbc4f790694862dfab8 --label arch=amd64 --label version=0.0.0 . 11:05:55 Sending build context to Docker daemon 23.23MB 11:05:55 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:05:55 Step 2/27 : FROM ${BASE} AS builder 11:05:55 ---> 0727f67da36d 11:05:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:56 ---> Running in 34b2c015f7a2 11:05:56 Removing intermediate container 34b2c015f7a2 11:05:56 ---> 30210d737b5c 11:05:56 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:05:56 ---> Running in dcac8e860953 11:05:57 Removing intermediate container dcac8e860953 11:05:57 ---> 81afe9a5171b 11:05:57 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:05:57 ---> Running in cc1c518c3bb0 11:05:57 Removing intermediate container cc1c518c3bb0 11:05:57 ---> b9d4230aa937 11:05:57 Step 6/27 : WORKDIR /device-virtual-go 11:05:57 ---> Running in 81fdc5d00ee8 11:05:58 Removing intermediate container 81fdc5d00ee8 11:05:58 ---> 51c7d12d04ed 11:05:58 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:58 ---> Running in aba72e452388 11:05:58 Removing intermediate container aba72e452388 11:05:58 ---> ef49c79fe68d 11:05:58 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:59 ---> Running in ac59e3a37ced 11:05:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:00 OK: 216 MiB in 55 packages 11:06:01 Removing intermediate container ac59e3a37ced 11:06:01 ---> 032943225f25 11:06:01 Step 9/27 : COPY go.mod vendor* ./ 11:06:01 ---> 900ec5819ad2 11:06:01 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:01 ---> Running in 26a41fe688d8 11:06:03 Removing intermediate container 26a41fe688d8 11:06:03 ---> 3617ef1e09df 11:06:03 Step 11/27 : COPY . . 11:06:03 ---> 839f8ecde5e3 11:06:03 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:06:03 ---> Running in 7d56d2a81825 11:06:04 Removing intermediate container 7d56d2a81825 11:06:04 ---> 0253cb07a2ac 11:06:04 Step 13/27 : RUN $MAKE 11:06:04 ---> Running in d3121ee3e962 11:06:04 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:06:26 Removing intermediate container d3121ee3e962 11:06:26 ---> 1e86d2e29be7 11:06:26 Step 14/27 : FROM alpine:3.16 11:06:26 3.16: Pulling from library/alpine 11:06:26 213ec9aee27d: Pulling fs layer 11:06:26 213ec9aee27d: Verifying Checksum 11:06:26 213ec9aee27d: Download complete 11:06:26 213ec9aee27d: Pull complete 11:06:26 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:06:26 Status: Downloaded newer image for alpine:3.16 11:06:26 ---> 9c6f07244728 11:06:26 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:26 ---> Running in c905b9696cd6 11:06:26 Removing intermediate container c905b9696cd6 11:06:26 ---> 50948dbbb5ce 11:06:26 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:26 ---> Running in 8fb7d2b4e41a 11:06:26 Removing intermediate container 8fb7d2b4e41a 11:06:26 ---> 6cb1db043671 11:06:26 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:06:26 ---> Running in f6834774e16d 11:06:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7512 in /w/workspace/foundry_device-virtual-go_PR-312 [Pipeline] { [Pipeline] ws 11:06:28 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:28 The recommended git tool is: git 11:06:28 (1/6) Installing dumb-init (1.2.5-r1) 11:06:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:06:28 (3/6) Installing libsodium (1.0.18-r0) 11:06:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:06:28 (5/6) Installing libzmq (4.3.4-r0) 11:06:28 (6/6) Installing zeromq (4.3.4-r0) 11:06:28 Executing busybox-1.35.0-r17.trigger 11:06:28 OK: 8 MiB in 20 packages 11:06:29 Removing intermediate container f6834774e16d 11:06:29 ---> 571eccb521e5 11:06:29 Step 18/27 : WORKDIR / 11:06:29 ---> Running in a83b8dad0a79 11:06:29 Removing intermediate container a83b8dad0a79 11:06:29 ---> 2e06ce040b46 11:06:29 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:29 ---> c73cc2ba7afd 11:06:29 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:30 ---> f58d260b1324 11:06:30 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:06:30 ---> 798ce8191703 11:06:30 Step 22/27 : EXPOSE 59900 11:06:30 ---> Running in 38abcbe7a1c1 11:06:31 Removing intermediate container 38abcbe7a1c1 11:06:31 ---> 3985764231ff 11:06:31 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:06:31 ---> Running in c5a3e525a1aa 11:06:31 Removing intermediate container c5a3e525a1aa 11:06:31 ---> 9734f9a5214c 11:06:31 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:31 ---> Running in 2bf1648ae56e 11:06:31 Removing intermediate container 2bf1648ae56e 11:06:31 ---> ae20241b7b0f 11:06:31 Step 25/27 : LABEL arch=amd64 11:06:31 ---> Running in 2e33b71c4a89 11:06:31 Removing intermediate container 2e33b71c4a89 11:06:31 ---> 79823ed91c24 11:06:31 Step 26/27 : LABEL git_sha=d2e3cdc578848e8e23285bbc4f790694862dfab8 11:06:31 ---> Running in fc412b4ec0c3 11:06:31 Removing intermediate container fc412b4ec0c3 11:06:31 ---> d3d3c22be984 11:06:31 Step 27/27 : LABEL version=0.0.0 11:06:31 ---> Running in 854df583b728 11:06:31 Removing intermediate container 854df583b728 11:06:31 ---> bd7b6adc5048 11:06:31 [Warning] One or more build-args [ARCH] were not consumed 11:06:31 Successfully built bd7b6adc5048 11:06:31 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:32 11:06:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:33 latest: Pulling from edgex-lftools-log-publisher 11:06:33 5eb5b503b376: Pulling fs layer 11:06:33 5c69ac0246d0: Pulling fs layer 11:06:33 ec43610c2a17: Pulling fs layer 11:06:33 3a2ae6a8a46f: Pulling fs layer 11:06:33 33b1e0a273af: Pulling fs layer 11:06:33 5d3b04190fa2: Pulling fs layer 11:06:33 2f39f015ded8: Pulling fs layer 11:06:33 33b1e0a273af: Waiting 11:06:33 5d3b04190fa2: Waiting 11:06:33 2f39f015ded8: Waiting 11:06:33 3a2ae6a8a46f: Waiting 11:06:33 5c69ac0246d0: Download complete 11:06:33 3a2ae6a8a46f: Verifying Checksum 11:06:33 3a2ae6a8a46f: Download complete 11:06:33 33b1e0a273af: Verifying Checksum 11:06:33 33b1e0a273af: Download complete 11:06:33 ec43610c2a17: Verifying Checksum 11:06:33 ec43610c2a17: Download complete 11:06:33 5d3b04190fa2: Download complete 11:06:33 5eb5b503b376: Verifying Checksum 11:06:33 5eb5b503b376: Download complete 11:06:33 using credential edgex-jenkins-ssh 11:06:33 Cloning the remote Git repository 11:06:33 2f39f015ded8: Verifying Checksum 11:06:33 2f39f015ded8: Download complete 11:06:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:33 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:33 > git --version # timeout=10 11:06:33 > git --version # 'git version 2.25.1' 11:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:33 Verifying host key using known hosts file 11:06:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:34 5eb5b503b376: Pull complete 11:06:34 5c69ac0246d0: Pull complete 11:06:35 ec43610c2a17: Pull complete 11:06:35 3a2ae6a8a46f: Pull complete 11:06:35 33b1e0a273af: Pull complete 11:06:35 5d3b04190fa2: Pull complete 11:06:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:36 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:36 Verifying host key using known hosts file 11:06:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:06:37 Merging remotes/origin/main commit 38745b3e9e40de14badf8d6af86e73ac7698b39c into PR head commit d2e3cdc578848e8e23285bbc4f790694862dfab8 11:06:37 Merge succeeded, producing d2e3cdc578848e8e23285bbc4f790694862dfab8 11:06:37 Checking out Revision d2e3cdc578848e8e23285bbc4f790694862dfab8 (PR-312) 11:06:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:06:37 > git --version # timeout=10 11:06:37 > git --version # 'git version 2.25.1' 11:06:38 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 11:06:37 > git config core.sparsecheckout # timeout=10 11:06:37 > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 11:06:37 > git remote # timeout=10 11:06:37 > git config --get remote.origin.url # timeout=10 11:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:37 Verifying host key using known hosts file 11:06:37 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:37 > git merge 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 11:06:37 > git rev-parse HEAD^{commit} # timeout=10 11:06:37 > git config core.sparsecheckout # timeout=10 11:06:37 > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 11:06:38 11:06:38 GitHub has been notified of this commit’s build result 11:06:38 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:06:39 % Total % Received % Xferd Average Speed Time Time Time Current 11:06:39 Dload Upload Total Spent Left Speed 11:06:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 11:06:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 11:06:39 2f39f015ded8: Pull complete [Pipeline] sh 11:06:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 11:06:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:06:40 + sudo tee /etc/docker/daemon.new 11:06:40 { 11:06:40 "registry-mirrors": [ 11:06:40 "https://nexus3.edgexfoundry.org:10001" 11:06:40 ], 11:06:40 "bip": "10.250.0.254/24", 11:06:40 "hosts": [ 11:06:40 "tcp://0.0.0.0:5555", 11:06:40 "unix:///var/run/docker.sock" 11:06:40 ], 11:06:40 "mtu": 1458, 11:06:40 "selinux-enabled": true, 11:06:40 "seccomp-profile": "/etc/docker/seccomp.json" 11:06:40 } [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:40 prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container 11:06:40 $ 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-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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:06:44 $ docker top 421108a1fd452088a9835cf9a64cf23ab69ee6f9566169a28d5e8a6831cc3aa8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 11:06:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:06:45 ---> job-cost.sh 11:06:45 lf-activate-venv: SKIPPING 11:06:45 INFO: No Stack... 11:06:45 + sudo service docker restart 11:06:46 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:46 INFO: Archiving Costs [Pipeline] sh 11:06:46 + cat /w/workspace/foundry_device-virtual-go_PR-312/archives/cost.csv 11:06:46 + cut -d, -f6 [Pipeline] lock 11:06:46 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] 11:06:46 Resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] did not exist. Created. 11:06:46 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:47 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:47 Stashed 1 file(s) [Pipeline] } 11:06:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:06:47 $ docker stop --time=1 421108a1fd452088a9835cf9a64cf23ab69ee6f9566169a28d5e8a6831cc3aa8 11:06:48 $ docker rm -f 421108a1fd452088a9835cf9a64cf23ab69ee6f9566169a28d5e8a6831cc3aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:04 provisioning config files... 11:07:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12387720776015541046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:04 ---> docker-login.sh 11:07:04 nexus3.edgexfoundry.org:10001 11:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:04 Configure a credential helper to remove this warning. See 11:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:04 11:07:04 Login Succeeded 11:07:04 nexus3.edgexfoundry.org:10002 11:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:05 Configure a credential helper to remove this warning. See 11:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:05 11:07:05 Login Succeeded 11:07:05 nexus3.edgexfoundry.org:10003 11:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:05 Configure a credential helper to remove this warning. See 11:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:05 11:07:05 Login Succeeded 11:07:05 nexus3.edgexfoundry.org:10004 11:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:06 Configure a credential helper to remove this warning. See 11:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:06 11:07:06 Login Succeeded 11:07:06 docker.io 11:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:06 Configure a credential helper to remove this warning. See 11:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:06 11:07:06 Login Succeeded 11:07:06 ---> docker-login.sh ends [Pipeline] } 11:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:07 ========================================================= 11:07:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:07:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:07:08 Sending build context to Docker daemon 11.74MB 11:07:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:07:08 Step 2/13 : FROM ${BASE} AS builder 11:07:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:08 b3c136eddcbf: Pulling fs layer 11:07:08 c0a3192eca97: Pulling fs layer 11:07:08 a050256f5b6f: Pulling fs layer 11:07:08 656be50a0ddc: Pulling fs layer 11:07:08 2bbca73fdf42: Pulling fs layer 11:07:08 f607e4fc86c3: Pulling fs layer 11:07:08 4d572c569a2c: Pulling fs layer 11:07:08 fcf976331f73: Pulling fs layer 11:07:08 656be50a0ddc: Waiting 11:07:08 2bbca73fdf42: Waiting 11:07:08 f607e4fc86c3: Waiting 11:07:08 4d572c569a2c: Waiting 11:07:08 fcf976331f73: Waiting 11:07:08 a050256f5b6f: Verifying Checksum 11:07:08 a050256f5b6f: Download complete 11:07:08 c0a3192eca97: Verifying Checksum 11:07:08 c0a3192eca97: Download complete 11:07:08 2bbca73fdf42: Verifying Checksum 11:07:08 2bbca73fdf42: Download complete 11:07:08 f607e4fc86c3: Verifying Checksum 11:07:08 f607e4fc86c3: Download complete 11:07:08 b3c136eddcbf: Verifying Checksum 11:07:08 b3c136eddcbf: Download complete 11:07:09 b3c136eddcbf: Pull complete 11:07:09 fcf976331f73: Verifying Checksum 11:07:09 fcf976331f73: Download complete 11:07:09 c0a3192eca97: Pull complete 11:07:10 a050256f5b6f: Pull complete 11:07:10 4d572c569a2c: Verifying Checksum 11:07:10 4d572c569a2c: Download complete 11:07:11 656be50a0ddc: Verifying Checksum 11:07:11 656be50a0ddc: Download complete 11:07:23 656be50a0ddc: Pull complete 11:07:23 2bbca73fdf42: Pull complete 11:07:23 f607e4fc86c3: Pull complete 11:07:30 4d572c569a2c: Pull complete 11:07:32 fcf976331f73: Pull complete 11:07:32 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 11:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:07:32 ---> 3970a7415f9e 11:07:32 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:33 ---> Running in 81d83398aeb0 11:07:33 Removing intermediate container 81d83398aeb0 11:07:33 ---> b72b10e2eaaf 11:07:33 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:07:33 ---> Running in a2d51aa5f805 11:07:33 Removing intermediate container a2d51aa5f805 11:07:33 ---> d88dcf0281a9 11:07:33 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:07:33 ---> Running in e6bfc325d9f8 11:07:34 Removing intermediate container e6bfc325d9f8 11:07:34 ---> bd77c5f6196c 11:07:34 Step 6/13 : WORKDIR /device-virtual-go 11:07:34 ---> Running in 4516b6443a50 11:07:34 Removing intermediate container 4516b6443a50 11:07:34 ---> fae5d4eed0f8 11:07:34 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:34 ---> Running in bbf4daea77af 11:07:36 Removing intermediate container bbf4daea77af 11:07:36 ---> f77f1b4f0690 11:07:36 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:36 ---> Running in d9126bcdb340 11:07:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:07:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:07:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:07:39 (2/4) Installing libedit (20210910.3.1-r0) 11:07:39 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:07:39 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:07:39 Executing busybox-1.35.0-r13.trigger 11:07:39 OK: 226 MiB in 55 packages 11:07:40 Removing intermediate container d9126bcdb340 11:07:40 ---> c29a32d895cd 11:07:40 Step 9/13 : COPY go.mod vendor* ./ 11:07:41 ---> fc1dade998f3 11:07:41 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:41 ---> Running in 8358b8d14c7c 11:08:28 Removing intermediate container 8358b8d14c7c 11:08:28 ---> ff6aeed1ae31 11:08:28 Step 11/13 : COPY . . 11:08:28 ---> 9480f72ab1a8 11:08:28 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:28 ---> Running in 88458d4b25a4 11:08:28 Removing intermediate container 88458d4b25a4 11:08:28 ---> 0e1955023970 11:08:28 Step 13/13 : RUN $MAKE 11:08:28 ---> Running in 54c7e5636ac9 11:08:28 noop 11:08:28 Removing intermediate container 54c7e5636ac9 11:08:28 ---> 4b1da2b19c0d 11:08:28 Successfully built 4b1da2b19c0d 11:08:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:29 + docker inspect -f . ci-base-image-arm64 11:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:29 prd-ubuntu20.04-docker-arm64-4c-16g-7512 does not seem to be running inside a container 11:08:29 $ 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:08:30 $ docker top 3d6fb96e2e4950bf430ff1c8bb0347e4eb630e588549637afb3e0764949a4828 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:31 + go version 11:08:31 go version go1.18.3 linux/arm64 [Pipeline] } 11:08:31 $ docker stop --time=1 3d6fb96e2e4950bf430ff1c8bb0347e4eb630e588549637afb3e0764949a4828 11:08:33 $ docker rm -f 3d6fb96e2e4950bf430ff1c8bb0347e4eb630e588549637afb3e0764949a4828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:34 + docker inspect -f . ci-base-image-arm64 11:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:34 prd-ubuntu20.04-docker-arm64-4c-16g-7512 does not seem to be running inside a container 11:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:35 $ docker top 5651bdd40bf90e021c4ef5428e8572512a4c99e6625032918a407b910ac66b48 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:35 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:08:36 + make test 11:08:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:09:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:09:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements 11:09:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:09:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:18 ./bin/test-attribution-txt.sh [Pipeline] echo 11:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:18 $ docker stop --time=1 5651bdd40bf90e021c4ef5428e8572512a4c99e6625032918a407b910ac66b48 11:10:19 $ docker rm -f 5651bdd40bf90e021c4ef5428e8572512a4c99e6625032918a407b910ac66b48 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:20 Warning: overwriting stash ‘coverage-report’ 11:10:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:22 + ls -al . 11:10:22 total 196 11:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:08 . 11:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:06 .. 11:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:06 .git 11:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:06 .github 11:10:22 -rw-rw-r-- 1 jenkins jenkins 337 Oct 10 11:06 .gitignore 11:10:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 11:06 .golangci.yml 11:10:22 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 10 11:06 Attribution.txt 11:10:22 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 10 11:06 CHANGELOG.md 11:10:22 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 10 11:06 Dockerfile 11:10:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 11:06 GOVERNANCE.md 11:10:22 -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 11:06 Jenkinsfile 11:10:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 11:06 LICENSE 11:10:22 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 10 11:06 Makefile 11:10:22 -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 11:06 OWNERS.md 11:10:22 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 10 11:06 README.md 11:10:22 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 11:04 VERSION 11:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 11:06 bin 11:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:06 cmd 11:10:22 -rw-r--r-- 1 jenkins jenkins 44128 Oct 10 11:09 coverage.out 11:10:22 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 10 11:06 go.mod 11:10:22 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 10 11:06 go.sum 11:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:06 internal 11:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:06 snap 11:10:22 -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:22 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d2e3cdc578848e8e23285bbc4f790694862dfab8 --label arch=arm64 --label version=0.0.0 . 11:10:22 Sending build context to Docker daemon 11.78MB 11:10:22 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:10:22 Step 2/27 : FROM ${BASE} AS builder 11:10:22 ---> 4b1da2b19c0d 11:10:22 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:23 ---> Running in afefa6559ed4 11:10:23 Removing intermediate container afefa6559ed4 11:10:23 ---> 444a3c44a1d4 11:10:23 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:10:23 ---> Running in 2bd3000a6281 11:10:23 Removing intermediate container 2bd3000a6281 11:10:23 ---> 7c506dccfe56 11:10:23 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:10:23 ---> Running in ad798e22b1ea 11:10:23 Removing intermediate container ad798e22b1ea 11:10:23 ---> c66de322fd83 11:10:23 Step 6/27 : WORKDIR /device-virtual-go 11:10:24 ---> Running in c7263e8a738d 11:10:24 Removing intermediate container c7263e8a738d 11:10:24 ---> 5bb4b6245caa 11:10:24 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:24 ---> Running in 7735a520f720 11:10:25 Removing intermediate container 7735a520f720 11:10:25 ---> a2da07c3ef8c 11:10:25 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:26 ---> Running in 56633030d538 11:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:10:28 OK: 226 MiB in 55 packages 11:10:29 Removing intermediate container 56633030d538 11:10:29 ---> f863162cf2f0 11:10:29 Step 9/27 : COPY go.mod vendor* ./ 11:10:29 ---> 8b13d262a465 11:10:29 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:30 ---> Running in c75bbb778acf 11:10:32 Removing intermediate container c75bbb778acf 11:10:32 ---> b9e472a45014 11:10:32 Step 11/27 : COPY . . 11:10:33 ---> ced73f3c32ce 11:10:33 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:33 ---> Running in 1a01b1ae289d 11:10:33 Removing intermediate container 1a01b1ae289d 11:10:33 ---> 8c9efb4db328 11:10:33 Step 13/27 : RUN $MAKE 11:10:33 ---> Running in 5bc85a599576 11:10:34 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:13:11 Removing intermediate container 5bc85a599576 11:13:11 ---> 5d365914d496 11:13:11 Step 14/27 : FROM alpine:3.16 11:13:11 3.16: Pulling from library/alpine 11:13:11 9b18e9b68314: Pulling fs layer 11:13:11 9b18e9b68314: Verifying Checksum 11:13:11 9b18e9b68314: Download complete 11:13:11 9b18e9b68314: Pull complete 11:13:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:13:11 Status: Downloaded newer image for alpine:3.16 11:13:11 ---> a6215f271958 11:13:11 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:11 ---> Running in b15e41233cd5 11:13:11 Removing intermediate container b15e41233cd5 11:13:11 ---> 10d36216de0b 11:13:11 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:11 ---> Running in 3dce88e44b21 11:13:11 Removing intermediate container 3dce88e44b21 11:13:11 ---> 19a67e07a1f9 11:13:11 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:13:11 ---> Running in 2c5a2e894038 11:13:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:11 (1/6) Installing dumb-init (1.2.5-r1) 11:13:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:13:11 (3/6) Installing libsodium (1.0.18-r0) 11:13:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:13:11 (5/6) Installing libzmq (4.3.4-r0) 11:13:11 (6/6) Installing zeromq (4.3.4-r0) 11:13:11 Executing busybox-1.35.0-r17.trigger 11:13:11 OK: 8 MiB in 20 packages 11:13:11 Removing intermediate container 2c5a2e894038 11:13:11 ---> f564a997857c 11:13:11 Step 18/27 : WORKDIR / 11:13:11 ---> Running in 872ca34b885e 11:13:11 Removing intermediate container 872ca34b885e 11:13:11 ---> 42aedf742a86 11:13:11 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:11 ---> f2ca64dfff6d 11:13:11 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:11 ---> 0dfc89cb674f 11:13:11 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:13:11 ---> ac08012d571d 11:13:11 Step 22/27 : EXPOSE 59900 11:13:11 ---> Running in 6cb5c2524009 11:13:11 Removing intermediate container 6cb5c2524009 11:13:11 ---> b5f5dfc66b6a 11:13:11 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:13:11 ---> Running in aedb2494ce46 11:13:11 Removing intermediate container aedb2494ce46 11:13:11 ---> 2509bba7fbe1 11:13:11 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:11 ---> Running in 2b0acba184f9 11:13:11 Removing intermediate container 2b0acba184f9 11:13:11 ---> 69b875d30bb0 11:13:11 Step 25/27 : LABEL arch=arm64 11:13:11 ---> Running in b80d37c59fd8 11:13:11 Removing intermediate container b80d37c59fd8 11:13:11 ---> 5195fa6e3873 11:13:11 Step 26/27 : LABEL git_sha=d2e3cdc578848e8e23285bbc4f790694862dfab8 11:13:12 ---> Running in 89e8033da9a9 11:13:12 Removing intermediate container 89e8033da9a9 11:13:12 ---> 618a2629de7a 11:13:12 Step 27/27 : LABEL version=0.0.0 11:13:12 ---> Running in 5f2a3bcdd90b 11:13:12 Removing intermediate container 5f2a3bcdd90b 11:13:12 ---> d4230d3fd3d0 11:13:12 [Warning] One or more build-args [ARCH] were not consumed 11:13:12 Successfully built d4230d3fd3d0 11:13:12 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:13 11:13:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:13 arm64: Pulling from edgex-lftools-log-publisher 11:13:13 8998bd30e6a1: Pulling fs layer 11:13:13 04944245beec: Pulling fs layer 11:13:13 699f458cf7ca: Pulling fs layer 11:13:13 765212b225bb: Pulling fs layer 11:13:13 f23df028b6ca: Pulling fs layer 11:13:13 d65c8cfc05b1: Pulling fs layer 11:13:13 2437ff75d9bd: Pulling fs layer 11:13:13 765212b225bb: Waiting 11:13:13 f23df028b6ca: Waiting 11:13:13 d65c8cfc05b1: Waiting 11:13:13 2437ff75d9bd: Waiting 11:13:14 04944245beec: Verifying Checksum 11:13:14 04944245beec: Download complete 11:13:14 765212b225bb: Verifying Checksum 11:13:14 765212b225bb: Download complete 11:13:14 f23df028b6ca: Verifying Checksum 11:13:14 f23df028b6ca: Download complete 11:13:14 d65c8cfc05b1: Verifying Checksum 11:13:14 d65c8cfc05b1: Download complete 11:13:14 699f458cf7ca: Verifying Checksum 11:13:14 699f458cf7ca: Download complete 11:13:14 8998bd30e6a1: Verifying Checksum 11:13:14 8998bd30e6a1: Download complete 11:13:17 2437ff75d9bd: Verifying Checksum 11:13:17 2437ff75d9bd: Download complete 11:13:18 8998bd30e6a1: Pull complete 11:13:18 04944245beec: Pull complete 11:13:20 699f458cf7ca: Pull complete 11:13:20 765212b225bb: Pull complete 11:13:21 f23df028b6ca: Pull complete 11:13:21 d65c8cfc05b1: Pull complete 11:13:36 2437ff75d9bd: Pull complete 11:13:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:36 prd-ubuntu20.04-docker-arm64-4c-16g-7512 does not seem to be running inside a container 11:13:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:39 $ docker top dbdf2b85c65f2ef70041b8fdcb0760c2f64cc2aa5e31c8c2823b8ec46dd77674 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:40 ---> job-cost.sh 11:13:40 lf-activate-venv: SKIPPING 11:13:40 INFO: No Stack... 11:13:40 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:41 INFO: Archiving Costs [Pipeline] sh 11:13:41 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:41 + cut -d, -f6 [Pipeline] lock 11:13:41 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] 11:13:41 Resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] did not exist. Created. 11:13:41 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:42 /w/workspace/device-virtual-go/1@tmp/durable-f2132929/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:42 + echo total: 0.10999999940395355 [Pipeline] stash 11:13:42 Warning: overwriting stash ‘stack-cost’ 11:13:42 Stashed 1 file(s) [Pipeline] } 11:13:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:42 $ docker stop --time=1 dbdf2b85c65f2ef70041b8fdcb0760c2f64cc2aa5e31c8c2823b8ec46dd77674 11:13:44 $ docker rm -f dbdf2b85c65f2ef70041b8fdcb0760c2f64cc2aa5e31c8c2823b8ec46dd77674 [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:13:45 provisioning config files... 11:13:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config12803788797924337383tmp [Pipeline] { [Pipeline] sh 11:13:45 + set +x 11:13:45 + curl -s https://codecov.io/bash 11:13:45 + bash -s -- 11:13:45 11:13:45 _____ _ 11:13:45 / ____| | | 11:13:45 | | ___ __| | ___ ___ _____ __ 11:13:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:13:45 | |___| (_) | (_| | __/ (_| (_) \ V / 11:13:45 \_____\___/ \__,_|\___|\___\___/ \_/ 11:13:45 Bash-1.0.6 11:13:45 11:13:45 11:13:45 ==> git version 2.25.1 found 11:13:45 ==> 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:13:45 Release-Date: 2020-01-08 11:13:45 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:13:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:13:45 ==> Jenkins CI detected. 11:13:45 current dir:  /w/workspace/foundry_device-virtual-go_PR-312 11:13:45 project root: . 11:13:45 --> token set from env 11:13:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:13:45 ==> Running gcov in . (disable via -X gcov) 11:13:45 ==> Python coveragepy not found 11:13:45 ==> Searching for coverage reports in: 11:13:45 + . 11:13:45 -> Found 1 reports 11:13:45 ==> Detecting git/mercurial file structure 11:13:45 ==> Reading reports 11:13:45 + ./coverage.out bytes=44128 11:13:45 ==> Appending adjustments 11:13:45 https://docs.codecov.io/docs/fixing-reports 11:13:45 + Found adjustments 11:13:45 ==> Gzipping contents 11:13:45 8.0K /tmp/codecov.7kd38i.gz 11:13:45 ==> Uploading reports 11:13:45 url: https://codecov.io 11:13:45 query: branch=PR-312&commit=d2e3cdc578848e8e23285bbc4f790694862dfab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=312&job=&cmd_args= 11:13:45 -> Pinging Codecov 11:13:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-312&commit=d2e3cdc578848e8e23285bbc4f790694862dfab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=312&job=&cmd_args= 11:13:46 -> Uploading to 11:13:46 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/5E52B4B073DB2E39498172D8E973AA87/d2e3cdc578848e8e23285bbc4f790694862dfab8/56fc606b-b852-44e9-94ff-79bc3f5b4898.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T111346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66a053a0d884f84b34412641eb9176e15be15ae09dacf482cc38972135f4ee9f 11:13:46 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:46 Dload Upload Total Spent Left Speed 11:13:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5482 0 0 100 5482 0 19302 --:--:-- --:--:-- --:--:-- 19302 11:13:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] } 11:13:46 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:13:48 + [ -d /w/workspace/foundry_device-virtual-go_PR-312/archives ] 11:13:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-312/archives 11:13:48 total 16 11:13:48 drwxr-xr-x 3 root root 4096 Oct 10 11:06 . 11:13:48 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 11:06 .. 11:13:48 drwxr-xr-x 2 root root 4096 Oct 10 11:06 cost 11:13:48 -rw-r--r-- 1 root root 89 Oct 10 11:06 cost.csv 11:13:48 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-312/archives 11:13:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-312/archives 11:13:48 total 16 11:13:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 11:06 . 11:13:48 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 11:06 .. 11:13:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 11:06 cost 11:13:48 -rw-r--r-- 1 jenkins jenkins 89 Oct 10 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:49 ---> package-listing.sh 11:13:49 ++ facter osfamily 11:13:49 ++ tr '[:upper:]' '[:lower:]' 11:13:49 + OS_FAMILY=debian 11:13:49 + workspace=/w/workspace/foundry_device-virtual-go_PR-312 11:13:49 + START_PACKAGES=/tmp/packages_start.txt 11:13:49 + END_PACKAGES=/tmp/packages_end.txt 11:13:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:49 + PACKAGES=/tmp/packages_start.txt 11:13:49 + '[' /w/workspace/foundry_device-virtual-go_PR-312 ']' 11:13:49 + PACKAGES=/tmp/packages_end.txt 11:13:49 + case "${OS_FAMILY}" in 11:13:49 + dpkg -l 11:13:49 + grep '^ii' 11:13:49 + '[' -f /tmp/packages_start.txt ']' 11:13:49 + '[' -f /tmp/packages_end.txt ']' 11:13:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:49 + '[' /w/workspace/foundry_device-virtual-go_PR-312 ']' 11:13:49 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-312/archives/ 11:13:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-312/archives/ [Pipeline] echo 11:13:49 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-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:13:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:50 prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container 11:13:50 $ 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-312/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-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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:13:51 $ docker top 98b9e7e3909737708b356a3ac234a9142de83f86231497e30903ac7c79c563f4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:51 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:51 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:52 + ls /var/log/sa-host 11:13:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:52 provisioning config files... 11:13:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config14299108289137943938tmp [Pipeline] { [Pipeline] echo 11:13:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:52 ---> create-netrc.sh [Pipeline] } 11:13:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:53 ---> python-tools-install.sh [Pipeline] echo 11:13:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:53 ---> sudo-logs.sh 11:13:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:54 ---> job-cost.sh 11:13:54 lf-activate-venv: SKIPPING 11:13:54 DEBUG: total: 0.2199999988079071 11:13:54 INFO: Retrieving Stack Cost... 11:13:54 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:54 INFO: Archiving Costs [Pipeline] echo 11:13:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:13:55 ---> logs-deploy.sh 11:13:55 lf-activate-venv: SKIPPING 11:13:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-312/1 11:13:55 INFO: archiving workspace using pattern(s): 11:13:56 Archives upload complete. 11:13:56 INFO: archiving logs to Nexus 11:13:57 ---> uname -a: 11:13:57 Linux prd-ubuntu20-04-docker-8c-8g-7511 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:13:57 11:13:57 11:13:57 ---> lscpu: 11:13:57 Architecture: x86_64 11:13:57 CPU op-mode(s): 32-bit, 64-bit 11:13:57 Byte Order: Little Endian 11:13:57 Address sizes: 40 bits physical, 48 bits virtual 11:13:57 CPU(s): 8 11:13:57 On-line CPU(s) list: 0-7 11:13:57 Thread(s) per core: 1 11:13:57 Core(s) per socket: 1 11:13:57 Socket(s): 8 11:13:57 NUMA node(s): 1 11:13:57 Vendor ID: AuthenticAMD 11:13:57 CPU family: 23 11:13:57 Model: 49 11:13:57 Model name: AMD EPYC-Rome Processor 11:13:57 Stepping: 0 11:13:57 CPU MHz: 2800.002 11:13:57 BogoMIPS: 5600.00 11:13:57 Virtualization: AMD-V 11:13:57 Hypervisor vendor: KVM 11:13:57 Virtualization type: full 11:13:57 L1d cache: 256 KiB 11:13:57 L1i cache: 256 KiB 11:13:57 L2 cache: 4 MiB 11:13:57 L3 cache: 128 MiB 11:13:57 NUMA node0 CPU(s): 0-7 11:13:57 Vulnerability Itlb multihit: Not affected 11:13:57 Vulnerability L1tf: Not affected 11:13:57 Vulnerability Mds: Not affected 11:13:57 Vulnerability Meltdown: Not affected 11:13:57 Vulnerability Mmio stale data: Not affected 11:13:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:13:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:13:57 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:13:57 Vulnerability Srbds: Not affected 11:13:57 Vulnerability Tsx async abort: Not affected 11:13:57 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:13:57 11:13:57 11:13:57 ---> nproc: 11:13:57 8 11:13:57 11:13:57 11:13:57 ---> df -h: 11:13:57 Filesystem Size Used Avail Use% Mounted on 11:13:57 overlay 155G 12G 144G 8% / 11:13:57 tmpfs 64M 0 64M 0% /dev 11:13:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:13:57 shm 64M 0 64M 0% /dev/shm 11:13:57 /dev/vda1 155G 12G 144G 8% /facter-os 11:13:57 11:13:57 11:13:57 ---> sar -b -r -n DEV: 11:13:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7511) 10/10/22 _x86_64_ (8 CPU) 11:13:57 11:13:57 11:03:33 LINUX RESTART (8 CPU) 11:13:57 11:13:57 11:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:13:57 11:05:01 169.41 38.08 131.33 0.00 4262.36 77619.33 0.00 11:13:57 11:06:01 154.52 1.13 153.39 0.00 13.20 78496.78 0.00 11:13:57 11:07:01 154.25 0.03 154.22 0.00 4.93 69983.07 0.00 11:13:57 11:08:01 6.12 0.00 6.12 0.00 0.00 32007.88 0.00 11:13:57 11:09:01 40.43 9.35 31.08 0.00 2884.99 4953.44 0.00 11:13:57 11:10:01 1.77 0.00 1.77 0.00 0.00 20.93 0.00 11:13:57 11:11:01 1.18 0.00 1.18 0.00 0.00 12.80 0.00 11:13:57 11:12:01 0.88 0.00 0.88 0.00 0.00 10.80 0.00 11:13:57 11:13:01 1.13 0.00 1.13 0.00 0.00 12.53 0.00 11:13:57 Average: 58.86 5.40 53.46 0.00 796.15 29236.04 0.00 11:13:57 11:13:57 11:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:13:57 11:05:01 29142336 31580840 728016 2.21 75628 2640768 1966396 5.80 1003252 2375108 2172 11:13:57 11:06:01 28503484 31535700 761416 2.32 135048 3123972 2273188 6.70 1213304 2735192 336 11:13:57 11:07:01 27788468 31573748 720328 2.19 145736 3803840 1772724 5.22 1225468 3372748 312 11:13:57 11:08:01 27788028 31573492 720136 2.19 145816 3803840 1772724 5.22 1225104 3372752 172 11:13:57 11:09:01 27482408 31557992 732416 2.23 164440 4055224 1793796 5.29 1377952 3499828 316 11:13:57 11:10:01 27484524 31559940 731056 2.22 164480 4055220 1809848 5.33 1377600 3499788 236 11:13:57 11:11:01 27487100 31562544 728484 2.22 164504 4055224 1809848 5.33 1375152 3499792 12 11:13:57 11:12:01 27493656 31569556 721732 2.19 164536 4055220 1809848 5.33 1367636 3500172 196 11:13:57 11:13:01 27493600 31569532 721696 2.19 164560 4055228 1809848 5.33 1367652 3500172 12 11:13:57 Average: 27851512 31564816 729476 2.22 147194 3738726 1868691 5.51 1281458 3261728 418 11:13:57 11:13:57 11:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:13:57 11:05:01 docker0 81.10 94.83 6.46 301.13 0.00 0.00 0.00 0.00 11:13:57 11:05:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 11:13:57 11:05:01 vethd2f69cb 51.29 62.47 4.91 50.33 0.00 0.00 0.00 0.00 11:13:57 11:05:01 ens3 690.88 493.10 6772.79 99.45 0.00 0.00 0.00 0.00 11:13:57 11:06:01 docker0 72.84 113.11 6.29 1626.80 0.00 0.00 0.00 0.00 11:13:57 11:06:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 11:13:57 11:06:01 veth5421a31 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:06:01 ens3 159.94 120.58 1665.72 103.23 0.00 0.00 0.00 0.00 11:13:57 11:07:01 docker0 6.28 9.06 0.37 58.12 0.00 0.00 0.00 0.00 11:13:57 11:07:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 11:13:57 11:07:01 ens3 132.52 86.77 2641.59 17.80 0.00 0.00 0.00 0.00 11:13:57 11:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:13:57 11:08:01 ens3 0.82 0.80 0.05 0.07 0.00 0.00 0.00 0.00 11:13:57 11:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:09:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 11:13:57 11:09:01 ens3 87.42 56.16 1302.97 4.06 0.00 0.00 0.00 0.00 11:13:57 11:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:13:57 11:10:01 ens3 0.42 0.30 0.09 0.08 0.00 0.00 0.00 0.00 11:13:57 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:11:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:13:57 11:12:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 11:13:57 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 11:13:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 11:13:57 Average: docker0 17.80 24.11 1.46 220.67 0.00 0.00 0.00 0.00 11:13:57 Average: lo 1.08 1.08 0.10 0.10 0.00 0.00 0.00 0.00 11:13:57 Average: ens3 119.12 84.20 1375.94 24.97 0.00 0.00 0.00 0.00 11:13:57 11:13:57 11:13:57 ---> sar -P ALL: 11:13:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7511) 10/10/22 _x86_64_ (8 CPU) 11:13:57 11:13:57 11:03:33 LINUX RESTART (8 CPU) 11:13:57 11:13:57 11:04:01 CPU %user %nice %system %iowait %steal %idle 11:13:57 11:05:01 all 9.33 0.00 3.31 4.01 0.11 83.23 11:13:57 11:05:01 0 11.73 0.00 3.73 1.75 0.12 82.67 11:13:57 11:05:01 1 10.04 0.00 3.54 5.63 0.08 80.71 11:13:57 11:05:01 2 9.86 0.00 2.66 2.20 0.07 85.21 11:13:57 11:05:01 3 9.98 0.00 3.39 6.81 0.08 79.74 11:13:57 11:05:01 4 7.41 0.00 3.20 2.44 0.07 86.87 11:13:57 11:05:01 5 7.99 0.00 3.34 3.56 0.12 85.00 11:13:57 11:05:01 6 9.27 0.00 3.14 4.10 0.10 83.39 11:13:57 11:05:01 7 8.38 0.00 3.52 5.62 0.20 82.27 11:13:57 11:06:01 all 21.71 0.00 5.13 3.98 0.14 69.04 11:13:57 11:06:01 0 22.70 0.00 4.74 0.44 0.15 71.97 11:13:57 11:06:01 1 22.30 0.00 5.22 9.73 0.07 62.70 11:13:57 11:06:01 2 21.97 0.00 5.11 1.80 0.08 71.04 11:13:57 11:06:01 3 21.95 0.00 4.71 0.17 0.10 73.07 11:13:57 11:06:01 4 19.42 0.00 5.55 10.58 0.20 64.25 11:13:57 11:06:01 5 21.67 0.00 6.14 5.17 0.17 66.85 11:13:57 11:06:01 6 21.35 0.00 4.62 1.30 0.22 72.51 11:13:57 11:06:01 7 22.35 0.00 4.95 2.62 0.14 69.95 11:13:57 11:07:01 all 18.09 0.00 4.41 2.53 0.14 74.84 11:13:57 11:07:01 0 19.05 0.00 4.06 0.42 0.13 76.33 11:13:57 11:07:01 1 17.55 0.00 4.57 8.30 0.07 69.52 11:13:57 11:07:01 2 19.09 0.00 5.25 0.54 0.07 75.06 11:13:57 11:07:01 3 15.83 0.00 4.01 0.07 0.07 80.03 11:13:57 11:07:01 4 18.35 0.00 5.55 8.70 0.17 67.22 11:13:57 11:07:01 5 17.74 0.00 3.95 0.84 0.10 77.37 11:13:57 11:07:01 6 21.00 0.00 4.55 0.44 0.34 73.68 11:13:57 11:07:01 7 16.10 0.00 3.34 0.85 0.17 79.55 11:13:57 11:08:01 all 0.08 0.00 0.01 0.05 0.02 99.83 11:13:57 11:08:01 0 0.02 0.00 0.02 0.00 0.02 99.95 11:13:57 11:08:01 1 0.45 0.00 0.03 0.32 0.02 99.18 11:13:57 11:08:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:13:57 11:08:01 3 0.03 0.00 0.00 0.00 0.02 99.95 11:13:57 11:08:01 4 0.05 0.00 0.02 0.00 0.02 99.92 11:13:57 11:08:01 5 0.05 0.00 0.00 0.00 0.02 99.93 11:13:57 11:08:01 6 0.05 0.00 0.03 0.00 0.02 99.90 11:13:57 11:08:01 7 0.02 0.00 0.02 0.12 0.07 99.78 11:13:57 11:09:01 all 1.33 0.00 0.87 1.66 0.03 96.12 11:13:57 11:09:01 0 1.67 0.00 0.88 0.93 0.02 96.50 11:13:57 11:09:01 1 1.10 0.00 0.42 7.25 0.02 91.21 11:13:57 11:09:01 2 1.70 0.00 2.15 0.30 0.02 95.83 11:13:57 11:09:01 3 0.72 0.00 0.57 0.53 0.02 98.16 11:13:57 11:09:01 4 1.44 0.00 0.69 1.92 0.05 95.91 11:13:57 11:09:01 5 1.19 0.00 0.65 0.15 0.03 97.98 11:13:57 11:09:01 6 0.70 0.00 0.72 0.43 0.02 98.13 11:13:57 11:09:01 7 2.14 0.00 0.85 1.74 0.05 95.21 11:13:57 11:10:01 all 0.25 0.00 0.02 0.02 0.02 99.69 11:13:57 11:10:01 0 0.00 0.00 0.03 0.00 0.00 99.97 11:13:57 11:10:01 1 1.84 0.00 0.03 0.00 0.10 98.03 11:13:57 11:10:01 2 0.00 0.00 0.03 0.00 0.00 99.97 11:13:57 11:10:01 3 0.02 0.00 0.02 0.00 0.00 99.97 11:13:57 11:10:01 4 0.03 0.00 0.02 0.13 0.05 99.77 11:13:57 11:10:01 5 0.05 0.00 0.02 0.00 0.00 99.93 11:13:57 11:10:01 6 0.00 0.00 0.03 0.00 0.02 99.95 11:13:57 11:10:01 7 0.00 0.00 0.02 0.00 0.00 99.98 11:13:57 11:11:01 all 0.06 0.00 0.01 0.02 0.01 99.89 11:13:57 11:11:01 0 0.00 0.00 0.00 0.00 0.02 99.98 11:13:57 11:11:01 1 0.35 0.00 0.03 0.00 0.03 99.58 11:13:57 11:11:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:13:57 11:11:01 3 0.03 0.00 0.02 0.00 0.02 99.93 11:13:57 11:11:01 4 0.05 0.00 0.05 0.15 0.00 99.75 11:13:57 11:11:01 5 0.03 0.00 0.02 0.00 0.02 99.93 11:13:57 11:11:01 6 0.03 0.00 0.00 0.00 0.00 99.97 11:13:57 11:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 11:13:57 11:12:01 all 0.03 0.00 0.01 0.04 0.00 99.91 11:13:57 11:12:01 0 0.02 0.00 0.02 0.00 0.00 99.97 11:13:57 11:12:01 1 0.23 0.00 0.00 0.00 0.02 99.75 11:13:57 11:12:01 2 0.00 0.00 0.02 0.00 0.00 99.98 11:13:57 11:12:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:13:57 11:12:01 4 0.00 0.00 0.02 0.32 0.02 99.65 11:13:57 11:12:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:13:57 11:12:01 6 0.00 0.00 0.03 0.00 0.00 99.97 11:13:57 11:12:01 7 0.00 0.00 0.02 0.00 0.00 99.98 11:13:57 11:13:01 all 0.07 0.00 0.01 0.02 0.02 99.89 11:13:57 11:13:01 0 0.00 0.00 0.00 0.00 0.02 99.98 11:13:57 11:13:01 1 0.37 0.00 0.00 0.00 0.00 99.63 11:13:57 11:13:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:13:57 11:13:01 3 0.02 0.00 0.02 0.00 0.02 99.95 11:13:57 11:13:01 4 0.03 0.00 0.02 0.15 0.00 99.80 11:13:57 11:13:01 5 0.05 0.00 0.00 0.00 0.00 99.95 11:13:57 11:13:01 6 0.07 0.00 0.02 0.00 0.08 99.83 11:13:57 11:13:01 7 0.02 0.00 0.00 0.00 0.02 99.97 11:13:57 Average: all 5.62 0.00 1.52 1.36 0.05 91.45 11:13:57 Average: 0 6.09 0.00 1.49 0.39 0.05 91.98 11:13:57 Average: 1 5.99 0.00 1.53 3.45 0.04 88.98 11:13:57 Average: 2 5.80 0.00 1.68 0.54 0.03 91.96 11:13:57 Average: 3 5.35 0.00 1.40 0.84 0.04 92.37 11:13:57 Average: 4 5.15 0.00 1.66 2.69 0.06 90.44 11:13:57 Average: 5 5.38 0.00 1.56 1.07 0.05 91.94 11:13:57 Average: 6 5.77 0.00 1.45 0.69 0.09 92.00 11:13:57 Average: 7 5.38 0.00 1.40 1.21 0.07 91.94 11:13:57 11:13:57 11:13:57