Pull request #298 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 rather than 3d16b16fd3536de56c541cc8150f1a33e519df7b Obtained Jenkinsfile from 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 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-ssh5370457964250921082.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3455653003760617753.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-298/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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12420523377550477777.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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12643035556326076977.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9167611259216834215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-298/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-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2459685656841656374.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21797 in /w/workspace/foundry_device-virtual-go_PR-298 [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-298 # 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 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 3d16b16fd3536de56c541cc8150f1a33e519df7b Merge succeeded, producing 3d16b16fd3536de56c541cc8150f1a33e519df7b Checking out Revision 3d16b16fd3536de56c541cc8150f1a33e519df7b (PR-298) > 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/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # 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 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 Commit message: "build(snap): Upgrade snap bases to core22" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:46:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:46:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:46:50 ========================================================= 15:46:50 EdgeX Global Pipelines Version Info 15:46:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:46:51 ------------------- 15:46:51 stable info: 15:46:51 ------------------- 15:46:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:51 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 15:46:51 Message: update stable to v1.0.238 15:46:52 ------------------- 15:46:52 experimental info: 15:46:52 ------------------- 15:46:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:52 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 15:46:52 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d16b16 [Pipeline] echo 15:46:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:53 provisioning config files... 15:46:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config7783853708522681712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:54 ---> docker-login.sh 15:46:54 nexus3.edgexfoundry.org:10001 15:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:54 Configure a credential helper to remove this warning. See 15:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:54 15:46:54 Login Succeeded 15:46:54 nexus3.edgexfoundry.org:10002 15:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:54 Configure a credential helper to remove this warning. See 15:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:54 15:46:54 Login Succeeded 15:46:54 nexus3.edgexfoundry.org:10003 15:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:54 Configure a credential helper to remove this warning. See 15:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:54 15:46:54 Login Succeeded 15:46:54 nexus3.edgexfoundry.org:10004 15:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:55 Configure a credential helper to remove this warning. See 15:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:55 15:46:55 Login Succeeded 15:46:55 docker.io 15:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:55 Configure a credential helper to remove this warning. See 15:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:55 15:46:55 Login Succeeded 15:46:55 ---> docker-login.sh ends [Pipeline] } 15:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:46:56 + git rev-list -1 --merges 3d16b16fd3536de56c541cc8150f1a33e519df7b~1..3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo 15:46:56 -----------> git rev-list -1 --merges 3d16b16fd3536de56c541cc8150f1a33e519df7b~1..3d16b16fd3536de56c541cc8150f1a33e519df7b 3d16b16fd3536de56c541cc8150f1a33e519df7b [false] [Pipeline] sh 15:46:56 + git log --format=format:%s -1 3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo 15:46:56 ========================================================= 15:46:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:46:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:57 + git log --format=format:%s -1 3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo 15:46:57 [semverPrep] GIT_COMMIT: 3d16b16fd3536de56c541cc8150f1a33e519df7b, Commit Message: build(snap): Upgrade snap bases to core22 [Pipeline] echo 15:46:57 [semverPrep] This is not a build commit. [Pipeline] sh 15:46:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:46:57 + grep -v github /etc/ssh/ssh_known_hosts 15:46:57 + [ -e /tmp/ssh_known_hosts ] 15:46:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:46:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:46:57 + sudo tee -a /etc/ssh/ssh_known_hosts 15:46:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:46:58 15:46:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:46:58 0.1.4: Pulling from edgex-devops/py-git-semver 15:46:58 b85a868b505f: Pulling fs layer 15:46:58 e2be974225ed: Pulling fs layer 15:46:58 339a4e72a1f5: Pulling fs layer 15:46:58 988bab9f4d93: Pulling fs layer 15:46:58 1469e6f7b9e6: Pulling fs layer 15:46:58 eaf3925da568: Pulling fs layer 15:46:58 bab4dde63d76: Pulling fs layer 15:46:58 bde34c3a00c8: Pulling fs layer 15:46:58 b352a97aabf1: Pulling fs layer 15:46:58 4872d77fe225: Pulling fs layer 15:46:58 5851b861e8e6: Pulling fs layer 15:46:58 988bab9f4d93: Waiting 15:46:58 1469e6f7b9e6: Waiting 15:46:58 eaf3925da568: Waiting 15:46:58 bab4dde63d76: Waiting 15:46:58 4872d77fe225: Waiting 15:46:58 5851b861e8e6: Waiting 15:46:58 b352a97aabf1: Waiting 15:46:58 bde34c3a00c8: Waiting 15:46:58 e2be974225ed: Download complete 15:46:58 988bab9f4d93: Verifying Checksum 15:46:58 988bab9f4d93: Download complete 15:46:58 1469e6f7b9e6: Verifying Checksum 15:46:58 1469e6f7b9e6: Download complete 15:46:58 339a4e72a1f5: Verifying Checksum 15:46:58 339a4e72a1f5: Download complete 15:46:58 eaf3925da568: Verifying Checksum 15:46:58 eaf3925da568: Download complete 15:46:58 bde34c3a00c8: Verifying Checksum 15:46:58 bde34c3a00c8: Download complete 15:46:58 b352a97aabf1: Download complete 15:46:58 4872d77fe225: Download complete 15:46:58 5851b861e8e6: Verifying Checksum 15:46:58 5851b861e8e6: Download complete 15:46:58 b85a868b505f: Verifying Checksum 15:46:58 b85a868b505f: Download complete 15:46:59 bab4dde63d76: Verifying Checksum 15:46:59 bab4dde63d76: Download complete 15:47:00 b85a868b505f: Pull complete 15:47:00 e2be974225ed: Pull complete 15:47:00 339a4e72a1f5: Pull complete 15:47:00 988bab9f4d93: Pull complete 15:47:01 1469e6f7b9e6: Pull complete 15:47:01 eaf3925da568: Pull complete 15:47:02 bab4dde63d76: Pull complete 15:47:02 bde34c3a00c8: Pull complete 15:47:03 b352a97aabf1: Pull complete 15:47:03 4872d77fe225: Pull complete 15:47:03 5851b861e8e6: Pull complete 15:47:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:03 prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container 15:47:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@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-devops/py-git-semver:0.1.4 cat 15:47:04 $ docker top 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda -eo pid,comm 15:47:05 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). 15:47:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:05 [ssh-agent] Looking for ssh-agent implementation... 15:47:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:05 $ docker exec 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent 15:47:05 SSH_AUTH_SOCK=/tmp/ssh-fyP9KhI7rijt/agent.32 15:47:05 SSH_AGENT_PID=38 15:47:05 Running ssh-add (command line suppressed) 15:47:05 Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_5735470992171251756.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_5735470992171251756.key) 15:47:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:05 + git tag --points-at HEAD [Pipeline] } 15:47:05 $ docker exec --env ******** --env ******** 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent -k 15:47:06 unset SSH_AUTH_SOCK; 15:47:06 unset SSH_AGENT_PID; 15:47:06 echo Agent pid 38 killed; 15:47:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:47:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:06 [ssh-agent] Looking for ssh-agent implementation... 15:47:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:06 $ docker exec 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent 15:47:06 SSH_AUTH_SOCK=/tmp/ssh-xHBARwLEPDqJ/agent.70 15:47:06 SSH_AGENT_PID=76 15:47:06 Running ssh-add (command line suppressed) 15:47:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_478779972009648217.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_478779972009648217.key) 15:47:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:06 + git semver init 15:47:07 2022-08-02 15:47:07,091 [run_init] DEBUG init version:0.0.0 force:False 15:47:07 2022-08-02 15:47:07,092 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-298/.semver 15:47:07 2022-08-02 15:47:07,092 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-298/.semver 15:47:07 2022-08-02 15:47:07,093 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-298/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-298, universal_newlines=False, shell=None, istream=None) 15:47:08 2022-08-02 15:47:08,020 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-298/.git/info/exclude 15:47:08 2022-08-02 15:47:08,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 with force:False 15:47:08 2022-08-02 15:47:08,021 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 15:47:08 2022-08-02 15:47:08,025 [execute] INFO git cat-file --batch-check 15:47:08 2022-08-02 15:47:08,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) 15:47:08 2022-08-02 15:47:08,032 [execute] INFO git cat-file --batch 15:47:08 2022-08-02 15:47:08,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) 15:47:08 2022-08-02 15:47:08,038 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 15:47:08 0.0.0 [Pipeline] } 15:47:08 $ docker exec --env ******** --env ******** 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent -k 15:47:08 unset SSH_AUTH_SOCK; 15:47:08 unset SSH_AGENT_PID; 15:47:08 echo Agent pid 76 killed; 15:47:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:08 + git semver [Pipeline] } 15:47:09 $ docker stop --time=1 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda 15:47:10 $ docker rm -f 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda [Pipeline] // withDockerContainer [Pipeline] sh 15:47:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:47:11 Stashed 1 file(s) [Pipeline] echo 15:47:11 [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 15:47:11 provisioning config files... 15:47:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config8816297403042720068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:12 ---> docker-login.sh 15:47:12 nexus3.edgexfoundry.org:10001 15:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:12 Configure a credential helper to remove this warning. See 15:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:12 15:47:12 Login Succeeded 15:47:12 nexus3.edgexfoundry.org:10002 15:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:12 Configure a credential helper to remove this warning. See 15:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:12 15:47:12 Login Succeeded 15:47:12 nexus3.edgexfoundry.org:10003 15:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:12 Configure a credential helper to remove this warning. See 15:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:12 15:47:12 Login Succeeded 15:47:12 nexus3.edgexfoundry.org:10004 15:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:12 Configure a credential helper to remove this warning. See 15:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:12 15:47:12 Login Succeeded 15:47:12 docker.io 15:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:12 Configure a credential helper to remove this warning. See 15:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:12 15:47:12 Login Succeeded 15:47:12 ---> docker-login.sh ends [Pipeline] } 15:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:13 ========================================================= 15:47:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:47:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:13 + 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 . 15:47:13 Sending build context to Docker daemon 23.09MB 15:47:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:47:13 Step 2/12 : FROM ${BASE} AS builder 15:47:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:47:13 2408cc74d12b: Pulling fs layer 15:47:13 ea60b727a1ce: Pulling fs layer 15:47:13 30c4a7721957: Pulling fs layer 15:47:13 370296b7ddb6: Pulling fs layer 15:47:13 7c6cee850709: Pulling fs layer 15:47:13 39a5fcdaea64: Pulling fs layer 15:47:13 d94ebbe4e438: Pulling fs layer 15:47:13 bcfd1f05c69d: Pulling fs layer 15:47:13 59ccb84bbe0f: Pulling fs layer 15:47:13 370296b7ddb6: Waiting 15:47:13 7c6cee850709: Waiting 15:47:13 d94ebbe4e438: Waiting 15:47:13 39a5fcdaea64: Waiting 15:47:13 bcfd1f05c69d: Waiting 15:47:13 30c4a7721957: Verifying Checksum 15:47:13 30c4a7721957: Download complete 15:47:13 ea60b727a1ce: Download complete 15:47:13 7c6cee850709: Verifying Checksum 15:47:13 7c6cee850709: Download complete 15:47:13 39a5fcdaea64: Verifying Checksum 15:47:13 39a5fcdaea64: Download complete 15:47:13 2408cc74d12b: Verifying Checksum 15:47:13 d94ebbe4e438: Download complete 15:47:13 2408cc74d12b: Pull complete 15:47:14 ea60b727a1ce: Pull complete 15:47:14 30c4a7721957: Pull complete 15:47:14 59ccb84bbe0f: Verifying Checksum 15:47:14 59ccb84bbe0f: Download complete 15:47:14 bcfd1f05c69d: Verifying Checksum 15:47:14 bcfd1f05c69d: Download complete 15:47:14 370296b7ddb6: Verifying Checksum 15:47:14 370296b7ddb6: Download complete 15:47:18 370296b7ddb6: Pull complete 15:47:18 7c6cee850709: Pull complete 15:47:18 39a5fcdaea64: Pull complete 15:47:18 d94ebbe4e438: Pull complete 15:47:20 bcfd1f05c69d: Pull complete 15:47:21 59ccb84bbe0f: Pull complete 15:47:21 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 15:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:47:21 ---> a4fb48ad2a94 15:47:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:47:23 ---> Running in 0099c6b7965f 15:47:23 Removing intermediate container 0099c6b7965f 15:47:23 ---> 88a5759a179c 15:47:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:47:23 ---> Running in 64d37fcf5130 15:47:23 Removing intermediate container 64d37fcf5130 15:47:23 ---> d7355758cd7a 15:47:23 Step 5/12 : WORKDIR /device-virtual-go 15:47:23 ---> Running in b1fa5dd01e68 15:47:23 Removing intermediate container b1fa5dd01e68 15:47:23 ---> 374afb93fa70 15:47:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:47:23 ---> Running in 0264489b4189 15:47:24 Removing intermediate container 0264489b4189 15:47:24 ---> 81e0e0193bab 15:47:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:47:24 ---> Running in b382356f4acd 15:47:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:47:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:47:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:47:25 (2/4) Installing libedit (20210910.3.1-r0) 15:47:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:47:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:47:26 Executing busybox-1.35.0-r13.trigger 15:47:26 OK: 216 MiB in 55 packages 15:47:26 Still waiting to schedule task 15:47:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:47:26 Removing intermediate container b382356f4acd 15:47:26 ---> e129c06ed916 15:47:26 Step 8/12 : COPY go.mod vendor* ./ 15:47:26 ---> 694ada100fde 15:47:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:26 ---> Running in a76f9f3d5c94 15:47:44 Removing intermediate container a76f9f3d5c94 15:47:44 ---> cf09ffacd1ea 15:47:44 Step 10/12 : COPY . . 15:47:45 ---> 917f5917ddf5 15:47:45 Step 11/12 : ARG MAKE='make build' 15:47:45 ---> Running in 52b971e283c7 15:47:45 Removing intermediate container 52b971e283c7 15:47:45 ---> 1737615f14fb 15:47:45 Step 12/12 : RUN $MAKE 15:47:45 ---> Running in 60a910f4d111 15:47:46 noop 15:47:46 Removing intermediate container 60a910f4d111 15:47:46 ---> 49236e8035b0 15:47:46 Successfully built 49236e8035b0 15:47:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:46 + docker inspect -f . ci-base-image-x86_64 15:47:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:46 prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container 15:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:47:47 $ docker top 684d77148ea08997b631f027eb6191cdbfe5c1d4222228ccfebda6d031ff6fd0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:47 + go version 15:47:47 go version go1.18.3 linux/amd64 [Pipeline] } 15:47:47 $ docker stop --time=1 684d77148ea08997b631f027eb6191cdbfe5c1d4222228ccfebda6d031ff6fd0 15:47:49 $ docker rm -f 684d77148ea08997b631f027eb6191cdbfe5c1d4222228ccfebda6d031ff6fd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:49 + docker inspect -f . ci-base-image-x86_64 15:47:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:50 prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container 15:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:47:50 $ docker top 3e262d324ea01df13fb323959d5dc7d8506877ca79825678542bcda3454af3b8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:50 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] fileExists [Pipeline] sh 15:47:51 + make test 15:47:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:47:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:47:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:48:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 15:48:06 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." 15:48:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:48:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:48:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:48:10 ./bin/test-attribution-txt.sh 15:48:10 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:48:10 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:48:10 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:48:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:48:10 $ docker stop --time=1 3e262d324ea01df13fb323959d5dc7d8506877ca79825678542bcda3454af3b8 15:48:11 $ docker rm -f 3e262d324ea01df13fb323959d5dc7d8506877ca79825678542bcda3454af3b8 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:48:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:48:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:48:13 + ls -al . 15:48:13 total 192 15:48:13 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 15:47 . 15:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:46 .. 15:48:13 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 15:48 .git 15:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:46 .github 15:48:13 -rw-rw-r-- 1 jenkins jenkins 337 Aug 2 15:46 .gitignore 15:48:13 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 15:46 .golangci.yml 15:48:13 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 15:47 .semver 15:48:13 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 2 15:46 Attribution.txt 15:48:13 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 2 15:46 CHANGELOG.md 15:48:13 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 2 15:46 Dockerfile 15:48:13 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 15:46 GOVERNANCE.md 15:48:13 -rw-rw-r-- 1 jenkins jenkins 660 Aug 2 15:46 Jenkinsfile 15:48:13 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 15:46 LICENSE 15:48:13 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 2 15:46 Makefile 15:48:13 -rw-rw-r-- 1 jenkins jenkins 623 Aug 2 15:46 OWNERS.md 15:48:13 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 2 15:46 README.md 15:48:13 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 15:47 VERSION 15:48:13 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 15:46 bin 15:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:46 cmd 15:48:13 -rw-r--r-- 1 jenkins jenkins 44128 Aug 2 15:48 coverage.out 15:48:13 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 2 15:46 go.mod 15:48:13 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 2 15:46 go.sum 15:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:46 internal 15:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:46 snap 15:48:13 -rw-rw-r-- 1 jenkins jenkins 235 Aug 2 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:13 + 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=3d16b16fd3536de56c541cc8150f1a33e519df7b --label arch=amd64 --label version=0.0.0 . 15:48:13 Sending build context to Docker daemon 23.13MB 15:48:13 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 15:48:13 Step 2/26 : FROM ${BASE} AS builder 15:48:13 ---> 49236e8035b0 15:48:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:48:14 ---> Running in 7a116b28e505 15:48:14 Removing intermediate container 7a116b28e505 15:48:14 ---> c35b4006b45b 15:48:14 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:48:14 ---> Running in 79f669a70445 15:48:14 Removing intermediate container 79f669a70445 15:48:14 ---> b4550190eec6 15:48:14 Step 5/26 : WORKDIR /device-virtual-go 15:48:14 ---> Running in 131de0ef5044 15:48:14 Removing intermediate container 131de0ef5044 15:48:14 ---> 1d4cdd68d013 15:48:14 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:14 ---> Running in 7807c535b3bf 15:48:14 Removing intermediate container 7807c535b3bf 15:48:14 ---> 11de3ceb24db 15:48:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:14 ---> Running in 7963a4ea1f9f 15:48:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:48:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:48:16 OK: 216 MiB in 55 packages 15:48:17 Removing intermediate container 7963a4ea1f9f 15:48:17 ---> f74a5d340407 15:48:17 Step 8/26 : COPY go.mod vendor* ./ 15:48:17 ---> 56b4794cf198 15:48:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:17 ---> Running in e28109cd2f51 15:48:17 Removing intermediate container e28109cd2f51 15:48:17 ---> 8200e9657595 15:48:17 Step 10/26 : COPY . . 15:48:18 ---> 45062d1fe087 15:48:18 Step 11/26 : ARG MAKE='make build' 15:48:18 ---> Running in e3293724bba2 15:48:18 Removing intermediate container e3293724bba2 15:48:18 ---> 88091fda5425 15:48:18 Step 12/26 : RUN $MAKE 15:48:18 ---> Running in 8f06b6c596d2 15:48:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 15:48:36 Removing intermediate container 8f06b6c596d2 15:48:36 ---> ecd7b796319b 15:48:36 Step 13/26 : FROM alpine:3.16 15:48:37 3.16: Pulling from library/alpine 15:48:37 530afca65e2e: Pulling fs layer 15:48:37 530afca65e2e: Verifying Checksum 15:48:37 530afca65e2e: Download complete 15:48:37 530afca65e2e: Pull complete 15:48:37 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 15:48:37 Status: Downloaded newer image for alpine:3.16 15:48:37 ---> d7d3d98c851f 15:48:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:48:37 ---> Running in 310d5e748c50 15:48:37 Removing intermediate container 310d5e748c50 15:48:37 ---> 8e2699aee47f 15:48:37 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:37 ---> Running in 90ced2b56788 15:48:38 Removing intermediate container 90ced2b56788 15:48:38 ---> 51c3905e8023 15:48:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:48:38 ---> Running in 6f4fd602e778 15:48:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:48:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:48:40 (1/6) Installing dumb-init (1.2.5-r1) 15:48:40 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:48:40 (3/6) Installing libsodium (1.0.18-r0) 15:48:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:48:40 (5/6) Installing libzmq (4.3.4-r0) 15:48:40 (6/6) Installing zeromq (4.3.4-r0) 15:48:40 Executing busybox-1.35.0-r15.trigger 15:48:40 OK: 8 MiB in 20 packages 15:48:40 Removing intermediate container 6f4fd602e778 15:48:40 ---> c2daa55d9593 15:48:40 Step 17/26 : WORKDIR / 15:48:41 ---> Running in a8c956792ba5 15:48:41 Removing intermediate container a8c956792ba5 15:48:41 ---> e4e4102a9cfc 15:48:41 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:48:41 ---> 044cc44ed7c0 15:48:41 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 15:48:41 ---> 24bf4e591370 15:48:41 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 15:48:42 ---> 099adee89aed 15:48:42 Step 21/26 : EXPOSE 59900 15:48:42 ---> Running in 1983f2981b1a 15:48:42 Removing intermediate container 1983f2981b1a 15:48:42 ---> d4b8d8168d53 15:48:42 Step 22/26 : ENTRYPOINT ["/device-virtual"] 15:48:42 ---> Running in 8946a11ac820 15:48:42 Removing intermediate container 8946a11ac820 15:48:42 ---> 29d994046d4a 15:48:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:48:42 ---> Running in 5162b2b1b408 15:48:42 Removing intermediate container 5162b2b1b408 15:48:42 ---> 27dbb301258f 15:48:42 Step 24/26 : LABEL arch=amd64 15:48:42 ---> Running in 9ee2c59acc6d 15:48:42 Removing intermediate container 9ee2c59acc6d 15:48:42 ---> 9678511d5131 15:48:42 Step 25/26 : LABEL git_sha=3d16b16fd3536de56c541cc8150f1a33e519df7b 15:48:42 ---> Running in dc823e9542f4 15:48:42 Removing intermediate container dc823e9542f4 15:48:42 ---> 049f6f4f276f 15:48:42 Step 26/26 : LABEL version=0.0.0 15:48:42 ---> Running in fa3ff8a1b001 15:48:42 Removing intermediate container fa3ff8a1b001 15:48:42 ---> 626abe1f6732 15:48:42 [Warning] One or more build-args [ARCH] were not consumed 15:48:42 Successfully built 626abe1f6732 15:48:42 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 15:48:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:48:43 15:48:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:48:44 latest: Pulling from edgex-lftools-log-publisher 15:48:44 5eb5b503b376: Pulling fs layer 15:48:44 5c69ac0246d0: Pulling fs layer 15:48:44 ec43610c2a17: Pulling fs layer 15:48:44 3a2ae6a8a46f: Pulling fs layer 15:48:44 33b1e0a273af: Pulling fs layer 15:48:44 5d3b04190fa2: Pulling fs layer 15:48:44 2f39f015ded8: Pulling fs layer 15:48:44 5d3b04190fa2: Waiting 15:48:44 33b1e0a273af: Waiting 15:48:44 2f39f015ded8: Waiting 15:48:44 5c69ac0246d0: Verifying Checksum 15:48:44 5c69ac0246d0: Download complete 15:48:44 3a2ae6a8a46f: Verifying Checksum 15:48:44 3a2ae6a8a46f: Download complete 15:48:44 33b1e0a273af: Verifying Checksum 15:48:44 33b1e0a273af: Download complete 15:48:44 5d3b04190fa2: Verifying Checksum 15:48:44 5d3b04190fa2: Download complete 15:48:44 ec43610c2a17: Verifying Checksum 15:48:44 ec43610c2a17: Download complete 15:48:44 5eb5b503b376: Verifying Checksum 15:48:44 5eb5b503b376: Download complete 15:48:44 2f39f015ded8: Download complete 15:48:45 5eb5b503b376: Pull complete 15:48:45 5c69ac0246d0: Pull complete 15:48:46 ec43610c2a17: Pull complete 15:48:46 3a2ae6a8a46f: Pull complete 15:48:46 33b1e0a273af: Pull complete 15:48:46 5d3b04190fa2: Pull complete 15:48:50 2f39f015ded8: Pull complete 15:48:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:48:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:51 prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container 15:48:51 $ 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-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:48:52 $ docker top f507c88c9465b1bbe50d23cbb84498a418d187cd7cc7e8918547b7233ed0699e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:53 ---> job-cost.sh 15:48:53 lf-activate-venv: SKIPPING 15:48:53 INFO: No Stack... 15:48:54 INFO: Retrieving Pricing Info for: v3-standard-8 15:48:54 INFO: Archiving Costs [Pipeline] sh 15:48:54 + cat /w/workspace/foundry_device-virtual-go_PR-298/archives/cost.csv 15:48:54 + cut -d, -f6 [Pipeline] lock 15:48:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] 15:48:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] did not exist. Created. 15:48:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:48:55 + echo total: 0.2199999988079071 [Pipeline] stash 15:48:55 Stashed 1 file(s) [Pipeline] } 15:48:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:48:55 $ docker stop --time=1 f507c88c9465b1bbe50d23cbb84498a418d187cd7cc7e8918547b7233ed0699e 15:48:56 $ docker rm -f f507c88c9465b1bbe50d23cbb84498a418d187cd7cc7e8918547b7233ed0699e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:49:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21798 in /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] { [Pipeline] ws 15:49:14 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 15:49:15 The recommended git tool is: git 15:49:21 using credential edgex-jenkins-ssh 15:49:21 Cloning the remote Git repository 15:49:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:49:21 > git init /w/workspace/device-virtual-go/1 # timeout=10 15:49:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:49:21 > git --version # timeout=10 15:49:21 > git --version # 'git version 2.25.1' 15:49:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:24 Merging remotes/origin/main commit 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 3d16b16fd3536de56c541cc8150f1a33e519df7b 15:49:24 Merge succeeded, producing 3d16b16fd3536de56c541cc8150f1a33e519df7b 15:49:24 Checking out Revision 3d16b16fd3536de56c541cc8150f1a33e519df7b (PR-298) 15:49:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:49:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:49:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:49:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:49:24 > git config core.sparsecheckout # timeout=10 15:49:24 > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 15:49:24 > git remote # timeout=10 15:49:24 > git config --get remote.origin.url # timeout=10 15:49:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:24 > git merge 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 15:49:24 > git rev-parse HEAD^{commit} # timeout=10 15:49:24 > git config core.sparsecheckout # timeout=10 15:49:24 > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 15:49:29 Commit message: "build(snap): Upgrade snap bases to core22" 15:49:29 > git --version # timeout=10 15:49:29 > git --version # 'git version 2.25.1' 15:49:29 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:49:30 % Total % Received % Xferd Average Speed Time Time Time Current 15:49:30 Dload Upload Total Spent Left Speed 15:49:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 82213 0 --:--:-- --:--:-- --:--:-- 82765 [Pipeline] sh 15:49:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:49:31 + sudo tee /etc/docker/daemon.new 15:49:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:49:31 { 15:49:31 "registry-mirrors": [ 15:49:31 "https://nexus3.edgexfoundry.org:10001" 15:49:31 ], 15:49:31 "bip": "10.250.0.254/24", 15:49:31 "hosts": [ 15:49:31 "tcp://0.0.0.0:5555", 15:49:31 "unix:///var/run/docker.sock" 15:49:31 ], 15:49:31 "mtu": 1458, 15:49:31 "selinux-enabled": true, 15:49:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:49:31 } [Pipeline] sh 15:49:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:49:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:50 provisioning config files... 15:49:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5013055391264983597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:51 ---> docker-login.sh 15:49:51 nexus3.edgexfoundry.org:10001 15:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:51 Configure a credential helper to remove this warning. See 15:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:51 15:49:51 Login Succeeded 15:49:51 nexus3.edgexfoundry.org:10002 15:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:52 Configure a credential helper to remove this warning. See 15:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:52 15:49:52 Login Succeeded 15:49:52 nexus3.edgexfoundry.org:10003 15:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:53 Configure a credential helper to remove this warning. See 15:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:53 15:49:53 Login Succeeded 15:49:53 nexus3.edgexfoundry.org:10004 15:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:53 Configure a credential helper to remove this warning. See 15:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:53 15:49:53 Login Succeeded 15:49:53 docker.io 15:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:54 Configure a credential helper to remove this warning. See 15:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:54 15:49:54 Login Succeeded 15:49:54 ---> docker-login.sh ends [Pipeline] } 15:49:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:55 ========================================================= 15:49:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:49:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:55 + 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 . 15:49:56 Sending build context to Docker daemon 11.68MB 15:49:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:49:56 Step 2/12 : FROM ${BASE} AS builder 15:49:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:49:56 b3c136eddcbf: Pulling fs layer 15:49:56 c0a3192eca97: Pulling fs layer 15:49:56 a050256f5b6f: Pulling fs layer 15:49:56 656be50a0ddc: Pulling fs layer 15:49:56 2bbca73fdf42: Pulling fs layer 15:49:56 46d945488cbd: Pulling fs layer 15:49:56 8a5474983e97: Pulling fs layer 15:49:56 329c88fbcd65: Pulling fs layer 15:49:56 2bbca73fdf42: Waiting 15:49:56 46d945488cbd: Waiting 15:49:56 8a5474983e97: Waiting 15:49:56 329c88fbcd65: Waiting 15:49:56 656be50a0ddc: Waiting 15:49:56 a050256f5b6f: Verifying Checksum 15:49:56 a050256f5b6f: Download complete 15:49:56 2bbca73fdf42: Verifying Checksum 15:49:56 2bbca73fdf42: Download complete 15:49:56 46d945488cbd: Verifying Checksum 15:49:56 46d945488cbd: Download complete 15:49:56 b3c136eddcbf: Verifying Checksum 15:49:56 b3c136eddcbf: Download complete 15:49:57 b3c136eddcbf: Pull complete 15:49:57 329c88fbcd65: Verifying Checksum 15:49:57 329c88fbcd65: Download complete 15:49:58 c0a3192eca97: Pull complete 15:49:58 a050256f5b6f: Pull complete 15:49:58 8a5474983e97: Download complete 15:49:59 656be50a0ddc: Verifying Checksum 15:49:59 656be50a0ddc: Download complete 15:50:14 656be50a0ddc: Pull complete 15:50:14 2bbca73fdf42: Pull complete 15:50:14 46d945488cbd: Pull complete 15:50:20 8a5474983e97: Pull complete 15:50:22 329c88fbcd65: Pull complete 15:50:22 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 15:50:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:50:22 ---> ff4287adb874 15:50:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:50:22 ---> Running in 9620b985a457 15:50:23 Removing intermediate container 9620b985a457 15:50:23 ---> 77d539101a34 15:50:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:50:23 ---> Running in d2bfa472e778 15:50:23 Removing intermediate container d2bfa472e778 15:50:23 ---> 2e7e868c435b 15:50:23 Step 5/12 : WORKDIR /device-virtual-go 15:50:23 ---> Running in 4f110f2f416a 15:50:24 Removing intermediate container 4f110f2f416a 15:50:24 ---> c5b678a6aec6 15:50:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:50:24 ---> Running in 12f04d36ea59 15:50:25 Removing intermediate container 12f04d36ea59 15:50:25 ---> 893e2f72cd5d 15:50:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:26 ---> Running in 1df4e83595fa 15:50:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:50:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:50:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:50:29 (2/4) Installing libedit (20210910.3.1-r0) 15:50:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:50:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:50:29 Executing busybox-1.35.0-r13.trigger 15:50:29 OK: 226 MiB in 55 packages 15:50:30 Removing intermediate container 1df4e83595fa 15:50:30 ---> 085591fbd829 15:50:30 Step 8/12 : COPY go.mod vendor* ./ 15:50:31 ---> 60725c74ec09 15:50:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:31 ---> Running in 209e734463f4 15:51:18 Removing intermediate container 209e734463f4 15:51:18 ---> b61892deddad 15:51:18 Step 10/12 : COPY . . 15:51:18 ---> 1215d610eb86 15:51:18 Step 11/12 : ARG MAKE='make build' 15:51:18 ---> Running in 3d1f048b6ddb 15:51:19 Removing intermediate container 3d1f048b6ddb 15:51:19 ---> 5016540c2c24 15:51:19 Step 12/12 : RUN $MAKE 15:51:19 ---> Running in 392e827673e2 15:51:20 noop 15:51:20 Removing intermediate container 392e827673e2 15:51:20 ---> 4eb81710e254 15:51:20 Successfully built 4eb81710e254 15:51:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:21 + docker inspect -f . ci-base-image-arm64 15:51:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:21 prd-ubuntu20.04-docker-arm64-4c-16g-21798 does not seem to be running inside a container 15:51:21 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:22 $ docker top 834f04f863a568771d700ef12c5705a719d6dcd24a0dbf20328387827bc6c96c -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:23 + go version 15:51:23 go version go1.18.3 linux/arm64 [Pipeline] } 15:51:23 $ docker stop --time=1 834f04f863a568771d700ef12c5705a719d6dcd24a0dbf20328387827bc6c96c 15:51:25 $ docker rm -f 834f04f863a568771d700ef12c5705a719d6dcd24a0dbf20328387827bc6c96c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:26 + docker inspect -f . ci-base-image-arm64 15:51:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-21798 does not seem to be running inside a container 15:51:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:28 $ docker top 7cf87e5be535a892f99ce8f7a0df9c8aa068c78762107806883bae80dfd2c358 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:29 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 15:51:29 + make test 15:51:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:51:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:52:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:52:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 65.7% of statements 15:52:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:52:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:53:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:53:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:53:16 ./bin/test-attribution-txt.sh 15:53:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:53:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:53:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:53:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:53:16 $ docker stop --time=1 7cf87e5be535a892f99ce8f7a0df9c8aa068c78762107806883bae80dfd2c358 15:53:18 $ docker rm -f 7cf87e5be535a892f99ce8f7a0df9c8aa068c78762107806883bae80dfd2c358 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:19 Warning: overwriting stash ‘coverage-report’ 15:53:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:53:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:53:20 + ls -al . 15:53:20 total 188 15:53:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 15:51 . 15:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:49 .. 15:53:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 15:49 .git 15:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:49 .github 15:53:20 -rw-rw-r-- 1 jenkins jenkins 337 Aug 2 15:49 .gitignore 15:53:20 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 15:49 .golangci.yml 15:53:20 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 2 15:49 Attribution.txt 15:53:20 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 2 15:49 CHANGELOG.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 2 15:49 Dockerfile 15:53:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 15:49 GOVERNANCE.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 660 Aug 2 15:49 Jenkinsfile 15:53:20 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 15:49 LICENSE 15:53:20 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 2 15:49 Makefile 15:53:20 -rw-rw-r-- 1 jenkins jenkins 623 Aug 2 15:49 OWNERS.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 2 15:49 README.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 15:47 VERSION 15:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 15:49 bin 15:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:49 cmd 15:53:20 -rw-r--r-- 1 jenkins jenkins 44128 Aug 2 15:52 coverage.out 15:53:20 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 2 15:49 go.mod 15:53:20 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 2 15:49 go.sum 15:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:49 internal 15:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:49 snap 15:53:20 -rw-rw-r-- 1 jenkins jenkins 235 Aug 2 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:21 + 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=3d16b16fd3536de56c541cc8150f1a33e519df7b --label arch=arm64 --label version=0.0.0 . 15:53:22 Sending build context to Docker daemon 11.72MB 15:53:22 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 15:53:22 Step 2/26 : FROM ${BASE} AS builder 15:53:22 ---> 4eb81710e254 15:53:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:53:22 ---> Running in f7d9b9cf96e4 15:53:22 Removing intermediate container f7d9b9cf96e4 15:53:22 ---> 05cebe258b98 15:53:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:53:22 ---> Running in da64539b2127 15:53:22 Removing intermediate container da64539b2127 15:53:22 ---> 5c8174d5172a 15:53:22 Step 5/26 : WORKDIR /device-virtual-go 15:53:22 ---> Running in 4b1c03fcdbae 15:53:23 Removing intermediate container 4b1c03fcdbae 15:53:23 ---> ace3ac9c1750 15:53:23 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:53:23 ---> Running in 3671351df535 15:53:25 Removing intermediate container 3671351df535 15:53:25 ---> f85a4f4b9f6a 15:53:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:25 ---> Running in 9c4ceed0b16f 15:53:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:53:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:53:27 OK: 226 MiB in 55 packages 15:53:28 Removing intermediate container 9c4ceed0b16f 15:53:28 ---> 657702e14569 15:53:28 Step 8/26 : COPY go.mod vendor* ./ 15:53:29 ---> 70d1db92e50f 15:53:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:29 ---> Running in 2eb9bf3caeb6 15:53:31 Removing intermediate container 2eb9bf3caeb6 15:53:31 ---> 05891bf5e974 15:53:31 Step 10/26 : COPY . . 15:53:33 ---> a4948dc256b2 15:53:33 Step 11/26 : ARG MAKE='make build' 15:53:33 ---> Running in 0b8899ecdaff 15:53:33 Removing intermediate container 0b8899ecdaff 15:53:33 ---> c59eb2a497b2 15:53:33 Step 12/26 : RUN $MAKE 15:53:33 ---> Running in 6b59b98b0a55 15:53:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 15:55:56 Removing intermediate container 6b59b98b0a55 15:55:56 ---> 5228cf2b7eaa 15:55:56 Step 13/26 : FROM alpine:3.16 15:55:56 3.16: Pulling from library/alpine 15:55:56 f97344484467: Pulling fs layer 15:55:56 f97344484467: Download complete 15:55:56 f97344484467: Pull complete 15:55:56 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 15:55:56 Status: Downloaded newer image for alpine:3.16 15:55:56 ---> 3d81c46cd875 15:55:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:55:56 ---> Running in 86fdf29ec158 15:55:56 Removing intermediate container 86fdf29ec158 15:55:56 ---> 1589818bd7ab 15:55:56 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:55:56 ---> Running in b83c6877d1fa 15:55:56 Removing intermediate container b83c6877d1fa 15:55:56 ---> 8e4c8cfa403c 15:55:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:55:56 ---> Running in 228479e31e31 15:55:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:55:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:55:56 (1/6) Installing dumb-init (1.2.5-r1) 15:55:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:55:56 (3/6) Installing libsodium (1.0.18-r0) 15:55:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:55:56 (5/6) Installing libzmq (4.3.4-r0) 15:55:56 (6/6) Installing zeromq (4.3.4-r0) 15:55:56 Executing busybox-1.35.0-r15.trigger 15:55:56 OK: 8 MiB in 20 packages 15:55:56 Removing intermediate container 228479e31e31 15:55:56 ---> 5bfe9e0186fe 15:55:56 Step 17/26 : WORKDIR / 15:55:56 ---> Running in 42a576ba4dad 15:55:56 Removing intermediate container 42a576ba4dad 15:55:56 ---> 93ce406ad615 15:55:56 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:55:56 ---> 1ef04878ecb5 15:55:56 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 15:55:56 ---> fad72c8d5e63 15:55:56 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 15:55:56 ---> 9c01a2acde6a 15:55:56 Step 21/26 : EXPOSE 59900 15:55:56 ---> Running in d98f39685c6e 15:55:56 Removing intermediate container d98f39685c6e 15:55:56 ---> 390e6dd8a65f 15:55:56 Step 22/26 : ENTRYPOINT ["/device-virtual"] 15:55:56 ---> Running in 394f981365a6 15:55:56 Removing intermediate container 394f981365a6 15:55:56 ---> 45937be5be1a 15:55:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:55:56 ---> Running in 6420b85ca1d5 15:55:56 Removing intermediate container 6420b85ca1d5 15:55:56 ---> e6c2475020f2 15:55:56 Step 24/26 : LABEL arch=arm64 15:55:56 ---> Running in 753324ef8d37 15:55:56 Removing intermediate container 753324ef8d37 15:55:56 ---> 5810e804364a 15:55:56 Step 25/26 : LABEL git_sha=3d16b16fd3536de56c541cc8150f1a33e519df7b 15:55:56 ---> Running in 40868987371a 15:55:56 Removing intermediate container 40868987371a 15:55:56 ---> 6147b6474d59 15:55:56 Step 26/26 : LABEL version=0.0.0 15:55:56 ---> Running in bd42913d6717 15:55:56 Removing intermediate container bd42913d6717 15:55:56 ---> 63e014eb5adf 15:55:56 [Warning] One or more build-args [ARCH] were not consumed 15:55:56 Successfully built 63e014eb5adf 15:55:56 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 15:55:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:57 15:55:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:58 arm64: Pulling from edgex-lftools-log-publisher 15:55:58 8998bd30e6a1: Pulling fs layer 15:55:58 04944245beec: Pulling fs layer 15:55:58 699f458cf7ca: Pulling fs layer 15:55:58 765212b225bb: Pulling fs layer 15:55:58 f23df028b6ca: Pulling fs layer 15:55:58 d65c8cfc05b1: Pulling fs layer 15:55:58 2437ff75d9bd: Pulling fs layer 15:55:58 765212b225bb: Waiting 15:55:58 f23df028b6ca: Waiting 15:55:58 d65c8cfc05b1: Waiting 15:55:58 2437ff75d9bd: Waiting 15:55:58 04944245beec: Verifying Checksum 15:55:58 04944245beec: Download complete 15:55:58 765212b225bb: Verifying Checksum 15:55:58 765212b225bb: Download complete 15:55:58 f23df028b6ca: Verifying Checksum 15:55:58 f23df028b6ca: Download complete 15:55:58 d65c8cfc05b1: Verifying Checksum 15:55:58 d65c8cfc05b1: Download complete 15:55:58 699f458cf7ca: Verifying Checksum 15:55:58 699f458cf7ca: Download complete 15:55:59 8998bd30e6a1: Verifying Checksum 15:55:59 8998bd30e6a1: Download complete 15:56:01 2437ff75d9bd: Verifying Checksum 15:56:01 2437ff75d9bd: Download complete 15:56:03 8998bd30e6a1: Pull complete 15:56:03 04944245beec: Pull complete 15:56:05 699f458cf7ca: Pull complete 15:56:05 765212b225bb: Pull complete 15:56:06 f23df028b6ca: Pull complete 15:56:06 d65c8cfc05b1: Pull complete 15:56:21 2437ff75d9bd: Pull complete 15:56:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:56:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:22 prd-ubuntu20.04-docker-arm64-4c-16g-21798 does not seem to be running inside a container 15:56:22 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:56:24 $ docker top dc93d97091d2bb829fe24dabbb4a4f7bbbdb66d819bc580f0921dfb76a32a051 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:25 ---> job-cost.sh 15:56:25 lf-activate-venv: SKIPPING 15:56:25 INFO: No Stack... 15:56:26 INFO: Retrieving Pricing Info for: v3-standard-4 15:56:27 INFO: Archiving Costs [Pipeline] sh 15:56:27 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 15:56:27 + cut -d, -f6 [Pipeline] lock 15:56:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] 15:56:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] did not exist. Created. 15:56:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:28 /w/workspace/device-virtual-go/1@tmp/durable-e60ce9cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:56:29 + echo total: 0.10999999940395355 [Pipeline] stash 15:56:29 Warning: overwriting stash ‘stack-cost’ 15:56:29 Stashed 1 file(s) [Pipeline] } 15:56:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:29 $ docker stop --time=1 dc93d97091d2bb829fe24dabbb4a4f7bbbdb66d819bc580f0921dfb76a32a051 15:56:31 $ docker rm -f dc93d97091d2bb829fe24dabbb4a4f7bbbdb66d819bc580f0921dfb76a32a051 [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 15:56:32 provisioning config files... 15:56:32 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config4790924744464320548tmp [Pipeline] { [Pipeline] sh 15:56:32 + set +x 15:56:32 + curl -s+ https://codecov.io/bash 15:56:32 bash -s -- 15:56:32 15:56:32 _____ _ 15:56:32 / ____| | | 15:56:32 | | ___ __| | ___ ___ _____ __ 15:56:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:56:32 | |___| (_) | (_| | __/ (_| (_) \ V / 15:56:32 \_____\___/ \__,_|\___|\___\___/ \_/ 15:56:32 Bash-1.0.6 15:56:32 15:56:32 15:56:32 ==> git version 2.25.1 found 15:56:32 ==> 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 15:56:32 Release-Date: 2020-01-08 15:56:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:56:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:56:32 ==> Jenkins CI detected. 15:56:32 current dir:  /w/workspace/foundry_device-virtual-go_PR-298 15:56:32 project root: . 15:56:32 --> token set from env 15:56:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:56:32 ==> Running gcov in . (disable via -X gcov) 15:56:32 ==> Python coveragepy not found 15:56:32 ==> Searching for coverage reports in: 15:56:32 + . 15:56:32 -> Found 1 reports 15:56:32 ==> Detecting git/mercurial file structure 15:56:32 ==> Reading reports 15:56:32 + ./coverage.out bytes=44128 15:56:32 ==> Appending adjustments 15:56:32 https://docs.codecov.io/docs/fixing-reports 15:56:32 + Found adjustments 15:56:32 ==> Gzipping contents 15:56:32 8.0K /tmp/codecov.oQgtDq.gz 15:56:32 ==> Uploading reports 15:56:32 url: https://codecov.io 15:56:32 query: branch=PR-298&commit=3d16b16fd3536de56c541cc8150f1a33e519df7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= 15:56:32 -> Pinging Codecov 15:56:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-298&commit=3d16b16fd3536de56c541cc8150f1a33e519df7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= 15:56:32 -> Uploading to 15:56:32 https://storage.googleapis.com/codecov/v4/raw/2022-08-02/5E52B4B073DB2E39498172D8E973AA87/3d16b16fd3536de56c541cc8150f1a33e519df7b/aea41ee0-224c-4e75-8df7-51fcae4534c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220802T155632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=460f3a8d99c6f92ad4defeb0ab037dc6ee4a2ad99e56e6a124895c01323a69bd 15:56:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:32 Dload Upload Total Spent Left Speed 15:56:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5511 0 0 100 5511 0 24936 --:--:-- --:--:-- --:--:-- 24936 15:56:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] } 15:56:33 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 15:56:34 + [ -d /w/workspace/foundry_device-virtual-go_PR-298/archives ] 15:56:34 + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives 15:56:34 total 16 15:56:34 drwxr-xr-x 3 root root 4096 Aug 2 15:48 . 15:56:34 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 15:48 .. 15:56:34 drwxr-xr-x 2 root root 4096 Aug 2 15:48 cost 15:56:34 -rw-r--r-- 1 root root 89 Aug 2 15:48 cost.csv 15:56:34 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-298/archives 15:56:34 + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives 15:56:34 total 16 15:56:34 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 15:48 . 15:56:34 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 15:48 .. 15:56:34 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 15:48 cost 15:56:34 -rw-r--r-- 1 jenkins jenkins 89 Aug 2 15:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:56:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:56:36 ---> package-listing.sh 15:56:36 ++ facter osfamily 15:56:36 ++ tr '[:upper:]' '[:lower:]' 15:56:36 + OS_FAMILY=debian 15:56:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-298 15:56:36 + START_PACKAGES=/tmp/packages_start.txt 15:56:36 + END_PACKAGES=/tmp/packages_end.txt 15:56:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:56:36 + PACKAGES=/tmp/packages_start.txt 15:56:36 + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' 15:56:36 + PACKAGES=/tmp/packages_end.txt 15:56:36 + case "${OS_FAMILY}" in 15:56:36 + dpkg -l 15:56:36 + grep '^ii' 15:56:36 + '[' -f /tmp/packages_start.txt ']' 15:56:36 + '[' -f /tmp/packages_end.txt ']' 15:56:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:56:36 + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' 15:56:36 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-298/archives/ 15:56:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-298/archives/ [Pipeline] echo 15:56:36 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-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:56:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:37 prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container 15:56:37 $ 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-298/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-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:56:37 $ docker top f3d3f698da1088fd6abe93e0f5c8e52acf9bc9770df76341ba16f5d9b6f2b236 -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:38 + touch /tmp/pre-build-complete [Pipeline] sh 15:56:38 + mkdir -p /var/log/sysstat [Pipeline] sh 15:56:38 + ls /var/log/sa-host 15:56:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:39 provisioning config files... 15:56:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config576279131322936231tmp [Pipeline] { [Pipeline] echo 15:56:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:56:39 ---> create-netrc.sh [Pipeline] } 15:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:56:39 ---> python-tools-install.sh [Pipeline] echo 15:56:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:56:40 ---> sudo-logs.sh 15:56:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:56:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:56:40 ---> job-cost.sh 15:56:40 lf-activate-venv: SKIPPING 15:56:40 DEBUG: total: 0.2199999988079071 15:56:40 INFO: Retrieving Stack Cost... 15:56:41 INFO: Retrieving Pricing Info for: v3-standard-8 15:56:41 INFO: Archiving Costs [Pipeline] echo 15:56:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:56:41 ---> logs-deploy.sh 15:56:41 lf-activate-venv: SKIPPING 15:56:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-298/1 15:56:41 INFO: archiving workspace using pattern(s): 15:56:42 Archives upload complete. 15:56:43 INFO: archiving logs to Nexus