Pull request #317 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 213c59a90fa2a9f25f91c2628b566ab82c721a2b rather than ee73e7ec4c5a75450af71e580ef521e59aef9a3d Obtained Jenkinsfile from 213c59a90fa2a9f25f91c2628b566ab82c721a2b 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-ssh6681587355455609496.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh464634848030070808.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8501784610838412573.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh14322761736039662397.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh701888618832994917.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117189 in /w/workspace/foundry_device-virtual-go_PR-317 [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-317 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit ee73e7ec4c5a75450af71e580ef521e59aef9a3d Merge succeeded, producing ee73e7ec4c5a75450af71e580ef521e59aef9a3d Checking out Revision ee73e7ec4c5a75450af71e580ef521e59aef9a3d (PR-317) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 Commit message: "update versions, address feedback" > git rev-list --no-walk e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:40:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:40:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:40:10 ========================================================= 16:40:10 EdgeX Global Pipelines Version Info 16:40:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:40:11 ------------------- 16:40:11 stable info: 16:40:11 ------------------- 16:40:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:40:11 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:40:11 Message: update stable to v1.0.243 16:40:11 ------------------- 16:40:11 experimental info: 16:40:11 ------------------- 16:40:11 Commited By: **** collab-it+edgex@linuxfoundation.org 16:40:11 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:40:11 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee73e7e [Pipeline] echo 16:40:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:40:12 provisioning config files... 16:40:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config12623801232191070491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:12 ---> docker-login.sh 16:40:12 nexus3.edgexfoundry.org:10001 16:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:13 Configure a credential helper to remove this warning. See 16:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:13 16:40:13 Login Succeeded 16:40:13 nexus3.edgexfoundry.org:10002 16:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:13 Configure a credential helper to remove this warning. See 16:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:13 16:40:13 Login Succeeded 16:40:13 nexus3.edgexfoundry.org:10003 16:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:13 Configure a credential helper to remove this warning. See 16:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:13 16:40:13 Login Succeeded 16:40:13 nexus3.edgexfoundry.org:10004 16:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:13 Configure a credential helper to remove this warning. See 16:40:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:13 16:40:13 Login Succeeded 16:40:13 docker.io 16:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:14 Configure a credential helper to remove this warning. See 16:40:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:14 16:40:14 Login Succeeded 16:40:14 ---> docker-login.sh ends [Pipeline] } 16:40:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:40:14 + git rev-list -1 --merges ee73e7ec4c5a75450af71e580ef521e59aef9a3d~1..ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo 16:40:14 -----------> git rev-list -1 --merges ee73e7ec4c5a75450af71e580ef521e59aef9a3d~1..ee73e7ec4c5a75450af71e580ef521e59aef9a3d ee73e7ec4c5a75450af71e580ef521e59aef9a3d [false] [Pipeline] sh 16:40:14 + git log --format=format:%s -1 ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo 16:40:14 ========================================================= 16:40:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:40:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:40:15 + git log --format=format:%s -1 ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo 16:40:15 [semverPrep] GIT_COMMIT: ee73e7ec4c5a75450af71e580ef521e59aef9a3d, Commit Message: update versions, address feedback [Pipeline] echo 16:40:15 [semverPrep] This is not a build commit. [Pipeline] sh 16:40:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:40:15 + grep -v github /etc/ssh/ssh_known_hosts 16:40:15 + [ -e /tmp/ssh_known_hosts ] 16:40:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:40:15 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:40:15 sudo tee -a /etc/ssh/ssh_known_hosts 16:40:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:16 16:40:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:16 0.1.4: Pulling from edgex-devops/py-git-semver 16:40:16 b85a868b505f: Pulling fs layer 16:40:16 e2be974225ed: Pulling fs layer 16:40:16 339a4e72a1f5: Pulling fs layer 16:40:16 988bab9f4d93: Pulling fs layer 16:40:16 1469e6f7b9e6: Pulling fs layer 16:40:16 988bab9f4d93: Waiting 16:40:16 eaf3925da568: Pulling fs layer 16:40:16 bab4dde63d76: Pulling fs layer 16:40:16 bde34c3a00c8: Pulling fs layer 16:40:16 1469e6f7b9e6: Waiting 16:40:16 eaf3925da568: Waiting 16:40:16 bab4dde63d76: Waiting 16:40:16 b352a97aabf1: Pulling fs layer 16:40:16 bde34c3a00c8: Waiting 16:40:16 4872d77fe225: Pulling fs layer 16:40:16 b352a97aabf1: Waiting 16:40:16 5851b861e8e6: Pulling fs layer 16:40:16 4872d77fe225: Waiting 16:40:16 5851b861e8e6: Waiting 16:40:16 e2be974225ed: Verifying Checksum 16:40:16 e2be974225ed: Download complete 16:40:16 988bab9f4d93: Download complete 16:40:16 1469e6f7b9e6: Verifying Checksum 16:40:16 1469e6f7b9e6: Download complete 16:40:16 339a4e72a1f5: Verifying Checksum 16:40:16 339a4e72a1f5: Download complete 16:40:16 eaf3925da568: Verifying Checksum 16:40:16 eaf3925da568: Download complete 16:40:16 bde34c3a00c8: Verifying Checksum 16:40:16 bde34c3a00c8: Download complete 16:40:16 b352a97aabf1: Verifying Checksum 16:40:16 4872d77fe225: Download complete 16:40:16 5851b861e8e6: Verifying Checksum 16:40:16 5851b861e8e6: Download complete 16:40:16 b85a868b505f: Download complete 16:40:16 bab4dde63d76: Verifying Checksum 16:40:17 b85a868b505f: Pull complete 16:40:18 e2be974225ed: Pull complete 16:40:18 339a4e72a1f5: Pull complete 16:40:18 988bab9f4d93: Pull complete 16:40:18 1469e6f7b9e6: Pull complete 16:40:19 eaf3925da568: Pull complete 16:40:21 bab4dde63d76: Pull complete 16:40:21 bde34c3a00c8: Pull complete 16:40:21 b352a97aabf1: Pull complete 16:40:21 4872d77fe225: Pull complete 16:40:21 5851b861e8e6: Pull complete 16:40:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:40:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:21 prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container 16:40:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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-devops/py-git-semver:0.1.4 cat 16:40:25 $ docker top 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 -eo pid,comm 16:40:25 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). 16:40:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:26 [ssh-agent] Looking for ssh-agent implementation... 16:40:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:26 $ docker exec 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent 16:40:26 SSH_AUTH_SOCK=/tmp/ssh-aepnjxjLhyuy/agent.14 16:40:26 SSH_AGENT_PID=21 16:40:26 Running ssh-add (command line suppressed) 16:40:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_8338978070000475508.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_8338978070000475508.key) 16:40:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:26 + git tag --points-at HEAD [Pipeline] } 16:40:26 $ docker exec --env ******** --env ******** 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent -k 16:40:26 unset SSH_AUTH_SOCK; 16:40:26 unset SSH_AGENT_PID; 16:40:26 echo Agent pid 21 killed; 16:40:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:40:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:26 [ssh-agent] Looking for ssh-agent implementation... 16:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:27 $ docker exec 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent 16:40:27 SSH_AUTH_SOCK=/tmp/ssh-3u8apyAbkryR/agent.54 16:40:27 SSH_AGENT_PID=60 16:40:27 Running ssh-add (command line suppressed) 16:40:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_7810200370641635918.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_7810200370641635918.key) 16:40:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:27 + git semver init 16:40:27 2022-10-26 16:40:27,740 [run_init] DEBUG init version:0.0.0 force:False 16:40:27 2022-10-26 16:40:27,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver 16:40:27 2022-10-26 16:40:27,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-317/.semver 16:40:27 2022-10-26 16:40:27,744 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-317/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-317, universal_newlines=False, shell=None, istream=None) 16:40:29 2022-10-26 16:40:29,489 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude 16:40:29 2022-10-26 16:40:29,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 with force:False 16:40:29 2022-10-26 16:40:29,490 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 16:40:29 2022-10-26 16:40:29,494 [execute] INFO git cat-file --batch-check 16:40:29 2022-10-26 16:40:29,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 16:40:29 2022-10-26 16:40:29,502 [execute] INFO git cat-file --batch 16:40:29 2022-10-26 16:40:29,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 16:40:29 2022-10-26 16:40:29,508 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 16:40:29 0.0.0 [Pipeline] } 16:40:29 $ docker exec --env ******** --env ******** 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent -k 16:40:29 unset SSH_AUTH_SOCK; 16:40:29 unset SSH_AGENT_PID; 16:40:29 echo Agent pid 60 killed; 16:40:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:30 + git semver [Pipeline] } 16:40:30 $ docker stop --time=1 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 16:40:33 $ docker rm -f 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 [Pipeline] // withDockerContainer [Pipeline] sh 16:40:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:40:33 Stashed 1 file(s) [Pipeline] echo 16:40:33 [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 16:40:34 provisioning config files... 16:40:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config2275394459187587245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:34 ---> docker-login.sh 16:40:34 nexus3.edgexfoundry.org:10001 16:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:34 Configure a credential helper to remove this warning. See 16:40:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:34 16:40:34 Login Succeeded 16:40:34 nexus3.edgexfoundry.org:10002 16:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:34 Configure a credential helper to remove this warning. See 16:40:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:34 16:40:34 Login Succeeded 16:40:34 nexus3.edgexfoundry.org:10003 16:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:34 Configure a credential helper to remove this warning. See 16:40:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:34 16:40:34 Login Succeeded 16:40:34 nexus3.edgexfoundry.org:10004 16:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:34 Configure a credential helper to remove this warning. See 16:40:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:34 16:40:34 Login Succeeded 16:40:34 docker.io 16:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:35 Configure a credential helper to remove this warning. See 16:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:35 16:40:35 Login Succeeded 16:40:35 ---> docker-login.sh ends [Pipeline] } 16:40:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:40:35 ========================================================= 16:40:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:40:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:35 + 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 . 16:40:35 Sending build context to Docker daemon 23.29MB 16:40:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:40:35 Step 2/12 : FROM ${BASE} AS builder 16:40:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:40:35 213ec9aee27d: Pulling fs layer 16:40:35 4583459ba037: Pulling fs layer 16:40:35 93c1e223e6f2: Pulling fs layer 16:40:35 53926ce57604: Pulling fs layer 16:40:35 21b2b0c7a3f4: Pulling fs layer 16:40:35 30f14e443154: Pulling fs layer 16:40:35 801331c1e519: Pulling fs layer 16:40:35 99cc6dd402b0: Pulling fs layer 16:40:35 7d9ed39f4882: Pulling fs layer 16:40:35 53926ce57604: Waiting 16:40:35 21b2b0c7a3f4: Waiting 16:40:35 30f14e443154: Waiting 16:40:35 7d9ed39f4882: Waiting 16:40:35 801331c1e519: Waiting 16:40:35 99cc6dd402b0: Waiting 16:40:35 93c1e223e6f2: Download complete 16:40:35 4583459ba037: Verifying Checksum 16:40:35 4583459ba037: Download complete 16:40:35 21b2b0c7a3f4: Verifying Checksum 16:40:35 21b2b0c7a3f4: Download complete 16:40:35 30f14e443154: Verifying Checksum 16:40:35 30f14e443154: Download complete 16:40:35 213ec9aee27d: Download complete 16:40:35 801331c1e519: Verifying Checksum 16:40:35 801331c1e519: Download complete 16:40:36 213ec9aee27d: Pull complete 16:40:36 4583459ba037: Pull complete 16:40:36 93c1e223e6f2: Pull complete 16:40:36 7d9ed39f4882: Download complete 16:40:36 99cc6dd402b0: Verifying Checksum 16:40:36 99cc6dd402b0: Download complete 16:40:36 53926ce57604: Verifying Checksum 16:40:36 53926ce57604: Download complete 16:40:40 53926ce57604: Pull complete 16:40:40 21b2b0c7a3f4: Pull complete 16:40:40 30f14e443154: Pull complete 16:40:40 801331c1e519: Pull complete 16:40:43 99cc6dd402b0: Pull complete 16:40:43 7d9ed39f4882: Pull complete 16:40:43 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:40:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:40:43 ---> 1dedd983c030 16:40:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:40:48 Still waiting to schedule task 16:40:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117193’ 16:40:50 ---> Running in 70831df6fa70 16:40:50 Removing intermediate container 70831df6fa70 16:40:50 ---> e47079046a0e 16:40:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:40:50 ---> Running in 3134ceec2b82 16:40:50 Removing intermediate container 3134ceec2b82 16:40:50 ---> 4d419d55074d 16:40:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:40:50 ---> Running in 2c0136873ed0 16:40:50 Removing intermediate container 2c0136873ed0 16:40:50 ---> 98ed7aa77dc6 16:40:50 Step 6/12 : WORKDIR /device-virtual-go 16:40:50 ---> Running in 17868f677140 16:40:50 Removing intermediate container 17868f677140 16:40:50 ---> 0fd16eb988e3 16:40:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:40:50 ---> Running in aa6d84b9af1d 16:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:40:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:40:51 (2/4) Installing libedit (20210910.3.1-r0) 16:40:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:40:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:40:51 Executing busybox-1.35.0-r17.trigger 16:40:51 OK: 216 MiB in 55 packages 16:40:52 Removing intermediate container aa6d84b9af1d 16:40:52 ---> bb0e4173a2e5 16:40:52 Step 8/12 : COPY go.mod vendor* ./ 16:40:52 ---> 495f956336cf 16:40:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:53 ---> Running in bbeb478dc1eb 16:41:40 Removing intermediate container bbeb478dc1eb 16:41:40 ---> 8b8431a8c28d 16:41:40 Step 10/12 : COPY . . 16:41:40 ---> 5a9296834767 16:41:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:41:40 ---> Running in 2c6e67b2a9f0 16:41:40 Removing intermediate container 2c6e67b2a9f0 16:41:40 ---> bfb58688209b 16:41:40 Step 12/12 : RUN $MAKE 16:41:40 ---> Running in d030edfaf80e 16:41:40 noop 16:41:40 Removing intermediate container d030edfaf80e 16:41:40 ---> 1c65a1f24280 16:41:40 Successfully built 1c65a1f24280 16:41:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:40 + docker inspect -f . ci-base-image-x86_64 16:41:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:40 prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container 16:41:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:41:41 $ docker top 4f666c04aa73ed3c3a0cb1da08c2b0891d66b4106804592a23f787edfc3c5b21 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:41 + go version 16:41:41 go version go1.18.7 linux/amd64 [Pipeline] } 16:41:41 $ docker stop --time=1 4f666c04aa73ed3c3a0cb1da08c2b0891d66b4106804592a23f787edfc3c5b21 16:41:44 $ docker rm -f 4f666c04aa73ed3c3a0cb1da08c2b0891d66b4106804592a23f787edfc3c5b21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:44 + docker inspect -f . ci-base-image-x86_64 16:41:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:44 prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container 16:41:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:41:46 $ docker top cbfc522f85f342da582bd2d8e3a1ecb93f51ff0c9b3d5ddd10c908276c2e306f -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:46 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh 16:41:47 + make test 16:41:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:41:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:41:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:41:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 16:42:04 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." 16:42:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:42:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:42:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:42:07 ./bin/test-attribution-txt.sh [Pipeline] echo 16:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:42:07 $ docker stop --time=1 cbfc522f85f342da582bd2d8e3a1ecb93f51ff0c9b3d5ddd10c908276c2e306f 16:42:11 $ docker rm -f cbfc522f85f342da582bd2d8e3a1ecb93f51ff0c9b3d5ddd10c908276c2e306f [Pipeline] // withDockerContainer [Pipeline] sh 16:42:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:42:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:42:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:42:12 + ls -al . 16:42:12 total 204 16:42:12 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 16:41 . 16:42:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 .. 16:42:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:41 .git 16:42:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 .github 16:42:12 -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 16:40 .gitignore 16:42:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 16:40 .golangci.yml 16:42:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:40 .semver 16:42:12 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 16:40 Attribution.txt 16:42:12 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 16:40 CHANGELOG.md 16:42:12 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 16:40 Dockerfile 16:42:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:40 GOVERNANCE.md 16:42:12 -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 16:40 Jenkinsfile 16:42:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 16:40 LICENSE 16:42:12 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 16:40 Makefile 16:42:12 -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 16:40 OWNERS.md 16:42:12 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 16:40 README.md 16:42:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:40 VERSION 16:42:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:40 bin 16:42:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 cmd 16:42:12 -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 16:41 coverage.out 16:42:12 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 16:40 go.mod 16:42:12 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 16:40 go.sum 16:42:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 internal 16:42:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 snap 16:42:12 -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42: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=ee73e7ec4c5a75450af71e580ef521e59aef9a3d --label arch=amd64 --label version=0.0.0 . 16:42:13 Sending build context to Docker daemon 23.33MB 16:42:13 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:42:13 Step 2/26 : FROM ${BASE} AS builder 16:42:13 ---> 1c65a1f24280 16:42:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:42:13 ---> Running in 55116e9c52b7 16:42:13 Removing intermediate container 55116e9c52b7 16:42:13 ---> 3e8555ff9655 16:42:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:42:13 ---> Running in 581e8ddc7360 16:42:13 Removing intermediate container 581e8ddc7360 16:42:13 ---> eb06b2695012 16:42:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 16:42:13 ---> Running in a02a1a858c04 16:42:14 Removing intermediate container a02a1a858c04 16:42:14 ---> 2cee9e1e5b70 16:42:14 Step 6/26 : WORKDIR /device-virtual-go 16:42:14 ---> Running in efe2c9fc12f8 16:42:14 Removing intermediate container efe2c9fc12f8 16:42:14 ---> 730deb8c3a27 16:42:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:42:14 ---> Running in 1287339cdd38 16:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:42:14 OK: 216 MiB in 55 packages 16:42:14 Removing intermediate container 1287339cdd38 16:42:14 ---> 01fa1520d725 16:42:14 Step 8/26 : COPY go.mod vendor* ./ 16:42:15 ---> cdefe93928fd 16:42:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:42:15 ---> Running in ac42490c052c 16:42:15 Removing intermediate container ac42490c052c 16:42:15 ---> b72a49aff06f 16:42:15 Step 10/26 : COPY . . 16:42:16 ---> c53c7730ef88 16:42:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:42:16 ---> Running in 838dc6cde7a9 16:42:16 Removing intermediate container 838dc6cde7a9 16:42:16 ---> 2a57d9a1d879 16:42:16 Step 12/26 : RUN $MAKE 16:42:16 ---> Running in f1eab9a9a03a 16:42:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 16:42:43 Removing intermediate container f1eab9a9a03a 16:42:43 ---> 2f83d89b1e9c 16:42:43 Step 13/26 : FROM alpine:3.16 16:42:43 3.16: Pulling from library/alpine 16:42:43 213ec9aee27d: Already exists 16:42:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:42:43 Status: Downloaded newer image for alpine:3.16 16:42:43 ---> 9c6f07244728 16:42:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:42:43 ---> Running in a85afd1ba9d9 16:42:43 Removing intermediate container a85afd1ba9d9 16:42:43 ---> ca70f991f061 16:42:43 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:42:43 ---> Running in 3397fbc40fa1 16:42:43 Removing intermediate container 3397fbc40fa1 16:42:43 ---> 0dab7cef48a2 16:42:43 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:42:43 ---> Running in 0c4eb32de17b 16:42:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:42:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:42:43 (1/6) Installing dumb-init (1.2.5-r1) 16:42:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:42:43 (3/6) Installing libsodium (1.0.18-r0) 16:42:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:42:44 (5/6) Installing libzmq (4.3.4-r0) 16:42:44 (6/6) Installing zeromq (4.3.4-r0) 16:42:45 Executing busybox-1.35.0-r17.trigger 16:42:45 OK: 8 MiB in 20 packages 16:42:45 Removing intermediate container 0c4eb32de17b 16:42:45 ---> f4357aee47f6 16:42:45 Step 17/26 : WORKDIR / 16:42:45 ---> Running in 953561aac9cd 16:42:45 Removing intermediate container 953561aac9cd 16:42:45 ---> 49a63db18b97 16:42:45 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:42:45 ---> 2b35f7b9ba1e 16:42:45 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:42:45 ---> 20c602f6cda7 16:42:45 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:42:47 ---> c3895b1d8013 16:42:47 Step 21/26 : EXPOSE 59900 16:42:47 ---> Running in 6a8995b7e840 16:42:47 Removing intermediate container 6a8995b7e840 16:42:47 ---> 636148ea1bc3 16:42:47 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:42:47 ---> Running in 552293f5605d 16:42:47 Removing intermediate container 552293f5605d 16:42:47 ---> 3fa9de6fd981 16:42:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:42:47 ---> Running in b72ed634335e 16:42:47 Removing intermediate container b72ed634335e 16:42:47 ---> 1ebe64ad60ff 16:42:47 Step 24/26 : LABEL arch=amd64 16:42:47 ---> Running in d9fca42618bd 16:42:47 Removing intermediate container d9fca42618bd 16:42:47 ---> 45fa1d7eafda 16:42:47 Step 25/26 : LABEL git_sha=ee73e7ec4c5a75450af71e580ef521e59aef9a3d 16:42:47 ---> Running in ceadfaa95913 16:42:47 Removing intermediate container ceadfaa95913 16:42:47 ---> 4bc1bce8ca89 16:42:47 Step 26/26 : LABEL version=0.0.0 16:42:47 ---> Running in 4a763e19a7bb 16:42:48 Removing intermediate container 4a763e19a7bb 16:42:48 ---> e0aff4896f5a 16:42:48 [Warning] One or more build-args [ARCH] were not consumed 16:42:48 Successfully built e0aff4896f5a 16:42:48 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 16:42:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:48 16:42:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:48 latest: Pulling from edgex-lftools-log-publisher 16:42:48 5eb5b503b376: Pulling fs layer 16:42:48 5c69ac0246d0: Pulling fs layer 16:42:48 ec43610c2a17: Pulling fs layer 16:42:48 3a2ae6a8a46f: Pulling fs layer 16:42:48 33b1e0a273af: Pulling fs layer 16:42:48 5d3b04190fa2: Pulling fs layer 16:42:48 2f39f015ded8: Pulling fs layer 16:42:48 3a2ae6a8a46f: Waiting 16:42:48 33b1e0a273af: Waiting 16:42:48 5d3b04190fa2: Waiting 16:42:48 2f39f015ded8: Waiting 16:42:48 5c69ac0246d0: Verifying Checksum 16:42:48 5c69ac0246d0: Download complete 16:42:48 3a2ae6a8a46f: Verifying Checksum 16:42:48 33b1e0a273af: Verifying Checksum 16:42:48 33b1e0a273af: Download complete 16:42:49 5d3b04190fa2: Verifying Checksum 16:42:49 5d3b04190fa2: Download complete 16:42:49 ec43610c2a17: Verifying Checksum 16:42:49 ec43610c2a17: Download complete 16:42:49 5eb5b503b376: Verifying Checksum 16:42:49 5eb5b503b376: Download complete 16:42:49 2f39f015ded8: Verifying Checksum 16:42:49 2f39f015ded8: Download complete 16:42:50 5eb5b503b376: Pull complete 16:42:50 5c69ac0246d0: Pull complete 16:42:51 ec43610c2a17: Pull complete 16:42:51 3a2ae6a8a46f: Pull complete 16:42:52 33b1e0a273af: Pull complete 16:42:52 5d3b04190fa2: Pull complete 16:42:57 2f39f015ded8: Pull complete 16:42:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:58 prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container 16:42:58 $ 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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:43:07 $ docker top 6ba4c753e0421aae59dd69bee4fdd6c5f855ef1b80b2555f5d2bcd22c9d3f6e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:07 ---> job-cost.sh 16:43:07 lf-activate-venv: SKIPPING 16:43:07 INFO: No Stack... 16:43:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:43:08 INFO: Archiving Costs [Pipeline] sh 16:43:08 + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv 16:43:08 + cut -d, -f6 [Pipeline] lock 16:43:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] 16:43:08 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] did not exist. Created. 16:43:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:43:09 + echo total: 0.2199999988079071 [Pipeline] stash 16:43:09 Stashed 1 file(s) [Pipeline] } 16:43:09 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:43:09 $ docker stop --time=1 6ba4c753e0421aae59dd69bee4fdd6c5f855ef1b80b2555f5d2bcd22c9d3f6e2 16:43:10 $ docker rm -f 6ba4c753e0421aae59dd69bee4fdd6c5f855ef1b80b2555f5d2bcd22c9d3f6e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:50:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117205 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws 17:50:44 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 17:50:44 The recommended git tool is: git 17:50:49 using credential edgex-jenkins-ssh 17:50:49 Cloning the remote Git repository 17:50:49 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:50:49 > git init /w/workspace/device-virtual-go/2 # timeout=10 17:50:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:50:50 > git --version # timeout=10 17:50:50 > git --version # 'git version 2.25.1' 17:50:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:50 Verifying host key using known hosts file 17:50:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:50:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:52 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:50:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:50:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:50:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:53 Verifying host key using known hosts file 17:50:53 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:50:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:50:54 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit ee73e7ec4c5a75450af71e580ef521e59aef9a3d 17:50:54 Merge succeeded, producing ee73e7ec4c5a75450af71e580ef521e59aef9a3d 17:50:54 Checking out Revision ee73e7ec4c5a75450af71e580ef521e59aef9a3d (PR-317) 17:50:54 > git config core.sparsecheckout # timeout=10 17:50:54 > git checkout -f ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 17:50:54 > git remote # timeout=10 17:50:54 > git config --get remote.origin.url # timeout=10 17:50:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:54 Verifying host key using known hosts file 17:50:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:50:54 > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 17:50:54 > git rev-parse HEAD^{commit} # timeout=10 17:50:54 > git config core.sparsecheckout # timeout=10 17:50:54 > git checkout -f ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 17:50:57 Commit message: "update versions, address feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:50:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:58 Dload Upload Total Spent Left Speed 17:50:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh 17:50:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:50:59 + + sudo tee /etc/docker/daemon.new 17:50:59 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:50:59 { 17:50:59 "registry-mirrors": [ 17:50:59 "https://nexus3.edgexfoundry.org:10001" 17:50:59 ], 17:50:59 "bip": "10.250.0.254/24", 17:50:59 "hosts": [ 17:50:59 "tcp://0.0.0.0:5555", 17:50:59 "unix:///var/run/docker.sock" 17:50:59 ], 17:50:59 "mtu": 1458, 17:50:59 "selinux-enabled": true, 17:50:59 "seccomp-profile": "/etc/docker/seccomp.json" 17:50:59 } [Pipeline] sh 17:51:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:51:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:18 provisioning config files... 17:51:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3806488731566695409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:19 ---> docker-login.sh 17:51:19 nexus3.edgexfoundry.org:10001 17:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:19 Configure a credential helper to remove this warning. See 17:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:19 17:51:19 Login Succeeded 17:51:19 nexus3.edgexfoundry.org:10002 17:51:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:20 Configure a credential helper to remove this warning. See 17:51:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:20 17:51:20 Login Succeeded 17:51:20 nexus3.edgexfoundry.org:10003 17:51:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:20 Configure a credential helper to remove this warning. See 17:51:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:20 17:51:20 Login Succeeded 17:51:20 nexus3.edgexfoundry.org:10004 17:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:21 Configure a credential helper to remove this warning. See 17:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:21 17:51:21 Login Succeeded 17:51:21 docker.io 17:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:21 Configure a credential helper to remove this warning. See 17:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:21 17:51:21 Login Succeeded 17:51:21 ---> docker-login.sh ends [Pipeline] } 17:51:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:22 ========================================================= 17:51:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:51:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:22 + 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 . 17:51:22 Sending build context to Docker daemon 11.83MB 17:51:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:51:22 Step 2/12 : FROM ${BASE} AS builder 17:51:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:51:22 9b18e9b68314: Pulling fs layer 17:51:22 d32db5db7311: Pulling fs layer 17:51:22 d0c4b47475fc: Pulling fs layer 17:51:22 5831b945b038: Pulling fs layer 17:51:22 86bbec2aaacd: Pulling fs layer 17:51:22 e10730c5d714: Pulling fs layer 17:51:22 5dd5c2283517: Pulling fs layer 17:51:22 d5ac0230b979: Pulling fs layer 17:51:22 e10730c5d714: Waiting 17:51:22 5dd5c2283517: Waiting 17:51:22 d5ac0230b979: Waiting 17:51:22 5831b945b038: Waiting 17:51:22 86bbec2aaacd: Waiting 17:51:22 d0c4b47475fc: Verifying Checksum 17:51:22 d0c4b47475fc: Download complete 17:51:22 d32db5db7311: Download complete 17:51:22 86bbec2aaacd: Verifying Checksum 17:51:22 86bbec2aaacd: Download complete 17:51:22 9b18e9b68314: Verifying Checksum 17:51:22 9b18e9b68314: Download complete 17:51:22 e10730c5d714: Verifying Checksum 17:51:22 e10730c5d714: Download complete 17:51:23 9b18e9b68314: Pull complete 17:51:23 d5ac0230b979: Verifying Checksum 17:51:23 d5ac0230b979: Download complete 17:51:24 d32db5db7311: Pull complete 17:51:24 d0c4b47475fc: Pull complete 17:51:25 5dd5c2283517: Verifying Checksum 17:51:25 5dd5c2283517: Download complete 17:51:26 5831b945b038: Verifying Checksum 17:51:26 5831b945b038: Download complete 17:51:38 5831b945b038: Pull complete 17:51:38 86bbec2aaacd: Pull complete 17:51:38 e10730c5d714: Pull complete 17:51:45 5dd5c2283517: Pull complete 17:51:45 d5ac0230b979: Pull complete 17:51:45 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 17:51:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:51:46 ---> 59b3b1a385d4 17:51:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:51:48 ---> Running in 2a3c91ae8d63 17:51:48 Removing intermediate container 2a3c91ae8d63 17:51:48 ---> 0fc0850bb49d 17:51:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:51:48 ---> Running in aa5805b8cc6c 17:51:48 Removing intermediate container aa5805b8cc6c 17:51:48 ---> d265ce3810de 17:51:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:51:48 ---> Running in 05866cf2cf0b 17:51:49 Removing intermediate container 05866cf2cf0b 17:51:49 ---> 7286111d8b9d 17:51:49 Step 6/12 : WORKDIR /device-virtual-go 17:51:49 ---> Running in 22f733b1f58e 17:51:49 Removing intermediate container 22f733b1f58e 17:51:49 ---> f53ba36a86ef 17:51:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:49 ---> Running in a35a5890dce5 17:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:51:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:51:51 (2/4) Installing libedit (20210910.3.1-r0) 17:51:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:51:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:51:51 Executing busybox-1.35.0-r17.trigger 17:51:51 OK: 226 MiB in 55 packages 17:51:52 Removing intermediate container a35a5890dce5 17:51:52 ---> 7b23a2b3b155 17:51:52 Step 8/12 : COPY go.mod vendor* ./ 17:51:53 ---> a952013ada52 17:51:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:53 ---> Running in 8d19651b909d 17:52:49 Removing intermediate container 8d19651b909d 17:52:49 ---> e0cd69c438f1 17:52:49 Step 10/12 : COPY . . 17:52:49 ---> ce8d5dd862df 17:52:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:52:49 ---> Running in 92cf10a691d2 17:52:49 Removing intermediate container 92cf10a691d2 17:52:49 ---> e86da1a95247 17:52:49 Step 12/12 : RUN $MAKE 17:52:49 ---> Running in 7d603c888e6a 17:52:50 noop 17:52:50 Removing intermediate container 7d603c888e6a 17:52:50 ---> 105ea267479a 17:52:50 Successfully built 105ea267479a 17:52:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:51 + docker inspect -f . ci-base-image-arm64 17:52:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-117205 does not seem to be running inside a container 17:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:52:52 $ docker top c849a7124da6145f8635db5fde9f70d50cd90dd39b0398d8aa89aa7c8bfcb1b7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:53 + go version 17:52:53 go version go1.18.7 linux/arm64 [Pipeline] } 17:52:53 $ docker stop --time=1 c849a7124da6145f8635db5fde9f70d50cd90dd39b0398d8aa89aa7c8bfcb1b7 17:52:55 $ docker rm -f c849a7124da6145f8635db5fde9f70d50cd90dd39b0398d8aa89aa7c8bfcb1b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:55 + docker inspect -f . ci-base-image-arm64 17:52:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-117205 does not seem to be running inside a container 17:52:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:52:57 $ docker top dda8d4934af7dff820af3e48c7fbfa6842bfc15b706fdaf07be0d940402db45e -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:57 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 17:52:57 + make test 17:52:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:52:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:54:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:54:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements 17:54:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:54:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:54:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:48 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:48 $ docker stop --time=1 dda8d4934af7dff820af3e48c7fbfa6842bfc15b706fdaf07be0d940402db45e 17:54:50 $ docker rm -f dda8d4934af7dff820af3e48c7fbfa6842bfc15b706fdaf07be0d940402db45e [Pipeline] // withDockerContainer [Pipeline] sh 17:54:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:51 Warning: overwriting stash ‘coverage-report’ 17:54:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:52 + ls -al . 17:54:52 total 200 17:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:52 . 17:54:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:50 .. 17:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:50 .git 17:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:50 .github 17:54:52 -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 17:50 .gitignore 17:54:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 17:50 .golangci.yml 17:54:52 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 17:50 Attribution.txt 17:54:52 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 17:50 CHANGELOG.md 17:54:52 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 17:50 Dockerfile 17:54:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 17:50 GOVERNANCE.md 17:54:52 -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 17:50 Jenkinsfile 17:54:52 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 17:50 LICENSE 17:54:52 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 17:50 Makefile 17:54:52 -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 17:50 OWNERS.md 17:54:52 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 17:50 README.md 17:54:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:40 VERSION 17:54:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 17:50 bin 17:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:50 cmd 17:54:52 -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 17:54 coverage.out 17:54:52 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 17:50 go.mod 17:54:52 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 17:50 go.sum 17:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:50 internal 17:54:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:50 snap 17:54:52 -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:53 + 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=ee73e7ec4c5a75450af71e580ef521e59aef9a3d --label arch=arm64 --label version=0.0.0 . 17:54:53 Sending build context to Docker daemon 11.87MB 17:54:53 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:54:53 Step 2/26 : FROM ${BASE} AS builder 17:54:53 ---> 105ea267479a 17:54:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:54:53 ---> Running in 6335368d7b4d 17:54:53 Removing intermediate container 6335368d7b4d 17:54:53 ---> 14fc80bddcd7 17:54:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:54:54 ---> Running in b6b9cf8b6be1 17:54:54 Removing intermediate container b6b9cf8b6be1 17:54:54 ---> b43529a9a1c9 17:54:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:54:54 ---> Running in 9bf844908000 17:54:55 Removing intermediate container 9bf844908000 17:54:55 ---> 44842a9770c8 17:54:55 Step 6/26 : WORKDIR /device-virtual-go 17:54:55 ---> Running in 18ff835f6630 17:54:55 Removing intermediate container 18ff835f6630 17:54:55 ---> f13d2b7eddb5 17:54:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:55 ---> Running in 152f0202435a 17:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:54:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:54:58 OK: 226 MiB in 55 packages 17:54:58 Removing intermediate container 152f0202435a 17:54:58 ---> 5f1217999cbc 17:54:58 Step 8/26 : COPY go.mod vendor* ./ 17:54:59 ---> 2d82ce951d5a 17:54:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:59 ---> Running in 57845cebe8e8 17:55:02 Removing intermediate container 57845cebe8e8 17:55:02 ---> d7addaf0f485 17:55:02 Step 10/26 : COPY . . 17:55:04 ---> 56d28a2dd9e5 17:55:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:55:04 ---> Running in 493ac2a25739 17:55:04 Removing intermediate container 493ac2a25739 17:55:04 ---> 1f3c85102afb 17:55:04 Step 12/26 : RUN $MAKE 17:55:04 ---> Running in 5a61840e6feb 17:55:05 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 17:57:57 Removing intermediate container 5a61840e6feb 17:57:57 ---> 881f6732ef2f 17:57:57 Step 13/26 : FROM alpine:3.16 17:57:57 3.16: Pulling from library/alpine 17:57:57 9b18e9b68314: Already exists 17:57:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:57:57 Status: Downloaded newer image for alpine:3.16 17:57:57 ---> a6215f271958 17:57:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:57:57 ---> Running in 2b7641295c05 17:57:57 Removing intermediate container 2b7641295c05 17:57:57 ---> 67b706784bcc 17:57:57 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:57 ---> Running in ce8983eae446 17:57:57 Removing intermediate container ce8983eae446 17:57:57 ---> ac126d2190d9 17:57:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:57:57 ---> Running in a723605d331e 17:57:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:57:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:57:57 (1/6) Installing dumb-init (1.2.5-r1) 17:57:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:57:57 (3/6) Installing libsodium (1.0.18-r0) 17:57:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:57:57 (5/6) Installing libzmq (4.3.4-r0) 17:57:57 (6/6) Installing zeromq (4.3.4-r0) 17:57:57 Executing busybox-1.35.0-r17.trigger 17:57:57 OK: 8 MiB in 20 packages 17:57:57 Removing intermediate container a723605d331e 17:57:57 ---> d7d72cec2a23 17:57:57 Step 17/26 : WORKDIR / 17:57:57 ---> Running in 6dbefc2e425c 17:57:57 Removing intermediate container 6dbefc2e425c 17:57:57 ---> 86407fab97b8 17:57:57 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:57:57 ---> c44f1ba8374b 17:57:57 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 17:57:57 ---> aea65b3d6c8e 17:57:57 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 17:57:57 ---> 5044c37d2d9f 17:57:57 Step 21/26 : EXPOSE 59900 17:57:57 ---> Running in 5a286250e03f 17:57:57 Removing intermediate container 5a286250e03f 17:57:57 ---> 6661c49d4cbd 17:57:57 Step 22/26 : ENTRYPOINT ["/device-virtual"] 17:57:57 ---> Running in c02df28d8deb 17:57:57 Removing intermediate container c02df28d8deb 17:57:57 ---> cf83122c8d7b 17:57:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:57:57 ---> Running in ef91de20d0bf 17:57:57 Removing intermediate container ef91de20d0bf 17:57:57 ---> 6dfa6e4e9654 17:57:57 Step 24/26 : LABEL arch=arm64 17:57:57 ---> Running in a40a18c3c3a8 17:57:57 Removing intermediate container a40a18c3c3a8 17:57:57 ---> 929c3f336b6f 17:57:57 Step 25/26 : LABEL git_sha=ee73e7ec4c5a75450af71e580ef521e59aef9a3d 17:57:57 ---> Running in db5480c23221 17:57:58 Removing intermediate container db5480c23221 17:57:58 ---> 41aad2e93e64 17:57:58 Step 26/26 : LABEL version=0.0.0 17:57:58 ---> Running in fc627142c124 17:57:58 Removing intermediate container fc627142c124 17:57:58 ---> 3d74206d5879 17:57:58 [Warning] One or more build-args [ARCH] were not consumed 17:57:58 Successfully built 3d74206d5879 17:57:58 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 17:57:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:58 17:57:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:59 arm64: Pulling from edgex-lftools-log-publisher 17:57:59 8998bd30e6a1: Pulling fs layer 17:57:59 04944245beec: Pulling fs layer 17:57:59 699f458cf7ca: Pulling fs layer 17:57:59 765212b225bb: Pulling fs layer 17:57:59 f23df028b6ca: Pulling fs layer 17:57:59 d65c8cfc05b1: Pulling fs layer 17:57:59 2437ff75d9bd: Pulling fs layer 17:57:59 765212b225bb: Waiting 17:57:59 f23df028b6ca: Waiting 17:57:59 d65c8cfc05b1: Waiting 17:57:59 2437ff75d9bd: Waiting 17:57:59 04944245beec: Verifying Checksum 17:57:59 04944245beec: Download complete 17:57:59 765212b225bb: Verifying Checksum 17:57:59 765212b225bb: Download complete 17:57:59 f23df028b6ca: Download complete 17:57:59 d65c8cfc05b1: Verifying Checksum 17:57:59 d65c8cfc05b1: Download complete 17:57:59 699f458cf7ca: Verifying Checksum 17:57:59 699f458cf7ca: Download complete 17:58:00 8998bd30e6a1: Verifying Checksum 17:58:00 8998bd30e6a1: Download complete 17:58:02 2437ff75d9bd: Verifying Checksum 17:58:02 2437ff75d9bd: Download complete 17:58:04 8998bd30e6a1: Pull complete 17:58:05 04944245beec: Pull complete 17:58:06 699f458cf7ca: Pull complete 17:58:06 765212b225bb: Pull complete 17:58:07 f23df028b6ca: Pull complete 17:58:07 d65c8cfc05b1: Pull complete 17:58:22 2437ff75d9bd: Pull complete 17:58:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:58:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:22 prd-ubuntu20.04-docker-arm64-4c-16g-117205 does not seem to be running inside a container 17:58: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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:58:25 $ docker top d7f6dabc246f43be8e4ed80d59c02bdd583c341f88b45d846605dffba0f42176 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:26 ---> job-cost.sh 17:58:26 lf-activate-venv: SKIPPING 17:58:26 INFO: No Stack... 17:58:26 INFO: Retrieving Pricing Info for: v3-standard-4 17:58:27 INFO: Archiving Costs [Pipeline] sh 17:58:27 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 17:58:28 + cut -d, -f6 [Pipeline] lock 17:58:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] 17:58:28 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] did not exist. Created. 17:58:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:28 /w/workspace/device-virtual-go/2@tmp/durable-708a119a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:58:29 + echo total: 0.10999999940395355 [Pipeline] stash 17:58:29 Warning: overwriting stash ‘stack-cost’ 17:58:29 Stashed 1 file(s) [Pipeline] } 17:58:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:29 $ docker stop --time=1 d7f6dabc246f43be8e4ed80d59c02bdd583c341f88b45d846605dffba0f42176 17:58:31 $ docker rm -f d7f6dabc246f43be8e4ed80d59c02bdd583c341f88b45d846605dffba0f42176 [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 17:58:31 provisioning config files... 17:58:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config17596637288848977166tmp [Pipeline] { [Pipeline] sh 17:58:31 + set +x 17:58:31 + curl -s https://codecov.io/bash 17:58:31 + bash -s -- 17:58:31 17:58:31 _____ _ 17:58:31 / ____| | | 17:58:31 | | ___ __| | ___ ___ _____ __ 17:58:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:58:31 | |___| (_) | (_| | __/ (_| (_) \ V / 17:58:31 \_____\___/ \__,_|\___|\___\___/ \_/ 17:58:31 Bash-1.0.6 17:58:31 17:58:31 17:58:31 ==> git version 2.25.1 found 17:58:31 ==> 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 17:58:31 Release-Date: 2020-01-08 17:58:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:58:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:58:31 ==> Jenkins CI detected. 17:58:31 current dir:  /w/workspace/foundry_device-virtual-go_PR-317 17:58:31 project root: . 17:58:31 --> token set from env 17:58:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:58:31 ==> Running gcov in . (disable via -X gcov) 17:58:31 ==> Python coveragepy not found 17:58:31 ==> Searching for coverage reports in: 17:58:31 + . 17:58:31 -> Found 1 reports 17:58:31 ==> Detecting git/mercurial file structure 17:58:31 ==> Reading reports 17:58:32 + ./coverage.out bytes=44128 17:58:32 ==> Appending adjustments 17:58:32 https://docs.codecov.io/docs/fixing-reports 17:58:32 + Found adjustments 17:58:32 ==> Gzipping contents 17:58:32 8.0K /tmp/codecov.V9XUml.gz 17:58:32 ==> Uploading reports 17:58:32 url: https://codecov.io 17:58:32 query: branch=PR-317&commit=ee73e7ec4c5a75450af71e580ef521e59aef9a3d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 17:58:32 -> Pinging Codecov 17:58: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-317&commit=ee73e7ec4c5a75450af71e580ef521e59aef9a3d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 17:58:32 -> Uploading to 17:58:32 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/ee73e7ec4c5a75450af71e580ef521e59aef9a3d/bd370972-f97d-48c5-aa35-aeab204a9dfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T175832Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e858b6618915d1e7f8b68968be3af99affeb22c00552bf6f23a4a0648359529 17:58:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:32 Dload Upload Total Spent Left Speed 17:58:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5500 0 0 100 5500 0 22633 --:--:-- --:--:-- --:--:-- 22633 17:58:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] } 17:58:32 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 17:58:33 + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] 17:58:33 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 17:58:33 total 16 17:58:33 drwxr-xr-x 3 root root 4096 Oct 26 16:43 . 17:58:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:43 .. 17:58:33 drwxr-xr-x 2 root root 4096 Oct 26 16:43 cost 17:58:33 -rw-r--r-- 1 root root 89 Oct 26 16:43 cost.csv 17:58:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives 17:58:33 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 17:58:33 total 16 17:58:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:43 . 17:58:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:43 .. 17:58:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 16:43 cost 17:58:33 -rw-r--r-- 1 jenkins jenkins 89 Oct 26 16:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:58:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:58:34 ---> package-listing.sh 17:58:34 ++ facter osfamily 17:58:34 ++ tr '[:upper:]' '[:lower:]' 17:58:34 + OS_FAMILY=debian 17:58:34 + workspace=/w/workspace/foundry_device-virtual-go_PR-317 17:58:34 + START_PACKAGES=/tmp/packages_start.txt 17:58:34 + END_PACKAGES=/tmp/packages_end.txt 17:58:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:58:34 + PACKAGES=/tmp/packages_start.txt 17:58:34 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 17:58:34 + PACKAGES=/tmp/packages_end.txt 17:58:34 + case "${OS_FAMILY}" in 17:58:34 + dpkg -l 17:58:34 + grep '^ii' 17:58:34 + '[' -f /tmp/packages_start.txt ']' 17:58:34 + '[' -f /tmp/packages_end.txt ']' 17:58:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:58:34 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 17:58:34 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ 17:58:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-317/archives/ [Pipeline] echo 17:58:34 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:58:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:35 prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container 17:58:35 $ 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-317/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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:58:35 $ docker top 07cf0586dedfb8609e8bf7e3443d4d486e387b81d73197ae7ecb4d130e00d10b -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:36 + touch /tmp/pre-build-complete [Pipeline] sh 17:58:36 + mkdir -p /var/log/sysstat [Pipeline] sh 17:58:36 + ls /var/log/sa-host 17:58:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:36 provisioning config files... 17:58:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config3833667631336274467tmp [Pipeline] { [Pipeline] echo 17:58:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:58:37 ---> create-netrc.sh [Pipeline] } 17:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:58:37 ---> python-tools-install.sh [Pipeline] echo 17:58:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:58:37 ---> sudo-logs.sh 17:58:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:58:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:58:38 ---> job-cost.sh 17:58:38 lf-activate-venv: SKIPPING 17:58:38 DEBUG: total: 0.2199999988079071 17:58:38 INFO: Retrieving Stack Cost... 17:58:38 INFO: Retrieving Pricing Info for: v3-standard-8 17:58:38 INFO: Archiving Costs [Pipeline] echo 17:58:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:58:39 ---> logs-deploy.sh 17:58:39 lf-activate-venv: SKIPPING 17:58:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/2 17:58:39 INFO: archiving workspace using pattern(s): 17:58:40 Archives upload complete. 17:58:40 INFO: archiving logs to Nexus