Pull request #304 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55c9ed191447c380b145ab73e4237033d9a94992+76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 (3528cd281dacc4fa1fb251b5668ec76c962d3757) 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-ssh525372924830866388.key > 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-ssh16843845586276933632.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-304/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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6358234296611306015.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16024471228058265719.key > 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-ssh15801845284574791668.key > 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-304/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-304/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10783601256168507136.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-28946 in /w/workspace/foundry_device-virtual-go_PR-304 [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-304 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 into PR head commit 55c9ed191447c380b145ab73e4237033d9a94992 Merge succeeded, producing 55c9ed191447c380b145ab73e4237033d9a94992 Checking out Revision 55c9ed191447c380b145ab73e4237033d9a94992 (PR-304) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:28 ========================================================= 11:04:28 EdgeX Global Pipelines Version Info 11:04:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:29 ------------------- 11:04:29 stable info: 11:04:29 ------------------- 11:04:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:29 Message: update stable to v1.0.239 11:04:30 ------------------- 11:04:30 experimental info: 11:04:30 ------------------- 11:04:30 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:30 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-304 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-304 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-304 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55c9ed1 [Pipeline] echo 11:04:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:31 provisioning config files... 11:04:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config2007213560727733675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:32 ---> docker-login.sh 11:04:32 nexus3.edgexfoundry.org:10001 11:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:32 Configure a credential helper to remove this warning. See 11:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:32 11:04:32 Login Succeeded 11:04:32 nexus3.edgexfoundry.org:10002 11:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:32 Configure a credential helper to remove this warning. See 11:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:32 11:04:32 Login Succeeded 11:04:32 nexus3.edgexfoundry.org:10003 11:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:33 Configure a credential helper to remove this warning. See 11:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:33 11:04:33 Login Succeeded 11:04:33 nexus3.edgexfoundry.org:10004 11:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:33 Configure a credential helper to remove this warning. See 11:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:33 11:04:33 Login Succeeded 11:04:33 docker.io 11:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:33 Configure a credential helper to remove this warning. See 11:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:33 11:04:33 Login Succeeded 11:04:33 ---> docker-login.sh ends [Pipeline] } 11:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:34 + git rev-list -1 --merges 55c9ed191447c380b145ab73e4237033d9a94992~1..55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo 11:04:34 -----------> git rev-list -1 --merges 55c9ed191447c380b145ab73e4237033d9a94992~1..55c9ed191447c380b145ab73e4237033d9a94992 55c9ed191447c380b145ab73e4237033d9a94992 [false] [Pipeline] sh 11:04:34 + git log --format=format:%s -1 55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo 11:04:34 ========================================================= 11:04:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:35 + git log --format=format:%s -1 55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo 11:04:35 [semverPrep] GIT_COMMIT: 55c9ed191447c380b145ab73e4237033d9a94992, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:35 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:35 + grep -v github /etc/ssh/ssh_known_hosts 11:04:35 + [ -e /tmp/ssh_known_hosts ] 11:04:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:35 + sudo tee -a /etc/ssh/ssh_known_hosts 11:04:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:36 11:04:36 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:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:36 0.1.4: Pulling from edgex-devops/py-git-semver 11:04:36 b85a868b505f: Pulling fs layer 11:04:36 e2be974225ed: Pulling fs layer 11:04:36 339a4e72a1f5: Pulling fs layer 11:04:36 988bab9f4d93: Pulling fs layer 11:04:36 1469e6f7b9e6: Pulling fs layer 11:04:36 988bab9f4d93: Waiting 11:04:36 1469e6f7b9e6: Waiting 11:04:36 eaf3925da568: Pulling fs layer 11:04:36 bab4dde63d76: Pulling fs layer 11:04:36 bde34c3a00c8: Pulling fs layer 11:04:36 b352a97aabf1: Pulling fs layer 11:04:36 4872d77fe225: Pulling fs layer 11:04:36 5851b861e8e6: Pulling fs layer 11:04:36 eaf3925da568: Waiting 11:04:36 bde34c3a00c8: Waiting 11:04:36 b352a97aabf1: Waiting 11:04:36 bab4dde63d76: Waiting 11:04:36 4872d77fe225: Waiting 11:04:36 5851b861e8e6: Waiting 11:04:36 e2be974225ed: Download complete 11:04:36 988bab9f4d93: Download complete 11:04:36 339a4e72a1f5: Verifying Checksum 11:04:36 339a4e72a1f5: Download complete 11:04:36 1469e6f7b9e6: Verifying Checksum 11:04:36 1469e6f7b9e6: Download complete 11:04:36 eaf3925da568: Verifying Checksum 11:04:36 eaf3925da568: Download complete 11:04:36 bde34c3a00c8: Download complete 11:04:36 b352a97aabf1: Download complete 11:04:36 4872d77fe225: Verifying Checksum 11:04:36 4872d77fe225: Download complete 11:04:36 5851b861e8e6: Download complete 11:04:36 b85a868b505f: Verifying Checksum 11:04:36 b85a868b505f: Download complete 11:04:36 bab4dde63d76: Verifying Checksum 11:04:38 b85a868b505f: Pull complete 11:04:38 e2be974225ed: Pull complete 11:04:38 339a4e72a1f5: Pull complete 11:04:38 988bab9f4d93: Pull complete 11:04:39 1469e6f7b9e6: Pull complete 11:04:39 eaf3925da568: Pull complete 11:04:41 bab4dde63d76: Pull complete 11:04:41 bde34c3a00c8: Pull complete 11:04:41 b352a97aabf1: Pull complete 11:04:41 4872d77fe225: Pull complete 11:04:41 5851b861e8e6: Pull complete 11:04:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:42 prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container 11:04:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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:43 $ docker top 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af -eo pid,comm 11:04:43 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:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:43 [ssh-agent] Looking for ssh-agent implementation... 11:04:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:43 $ docker exec 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent 11:04:44 SSH_AUTH_SOCK=/tmp/ssh-PVKimGzMGBes/agent.32 11:04:44 SSH_AGENT_PID=39 11:04:44 Running ssh-add (command line suppressed) 11:04:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_6478266962972341508.key (/w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_6478266962972341508.key) 11:04:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:44 + git tag --points-at HEAD [Pipeline] } 11:04:44 $ docker exec --env ******** --env ******** 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent -k 11:04:44 unset SSH_AUTH_SOCK; 11:04:44 unset SSH_AGENT_PID; 11:04:44 echo Agent pid 39 killed; 11:04:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:44 [ssh-agent] Looking for ssh-agent implementation... 11:04:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:44 $ docker exec 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent 11:04:45 SSH_AUTH_SOCK=/tmp/ssh-1J7dFnQeN9g7/agent.71 11:04:45 SSH_AGENT_PID=77 11:04:45 Running ssh-add (command line suppressed) 11:04:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_3390116241497911083.key (/w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_3390116241497911083.key) 11:04:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:45 + git semver init 11:04:45 2022-09-12 11:04:45,838 [run_init] DEBUG init version:0.0.0 force:False 11:04:45 2022-09-12 11:04:45,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-304/.semver 11:04:45 2022-09-12 11:04:45,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-304/.semver 11:04:45 2022-09-12 11:04:45,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-304/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-304, universal_newlines=False, shell=None, istream=None) 11:04:47 2022-09-12 11:04:46,942 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-304/.git/info/exclude 11:04:47 2022-09-12 11:04:46,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-304/.semver/PR-304 with force:False 11:04:47 2022-09-12 11:04:46,943 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-304/.semver/PR-304 11:04:47 2022-09-12 11:04:46,948 [execute] INFO git cat-file --batch-check 11:04:47 2022-09-12 11:04:46,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-304/.semver, universal_newlines=False, shell=None, istream=) 11:04:47 2022-09-12 11:04:46,956 [execute] INFO git cat-file --batch 11:04:47 2022-09-12 11:04:46,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-304/.semver, universal_newlines=False, shell=None, istream=) 11:04:47 2022-09-12 11:04:46,962 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-304/.semver/PR-304 11:04:47 0.0.0 [Pipeline] } 11:04:47 $ docker exec --env ******** --env ******** 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent -k 11:04:47 unset SSH_AUTH_SOCK; 11:04:47 unset SSH_AGENT_PID; 11:04:47 echo Agent pid 77 killed; 11:04:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:47 + git semver [Pipeline] } 11:04:48 $ docker stop --time=1 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af 11:04:49 $ docker rm -f 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af [Pipeline] // withDockerContainer [Pipeline] sh 11:04:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:50 Stashed 1 file(s) [Pipeline] echo 11:04:50 [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:50 provisioning config files... 11:04:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config2170540356079854344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:51 ---> docker-login.sh 11:04:51 nexus3.edgexfoundry.org:10001 11:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 nexus3.edgexfoundry.org:10002 11:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 nexus3.edgexfoundry.org:10003 11:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 nexus3.edgexfoundry.org:10004 11:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 docker.io 11:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:51 Configure a credential helper to remove this warning. See 11:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:51 11:04:51 Login Succeeded 11:04:51 ---> docker-login.sh ends [Pipeline] } 11:04:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:52 ========================================================= 11:04:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:04:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:52 + 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:52 Sending build context to Docker daemon 23.13MB 11:04:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:04:52 Step 2/13 : FROM ${BASE} AS builder 11:04:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:52 2408cc74d12b: Pulling fs layer 11:04:52 ea60b727a1ce: Pulling fs layer 11:04:52 30c4a7721957: Pulling fs layer 11:04:52 370296b7ddb6: Pulling fs layer 11:04:52 7c6cee850709: Pulling fs layer 11:04:52 39a5fcdaea64: Pulling fs layer 11:04:52 d94ebbe4e438: Pulling fs layer 11:04:52 bcfd1f05c69d: Pulling fs layer 11:04:52 59ccb84bbe0f: Pulling fs layer 11:04:52 39a5fcdaea64: Waiting 11:04:52 d94ebbe4e438: Waiting 11:04:52 bcfd1f05c69d: Waiting 11:04:52 59ccb84bbe0f: Waiting 11:04:52 370296b7ddb6: Waiting 11:04:52 7c6cee850709: Waiting 11:04:52 30c4a7721957: Verifying Checksum 11:04:52 30c4a7721957: Download complete 11:04:52 ea60b727a1ce: Verifying Checksum 11:04:52 ea60b727a1ce: Download complete 11:04:52 7c6cee850709: Verifying Checksum 11:04:52 7c6cee850709: Download complete 11:04:52 39a5fcdaea64: Verifying Checksum 11:04:52 39a5fcdaea64: Download complete 11:04:52 2408cc74d12b: Download complete 11:04:52 d94ebbe4e438: Download complete 11:04:53 2408cc74d12b: Pull complete 11:04:53 ea60b727a1ce: Pull complete 11:04:53 30c4a7721957: Pull complete 11:04:53 59ccb84bbe0f: Verifying Checksum 11:04:53 59ccb84bbe0f: Download complete 11:04:53 bcfd1f05c69d: Verifying Checksum 11:04:53 bcfd1f05c69d: Download complete 11:04:53 370296b7ddb6: Verifying Checksum 11:04:53 370296b7ddb6: Download complete 11:04:57 370296b7ddb6: Pull complete 11:04:58 7c6cee850709: Pull complete 11:04:58 39a5fcdaea64: Pull complete 11:04:58 d94ebbe4e438: Pull complete 11:05:00 bcfd1f05c69d: Pull complete 11:05:01 59ccb84bbe0f: Pull complete 11:05:01 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 11:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:05:01 ---> a4fb48ad2a94 11:05:01 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:03 ---> Running in a58a62f92ec6 11:05:03 Removing intermediate container a58a62f92ec6 11:05:03 ---> 2da5eaf6c2ad 11:05:03 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:05:03 ---> Running in ae126cf22764 11:05:03 Removing intermediate container ae126cf22764 11:05:03 ---> 2aee1aa9fd72 11:05:03 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:05:03 ---> Running in a92ed40dd41b 11:05:03 Removing intermediate container a92ed40dd41b 11:05:03 ---> 3224b89cf458 11:05:03 Step 6/13 : WORKDIR /device-virtual-go 11:05:03 ---> Running in 8807e4c364aa 11:05:03 Removing intermediate container 8807e4c364aa 11:05:03 ---> eb7aa9129b7a 11:05:03 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:03 ---> Running in 76aa67ee4e8a 11:05:04 Removing intermediate container 76aa67ee4e8a 11:05:04 ---> 9737a3f6eda8 11:05:04 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:04 ---> Running in fbce03c357e2 11:05:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:05 Still waiting to schedule task 11:05:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:05:05 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:05:05 (2/4) Installing libedit (20210910.3.1-r0) 11:05:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:05:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:05:06 Executing busybox-1.35.0-r13.trigger 11:05:06 OK: 216 MiB in 55 packages 11:05:06 Removing intermediate container fbce03c357e2 11:05:06 ---> f19b390a3a0c 11:05:06 Step 9/13 : COPY go.mod vendor* ./ 11:05:06 ---> 02a2ff520880 11:05:06 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:06 ---> Running in 3d6f8b85d76a 11:05:28 Removing intermediate container 3d6f8b85d76a 11:05:28 ---> 6a2259415bff 11:05:28 Step 11/13 : COPY . . 11:05:28 ---> 5b6e123372e4 11:05:28 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:28 ---> Running in 161a87b01d02 11:05:28 Removing intermediate container 161a87b01d02 11:05:28 ---> 5ee27c5cbf82 11:05:28 Step 13/13 : RUN $MAKE 11:05:28 ---> Running in 51582b432fc6 11:05:28 noop 11:05:28 Removing intermediate container 51582b432fc6 11:05:28 ---> 162cbd4ed1de 11:05:28 Successfully built 162cbd4ed1de 11:05:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:29 + docker inspect -f . ci-base-image-x86_64 11:05:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:29 prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container 11:05:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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:29 $ docker top aa2550d5b56bbb0c99c31f390a2a2014a7b082fae8cfe4bae077f6c66feea333 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:30 + go version 11:05:30 go version go1.18.3 linux/amd64 [Pipeline] } 11:05:30 $ docker stop --time=1 aa2550d5b56bbb0c99c31f390a2a2014a7b082fae8cfe4bae077f6c66feea333 11:05:31 $ docker rm -f aa2550d5b56bbb0c99c31f390a2a2014a7b082fae8cfe4bae077f6c66feea333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:32 + docker inspect -f . ci-base-image-x86_64 11:05:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:32 prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container 11:05:32 $ 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-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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:32 $ docker top f75fb09c5977d415964693da689b7ef0f14ee8b1e36495fc1b6dc02085ed563e -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:33 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-304 [Pipeline] fileExists [Pipeline] sh 11:05:33 + make test 11:05:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 11:05:52 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:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:54 ./bin/test-attribution-txt.sh 11:05:54 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:05:54 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:05:54 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:05:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:54 $ docker stop --time=1 f75fb09c5977d415964693da689b7ef0f14ee8b1e36495fc1b6dc02085ed563e 11:05:56 $ docker rm -f f75fb09c5977d415964693da689b7ef0f14ee8b1e36495fc1b6dc02085ed563e [Pipeline] // withDockerContainer [Pipeline] sh 11:05:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:57 + ls -al . 11:05:57 total 192 11:05:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 11:05 . 11:05:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:04 .. 11:05:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 11:05 .git 11:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:04 .github 11:05:57 -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 11:04 .gitignore 11:05:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 11:04 .golangci.yml 11:05:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 11:04 .semver 11:05:57 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 12 11:04 Attribution.txt 11:05:57 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 12 11:04 CHANGELOG.md 11:05:57 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 12 11:04 Dockerfile 11:05:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 11:04 GOVERNANCE.md 11:05:57 -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 11:04 Jenkinsfile 11:05:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 11:04 LICENSE 11:05:57 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 12 11:04 Makefile 11:05:57 -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 11:04 OWNERS.md 11:05:57 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 12 11:04 README.md 11:05:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 11:04 VERSION 11:05:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 11:04 bin 11:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:04 cmd 11:05:57 -rw-r--r-- 1 jenkins jenkins 44128 Sep 12 11:05 coverage.out 11:05:57 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 12 11:04 go.mod 11:05:57 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 12 11:04 go.sum 11:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:04 internal 11:05:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:04 snap 11:05:57 -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:58 + 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=55c9ed191447c380b145ab73e4237033d9a94992 --label arch=amd64 --label version=0.0.0 . 11:05:58 Sending build context to Docker daemon 23.18MB 11:05:58 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:05:58 Step 2/27 : FROM ${BASE} AS builder 11:05:58 ---> 162cbd4ed1de 11:05:58 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:58 ---> Running in 32b960fe09ae 11:05:58 Removing intermediate container 32b960fe09ae 11:05:58 ---> 536b0897a7c5 11:05:58 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:05:58 ---> Running in 63554a58b7fb 11:05:58 Removing intermediate container 63554a58b7fb 11:05:58 ---> bfe333a6ff63 11:05:58 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:05:58 ---> Running in e0fadd1d8134 11:05:58 Removing intermediate container e0fadd1d8134 11:05:58 ---> c0888b6fb5da 11:05:58 Step 6/27 : WORKDIR /device-virtual-go 11:05:58 ---> Running in 95c686c6a442 11:05:59 Removing intermediate container 95c686c6a442 11:05:59 ---> b0cf17a53abb 11:05:59 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:59 ---> Running in d9cf85cc150b 11:05:59 Removing intermediate container d9cf85cc150b 11:05:59 ---> a0384e01f128 11:05:59 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:59 ---> Running in ee3db5913023 11:06:00 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:01 OK: 216 MiB in 55 packages 11:06:01 Removing intermediate container ee3db5913023 11:06:01 ---> 1b651a4d4f87 11:06:01 Step 9/27 : COPY go.mod vendor* ./ 11:06:01 ---> 8f4f96061ff1 11:06:01 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:01 ---> Running in 893919caca07 11:06:02 Removing intermediate container 893919caca07 11:06:02 ---> 7675cdd70408 11:06:02 Step 11/27 : COPY . . 11:06:02 ---> 47b88cc0787d 11:06:02 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:06:02 ---> Running in 0ae077ea4c1e 11:06:02 Removing intermediate container 0ae077ea4c1e 11:06:02 ---> 2b9d12a20b16 11:06:02 Step 13/27 : RUN $MAKE 11:06:02 ---> Running in 13dc41b5e1e5 11:06:03 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:25 Removing intermediate container 13dc41b5e1e5 11:06:25 ---> b80bae7c590e 11:06:25 Step 14/27 : FROM alpine:3.16 11:06:25 3.16: Pulling from library/alpine 11:06:25 213ec9aee27d: Pulling fs layer 11:06:25 213ec9aee27d: Verifying Checksum 11:06:25 213ec9aee27d: Download complete 11:06:25 213ec9aee27d: Pull complete 11:06:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:06:25 Status: Downloaded newer image for alpine:3.16 11:06:25 ---> 9c6f07244728 11:06:25 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:25 ---> Running in ff91e33a82ef 11:06:25 Removing intermediate container ff91e33a82ef 11:06:25 ---> ea2ae155cf97 11:06:25 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:25 ---> Running in 0059208a169b 11:06:25 Removing intermediate container 0059208a169b 11:06:25 ---> 259141529d1b 11:06:25 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:06:25 ---> Running in 9c21984b6c46 11:06:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:25 (1/6) Installing dumb-init (1.2.5-r1) 11:06:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:06:25 (3/6) Installing libsodium (1.0.18-r0) 11:06:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:06:25 (5/6) Installing libzmq (4.3.4-r0) 11:06:25 (6/6) Installing zeromq (4.3.4-r0) 11:06:25 Executing busybox-1.35.0-r17.trigger 11:06:25 OK: 8 MiB in 20 packages 11:06:26 Removing intermediate container 9c21984b6c46 11:06:26 ---> 6d536e0efc9a 11:06:26 Step 18/27 : WORKDIR / 11:06:26 ---> Running in a392b55a4b96 11:06:26 Removing intermediate container a392b55a4b96 11:06:26 ---> 7976e024aee8 11:06:26 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:26 ---> 6644c471efa4 11:06:26 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:26 ---> cd9826b3c3a6 11:06:26 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:06:27 ---> 7b2d898e68a7 11:06:27 Step 22/27 : EXPOSE 59900 11:06:27 ---> Running in 5fe244be0f29 11:06:27 Removing intermediate container 5fe244be0f29 11:06:27 ---> 153ac3bed808 11:06:27 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:06:27 ---> Running in bba967754fd7 11:06:27 Removing intermediate container bba967754fd7 11:06:27 ---> aa1daae78499 11:06:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:27 ---> Running in 4b9d9c80b9ce 11:06:27 Removing intermediate container 4b9d9c80b9ce 11:06:27 ---> d8520493ab9b 11:06:27 Step 25/27 : LABEL arch=amd64 11:06:27 ---> Running in d1d74048b142 11:06:27 Removing intermediate container d1d74048b142 11:06:27 ---> 7fdfeeaa9a83 11:06:27 Step 26/27 : LABEL git_sha=55c9ed191447c380b145ab73e4237033d9a94992 11:06:27 ---> Running in 42848697c0c7 11:06:27 Removing intermediate container 42848697c0c7 11:06:27 ---> 74d3eafd9801 11:06:27 Step 27/27 : LABEL version=0.0.0 11:06:27 ---> Running in ff897a914193 11:06:27 Removing intermediate container ff897a914193 11:06:27 ---> d975adfe2d6a 11:06:27 [Warning] One or more build-args [ARCH] were not consumed 11:06:27 Successfully built d975adfe2d6a 11:06:27 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:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:28 11:06:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:29 latest: Pulling from edgex-lftools-log-publisher 11:06:29 5eb5b503b376: Pulling fs layer 11:06:29 5c69ac0246d0: Pulling fs layer 11:06:29 ec43610c2a17: Pulling fs layer 11:06:29 3a2ae6a8a46f: Pulling fs layer 11:06:29 33b1e0a273af: Pulling fs layer 11:06:29 5d3b04190fa2: Pulling fs layer 11:06:29 3a2ae6a8a46f: Waiting 11:06:29 33b1e0a273af: Waiting 11:06:29 5d3b04190fa2: Waiting 11:06:29 2f39f015ded8: Pulling fs layer 11:06:29 2f39f015ded8: Waiting 11:06:29 5c69ac0246d0: Download complete 11:06:29 33b1e0a273af: Verifying Checksum 11:06:29 33b1e0a273af: Download complete 11:06:29 5d3b04190fa2: Download complete 11:06:29 ec43610c2a17: Verifying Checksum 11:06:29 ec43610c2a17: Download complete 11:06:29 5eb5b503b376: Verifying Checksum 11:06:29 5eb5b503b376: Download complete 11:06:30 2f39f015ded8: Download complete 11:06:30 5eb5b503b376: Pull complete 11:06:30 5c69ac0246d0: Pull complete 11:06:31 ec43610c2a17: Pull complete 11:06:31 3a2ae6a8a46f: Pull complete 11:06:31 33b1e0a273af: Pull complete 11:06:31 5d3b04190fa2: Pull complete 11:06:35 2f39f015ded8: Pull complete 11:06:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:36 prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container 11:06: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/foundry_device-virtual-go_PR-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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:37 $ docker top c4196ba4db1214582214286d4ba236065e13ab9bbe218a8fa0f4bcc1f1fe4dac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:38 ---> job-cost.sh 11:06:38 lf-activate-venv: SKIPPING 11:06:38 INFO: No Stack... 11:06:38 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:39 INFO: Archiving Costs [Pipeline] sh 11:06:39 + cat /w/workspace/foundry_device-virtual-go_PR-304/archives/cost.csv 11:06:39 + cut -d, -f6 [Pipeline] lock 11:06:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] 11:06:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] did not exist. Created. 11:06:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:39 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:40 Stashed 1 file(s) [Pipeline] } 11:06:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:06:40 $ docker stop --time=1 c4196ba4db1214582214286d4ba236065e13ab9bbe218a8fa0f4bcc1f1fe4dac 11:06:41 $ docker rm -f c4196ba4db1214582214286d4ba236065e13ab9bbe218a8fa0f4bcc1f1fe4dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28948 in /w/workspace/foundry_device-virtual-go_PR-304 [Pipeline] { [Pipeline] ws 11:06:51 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:51 The recommended git tool is: git 11:06:59 using credential edgex-jenkins-ssh 11:06:59 Cloning the remote Git repository 11:06:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:59 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:59 > git --version # timeout=10 11:06:59 > git --version # 'git version 2.25.1' 11:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:02 Merging remotes/origin/main commit 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 into PR head commit 55c9ed191447c380b145ab73e4237033d9a94992 11:07:02 Merge succeeded, producing 55c9ed191447c380b145ab73e4237033d9a94992 11:07:02 Checking out Revision 55c9ed191447c380b145ab73e4237033d9a94992 (PR-304) 11:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:07:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:07:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:07:02 > git config core.sparsecheckout # timeout=10 11:07:02 > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # timeout=10 11:07:02 > git remote # timeout=10 11:07:02 > git config --get remote.origin.url # timeout=10 11:07:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:02 > git merge 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 11:07:02 > git rev-parse HEAD^{commit} # timeout=10 11:07:02 > git config core.sparsecheckout # timeout=10 11:07:02 > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # timeout=10 11:07:07 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:07:07 > git --version # timeout=10 11:07:07 > git --version # 'git version 2.25.1' 11:07:07 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:07:08 % Total % Received % Xferd Average Speed Time Time Time Current 11:07:08 Dload Upload Total Spent Left Speed 11:07:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75915 [Pipeline] sh 11:07:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:07:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:07:10 + sudo tee /etc/docker/daemon.new 11:07:10 { 11:07:10 "registry-mirrors": [ 11:07:10 "https://nexus3.edgexfoundry.org:10001" 11:07:10 ], 11:07:10 "bip": "10.250.0.254/24", 11:07:10 "hosts": [ 11:07:10 "tcp://0.0.0.0:5555", 11:07:10 "unix:///var/run/docker.sock" 11:07:10 ], 11:07:10 "mtu": 1458, 11:07:10 "selinux-enabled": true, 11:07:10 "seccomp-profile": "/etc/docker/seccomp.json" 11:07:10 } [Pipeline] sh 11:07:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:07:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:29 provisioning config files... 11:07:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config493139470364713919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:29 ---> docker-login.sh 11:07:29 nexus3.edgexfoundry.org:10001 11:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:30 Configure a credential helper to remove this warning. See 11:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:30 11:07:30 Login Succeeded 11:07:30 nexus3.edgexfoundry.org:10002 11:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:30 Configure a credential helper to remove this warning. See 11:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:30 11:07:30 Login Succeeded 11:07:30 nexus3.edgexfoundry.org:10003 11:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:31 Configure a credential helper to remove this warning. See 11:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:31 11:07:31 Login Succeeded 11:07:31 nexus3.edgexfoundry.org:10004 11:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:31 Configure a credential helper to remove this warning. See 11:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:31 11:07:31 Login Succeeded 11:07:31 docker.io 11:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:32 Configure a credential helper to remove this warning. See 11:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:32 11:07:32 Login Succeeded 11:07:32 ---> docker-login.sh ends [Pipeline] } 11:07:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:32 ========================================================= 11:07:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:07:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:33 + 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:33 Sending build context to Docker daemon 11.7MB 11:07:33 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:07:33 Step 2/13 : FROM ${BASE} AS builder 11:07:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:33 b3c136eddcbf: Pulling fs layer 11:07:33 c0a3192eca97: Pulling fs layer 11:07:33 a050256f5b6f: Pulling fs layer 11:07:33 656be50a0ddc: Pulling fs layer 11:07:33 2bbca73fdf42: Pulling fs layer 11:07:33 46d945488cbd: Pulling fs layer 11:07:33 8a5474983e97: Pulling fs layer 11:07:33 329c88fbcd65: Pulling fs layer 11:07:33 656be50a0ddc: Waiting 11:07:33 2bbca73fdf42: Waiting 11:07:33 46d945488cbd: Waiting 11:07:33 8a5474983e97: Waiting 11:07:33 329c88fbcd65: Waiting 11:07:33 a050256f5b6f: Verifying Checksum 11:07:33 a050256f5b6f: Download complete 11:07:33 c0a3192eca97: Verifying Checksum 11:07:33 c0a3192eca97: Download complete 11:07:33 2bbca73fdf42: Verifying Checksum 11:07:33 2bbca73fdf42: Download complete 11:07:33 46d945488cbd: Download complete 11:07:33 b3c136eddcbf: Verifying Checksum 11:07:33 b3c136eddcbf: Download complete 11:07:34 b3c136eddcbf: Pull complete 11:07:35 329c88fbcd65: Verifying Checksum 11:07:35 329c88fbcd65: Download complete 11:07:35 c0a3192eca97: Pull complete 11:07:35 a050256f5b6f: Pull complete 11:07:36 8a5474983e97: Verifying Checksum 11:07:36 8a5474983e97: Download complete 11:07:36 656be50a0ddc: Verifying Checksum 11:07:36 656be50a0ddc: Download complete 11:07:49 656be50a0ddc: Pull complete 11:07:49 2bbca73fdf42: Pull complete 11:07:49 46d945488cbd: Pull complete 11:07:56 8a5474983e97: Pull complete 11:07:58 329c88fbcd65: Pull complete 11:07:58 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 11:07:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:07:58 ---> ff4287adb874 11:07:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:08:00 ---> Running in ab177f36b7dc 11:08:00 Removing intermediate container ab177f36b7dc 11:08:00 ---> 2f91cfae7f0d 11:08:00 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:08:00 ---> Running in a96c97556a15 11:08:00 Removing intermediate container a96c97556a15 11:08:00 ---> b1e38c9a4a1c 11:08:00 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:08:00 ---> Running in 89b5356e5e4f 11:08:01 Removing intermediate container 89b5356e5e4f 11:08:01 ---> 52a528a4531d 11:08:01 Step 6/13 : WORKDIR /device-virtual-go 11:08:01 ---> Running in 9ba3ee993738 11:08:01 Removing intermediate container 9ba3ee993738 11:08:01 ---> 4f08da224fb4 11:08:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:01 ---> Running in 1622a950a050 11:08:03 Removing intermediate container 1622a950a050 11:08:03 ---> 4423609100b6 11:08:03 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:08:03 ---> Running in d16791221cd9 11:08:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:08:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:08:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:08:07 (2/4) Installing libedit (20210910.3.1-r0) 11:08:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:08:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:08:07 Executing busybox-1.35.0-r13.trigger 11:08:07 OK: 226 MiB in 55 packages 11:08:08 Removing intermediate container d16791221cd9 11:08:08 ---> d0566c100d72 11:08:08 Step 9/13 : COPY go.mod vendor* ./ 11:08:09 ---> 07a04e7a1e5c 11:08:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:09 ---> Running in 1ecf55abec0f 11:08:56 Removing intermediate container 1ecf55abec0f 11:08:56 ---> ee681b728155 11:08:56 Step 11/13 : COPY . . 11:08:56 ---> 40d816a9c6d5 11:08:56 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:56 ---> Running in 2d403a3a88ae 11:08:56 Removing intermediate container 2d403a3a88ae 11:08:56 ---> ee070193ac38 11:08:56 Step 13/13 : RUN $MAKE 11:08:56 ---> Running in 9bd0220ceb1b 11:08:56 noop 11:08:57 Removing intermediate container 9bd0220ceb1b 11:08:57 ---> 46e6c10160ed 11:08:57 Successfully built 46e6c10160ed 11:08:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:58 + docker inspect -f . ci-base-image-arm64 11:08:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:58 prd-ubuntu20.04-docker-arm64-4c-16g-28948 does not seem to be running inside a container 11:08:58 $ 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:59 $ docker top 83fcd4501a7891a34eddc32533d3ce4dfa6550ba2c24f0d42714efa419be4db0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:00 + go version 11:09:00 go version go1.18.3 linux/arm64 [Pipeline] } 11:09:00 $ docker stop --time=1 83fcd4501a7891a34eddc32533d3ce4dfa6550ba2c24f0d42714efa419be4db0 11:09:02 $ docker rm -f 83fcd4501a7891a34eddc32533d3ce4dfa6550ba2c24f0d42714efa419be4db0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:03 + docker inspect -f . ci-base-image-arm64 11:09:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:03 prd-ubuntu20.04-docker-arm64-4c-16g-28948 does not seem to be running inside a container 11:09:03 $ 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:09:04 $ docker top 0612b1c5d772f034f000e496f508ed424cabd1712286504c95ee6251cfdbd7ec -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:05 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:09:06 + make test 11:09:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:09:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:10:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:10:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements 11:10:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:10:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:55 ./bin/test-attribution-txt.sh 11:10:55 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:10:55 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:10:55 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:10:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:55 $ docker stop --time=1 0612b1c5d772f034f000e496f508ed424cabd1712286504c95ee6251cfdbd7ec 11:10:57 $ docker rm -f 0612b1c5d772f034f000e496f508ed424cabd1712286504c95ee6251cfdbd7ec [Pipeline] // withDockerContainer [Pipeline] sh 11:10:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:58 Warning: overwriting stash ‘coverage-report’ 11:10:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:59 + ls -al . 11:10:59 total 188 11:10:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 11:09 . 11:10:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:06 .. 11:10:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 11:07 .git 11:10:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:07 .github 11:10:59 -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 11:07 .gitignore 11:10:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 11:07 .golangci.yml 11:10:59 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 12 11:07 Attribution.txt 11:10:59 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 12 11:07 CHANGELOG.md 11:10:59 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 12 11:07 Dockerfile 11:10:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 11:07 GOVERNANCE.md 11:10:59 -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 11:07 Jenkinsfile 11:10:59 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 11:07 LICENSE 11:10:59 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 12 11:07 Makefile 11:10:59 -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 11:07 OWNERS.md 11:10:59 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 12 11:07 README.md 11:10:59 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 11:04 VERSION 11:10:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 11:07 bin 11:10:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:07 cmd 11:10:59 -rw-r--r-- 1 jenkins jenkins 44128 Sep 12 11:10 coverage.out 11:10:59 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 12 11:07 go.mod 11:10:59 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 12 11:07 go.sum 11:10:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:07 internal 11:10:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:07 snap 11:10:59 -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:00 + 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=55c9ed191447c380b145ab73e4237033d9a94992 --label arch=arm64 --label version=0.0.0 . 11:11:00 Sending build context to Docker daemon 11.75MB 11:11:00 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:11:00 Step 2/27 : FROM ${BASE} AS builder 11:11:00 ---> 46e6c10160ed 11:11:00 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:00 ---> Running in b284871d202c 11:11:01 Removing intermediate container b284871d202c 11:11:01 ---> f43bb5621de1 11:11:01 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:11:01 ---> Running in 08b67673eb52 11:11:01 Removing intermediate container 08b67673eb52 11:11:01 ---> 7d89f3319514 11:11:01 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:11:01 ---> Running in 274c1e03a0d4 11:11:01 Removing intermediate container 274c1e03a0d4 11:11:01 ---> 4a9dac92732e 11:11:01 Step 6/27 : WORKDIR /device-virtual-go 11:11:01 ---> Running in 84029b4f202d 11:11:02 Removing intermediate container 84029b4f202d 11:11:02 ---> 7af1f44fa251 11:11:02 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:02 ---> Running in 7ba35aae28a2 11:11:04 Removing intermediate container 7ba35aae28a2 11:11:04 ---> d00687d7b96b 11:11:04 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:04 ---> Running in 2ff880ec1200 11:11:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:11:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:11:07 OK: 226 MiB in 55 packages 11:11:08 Removing intermediate container 2ff880ec1200 11:11:08 ---> 84c50fd09e65 11:11:08 Step 9/27 : COPY go.mod vendor* ./ 11:11:08 ---> aa30d1f72359 11:11:08 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:08 ---> Running in 611ae1d058de 11:11:10 Removing intermediate container 611ae1d058de 11:11:10 ---> b7a6d9582d59 11:11:10 Step 11/27 : COPY . . 11:11:12 ---> df37ced99c18 11:11:12 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:12 ---> Running in 3bce89693929 11:11:12 Removing intermediate container 3bce89693929 11:11:12 ---> 8278b8e34d64 11:11:12 Step 13/27 : RUN $MAKE 11:11:12 ---> Running in 41c4f2a87876 11:11:14 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:35 Removing intermediate container 41c4f2a87876 11:13:35 ---> cf40dca16409 11:13:35 Step 14/27 : FROM alpine:3.16 11:13:35 3.16: Pulling from library/alpine 11:13:35 9b18e9b68314: Pulling fs layer 11:13:35 9b18e9b68314: Verifying Checksum 11:13:35 9b18e9b68314: Download complete 11:13:35 9b18e9b68314: Pull complete 11:13:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:13:35 Status: Downloaded newer image for alpine:3.16 11:13:35 ---> a6215f271958 11:13:35 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:35 ---> Running in fdbf599c7fa7 11:13:35 Removing intermediate container fdbf599c7fa7 11:13:35 ---> b99799b3836a 11:13:35 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:35 ---> Running in 61a642372708 11:13:35 Removing intermediate container 61a642372708 11:13:35 ---> 796f26a8fe25 11:13:35 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:13:35 ---> Running in 21065f65f625 11:13:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:35 (1/6) Installing dumb-init (1.2.5-r1) 11:13:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:13:35 (3/6) Installing libsodium (1.0.18-r0) 11:13:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:13:35 (5/6) Installing libzmq (4.3.4-r0) 11:13:35 (6/6) Installing zeromq (4.3.4-r0) 11:13:35 Executing busybox-1.35.0-r17.trigger 11:13:35 OK: 8 MiB in 20 packages 11:13:35 Removing intermediate container 21065f65f625 11:13:35 ---> db8f2fefc65c 11:13:35 Step 18/27 : WORKDIR / 11:13:35 ---> Running in b5bfa3b48630 11:13:35 Removing intermediate container b5bfa3b48630 11:13:35 ---> 943eaea703e2 11:13:35 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:36 ---> 440d31133a0c 11:13:36 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:38 ---> 5e2a9fc5cfa7 11:13:38 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:13:38 ---> 568eeea38339 11:13:38 Step 22/27 : EXPOSE 59900 11:13:38 ---> Running in 059588bce7d4 11:13:39 Removing intermediate container 059588bce7d4 11:13:39 ---> f2d5ad7e5076 11:13:39 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:13:39 ---> Running in 9bd71a2592ac 11:13:39 Removing intermediate container 9bd71a2592ac 11:13:39 ---> 3e1f30494cc1 11:13:39 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:39 ---> Running in 7561e9a6eb19 11:13:40 Removing intermediate container 7561e9a6eb19 11:13:40 ---> b339c9d3587a 11:13:40 Step 25/27 : LABEL arch=arm64 11:13:40 ---> Running in c8f04a38a3ff 11:13:40 Removing intermediate container c8f04a38a3ff 11:13:40 ---> 5af2021a20fd 11:13:40 Step 26/27 : LABEL git_sha=55c9ed191447c380b145ab73e4237033d9a94992 11:13:40 ---> Running in c710503a71b8 11:13:40 Removing intermediate container c710503a71b8 11:13:40 ---> b80cbdb7c54c 11:13:40 Step 27/27 : LABEL version=0.0.0 11:13:40 ---> Running in 7c9a11a8ad40 11:13:41 Removing intermediate container 7c9a11a8ad40 11:13:41 ---> 464efd9327a7 11:13:41 [Warning] One or more build-args [ARCH] were not consumed 11:13:41 Successfully built 464efd9327a7 11:13:41 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:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:42 11:13:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:42 arm64: Pulling from edgex-lftools-log-publisher 11:13:42 8998bd30e6a1: Pulling fs layer 11:13:42 04944245beec: Pulling fs layer 11:13:42 699f458cf7ca: Pulling fs layer 11:13:42 765212b225bb: Pulling fs layer 11:13:42 f23df028b6ca: Pulling fs layer 11:13:42 d65c8cfc05b1: Pulling fs layer 11:13:42 2437ff75d9bd: Pulling fs layer 11:13:42 765212b225bb: Waiting 11:13:42 f23df028b6ca: Waiting 11:13:42 d65c8cfc05b1: Waiting 11:13:42 2437ff75d9bd: Waiting 11:13:42 04944245beec: Verifying Checksum 11:13:42 04944245beec: Download complete 11:13:42 765212b225bb: Download complete 11:13:42 f23df028b6ca: Verifying Checksum 11:13:42 f23df028b6ca: Download complete 11:13:42 d65c8cfc05b1: Verifying Checksum 11:13:42 d65c8cfc05b1: Download complete 11:13:43 699f458cf7ca: Verifying Checksum 11:13:43 699f458cf7ca: Download complete 11:13:43 8998bd30e6a1: Verifying Checksum 11:13:43 8998bd30e6a1: Download complete 11:13:45 2437ff75d9bd: Verifying Checksum 11:13:45 2437ff75d9bd: Download complete 11:13:47 8998bd30e6a1: Pull complete 11:13:48 04944245beec: Pull complete 11:13:49 699f458cf7ca: Pull complete 11:13:49 765212b225bb: Pull complete 11:13:50 f23df028b6ca: Pull complete 11:13:51 d65c8cfc05b1: Pull complete 11:14:06 2437ff75d9bd: Pull complete 11:14:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:14:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:06 prd-ubuntu20.04-docker-arm64-4c-16g-28948 does not seem to be running inside a container 11:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:14:09 $ docker top 9ffeb03847c3302313459fc6aa973b1b9d4107353ac4cf5d1d467f1d1ebe14a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:10 ---> job-cost.sh 11:14:10 lf-activate-venv: SKIPPING 11:14:10 INFO: No Stack... 11:14:10 INFO: Retrieving Pricing Info for: v3-standard-4 11:14:11 INFO: Archiving Costs [Pipeline] sh 11:14:12 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:14:12 + cut -d, -f6 [Pipeline] lock 11:14:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] 11:14:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] did not exist. Created. 11:14:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:13 /w/workspace/device-virtual-go/1@tmp/durable-7a9e4c04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:14:13 + echo total: 0.10999999940395355 [Pipeline] stash 11:14:14 Warning: overwriting stash ‘stack-cost’ 11:14:14 Stashed 1 file(s) [Pipeline] } 11:14:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:14:14 $ docker stop --time=1 9ffeb03847c3302313459fc6aa973b1b9d4107353ac4cf5d1d467f1d1ebe14a0 11:14:15 $ docker rm -f 9ffeb03847c3302313459fc6aa973b1b9d4107353ac4cf5d1d467f1d1ebe14a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:14:16 provisioning config files... 11:14:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config7638264502362484316tmp [Pipeline] { [Pipeline] sh 11:14:17 + set +x 11:14:17 + curl -s https://codecov.io/bash 11:14:17 + bash -s -- 11:14:17 11:14:17 _____ _ 11:14:17 / ____| | | 11:14:17 | | ___ __| | ___ ___ _____ __ 11:14:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:14:17 | |___| (_) | (_| | __/ (_| (_) \ V / 11:14:17 \_____\___/ \__,_|\___|\___\___/ \_/ 11:14:17 Bash-1.0.6 11:14:17 11:14:17 11:14:17 ==> git version 2.25.1 found 11:14:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:14:17 Release-Date: 2020-01-08 11:14:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:14:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:14:17 ==> Jenkins CI detected. 11:14:17 current dir:  /w/workspace/foundry_device-virtual-go_PR-304 11:14:17 project root: . 11:14:17 --> token set from env 11:14:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:14:17 ==> Running gcov in . (disable via -X gcov) 11:14:17 ==> Python coveragepy not found 11:14:17 ==> Searching for coverage reports in: 11:14:17 + . 11:14:17 -> Found 1 reports 11:14:17 ==> Detecting git/mercurial file structure 11:14:17 ==> Reading reports 11:14:17 + ./coverage.out bytes=44128 11:14:17 ==> Appending adjustments 11:14:17 https://docs.codecov.io/docs/fixing-reports 11:14:17 + Found adjustments 11:14:17 ==> Gzipping contents 11:14:17 8.0K /tmp/codecov.SkLDbV.gz 11:14:17 ==> Uploading reports 11:14:17 url: https://codecov.io 11:14:17 query: branch=PR-304&commit=55c9ed191447c380b145ab73e4237033d9a94992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=304&job=&cmd_args= 11:14:17 -> Pinging Codecov 11:14:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-304&commit=55c9ed191447c380b145ab73e4237033d9a94992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=304&job=&cmd_args= 11:14:17 -> Uploading to 11:14:17 https://storage.googleapis.com/codecov/v4/raw/2022-09-12/5E52B4B073DB2E39498172D8E973AA87/55c9ed191447c380b145ab73e4237033d9a94992/d03be223-151b-454a-8243-a518c8abc0c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T111417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bca5d397fcc7be4856d27e149a285d9f2c77c169e02baaf4865a6199249ab8c5 11:14:17 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:17 Dload Upload Total Spent Left Speed 11:14:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5489 0 0 100 5489 0 23357 --:--:-- --:--:-- --:--:-- 23357 11:14:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] } 11:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:14:20 + [ -d /w/workspace/foundry_device-virtual-go_PR-304/archives ] 11:14:20 + ls -al /w/workspace/foundry_device-virtual-go_PR-304/archives 11:14:20 total 16 11:14:20 drwxr-xr-x 3 root root 4096 Sep 12 11:06 . 11:14:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 11:06 .. 11:14:20 drwxr-xr-x 2 root root 4096 Sep 12 11:06 cost 11:14:20 -rw-r--r-- 1 root root 89 Sep 12 11:06 cost.csv 11:14:20 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-304/archives 11:14:20 + ls -al /w/workspace/foundry_device-virtual-go_PR-304/archives 11:14:20 total 16 11:14:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 11:06 . 11:14:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 11:06 .. 11:14:20 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 11:06 cost 11:14:20 -rw-r--r-- 1 jenkins jenkins 89 Sep 12 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:14:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:14:21 ---> package-listing.sh 11:14:21 ++ tr '[:upper:]' '[:lower:]' 11:14:21 ++ facter osfamily 11:14:21 + OS_FAMILY=debian 11:14:21 + workspace=/w/workspace/foundry_device-virtual-go_PR-304 11:14:21 + START_PACKAGES=/tmp/packages_start.txt 11:14:21 + END_PACKAGES=/tmp/packages_end.txt 11:14:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:14:21 + PACKAGES=/tmp/packages_start.txt 11:14:21 + '[' /w/workspace/foundry_device-virtual-go_PR-304 ']' 11:14:21 + PACKAGES=/tmp/packages_end.txt 11:14:21 + case "${OS_FAMILY}" in 11:14:21 + dpkg -l 11:14:21 + grep '^ii' 11:14:21 + '[' -f /tmp/packages_start.txt ']' 11:14:21 + '[' -f /tmp/packages_end.txt ']' 11:14:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:14:21 + '[' /w/workspace/foundry_device-virtual-go_PR-304 ']' 11:14:21 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-304/archives/ 11:14:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-304/archives/ [Pipeline] echo 11:14:21 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-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:14:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:22 prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container 11:14:22 $ 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-304/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-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:14:22 $ docker top d5401a4ab44192d91fa8123c56900189a4fa9d0ed6c7e7c0221ccf582c4f6e57 -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:23 + touch /tmp/pre-build-complete [Pipeline] sh 11:14:23 + mkdir -p /var/log/sysstat [Pipeline] sh 11:14:23 + ls /var/log/sa-host 11:14:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:24 provisioning config files... 11:14:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config6103211571049475373tmp [Pipeline] { [Pipeline] echo 11:14:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:14:24 ---> create-netrc.sh [Pipeline] } 11:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:14:25 ---> python-tools-install.sh [Pipeline] echo 11:14:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:14:25 ---> sudo-logs.sh 11:14:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:14:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:14:25 ---> job-cost.sh 11:14:25 lf-activate-venv: SKIPPING 11:14:25 DEBUG: total: 0.2199999988079071 11:14:25 INFO: Retrieving Stack Cost... 11:14:26 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:27 INFO: Archiving Costs [Pipeline] echo 11:14:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:27 ---> logs-deploy.sh 11:14:27 lf-activate-venv: SKIPPING 11:14:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-304/1 11:14:27 INFO: archiving workspace using pattern(s): 11:14:28 Archives upload complete. 11:14:28 INFO: archiving logs to Nexus 11:14:29 ---> uname -a: 11:14:29 Linux prd-ubuntu20-04-docker-8c-8g-28946 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 11:14:29 11:14:29