Pull request #339 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 Obtained Jenkinsfile from a748b6b7c253edcc529294d5f0d3ad5eededb5cd+36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (6822c64e94964444aa4cdb92936f1c1252573ee4) 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-ssh6835679721935179440.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17940175650167244845.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-339/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-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4006461159210228030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10662884301349522751.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/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-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14266654830348771930.key > 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 ‘prd-ubuntu20.04-docker-8c-8g-5855’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5857 in /w/workspace/foundry_device-virtual-go_PR-339 [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-339 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit a748b6b7c253edcc529294d5f0d3ad5eededb5cd Merge succeeded, producing a748b6b7c253edcc529294d5f0d3ad5eededb5cd Checking out Revision a748b6b7c253edcc529294d5f0d3ad5eededb5cd (PR-339) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 Commit message: "fix: address pr comments" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:47:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:47:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:47:00 ========================================================= 18:47:00 EdgeX Global Pipelines Version Info 18:47:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2ccb81a7e497e6512bf135fb6b132abd0d44872f # timeout=10 18:47:01 ------------------- 18:47:01 stable info: 18:47:01 ------------------- 18:47:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:47:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:47:01 Message: update stable to v1.0.244 18:47:01 ------------------- 18:47:01 experimental info: 18:47:01 ------------------- 18:47:01 Commited By: **** collab-it+edgex@linuxfoundation.org 18:47:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:47:01 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:47:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a748b6b [Pipeline] echo 18:47:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:02 provisioning config files... 18:47:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config7283221670338173640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:02 ---> docker-login.sh 18:47:02 nexus3.edgexfoundry.org:10001 18:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:03 Configure a credential helper to remove this warning. See 18:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:03 18:47:03 Login Succeeded 18:47:03 nexus3.edgexfoundry.org:10002 18:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:03 Configure a credential helper to remove this warning. See 18:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:03 18:47:03 Login Succeeded 18:47:03 nexus3.edgexfoundry.org:10003 18:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:03 Configure a credential helper to remove this warning. See 18:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:03 18:47:03 Login Succeeded 18:47:03 nexus3.edgexfoundry.org:10004 18:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:03 Configure a credential helper to remove this warning. See 18:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:03 18:47:03 Login Succeeded 18:47:03 docker.io 18:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:04 Configure a credential helper to remove this warning. See 18:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:04 18:47:04 Login Succeeded 18:47:04 ---> docker-login.sh ends [Pipeline] } 18:47:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:47:04 + git rev-list -1 --merges a748b6b7c253edcc529294d5f0d3ad5eededb5cd~1..a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo 18:47:04 -----------> git rev-list -1 --merges a748b6b7c253edcc529294d5f0d3ad5eededb5cd~1..a748b6b7c253edcc529294d5f0d3ad5eededb5cd a748b6b7c253edcc529294d5f0d3ad5eededb5cd [false] [Pipeline] sh 18:47:04 + git log --format=format:%s -1 a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo 18:47:04 ========================================================= 18:47:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:47:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:05 + git log --format=format:%s -1 a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] echo 18:47:05 [semverPrep] GIT_COMMIT: a748b6b7c253edcc529294d5f0d3ad5eededb5cd, Commit Message: fix: address pr comments [Pipeline] echo 18:47:05 [semverPrep] This is not a build commit. [Pipeline] sh 18:47:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:47:05 + grep -v github /etc/ssh/ssh_known_hosts 18:47:05 + [ -e /tmp/ssh_known_hosts ] 18:47:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:47:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:47:05 + sudo tee -a /etc/ssh/ssh_known_hosts 18:47:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:47:05 18:47:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:47:06 0.1.4: Pulling from edgex-devops/py-git-semver 18:47:06 b85a868b505f: Pulling fs layer 18:47:06 e2be974225ed: Pulling fs layer 18:47:06 339a4e72a1f5: Pulling fs layer 18:47:06 988bab9f4d93: Pulling fs layer 18:47:06 1469e6f7b9e6: Pulling fs layer 18:47:06 eaf3925da568: Pulling fs layer 18:47:06 bab4dde63d76: Pulling fs layer 18:47:06 bde34c3a00c8: Pulling fs layer 18:47:06 b352a97aabf1: Pulling fs layer 18:47:06 4872d77fe225: Pulling fs layer 18:47:06 5851b861e8e6: Pulling fs layer 18:47:06 1469e6f7b9e6: Waiting 18:47:06 988bab9f4d93: Waiting 18:47:06 eaf3925da568: Waiting 18:47:06 bab4dde63d76: Waiting 18:47:06 bde34c3a00c8: Waiting 18:47:06 b352a97aabf1: Waiting 18:47:06 4872d77fe225: Waiting 18:47:06 5851b861e8e6: Waiting 18:47:06 e2be974225ed: Download complete 18:47:06 988bab9f4d93: Verifying Checksum 18:47:06 988bab9f4d93: Download complete 18:47:06 1469e6f7b9e6: Verifying Checksum 18:47:06 1469e6f7b9e6: Download complete 18:47:06 eaf3925da568: Verifying Checksum 18:47:06 eaf3925da568: Download complete 18:47:06 339a4e72a1f5: Verifying Checksum 18:47:06 339a4e72a1f5: Download complete 18:47:06 bde34c3a00c8: Download complete 18:47:06 b352a97aabf1: Download complete 18:47:06 4872d77fe225: Download complete 18:47:06 5851b861e8e6: Download complete 18:47:06 b85a868b505f: Verifying Checksum 18:47:06 b85a868b505f: Download complete 18:47:07 bab4dde63d76: Verifying Checksum 18:47:07 bab4dde63d76: Download complete 18:47:07 b85a868b505f: Pull complete 18:47:08 e2be974225ed: Pull complete 18:47:08 339a4e72a1f5: Pull complete 18:47:08 988bab9f4d93: Pull complete 18:47:09 1469e6f7b9e6: Pull complete 18:47:09 eaf3925da568: Pull complete 18:47:11 bab4dde63d76: Pull complete 18:47:11 bde34c3a00c8: Pull complete 18:47:11 b352a97aabf1: Pull complete 18:47:11 4872d77fe225: Pull complete 18:47:11 5851b861e8e6: Pull complete 18:47:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:47:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:47:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:11 prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container 18:47:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:47:16 $ docker top 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 -eo pid,comm 18:47:16 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). 18:47:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:47:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:47:16 [ssh-agent] Looking for ssh-agent implementation... 18:47:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:47:16 $ docker exec 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent 18:47:16 SSH_AUTH_SOCK=/tmp/ssh-fcvTqbmdyes6/agent.33 18:47:16 SSH_AGENT_PID=39 18:47:16 Running ssh-add (command line suppressed) 18:47:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_11747820291923666995.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_11747820291923666995.key) 18:47:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:47:16 + git tag --points-at HEAD [Pipeline] } 18:47:16 $ docker exec --env ******** --env ******** 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent -k 18:47:17 unset SSH_AUTH_SOCK; 18:47:17 unset SSH_AGENT_PID; 18:47:17 echo Agent pid 39 killed; 18:47:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:47:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:47:17 [ssh-agent] Looking for ssh-agent implementation... 18:47:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:47:17 $ docker exec 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent 18:47:17 SSH_AUTH_SOCK=/tmp/ssh-6omM1UwT6xyR/agent.71 18:47:17 SSH_AGENT_PID=77 18:47:17 Running ssh-add (command line suppressed) 18:47:17 Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_977590320145066381.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_977590320145066381.key) 18:47:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:47:17 + git semver init 18:47:17 2023-02-14 18:47:17,886 [run_init] DEBUG init version:0.0.0 force:False 18:47:17 2023-02-14 18:47:17,887 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-339/.semver 18:47:17 2023-02-14 18:47:17,887 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-339/.semver 18:47:17 2023-02-14 18:47:17,888 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-339/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-339, universal_newlines=False, shell=None, istream=None) 18:47:19 2023-02-14 18:47:19,518 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-339/.git/info/exclude 18:47:19 2023-02-14 18:47:19,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 with force:False 18:47:19 2023-02-14 18:47:19,519 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 18:47:19 2023-02-14 18:47:19,523 [execute] INFO git cat-file --batch-check 18:47:19 2023-02-14 18:47:19,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 18:47:19 2023-02-14 18:47:19,528 [execute] INFO git cat-file --batch 18:47:19 2023-02-14 18:47:19,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 18:47:19 2023-02-14 18:47:19,533 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 18:47:19 0.0.0 [Pipeline] } 18:47:19 $ docker exec --env ******** --env ******** 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 ssh-agent -k 18:47:20 unset SSH_AUTH_SOCK; 18:47:20 unset SSH_AGENT_PID; 18:47:20 echo Agent pid 77 killed; 18:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:47:20 + git semver [Pipeline] } 18:47:20 $ docker stop --time=1 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 18:47:21 $ docker rm -f --volumes 4330e97dcbbfe3e83dd0fbafcd1f04de0db67f88df5f7bf0988eb96c0d76e3f4 [Pipeline] // withDockerContainer [Pipeline] sh 18:47:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:47:22 Stashed 1 file(s) [Pipeline] echo 18:47:22 [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 18:47:22 provisioning config files... 18:47:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config2042886788746706058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:23 ---> docker-login.sh 18:47:23 nexus3.edgexfoundry.org:10001 18:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:23 Configure a credential helper to remove this warning. See 18:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:23 18:47:23 Login Succeeded 18:47:23 nexus3.edgexfoundry.org:10002 18:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:23 Configure a credential helper to remove this warning. See 18:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:23 18:47:23 Login Succeeded 18:47:23 nexus3.edgexfoundry.org:10003 18:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:23 Configure a credential helper to remove this warning. See 18:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:23 18:47:23 Login Succeeded 18:47:23 nexus3.edgexfoundry.org:10004 18:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:23 Configure a credential helper to remove this warning. See 18:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:23 18:47:23 Login Succeeded 18:47:23 docker.io 18:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:23 Configure a credential helper to remove this warning. See 18:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:23 18:47:23 Login Succeeded 18:47:23 ---> docker-login.sh ends [Pipeline] } 18:47:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:47:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:47:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:47:23 ========================================================= 18:47:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:47:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:24 + 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 . 18:47:24 Sending build context to Docker daemon 23.39MB 18:47:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:47:24 Step 2/12 : FROM ${BASE} AS builder 18:47:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:47:24 213ec9aee27d: Pulling fs layer 18:47:24 4583459ba037: Pulling fs layer 18:47:24 93c1e223e6f2: Pulling fs layer 18:47:24 53926ce57604: Pulling fs layer 18:47:24 53926ce57604: Waiting 18:47:24 21b2b0c7a3f4: Pulling fs layer 18:47:24 22ff95d597cd: Pulling fs layer 18:47:24 12d6caf4c0d1: Pulling fs layer 18:47:24 96b7cbca73a9: Pulling fs layer 18:47:24 a7acece74701: Pulling fs layer 18:47:24 21b2b0c7a3f4: Waiting 18:47:24 22ff95d597cd: Waiting 18:47:24 12d6caf4c0d1: Waiting 18:47:24 a7acece74701: Waiting 18:47:24 93c1e223e6f2: Verifying Checksum 18:47:24 93c1e223e6f2: Download complete 18:47:24 4583459ba037: Verifying Checksum 18:47:24 4583459ba037: Download complete 18:47:24 21b2b0c7a3f4: Download complete 18:47:24 22ff95d597cd: Verifying Checksum 18:47:24 22ff95d597cd: Download complete 18:47:24 213ec9aee27d: Verifying Checksum 18:47:24 213ec9aee27d: Download complete 18:47:24 12d6caf4c0d1: Download complete 18:47:24 213ec9aee27d: Pull complete 18:47:25 4583459ba037: Pull complete 18:47:25 93c1e223e6f2: Pull complete 18:47:26 53926ce57604: Download complete 18:47:26 a7acece74701: Verifying Checksum 18:47:26 a7acece74701: Download complete 18:47:26 96b7cbca73a9: Verifying Checksum 18:47:30 53926ce57604: Pull complete 18:47:30 21b2b0c7a3f4: Pull complete 18:47:30 22ff95d597cd: Pull complete 18:47:30 12d6caf4c0d1: Pull complete 18:47:32 96b7cbca73a9: Pull complete 18:47:33 a7acece74701: Pull complete 18:47:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:47:33 ---> db6d94c90886 18:47:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:47:37 Still waiting to schedule task 18:47:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5856’ is offline 18:47:45 ---> Running in 3031a964c068 18:47:45 Removing intermediate container 3031a964c068 18:47:45 ---> 4752029b7599 18:47:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:47:45 ---> Running in 24ae5a105f68 18:47:46 Removing intermediate container 24ae5a105f68 18:47:46 ---> 74bbc01289c3 18:47:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:47:46 ---> Running in fe129dc234e2 18:47:47 Removing intermediate container fe129dc234e2 18:47:47 ---> 55bbfea8cb6c 18:47:47 Step 6/12 : WORKDIR /device-virtual-go 18:47:48 ---> Running in 54d3ad465bba 18:47:48 Removing intermediate container 54d3ad465bba 18:47:48 ---> dc3096e8aeea 18:47:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:49 ---> Running in 85c44c3a3aae 18:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:47:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:47:51 (2/4) Installing libedit (20210910.3.1-r0) 18:47:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:47:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:47:51 Executing busybox-1.35.0-r17.trigger 18:47:51 OK: 216 MiB in 55 packages 18:47:52 Removing intermediate container 85c44c3a3aae 18:47:52 ---> 2810aa1ed3b4 18:47:52 Step 8/12 : COPY go.mod vendor* ./ 18:47:52 ---> 38b8afde773d 18:47:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:52 ---> Running in 44faf2a6fb1e 18:48:48 Removing intermediate container 44faf2a6fb1e 18:48:49 ---> 274566ac9b2f 18:48:49 Step 10/12 : COPY . . 18:48:49 ---> e3a1747d2163 18:48:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:49 ---> Running in b8befda063c8 18:48:49 Removing intermediate container b8befda063c8 18:48:49 ---> 6aa47b2d9cee 18:48:49 Step 12/12 : RUN $MAKE 18:48:49 ---> Running in b647d3c543c9 18:48:49 noop 18:48:49 Removing intermediate container b647d3c543c9 18:48:49 ---> 06ec117ea91f 18:48:49 Successfully built 06ec117ea91f 18:48:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:49 + docker inspect -f . ci-base-image-x86_64 18:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:49 prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container 18:48:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** ci-base-image-x86_64 cat 18:48:49 $ docker top 7a2a4a2d977d304b358dfc79f29ce7255e3ddbc42ef147d7c750a9d748aa2f2f -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:50 + go version 18:48:50 go version go1.18.7 linux/amd64 [Pipeline] } 18:48:50 $ docker stop --time=1 7a2a4a2d977d304b358dfc79f29ce7255e3ddbc42ef147d7c750a9d748aa2f2f 18:48:51 $ docker rm -f --volumes 7a2a4a2d977d304b358dfc79f29ce7255e3ddbc42ef147d7c750a9d748aa2f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:51 + docker inspect -f . ci-base-image-x86_64 18:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:51 prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container 18:48:52 $ 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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** ci-base-image-x86_64 cat 18:48:52 $ docker top 2497d24a356796bb9ab2cdb4ce14fb087957a5e26bab81a472a579cc3c46762b -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:52 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] fileExists [Pipeline] sh 18:48:53 + make test 18:48:53 go test ./... -coverprofile=coverage.out 18:48:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:49:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:49:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 18:49:09 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." 18:49:09 go vet ./... 18:49:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:49:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:49:13 ./bin/test-attribution-txt.sh 18:49:13 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 18:49:13 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 18:49:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:49:13 $ docker stop --time=1 2497d24a356796bb9ab2cdb4ce14fb087957a5e26bab81a472a579cc3c46762b 18:49:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5858 in /w/workspace/foundry_device-virtual-go_PR-339 18:49:17 $ docker rm -f --volumes 2497d24a356796bb9ab2cdb4ce14fb087957a5e26bab81a472a579cc3c46762b [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 18:49:17 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 18:49:17 The recommended git tool is: git 18:49:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:49:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:18 + ls -al . 18:49:18 total 192 18:49:18 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 18:48 . 18:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:46 .. 18:49:18 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:49 .git 18:49:18 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:46 .github 18:49:18 -rw-rw-r-- 1 jenkins jenkins 337 Feb 14 18:46 .gitignore 18:49:18 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 18:46 .golangci.yml 18:49:18 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:47 .semver 18:49:18 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 14 18:46 Attribution.txt 18:49:18 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 14 18:46 CHANGELOG.md 18:49:18 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 14 18:46 Dockerfile 18:49:18 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 18:46 GOVERNANCE.md 18:49:18 -rw-rw-r-- 1 jenkins jenkins 660 Feb 14 18:46 Jenkinsfile 18:49:18 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 18:46 LICENSE 18:49:18 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 14 18:46 Makefile 18:49:18 -rw-rw-r-- 1 jenkins jenkins 623 Feb 14 18:46 OWNERS.md 18:49:18 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 14 18:46 README.md 18:49:18 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:47 VERSION 18:49:18 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:46 bin 18:49:18 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:46 cmd 18:49:18 -rw-r--r-- 1 jenkins jenkins 44128 Feb 14 18:49 coverage.out 18:49:18 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 14 18:46 go.mod 18:49:18 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 14 18:46 go.sum 18:49:18 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:46 internal 18:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:46 snap 18:49:18 -rw-rw-r-- 1 jenkins jenkins 235 Feb 14 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:19 + 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=a748b6b7c253edcc529294d5f0d3ad5eededb5cd --label arch=amd64 --label version=0.0.0 . 18:49:19 Sending build context to Docker daemon 23.44MB 18:49:19 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:49:19 Step 2/25 : FROM ${BASE} AS builder 18:49:19 ---> 06ec117ea91f 18:49:19 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:49:20 ---> Running in a8be9b629195 18:49:20 Removing intermediate container a8be9b629195 18:49:20 ---> ac36bf8dcaa7 18:49:20 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:49:20 ---> Running in b02bc879df1a 18:49:20 Removing intermediate container b02bc879df1a 18:49:20 ---> 962538923f41 18:49:20 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:49:20 ---> Running in a7e559b5dcbf 18:49:20 Removing intermediate container a7e559b5dcbf 18:49:20 ---> 3e287d2a513f 18:49:20 Step 6/25 : WORKDIR /device-virtual-go 18:49:20 ---> Running in 57bb1fd1f074 18:49:20 Removing intermediate container 57bb1fd1f074 18:49:20 ---> f79a7e353697 18:49:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:20 ---> Running in 35b49146a465 18:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:49:21 OK: 216 MiB in 55 packages 18:49:21 Removing intermediate container 35b49146a465 18:49:21 ---> ead49a56b50a 18:49:21 Step 8/25 : COPY go.mod vendor* ./ 18:49:21 ---> 2a6656ef8adc 18:49:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:22 ---> Running in a9bbbe25148c 18:49:22 using credential edgex-jenkins-ssh 18:49:22 Cloning the remote Git repository 18:49:23 Removing intermediate container a9bbbe25148c 18:49:23 ---> e5372f0e19a0 18:49:23 Step 10/25 : COPY . . 18:49:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:49:22 > git init /w/workspace/device-virtual-go/3 # timeout=10 18:49:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:49:22 > git --version # timeout=10 18:49:22 > git --version # 'git version 2.25.1' 18:49:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:49:24 ---> ec973a10c828 18:49:24 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:49:24 ---> Running in 217c2aa99edc 18:49:24 Removing intermediate container 217c2aa99edc 18:49:24 ---> f499a09f9486 18:49:24 Step 12/25 : RUN $MAKE 18:49:24 ---> Running in 98143be9d83e 18:49:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 18:49:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:49:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:49:28 Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit a748b6b7c253edcc529294d5f0d3ad5eededb5cd 18:49:29 Merge succeeded, producing a748b6b7c253edcc529294d5f0d3ad5eededb5cd 18:49:29 Checking out Revision a748b6b7c253edcc529294d5f0d3ad5eededb5cd (PR-339) 18:49:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:49:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:49:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:49:28 > git config core.sparsecheckout # timeout=10 18:49:28 > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 18:49:28 > git remote # timeout=10 18:49:28 > git config --get remote.origin.url # timeout=10 18:49:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:29 > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 18:49:29 > git rev-parse HEAD^{commit} # timeout=10 18:49:29 > git config core.sparsecheckout # timeout=10 18:49:29 > git checkout -f a748b6b7c253edcc529294d5f0d3ad5eededb5cd # timeout=10 18:49:32 Commit message: "fix: address pr comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:49:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:33 Dload Upload Total Spent Left Speed 18:49:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 18:49:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:49:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:49:34 + sudo tee /etc/docker/daemon.new 18:49:34 { 18:49:34 "registry-mirrors": [ 18:49:34 "https://nexus3.edgexfoundry.org:10001" 18:49:34 ], 18:49:34 "bip": "10.250.0.254/24", 18:49:34 "hosts": [ 18:49:34 "tcp://0.0.0.0:5555", 18:49:34 "unix:///var/run/docker.sock" 18:49:34 ], 18:49:34 "mtu": 1458, 18:49:34 "selinux-enabled": true, 18:49:34 "seccomp-profile": "/etc/docker/seccomp.json" 18:49:34 } [Pipeline] sh 18:49:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:49:35 + sudo service docker restart 18:49:51 Removing intermediate container 98143be9d83e 18:49:51 ---> a758a26de263 18:49:51 Step 13/25 : FROM alpine:3.16 18:49:52 3.16: Pulling from library/alpine 18:49:52 ef5531b6e74e: Pulling fs layer 18:49:52 ef5531b6e74e: Verifying Checksum 18:49:52 ef5531b6e74e: Download complete 18:49:52 ef5531b6e74e: Pull complete 18:49:52 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:49:52 Status: Downloaded newer image for alpine:3.16 18:49:52 ---> dfd21b5a31f5 18:49:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:53 provisioning config files... 18:49:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config13955740405700422196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:53 ---> Running in 850f53ccb874 18:49:53 Removing intermediate container 850f53ccb874 18:49:53 ---> 8e201854d57b 18:49:53 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:49:53 ---> Running in f61b78c1bf86 18:49:53 ---> docker-login.sh 18:49:53 nexus3.edgexfoundry.org:10001 18:49:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:54 Configure a credential helper to remove this warning. See 18:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:54 18:49:54 Login Succeeded 18:49:54 nexus3.edgexfoundry.org:10002 18:49:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:54 (1/1) Installing dumb-init (1.2.5-r1) 18:49:54 Executing busybox-1.35.0-r17.trigger 18:49:54 OK: 6 MiB in 15 packages 18:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:54 Configure a credential helper to remove this warning. See 18:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:54 18:49:54 Login Succeeded 18:49:54 nexus3.edgexfoundry.org:10003 18:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:55 Configure a credential helper to remove this warning. See 18:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:55 18:49:55 Login Succeeded 18:49:55 nexus3.edgexfoundry.org:10004 18:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:55 Configure a credential helper to remove this warning. See 18:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:55 18:49:55 Login Succeeded 18:49:55 docker.io 18:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:55 Removing intermediate container f61b78c1bf86 18:49:55 ---> 5cc936c0d616 18:49:55 Step 16/25 : WORKDIR / 18:49:55 ---> Running in 621212e4ec3d 18:49:55 Removing intermediate container 621212e4ec3d 18:49:55 ---> f0f106267141 18:49:55 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:56 Configure a credential helper to remove this warning. See 18:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:56 18:49:56 Login Succeeded 18:49:56 ---> docker-login.sh ends [Pipeline] } 18:49:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:49:56 ---> 9a86f0ff81b4 18:49:56 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:49:56 ---> 15409e6261a8 18:49:56 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] echo 18:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:49:56 ========================================================= 18:49:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:49:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:56 + 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 . 18:49:56 Sending build context to Docker daemon 11.86MB 18:49:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:49:56 Step 2/12 : FROM ${BASE} AS builder 18:49:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:49:57 9b18e9b68314: Pulling fs layer 18:49:57 35d82f9e3411: Pulling fs layer 18:49:57 e16973657156: Pulling fs layer 18:49:57 fc693d55d65f: Pulling fs layer 18:49:57 7e9fc2657dce: Pulling fs layer 18:49:57 dda99020689f: Pulling fs layer 18:49:57 db1c61fa0a46: Pulling fs layer 18:49:57 891c053d2c06: Pulling fs layer 18:49:57 fc693d55d65f: Waiting 18:49:57 db1c61fa0a46: Waiting 18:49:57 891c053d2c06: Waiting 18:49:57 dda99020689f: Waiting 18:49:57 7e9fc2657dce: Waiting 18:49:57 e16973657156: Verifying Checksum 18:49:57 e16973657156: Download complete 18:49:57 35d82f9e3411: Download complete 18:49:57 7e9fc2657dce: Verifying Checksum 18:49:57 7e9fc2657dce: Download complete 18:49:57 dda99020689f: Verifying Checksum 18:49:57 dda99020689f: Download complete 18:49:57 9b18e9b68314: Verifying Checksum 18:49:57 9b18e9b68314: Download complete 18:49:57 ---> 1e9fb0e03416 18:49:57 Step 20/25 : EXPOSE 59900 18:49:57 ---> Running in 148a007d7f2d 18:49:57 Removing intermediate container 148a007d7f2d 18:49:57 ---> 5e884b4cca75 18:49:57 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:49:57 ---> Running in 6520ffe0d6c5 18:49:57 Removing intermediate container 6520ffe0d6c5 18:49:57 ---> de5a25c5e46e 18:49:57 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:49:57 ---> Running in f33532a55e87 18:49:57 Removing intermediate container f33532a55e87 18:49:57 ---> db62178a020e 18:49:57 Step 23/25 : LABEL arch=amd64 18:49:57 ---> Running in 93c21a765777 18:49:57 Removing intermediate container 93c21a765777 18:49:57 ---> 09ab03559a36 18:49:57 Step 24/25 : LABEL git_sha=a748b6b7c253edcc529294d5f0d3ad5eededb5cd 18:49:57 ---> Running in 725ba416fbdb 18:49:57 Removing intermediate container 725ba416fbdb 18:49:57 ---> 022248f0c94a 18:49:57 Step 25/25 : LABEL version=0.0.0 18:49:57 ---> Running in a52efc4f9848 18:49:57 Removing intermediate container a52efc4f9848 18:49:57 ---> d98d86b87928 18:49:57 [Warning] One or more build-args [ARCH] were not consumed 18:49:58 Successfully built d98d86b87928 18:49:58 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] { 18:49:58 9b18e9b68314: Pull complete 18:49:58 891c053d2c06: Verifying Checksum 18:49:58 891c053d2c06: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:49:58 18:49:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:58 35d82f9e3411: Pull complete 18:49:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:49:58 latest: Pulling from edgex-lftools-log-publisher 18:49:58 5eb5b503b376: Pulling fs layer 18:49:58 5c69ac0246d0: Pulling fs layer 18:49:58 ec43610c2a17: Pulling fs layer 18:49:58 3a2ae6a8a46f: Pulling fs layer 18:49:58 33b1e0a273af: Pulling fs layer 18:49:58 5d3b04190fa2: Pulling fs layer 18:49:58 2f39f015ded8: Pulling fs layer 18:49:58 33b1e0a273af: Waiting 18:49:58 5d3b04190fa2: Waiting 18:49:58 3a2ae6a8a46f: Waiting 18:49:58 5c69ac0246d0: Download complete 18:49:58 3a2ae6a8a46f: Download complete 18:49:59 e16973657156: Pull complete 18:49:59 33b1e0a273af: Verifying Checksum 18:49:59 33b1e0a273af: Download complete 18:49:59 5d3b04190fa2: Verifying Checksum 18:49:59 5d3b04190fa2: Download complete 18:49:59 ec43610c2a17: Verifying Checksum 18:49:59 ec43610c2a17: Download complete 18:49:59 5eb5b503b376: Download complete 18:49:59 db1c61fa0a46: Verifying Checksum 18:49:59 db1c61fa0a46: Download complete 18:49:59 2f39f015ded8: Download complete 18:49:59 fc693d55d65f: Verifying Checksum 18:49:59 fc693d55d65f: Download complete 18:50:00 5eb5b503b376: Pull complete 18:50:00 5c69ac0246d0: Pull complete 18:50:01 ec43610c2a17: Pull complete 18:50:01 3a2ae6a8a46f: Pull complete 18:50:01 33b1e0a273af: Pull complete 18:50:01 5d3b04190fa2: Pull complete 18:50:07 2f39f015ded8: Pull complete 18:50:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:07 prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container 18:50:07 $ 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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 18:50:12 fc693d55d65f: Pull complete 18:50:12 7e9fc2657dce: Pull complete 18:50:12 dda99020689f: Pull complete 18:50:16 $ docker top eb59d631096b23f38207024d3e4402d7de9a2ff1629da43911ef9e5c22292c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:17 ---> job-cost.sh 18:50:17 lf-activate-venv: SKIPPING 18:50:17 INFO: No Stack... 18:50:17 db1c61fa0a46: Pull complete 18:50:20 891c053d2c06: Pull complete 18:50:20 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:50:20 ---> f96f9c87975a 18:50:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:50:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:50:21 INFO: Archiving Costs [Pipeline] sh 18:50:21 + cat /w/workspace/foundry_device-virtual-go_PR-339/archives/cost.csv 18:50:21 + cut -d, -f6 [Pipeline] lock 18:50:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] 18:50:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] did not exist. Created. 18:50:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:50:22 + echo total: 0.2199999988079071 [Pipeline] stash 18:50:22 Stashed 1 file(s) [Pipeline] } 18:50:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] 18:50:22 ---> Running in 05d91ba26d9b [Pipeline] // lock [Pipeline] } 18:50:22 $ docker stop --time=1 eb59d631096b23f38207024d3e4402d7de9a2ff1629da43911ef9e5c22292c1a 18:50:22 Removing intermediate container 05d91ba26d9b 18:50:22 ---> 41ca3b4bd4a5 18:50:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:50:22 ---> Running in 7583a228ab02 18:50:22 Removing intermediate container 7583a228ab02 18:50:22 ---> 87ce7cd42b93 18:50:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:50:22 ---> Running in f1a20619cf39 18:50:23 Removing intermediate container f1a20619cf39 18:50:23 ---> 16aaf7396a13 18:50:23 Step 6/12 : WORKDIR /device-virtual-go 18:50:23 ---> Running in 57782e2a5386 18:50:23 Removing intermediate container 57782e2a5386 18:50:23 ---> 9e9da154ef4f 18:50:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:50:23 $ docker rm -f --volumes eb59d631096b23f38207024d3e4402d7de9a2ff1629da43911ef9e5c22292c1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:50:23 ---> Running in 0433a26254a5 18:50:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:50:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:50:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:50:25 (2/4) Installing libedit (20210910.3.1-r0) 18:50:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:50:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:50:25 Executing busybox-1.35.0-r17.trigger 18:50:26 OK: 226 MiB in 55 packages 18:50:27 Removing intermediate container 0433a26254a5 18:50:27 ---> fa2dc67bacb4 18:50:27 Step 8/12 : COPY go.mod vendor* ./ 18:50:27 ---> d9bc7980437a 18:50:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:27 ---> Running in fc533fa88a29 18:51:49 Removing intermediate container fc533fa88a29 18:51:49 ---> a34f04e8c55d 18:51:49 Step 10/12 : COPY . . 18:51:49 ---> 985332520ca8 18:51:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:49 ---> Running in 35691ed130d6 18:51:49 Removing intermediate container 35691ed130d6 18:51:49 ---> 47b6efbbb916 18:51:49 Step 12/12 : RUN $MAKE 18:51:49 ---> Running in fb7775d89fbb 18:51:49 noop 18:51:49 Removing intermediate container fb7775d89fbb 18:51:49 ---> b30b7050af82 18:51:49 Successfully built b30b7050af82 18:51:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:49 + docker inspect -f . ci-base-image-arm64 18:51:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:50 prd-ubuntu20.04-docker-arm64-4c-16g-5858 does not seem to be running inside a container 18:51:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 18:51:51 $ docker top 7006f2f301754d0eeb6a89b03e68758e9482f590c0cf9123c810cc6f1f1f95b5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:52 + go version 18:51:52 go version go1.18.7 linux/arm64 [Pipeline] } 18:51:52 $ docker stop --time=1 7006f2f301754d0eeb6a89b03e68758e9482f590c0cf9123c810cc6f1f1f95b5 18:51:53 $ docker rm -f --volumes 7006f2f301754d0eeb6a89b03e68758e9482f590c0cf9123c810cc6f1f1f95b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:54 + docker inspect -f . ci-base-image-arm64 18:51:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:54 prd-ubuntu20.04-docker-arm64-4c-16g-5858 does not seem to be running inside a container 18:51:54 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 18:51:55 $ docker top 8526a38b4b5ebb0b3ed40ba8ff44789c47f092e62dbf5807163c367e9b73a297 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:56 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 18:51:56 + make test 18:51:56 go test ./... -coverprofile=coverage.out 18:51:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:53:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:53:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements 18:53:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:53:19 go vet ./... 18:53:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:53:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:53:34 ./bin/test-attribution-txt.sh 18:53:34 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 18:53:34 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 18:53:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:53:35 $ docker stop --time=1 8526a38b4b5ebb0b3ed40ba8ff44789c47f092e62dbf5807163c367e9b73a297 18:53:36 $ docker rm -f --volumes 8526a38b4b5ebb0b3ed40ba8ff44789c47f092e62dbf5807163c367e9b73a297 [Pipeline] // withDockerContainer [Pipeline] sh 18:53:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:53:37 Warning: overwriting stash ‘coverage-report’ 18:53:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:38 + ls -al . 18:53:38 total 188 18:53:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:51 . 18:53:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:49 .. 18:53:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:49 .git 18:53:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:49 .github 18:53:38 -rw-rw-r-- 1 jenkins jenkins 337 Feb 14 18:49 .gitignore 18:53:38 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 18:49 .golangci.yml 18:53:38 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 14 18:49 Attribution.txt 18:53:38 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 14 18:49 CHANGELOG.md 18:53:38 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 14 18:49 Dockerfile 18:53:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 18:49 GOVERNANCE.md 18:53:38 -rw-rw-r-- 1 jenkins jenkins 660 Feb 14 18:49 Jenkinsfile 18:53:38 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 18:49 LICENSE 18:53:38 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 14 18:49 Makefile 18:53:38 -rw-rw-r-- 1 jenkins jenkins 623 Feb 14 18:49 OWNERS.md 18:53:38 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 14 18:49 README.md 18:53:38 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:47 VERSION 18:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:49 bin 18:53:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:49 cmd 18:53:38 -rw-r--r-- 1 jenkins jenkins 44128 Feb 14 18:53 coverage.out 18:53:38 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 14 18:49 go.mod 18:53:38 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 14 18:49 go.sum 18:53:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:49 internal 18:53:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:49 snap 18:53:38 -rw-rw-r-- 1 jenkins jenkins 235 Feb 14 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:39 + 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=a748b6b7c253edcc529294d5f0d3ad5eededb5cd --label arch=arm64 --label version=0.0.0 . 18:53:39 Sending build context to Docker daemon 11.9MB 18:53:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:53:39 Step 2/25 : FROM ${BASE} AS builder 18:53:39 ---> b30b7050af82 18:53:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:39 ---> Running in 19b313cfa84d 18:53:40 Removing intermediate container 19b313cfa84d 18:53:40 ---> a0169904fe09 18:53:40 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:53:40 ---> Running in 31f7f702291c 18:53:40 Removing intermediate container 31f7f702291c 18:53:40 ---> a8e8da7c3014 18:53:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:53:40 ---> Running in f3ea42764083 18:53:40 Removing intermediate container f3ea42764083 18:53:40 ---> 51b2080bc11a 18:53:40 Step 6/25 : WORKDIR /device-virtual-go 18:53:40 ---> Running in 4e5f0ef3505e 18:53:41 Removing intermediate container 4e5f0ef3505e 18:53:41 ---> acb97c6e8f73 18:53:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:41 ---> Running in 67c5eaf66075 18:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:53:43 OK: 226 MiB in 55 packages 18:53:45 Removing intermediate container 67c5eaf66075 18:53:45 ---> 92faea5e292d 18:53:45 Step 8/25 : COPY go.mod vendor* ./ 18:53:46 ---> 7c350eac96a7 18:53:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:46 ---> Running in 9d407e867962 18:53:49 Removing intermediate container 9d407e867962 18:53:49 ---> 7669d31380c7 18:53:49 Step 10/25 : COPY . . 18:53:50 ---> bfca335b9846 18:53:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:50 ---> Running in 9b7ff5b78e82 18:53:51 Removing intermediate container 9b7ff5b78e82 18:53:51 ---> 8cdf59a44522 18:53:51 Step 12/25 : RUN $MAKE 18:53:51 ---> Running in c2cbee06aae7 18:53:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 18:56:01 Removing intermediate container c2cbee06aae7 18:56:01 ---> 0bbc29ad2898 18:56:01 Step 13/25 : FROM alpine:3.16 18:56:01 3.16: Pulling from library/alpine 18:56:01 3760b48202b3: Pulling fs layer 18:56:01 3760b48202b3: Verifying Checksum 18:56:01 3760b48202b3: Download complete 18:56:01 3760b48202b3: Pull complete 18:56:01 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:56:01 Status: Downloaded newer image for alpine:3.16 18:56:01 ---> 4c81e5bf8899 18:56:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:56:01 ---> Running in 076514a8199b 18:56:01 Removing intermediate container 076514a8199b 18:56:01 ---> 6dc3db4dd0e7 18:56:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:56:01 ---> Running in 2223659ee843 18:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:56:01 (1/1) Installing dumb-init (1.2.5-r1) 18:56:01 Executing busybox-1.35.0-r17.trigger 18:56:01 OK: 5 MiB in 15 packages 18:56:01 Removing intermediate container 2223659ee843 18:56:01 ---> a9c7379e999f 18:56:01 Step 16/25 : WORKDIR / 18:56:01 ---> Running in d7019fb096fe 18:56:01 Removing intermediate container d7019fb096fe 18:56:01 ---> 0aa80acd20f4 18:56:01 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:56:01 ---> 06d8957ae822 18:56:01 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:56:01 ---> d14fed5fe1bf 18:56:01 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:56:02 ---> bc5bb775d61e 18:56:02 Step 20/25 : EXPOSE 59900 18:56:02 ---> Running in 27d682fe96b0 18:56:02 Removing intermediate container 27d682fe96b0 18:56:02 ---> 923e838de08e 18:56:02 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:56:02 ---> Running in d08cae044946 18:56:02 Removing intermediate container d08cae044946 18:56:02 ---> fc30a938bb86 18:56:02 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:56:02 ---> Running in f3154b329a22 18:56:05 Removing intermediate container f3154b329a22 18:56:05 ---> f6aef45a0c29 18:56:05 Step 23/25 : LABEL arch=arm64 18:56:05 ---> Running in ad5d852a9d52 18:56:05 Removing intermediate container ad5d852a9d52 18:56:05 ---> 51ebc2202f31 18:56:05 Step 24/25 : LABEL git_sha=a748b6b7c253edcc529294d5f0d3ad5eededb5cd 18:56:05 ---> Running in e83b5be6c78f 18:56:05 Removing intermediate container e83b5be6c78f 18:56:05 ---> 854eaf500d8c 18:56:05 Step 25/25 : LABEL version=0.0.0 18:56:05 ---> Running in 6c7d2702e99a 18:56:05 Removing intermediate container 6c7d2702e99a 18:56:05 ---> 067e87b56080 18:56:05 [Warning] One or more build-args [ARCH] were not consumed 18:56:05 Successfully built 067e87b56080 18:56:05 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 18:56:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:06 18:56:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:06 arm64: Pulling from edgex-lftools-log-publisher 18:56:06 8998bd30e6a1: Pulling fs layer 18:56:06 04944245beec: Pulling fs layer 18:56:06 699f458cf7ca: Pulling fs layer 18:56:06 765212b225bb: Pulling fs layer 18:56:06 f23df028b6ca: Pulling fs layer 18:56:06 d65c8cfc05b1: Pulling fs layer 18:56:06 2437ff75d9bd: Pulling fs layer 18:56:06 765212b225bb: Waiting 18:56:06 f23df028b6ca: Waiting 18:56:06 2437ff75d9bd: Waiting 18:56:06 d65c8cfc05b1: Waiting 18:56:06 04944245beec: Verifying Checksum 18:56:06 04944245beec: Download complete 18:56:06 765212b225bb: Verifying Checksum 18:56:06 765212b225bb: Download complete 18:56:06 f23df028b6ca: Verifying Checksum 18:56:06 f23df028b6ca: Download complete 18:56:06 d65c8cfc05b1: Verifying Checksum 18:56:06 d65c8cfc05b1: Download complete 18:56:06 699f458cf7ca: Verifying Checksum 18:56:06 699f458cf7ca: Download complete 18:56:07 8998bd30e6a1: Verifying Checksum 18:56:07 8998bd30e6a1: Download complete 18:56:09 2437ff75d9bd: Verifying Checksum 18:56:09 2437ff75d9bd: Download complete 18:56:10 8998bd30e6a1: Pull complete 18:56:11 04944245beec: Pull complete 18:56:12 699f458cf7ca: Pull complete 18:56:12 765212b225bb: Pull complete 18:56:13 f23df028b6ca: Pull complete 18:56:13 d65c8cfc05b1: Pull complete 18:56:28 2437ff75d9bd: Pull complete 18:56:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:56:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:28 prd-ubuntu20.04-docker-arm64-4c-16g-5858 does not seem to be running inside a container 18:56:28 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 18:56:31 $ docker top a02fbcbc21d611770cab195c5247bb7be7a26c58bf01e6b36e9dc08f12ce86c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:31 ---> job-cost.sh 18:56:31 lf-activate-venv: SKIPPING 18:56:31 INFO: No Stack... 18:56:33 INFO: Retrieving Pricing Info for: v3-standard-4 18:56:34 INFO: Archiving Costs [Pipeline] sh 18:56:34 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 18:56:34 + cut -d, -f6 [Pipeline] lock 18:56:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] 18:56:34 Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] did not exist. Created. 18:56:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:35 /w/workspace/device-virtual-go/3@tmp/durable-a5a6c844/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:35 + echo total: 0.10999999940395355 [Pipeline] stash 18:56:35 Warning: overwriting stash ‘stack-cost’ 18:56:35 Stashed 1 file(s) [Pipeline] } 18:56:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:35 $ docker stop --time=1 a02fbcbc21d611770cab195c5247bb7be7a26c58bf01e6b36e9dc08f12ce86c1 18:56:37 $ docker rm -f --volumes a02fbcbc21d611770cab195c5247bb7be7a26c58bf01e6b36e9dc08f12ce86c1 [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 18:56:37 provisioning config files... 18:56:37 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config361731313271622507tmp [Pipeline] { [Pipeline] sh 18:56:38 + set +x 18:56:38 + curl -s https://codecov.io/bash 18:56:38 + bash -s -- 18:56:38 18:56:38 _____ _ 18:56:38 / ____| | | 18:56:38 | | ___ __| | ___ ___ _____ __ 18:56:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:38 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:38 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:38 Bash-1.0.6 18:56:38 18:56:38 18:56:38 ==> git version 2.25.1 found 18:56:38 ==> 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 18:56:38 Release-Date: 2020-01-08 18:56:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:56:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:56:38 ==> Jenkins CI detected. 18:56:38 current dir:  /w/workspace/foundry_device-virtual-go_PR-339 18:56:38 project root: . 18:56:38 --> token set from env 18:56:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:38 ==> Running gcov in . (disable via -X gcov) 18:56:38 ==> Python coveragepy not found 18:56:38 ==> Searching for coverage reports in: 18:56:38 + . 18:56:38 -> Found 1 reports 18:56:38 ==> Detecting git/mercurial file structure 18:56:38 ==> Reading reports 18:56:38 + ./coverage.out bytes=44128 18:56:38 ==> Appending adjustments 18:56:38 https://docs.codecov.io/docs/fixing-reports 18:56:38 + Found adjustments 18:56:38 ==> Gzipping contents 18:56:38 8.0K /tmp/codecov.V3QjoN.gz 18:56:38 ==> Uploading reports 18:56:38 url: https://codecov.io 18:56:38 query: branch=PR-339&commit=a748b6b7c253edcc529294d5f0d3ad5eededb5cd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= 18:56:38 -> Pinging Codecov 18:56:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-339&commit=a748b6b7c253edcc529294d5f0d3ad5eededb5cd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= 18:56:38 -> Uploading to 18:56:38 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/5E52B4B073DB2E39498172D8E973AA87/a748b6b7c253edcc529294d5f0d3ad5eededb5cd/dd905c5e-7115-4076-b6e8-16208320e8bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T185638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=890ac6a62a5764366177f19b41f1d876e17264648464700c4df95ab5e094507c 18:56:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:38 Dload Upload Total Spent Left Speed 18:56:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5459 0 0 100 5459 0 17440 --:--:-- --:--:-- --:--:-- 17440 18:56:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a748b6b7c253edcc529294d5f0d3ad5eededb5cd [Pipeline] } 18:56:39 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 18:56:39 + [ -d /w/workspace/foundry_device-virtual-go_PR-339/archives ] 18:56:39 + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives 18:56:39 total 16 18:56:39 drwxr-xr-x 3 root root 4096 Feb 14 18:50 . 18:56:39 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:50 .. 18:56:39 drwxr-xr-x 2 root root 4096 Feb 14 18:50 cost 18:56:39 -rw-r--r-- 1 root root 89 Feb 14 18:50 cost.csv 18:56:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-339/archives 18:56:39 + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives 18:56:39 total 16 18:56:39 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:50 . 18:56:39 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:50 .. 18:56:39 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 18:50 cost 18:56:39 -rw-r--r-- 1 jenkins jenkins 89 Feb 14 18:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:56:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:41 ---> package-listing.sh 18:56:41 ++ facter osfamily 18:56:41 ++ tr '[:upper:]' '[:lower:]' 18:56:41 + OS_FAMILY=debian 18:56:41 + workspace=/w/workspace/foundry_device-virtual-go_PR-339 18:56:41 + START_PACKAGES=/tmp/packages_start.txt 18:56:41 + END_PACKAGES=/tmp/packages_end.txt 18:56:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:41 + PACKAGES=/tmp/packages_start.txt 18:56:41 + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' 18:56:41 + PACKAGES=/tmp/packages_end.txt 18:56:41 + case "${OS_FAMILY}" in 18:56:41 + dpkg -l 18:56:41 + grep '^ii' 18:56:41 + '[' -f /tmp/packages_start.txt ']' 18:56:41 + '[' -f /tmp/packages_end.txt ']' 18:56:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:41 + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' 18:56:41 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-339/archives/ 18:56:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-339/archives/ [Pipeline] echo 18:56:41 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:56:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:42 prd-ubuntu20.04-docker-8c-8g-5857 does not seem to be running inside a container 18:56:42 $ 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-339/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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:56:45 $ docker top 1acbd446274420c8f7164148edf41aaa0db51b5af3b271b2fd816b174ce94474 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:45 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:45 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:46 + ls /var/log/sa-host 18:56:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:46 provisioning config files... 18:56:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config4812114123882983205tmp [Pipeline] { [Pipeline] echo 18:56:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:46 ---> create-netrc.sh [Pipeline] } 18:56:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:46 ---> python-tools-install.sh [Pipeline] echo 18:56:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:47 ---> sudo-logs.sh 18:56:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:56:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:47 ---> job-cost.sh 18:56:47 lf-activate-venv: SKIPPING 18:56:47 DEBUG: total: 0.2199999988079071 18:56:47 INFO: Retrieving Stack Cost... 18:56:47 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:48 INFO: Archiving Costs [Pipeline] echo 18:56:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:48 ---> logs-deploy.sh 18:56:48 lf-activate-venv: SKIPPING 18:56:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-339/3 18:56:48 INFO: archiving workspace using pattern(s): 18:56:49 Archives upload complete. 18:56:49 INFO: archiving logs to Nexus 18:56:50 ---> uname -a: 18:56:50 Linux prd-ubuntu20-04-docker-8c-8g-5857 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:56:50 18:56:50