Pull request #328 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 farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 4c5f8a82ebac084b4cef154276cbbf6b93eca046+ca0733bb9736aa55b8583960b75f1e287344907e (9580686198702fcd3dbbad1e3f336133c069774f) 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-ssh1196024085388291687.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-ssh15571913587037391488.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-328/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-328/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh383778411458551440.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-ssh6147970688511587995.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-328/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-328/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15466735413728409388.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2212 in /w/workspace/foundry_device-virtual-go_PR-328 [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-328 # 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 > 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/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ca0733bb9736aa55b8583960b75f1e287344907e into PR head commit 4c5f8a82ebac084b4cef154276cbbf6b93eca046 Merge succeeded, producing e5297467f1adcee12c61dc952662f1da8fe923cd Checking out Revision e5297467f1adcee12c61dc952662f1da8fe923cd (PR-328) > git config core.sparsecheckout # timeout=10 > git checkout -f 4c5f8a82ebac084b4cef154276cbbf6b93eca046 # 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 ca0733bb9736aa55b8583960b75f1e287344907e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5297467f1adcee12c61dc952662f1da8fe923cd # timeout=10 Commit message: "Merge commit 'ca0733bb9736aa55b8583960b75f1e287344907e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 0bbeff95fae05d7ffd956023374934d2363d6b1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:04:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:04:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:04:19 ========================================================= 15:04:19 EdgeX Global Pipelines Version Info 15:04:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:04:20 ------------------- 15:04:20 stable info: 15:04:20 ------------------- 15:04:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:04:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:04:20 Message: update stable to v1.0.244 15:04:21 ------------------- 15:04:21 experimental info: 15:04:21 ------------------- 15:04:21 Commited By: **** collab-it+edgex@linuxfoundation.org 15:04:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:04:21 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-328 [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-328 [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-328 [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5297467f1adcee12c61dc952662f1da8fe923cd [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e529746 [Pipeline] echo 15:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:04:21 provisioning config files... 15:04:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-328@tmp/config11145642897587199289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:22 ---> docker-login.sh 15:04:22 nexus3.edgexfoundry.org:10001 15:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:22 Configure a credential helper to remove this warning. See 15:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:22 15:04:22 Login Succeeded 15:04:22 nexus3.edgexfoundry.org:10002 15:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:22 Configure a credential helper to remove this warning. See 15:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:22 15:04:22 Login Succeeded 15:04:22 nexus3.edgexfoundry.org:10003 15:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:22 Configure a credential helper to remove this warning. See 15:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:22 15:04:22 Login Succeeded 15:04:22 nexus3.edgexfoundry.org:10004 15:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:22 Configure a credential helper to remove this warning. See 15:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:22 15:04:22 Login Succeeded 15:04:22 docker.io 15:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:23 Configure a credential helper to remove this warning. See 15:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:23 15:04:23 Login Succeeded 15:04:23 ---> docker-login.sh ends [Pipeline] } 15:04:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:04:23 + git rev-list -1 --merges e5297467f1adcee12c61dc952662f1da8fe923cd~1..e5297467f1adcee12c61dc952662f1da8fe923cd [Pipeline] echo 15:04:23 -----------> git rev-list -1 --merges e5297467f1adcee12c61dc952662f1da8fe923cd~1..e5297467f1adcee12c61dc952662f1da8fe923cd e5297467f1adcee12c61dc952662f1da8fe923cd 15:04:23 e5297467f1adcee12c61dc952662f1da8fe923cd [false] [Pipeline] sh 15:04:23 + git log --format=format:%s -1 e5297467f1adcee12c61dc952662f1da8fe923cd [Pipeline] echo 15:04:23 ========================================================= 15:04:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:04:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:04:24 + git log --format=format:%s -1 e5297467f1adcee12c61dc952662f1da8fe923cd [Pipeline] echo 15:04:24 [semverPrep] GIT_COMMIT: e5297467f1adcee12c61dc952662f1da8fe923cd, Commit Message: Merge commit 'ca0733bb9736aa55b8583960b75f1e287344907e' into HEAD [Pipeline] echo 15:04:24 [semverPrep] This is not a build commit. [Pipeline] sh 15:04:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:04:24 + grep -v github /etc/ssh/ssh_known_hosts 15:04:24 + [ -e /tmp/ssh_known_hosts ] 15:04:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:04:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:04:24 + sudo tee -a /etc/ssh/ssh_known_hosts 15:04:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:04:25 15:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:04:25 0.1.4: Pulling from edgex-devops/py-git-semver 15:04:25 b85a868b505f: Pulling fs layer 15:04:25 e2be974225ed: Pulling fs layer 15:04:25 339a4e72a1f5: Pulling fs layer 15:04:25 988bab9f4d93: Pulling fs layer 15:04:25 1469e6f7b9e6: Pulling fs layer 15:04:25 eaf3925da568: Pulling fs layer 15:04:25 bab4dde63d76: Pulling fs layer 15:04:25 bde34c3a00c8: Pulling fs layer 15:04:25 b352a97aabf1: Pulling fs layer 15:04:25 4872d77fe225: Pulling fs layer 15:04:25 988bab9f4d93: Waiting 15:04:25 1469e6f7b9e6: Waiting 15:04:25 eaf3925da568: Waiting 15:04:25 bab4dde63d76: Waiting 15:04:25 bde34c3a00c8: Waiting 15:04:25 b352a97aabf1: Waiting 15:04:25 5851b861e8e6: Pulling fs layer 15:04:25 4872d77fe225: Waiting 15:04:25 5851b861e8e6: Waiting 15:04:25 e2be974225ed: Verifying Checksum 15:04:25 e2be974225ed: Download complete 15:04:25 988bab9f4d93: Download complete 15:04:25 339a4e72a1f5: Verifying Checksum 15:04:25 339a4e72a1f5: Download complete 15:04:25 eaf3925da568: Verifying Checksum 15:04:25 eaf3925da568: Download complete 15:04:25 1469e6f7b9e6: Verifying Checksum 15:04:25 1469e6f7b9e6: Download complete 15:04:25 bde34c3a00c8: Verifying Checksum 15:04:25 b352a97aabf1: Verifying Checksum 15:04:25 b352a97aabf1: Download complete 15:04:25 4872d77fe225: Verifying Checksum 15:04:25 4872d77fe225: Download complete 15:04:25 5851b861e8e6: Download complete 15:04:25 b85a868b505f: Verifying Checksum 15:04:25 b85a868b505f: Download complete 15:04:26 bab4dde63d76: Verifying Checksum 15:04:26 bab4dde63d76: Download complete 15:04:27 b85a868b505f: Pull complete 15:04:27 e2be974225ed: Pull complete 15:04:27 339a4e72a1f5: Pull complete 15:04:27 988bab9f4d93: Pull complete 15:04:27 1469e6f7b9e6: Pull complete 15:04:27 eaf3925da568: Pull complete 15:04:29 bab4dde63d76: Pull complete 15:04:29 bde34c3a00c8: Pull complete 15:04:29 b352a97aabf1: Pull complete 15:04:29 4872d77fe225: Pull complete 15:04:29 5851b861e8e6: Pull complete 15:04:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:04:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:04:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:30 prd-ubuntu20.04-docker-8c-8g-2212 does not seem to be running inside a container 15:04:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-328 -v /w/workspace/foundry_device-virtual-go_PR-328:/w/workspace/foundry_device-virtual-go_PR-328:rw,z -v /w/workspace/foundry_device-virtual-go_PR-328@tmp:/w/workspace/foundry_device-virtual-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:04:32 $ docker top a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd -eo pid,comm 15:04:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:04:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:04:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:04:32 [ssh-agent] Looking for ssh-agent implementation... 15:04:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:04:32 $ docker exec a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd ssh-agent 15:04:32 SSH_AUTH_SOCK=/tmp/ssh-NA64GGDhHev4/agent.32 15:04:32 SSH_AGENT_PID=38 15:04:32 Running ssh-add (command line suppressed) 15:04:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-328@tmp/private_key_3156931106043736507.key (/w/workspace/foundry_device-virtual-go_PR-328@tmp/private_key_3156931106043736507.key) 15:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:04:33 + git tag --points-at HEAD [Pipeline] } 15:04:33 $ docker exec --env ******** --env ******** a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd ssh-agent -k 15:04:33 unset SSH_AUTH_SOCK; 15:04:33 unset SSH_AGENT_PID; 15:04:33 echo Agent pid 38 killed; 15:04:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:04:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:04:33 [ssh-agent] Looking for ssh-agent implementation... 15:04:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:04:33 $ docker exec a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd ssh-agent 15:04:33 SSH_AUTH_SOCK=/tmp/ssh-UBPNfrOVlKWk/agent.70 15:04:33 SSH_AGENT_PID=76 15:04:33 Running ssh-add (command line suppressed) 15:04:33 Identity added: /w/workspace/foundry_device-virtual-go_PR-328@tmp/private_key_10287500689777306376.key (/w/workspace/foundry_device-virtual-go_PR-328@tmp/private_key_10287500689777306376.key) 15:04:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:04:33 + git semver init 15:04:34 2023-01-13 15:04:34,083 [run_init] DEBUG init version:0.0.0 force:False 15:04:34 2023-01-13 15:04:34,083 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-328/.semver 15:04:34 2023-01-13 15:04:34,084 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-328/.semver 15:04:34 2023-01-13 15:04:34,084 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-328/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-328, universal_newlines=False, shell=None, istream=None) 15:04:35 2023-01-13 15:04:35,155 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-328/.git/info/exclude 15:04:35 2023-01-13 15:04:35,155 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-328/.semver/PR-328 with force:False 15:04:35 2023-01-13 15:04:35,155 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-328/.semver/PR-328 15:04:35 2023-01-13 15:04:35,158 [execute] INFO git cat-file --batch-check 15:04:35 2023-01-13 15:04:35,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-328/.semver, universal_newlines=False, shell=None, istream=) 15:04:35 2023-01-13 15:04:35,162 [execute] INFO git cat-file --batch 15:04:35 2023-01-13 15:04:35,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-328/.semver, universal_newlines=False, shell=None, istream=) 15:04:35 2023-01-13 15:04:35,167 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-328/.semver/PR-328 15:04:35 0.0.0 [Pipeline] } 15:04:35 $ docker exec --env ******** --env ******** a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd ssh-agent -k 15:04:35 unset SSH_AUTH_SOCK; 15:04:35 unset SSH_AGENT_PID; 15:04:35 echo Agent pid 76 killed; 15:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:04:35 + git semver [Pipeline] } 15:04:36 $ docker stop --time=1 a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd 15:04:37 $ docker rm -f --volumes a49ebf796ec3798b278f211cd030aa4e39f1fd48ee6708f8d22015b286e9c8cd [Pipeline] // withDockerContainer [Pipeline] sh 15:04:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:04:38 Stashed 1 file(s) [Pipeline] echo 15:04:38 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:04:38 provisioning config files... 15:04:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-328@tmp/config6550636467871594539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:38 ---> docker-login.sh 15:04:38 nexus3.edgexfoundry.org:10001 15:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:38 Configure a credential helper to remove this warning. See 15:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:38 15:04:38 Login Succeeded 15:04:38 nexus3.edgexfoundry.org:10002 15:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:38 Configure a credential helper to remove this warning. See 15:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:38 15:04:38 Login Succeeded 15:04:38 nexus3.edgexfoundry.org:10003 15:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:38 Configure a credential helper to remove this warning. See 15:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:38 15:04:38 Login Succeeded 15:04:38 nexus3.edgexfoundry.org:10004 15:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:38 Configure a credential helper to remove this warning. See 15:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:38 15:04:38 Login Succeeded 15:04:38 docker.io 15:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:39 Configure a credential helper to remove this warning. See 15:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:39 15:04:39 Login Succeeded 15:04:39 ---> docker-login.sh ends [Pipeline] } 15:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:04:39 ========================================================= 15:04:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:04:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:04:39 Sending build context to Docker daemon 23.38MB 15:04:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:04:39 Step 2/12 : FROM ${BASE} AS builder 15:04:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:04:39 213ec9aee27d: Pulling fs layer 15:04:39 4583459ba037: Pulling fs layer 15:04:39 93c1e223e6f2: Pulling fs layer 15:04:39 53926ce57604: Pulling fs layer 15:04:39 21b2b0c7a3f4: Pulling fs layer 15:04:39 22ff95d597cd: Pulling fs layer 15:04:39 12d6caf4c0d1: Pulling fs layer 15:04:39 53926ce57604: Waiting 15:04:39 21b2b0c7a3f4: Waiting 15:04:39 96b7cbca73a9: Pulling fs layer 15:04:39 a7acece74701: Pulling fs layer 15:04:39 12d6caf4c0d1: Waiting 15:04:39 22ff95d597cd: Waiting 15:04:39 96b7cbca73a9: Waiting 15:04:39 93c1e223e6f2: Verifying Checksum 15:04:39 93c1e223e6f2: Download complete 15:04:39 4583459ba037: Verifying Checksum 15:04:39 4583459ba037: Download complete 15:04:39 21b2b0c7a3f4: Verifying Checksum 15:04:39 21b2b0c7a3f4: Download complete 15:04:39 22ff95d597cd: Download complete 15:04:39 213ec9aee27d: Verifying Checksum 15:04:39 12d6caf4c0d1: Download complete 15:04:39 213ec9aee27d: Pull complete 15:04:39 4583459ba037: Pull complete 15:04:39 93c1e223e6f2: Pull complete 15:04:40 96b7cbca73a9: Verifying Checksum 15:04:40 96b7cbca73a9: Download complete 15:04:40 a7acece74701: Verifying Checksum 15:04:40 a7acece74701: Download complete 15:04:40 53926ce57604: Verifying Checksum 15:04:40 53926ce57604: Download complete 15:04:43 53926ce57604: Pull complete 15:04:43 21b2b0c7a3f4: Pull complete 15:04:43 22ff95d597cd: Pull complete 15:04:44 12d6caf4c0d1: Pull complete 15:04:45 96b7cbca73a9: Pull complete 15:04:46 a7acece74701: Pull complete 15:04:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:04:46 ---> db6d94c90886 15:04:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:04:49 ---> Running in a6595d446ceb 15:04:49 Removing intermediate container a6595d446ceb 15:04:49 ---> ff3117fa342c 15:04:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:04:49 ---> Running in 4e208eda94f6 15:04:49 Removing intermediate container 4e208eda94f6 15:04:49 ---> 770fe75ba241 15:04:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:04:49 ---> Running in 4c2ae80de522 15:04:49 Removing intermediate container 4c2ae80de522 15:04:49 ---> 6259cb12107a 15:04:49 Step 6/12 : WORKDIR /device-virtual-go 15:04:49 ---> Running in 75e9171a1762 15:04:49 Removing intermediate container 75e9171a1762 15:04:49 ---> 19bf5cc2cbfa 15:04:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:04:49 ---> Running in 1483e527033e 15:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:04:50 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:04:50 (2/4) Installing libedit (20210910.3.1-r0) 15:04:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:04:50 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:04:50 Executing busybox-1.35.0-r17.trigger 15:04:50 OK: 216 MiB in 55 packages 15:04:51 Removing intermediate container 1483e527033e 15:04:51 ---> 7c1339ca8c9c 15:04:51 Step 8/12 : COPY go.mod vendor* ./ 15:04:51 ---> 23ad277a2585 15:04:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:04:51 ---> Running in 4c1279339830 15:04:53 Still waiting to schedule task 15:04:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:05:17 Removing intermediate container 4c1279339830 15:05:17 ---> 8ce6ee0c1cbf 15:05:17 Step 10/12 : COPY . . 15:05:17 ---> a16e74ed9b6c 15:05:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:05:17 ---> Running in fdf9cc27b278 15:05:17 Removing intermediate container fdf9cc27b278 15:05:17 ---> b9bca775eb4b 15:05:17 Step 12/12 : RUN $MAKE 15:05:17 ---> Running in f4ba7179f21f 15:05:17 noop 15:05:17 Removing intermediate container f4ba7179f21f 15:05:17 ---> 539e79930842 15:05:17 Successfully built 539e79930842 15:05:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:18 + docker inspect -f . ci-base-image-x86_64 15:05:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:18 prd-ubuntu20.04-docker-8c-8g-2212 does not seem to be running inside a container 15:05:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-328 -v /w/workspace/foundry_device-virtual-go_PR-328:/w/workspace/foundry_device-virtual-go_PR-328:rw,z -v /w/workspace/foundry_device-virtual-go_PR-328@tmp:/w/workspace/foundry_device-virtual-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:05:18 $ docker top 6ad2d53cbfcede0d7d8c9f5110a441166de3f359a6fed52ece15234ea83b0ea9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:18 + go version 15:05:18 go version go1.18.7 linux/amd64 [Pipeline] } 15:05:18 $ docker stop --time=1 6ad2d53cbfcede0d7d8c9f5110a441166de3f359a6fed52ece15234ea83b0ea9 15:05:20 $ docker rm -f --volumes 6ad2d53cbfcede0d7d8c9f5110a441166de3f359a6fed52ece15234ea83b0ea9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:20 + docker inspect -f . ci-base-image-x86_64 15:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:20 prd-ubuntu20.04-docker-8c-8g-2212 does not seem to be running inside a container 15:05:20 $ 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-328 -v /w/workspace/foundry_device-virtual-go_PR-328:/w/workspace/foundry_device-virtual-go_PR-328:rw,z -v /w/workspace/foundry_device-virtual-go_PR-328@tmp:/w/workspace/foundry_device-virtual-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:05:21 $ docker top 8aff21dfca026d9217f318a214d9b5498caea8769443fc25114d5afeac03a765 -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:21 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-328 [Pipeline] fileExists [Pipeline] sh 15:05:21 + make test 15:05:21 go test ./... -coverprofile=coverage.out 15:05:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:05:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:05:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 15:05:36 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:05:36 go vet ./... 15:05:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:05:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:05:39 ./bin/test-attribution-txt.sh [Pipeline] echo 15:05:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:05:39 $ docker stop --time=1 8aff21dfca026d9217f318a214d9b5498caea8769443fc25114d5afeac03a765 15:05:41 $ docker rm -f --volumes 8aff21dfca026d9217f318a214d9b5498caea8769443fc25114d5afeac03a765 [Pipeline] // withDockerContainer [Pipeline] sh 15:05:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:05:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:05:42 + ls -al . 15:05:42 total 204 15:05:42 drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 15:05 . 15:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:04 .. 15:05:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:05 .git 15:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:04 .github 15:05:42 -rw-rw-r-- 1 jenkins jenkins 337 Jan 13 15:04 .gitignore 15:05:42 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 15:04 .golangci.yml 15:05:42 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:04 .semver 15:05:42 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 13 15:04 Attribution.txt 15:05:42 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 15:04 CHANGELOG.md 15:05:42 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 13 15:04 Dockerfile 15:05:42 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 15:04 GOVERNANCE.md 15:05:42 -rw-rw-r-- 1 jenkins jenkins 660 Jan 13 15:04 Jenkinsfile 15:05:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 15:04 LICENSE 15:05:42 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 13 15:04 Makefile 15:05:42 -rw-rw-r-- 1 jenkins jenkins 623 Jan 13 15:04 OWNERS.md 15:05:42 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 13 15:04 README.md 15:05:42 -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 15:04 VERSION 15:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 15:04 bin 15:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:04 cmd 15:05:42 -rw-r--r-- 1 jenkins jenkins 44128 Jan 13 15:05 coverage.out 15:05:42 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 13 15:04 go.mod 15:05:42 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 13 15:04 go.sum 15:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:04 internal 15:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:04 snap 15:05:42 -rw-rw-r-- 1 jenkins jenkins 235 Jan 13 15:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:43 + 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=e5297467f1adcee12c61dc952662f1da8fe923cd --label arch=amd64 --label version=0.0.0 . 15:05:43 Sending build context to Docker daemon 23.42MB 15:05:43 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:05:43 Step 2/25 : FROM ${BASE} AS builder 15:05:43 ---> 539e79930842 15:05:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:05:43 ---> Running in 5ea4586f4902 15:05:43 Removing intermediate container 5ea4586f4902 15:05:43 ---> c2d805c0d984 15:05:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:05:43 ---> Running in c9dde864d7b4 15:05:43 Removing intermediate container c9dde864d7b4 15:05:43 ---> 80a2ff2b61e0 15:05:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:05:43 ---> Running in 5a687c207b76 15:05:43 Removing intermediate container 5a687c207b76 15:05:43 ---> 24de718b8975 15:05:43 Step 6/25 : WORKDIR /device-virtual-go 15:05:43 ---> Running in 94db2e57f1d7 15:05:43 Removing intermediate container 94db2e57f1d7 15:05:43 ---> a9abcbf68155 15:05:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:05:43 ---> Running in 5d3547703188 15:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:05:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:05:44 OK: 216 MiB in 55 packages 15:05:44 Removing intermediate container 5d3547703188 15:05:44 ---> b97c3dd0863f 15:05:44 Step 8/25 : COPY go.mod vendor* ./ 15:05:44 ---> c03000653f2d 15:05:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:05:44 ---> Running in 3a2812109fa4 15:05:45 Removing intermediate container 3a2812109fa4 15:05:45 ---> e16acc0ea4db 15:05:45 Step 10/25 : COPY . . 15:05:45 ---> b219c40f5269 15:05:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:05:45 ---> Running in 9e209dc485c7 15:05:45 Removing intermediate container 9e209dc485c7 15:05:45 ---> 99f8a36156af 15:05:45 Step 12/25 : RUN $MAKE 15:05:45 ---> Running in 2483c4781b73 15:05:46 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 15:06:04 Removing intermediate container 2483c4781b73 15:06:04 ---> 14189cf7e702 15:06:04 Step 13/25 : FROM alpine:3.16 15:06:04 3.16: Pulling from library/alpine 15:06:04 ca7dd9ec2225: Pulling fs layer 15:06:04 ca7dd9ec2225: Verifying Checksum 15:06:04 ca7dd9ec2225: Download complete 15:06:04 ca7dd9ec2225: Pull complete 15:06:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:06:04 Status: Downloaded newer image for alpine:3.16 15:06:04 ---> bfe296a52501 15:06:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:06:04 ---> Running in 3acca8175553 15:06:04 Removing intermediate container 3acca8175553 15:06:04 ---> 1b54a2f24541 15:06:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:06:04 ---> Running in 310caebdfcbc 15:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:06:05 (1/1) Installing dumb-init (1.2.5-r1) 15:06:05 Executing busybox-1.35.0-r17.trigger 15:06:05 OK: 6 MiB in 15 packages 15:06:05 Removing intermediate container 310caebdfcbc 15:06:05 ---> 5dca95ffa8d6 15:06:05 Step 16/25 : WORKDIR / 15:06:05 ---> Running in ec42d36e4287 15:06:05 Removing intermediate container ec42d36e4287 15:06:05 ---> 00a993cd9306 15:06:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:06:06 ---> 4661837d903b 15:06:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:06:06 ---> 810b4952dcfa 15:06:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:06:06 ---> 73dc589573fa 15:06:06 Step 20/25 : EXPOSE 59900 15:06:06 ---> Running in 3a43f1cf18bc 15:06:06 Removing intermediate container 3a43f1cf18bc 15:06:06 ---> bb7c657960f2 15:06:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:06:06 ---> Running in ddda03e75126 15:06:06 Removing intermediate container ddda03e75126 15:06:06 ---> 74f82dd2d227 15:06:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:06:06 ---> Running in 0b4a21374d50 15:06:06 Removing intermediate container 0b4a21374d50 15:06:06 ---> 47763594a590 15:06:06 Step 23/25 : LABEL arch=amd64 15:06:06 ---> Running in 410c1618e66b 15:06:07 Removing intermediate container 410c1618e66b 15:06:07 ---> 36c776b9310b 15:06:07 Step 24/25 : LABEL git_sha=e5297467f1adcee12c61dc952662f1da8fe923cd 15:06:07 ---> Running in 331b96510e72 15:06:07 Removing intermediate container 331b96510e72 15:06:07 ---> 4683901466cf 15:06:07 Step 25/25 : LABEL version=0.0.0 15:06:07 ---> Running in 47731969a67c 15:06:07 Removing intermediate container 47731969a67c 15:06:07 ---> b50b6392dae8 15:06:07 [Warning] One or more build-args [ARCH] were not consumed 15:06:07 Successfully built b50b6392dae8 15:06:07 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:07 15:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:07 latest: Pulling from edgex-lftools-log-publisher 15:06:07 5eb5b503b376: Pulling fs layer 15:06:07 5c69ac0246d0: Pulling fs layer 15:06:07 ec43610c2a17: Pulling fs layer 15:06:07 3a2ae6a8a46f: Pulling fs layer 15:06:07 33b1e0a273af: Pulling fs layer 15:06:07 5d3b04190fa2: Pulling fs layer 15:06:07 2f39f015ded8: Pulling fs layer 15:06:07 3a2ae6a8a46f: Waiting 15:06:07 5d3b04190fa2: Waiting 15:06:07 2f39f015ded8: Waiting 15:06:07 33b1e0a273af: Waiting 15:06:07 5c69ac0246d0: Download complete 15:06:07 3a2ae6a8a46f: Verifying Checksum 15:06:07 3a2ae6a8a46f: Download complete 15:06:07 ec43610c2a17: Verifying Checksum 15:06:07 ec43610c2a17: Download complete 15:06:08 33b1e0a273af: Verifying Checksum 15:06:08 33b1e0a273af: Download complete 15:06:08 5d3b04190fa2: Verifying Checksum 15:06:08 5d3b04190fa2: Download complete 15:06:08 5eb5b503b376: Verifying Checksum 15:06:08 5eb5b503b376: Download complete 15:06:08 2f39f015ded8: Download complete 15:06:09 5eb5b503b376: Pull complete 15:06:09 5c69ac0246d0: Pull complete 15:06:09 ec43610c2a17: Pull complete 15:06:09 3a2ae6a8a46f: Pull complete 15:06:10 33b1e0a273af: Pull complete 15:06:10 5d3b04190fa2: Pull complete 15:06:14 2f39f015ded8: Pull complete 15:06:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:14 prd-ubuntu20.04-docker-8c-8g-2212 does not seem to be running inside a container 15:06:14 $ 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-328 -v /w/workspace/foundry_device-virtual-go_PR-328:/w/workspace/foundry_device-virtual-go_PR-328:rw,z -v /w/workspace/foundry_device-virtual-go_PR-328@tmp:/w/workspace/foundry_device-virtual-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:06:17 $ docker top af96a4ec8f56a861ad255c1ebd3fed55c3a591d7a2fcf25a1ff70eeeb17011cc -eo pid,comm [Pipeline] { 15:06:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2213 in /w/workspace/foundry_device-virtual-go_PR-328 [Pipeline] libraryResource [Pipeline] sh [Pipeline] { [Pipeline] ws 15:06:17 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 15:06:17 The recommended git tool is: git 15:06:17 ---> job-cost.sh 15:06:17 lf-activate-venv: SKIPPING 15:06:17 INFO: No Stack... 15:06:18 INFO: Retrieving Pricing Info for: v3-standard-8 15:06:18 INFO: Archiving Costs [Pipeline] sh 15:06:18 + cat /w/workspace/foundry_device-virtual-go_PR-328/archives/cost.csv 15:06:18 + cut -d, -f6 [Pipeline] lock 15:06:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] 15:06:18 Resource [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] did not exist. Created. 15:06:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:06:19 + echo total: 0.2199999988079071 [Pipeline] stash 15:06:19 Stashed 1 file(s) [Pipeline] } 15:06:19 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:06:19 $ docker stop --time=1 af96a4ec8f56a861ad255c1ebd3fed55c3a591d7a2fcf25a1ff70eeeb17011cc 15:06:20 $ docker rm -f --volumes af96a4ec8f56a861ad255c1ebd3fed55c3a591d7a2fcf25a1ff70eeeb17011cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:06:22 using credential edgex-jenkins-ssh 15:06:22 Cloning the remote Git repository 15:06:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:06:22 > git init /w/workspace/device-virtual-go/3 # timeout=10 15:06:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:06:22 > git --version # timeout=10 15:06:22 > git --version # 'git version 2.25.1' 15:06:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:06:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:06:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:06:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:06:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:06:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:06:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:06:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:06:26 Merging remotes/origin/main commit ca0733bb9736aa55b8583960b75f1e287344907e into PR head commit 4c5f8a82ebac084b4cef154276cbbf6b93eca046 15:06:26 Merge succeeded, producing f75672a46a514a1fdc9dae18fc82db17e9b9d79e 15:06:26 Checking out Revision f75672a46a514a1fdc9dae18fc82db17e9b9d79e (PR-328) 15:06:26 > git config core.sparsecheckout # timeout=10 15:06:26 > git checkout -f 4c5f8a82ebac084b4cef154276cbbf6b93eca046 # timeout=10 15:06:26 > git remote # timeout=10 15:06:26 > git config --get remote.origin.url # timeout=10 15:06:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:06:26 > git merge ca0733bb9736aa55b8583960b75f1e287344907e # timeout=10 15:06:26 > git rev-parse HEAD^{commit} # timeout=10 15:06:26 > git config core.sparsecheckout # timeout=10 15:06:26 > git checkout -f f75672a46a514a1fdc9dae18fc82db17e9b9d79e # timeout=10 15:06:30 Commit message: "Merge commit 'ca0733bb9736aa55b8583960b75f1e287344907e' into HEAD" 15:06:30 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:06:30 > git rev-list --no-walk 0bbeff95fae05d7ffd956023374934d2363d6b1e # timeout=10 15:06:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:06:30 % Total % Received % Xferd Average Speed Time Time Time Current 15:06:30 Dload Upload Total Spent Left Speed 15:06:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70838 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh 15:06:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:06:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:06:31 + sudo tee /etc/docker/daemon.new 15:06:31 { 15:06:31 "registry-mirrors": [ 15:06:31 "https://nexus3.edgexfoundry.org:10001" 15:06:31 ], 15:06:31 "bip": "10.250.0.254/24", 15:06:31 "hosts": [ 15:06:31 "tcp://0.0.0.0:5555", 15:06:31 "unix:///var/run/docker.sock" 15:06:31 ], 15:06:31 "mtu": 1458, 15:06:31 "selinux-enabled": true, 15:06:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:06:31 } [Pipeline] sh 15:06:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:06:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:06:50 provisioning config files... 15:06:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config14693871854767758102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:51 ---> docker-login.sh 15:06:51 nexus3.edgexfoundry.org:10001 15:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:51 Configure a credential helper to remove this warning. See 15:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:51 15:06:51 Login Succeeded 15:06:51 nexus3.edgexfoundry.org:10002 15:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:52 Configure a credential helper to remove this warning. See 15:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:52 15:06:52 Login Succeeded 15:06:52 nexus3.edgexfoundry.org:10003 15:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:52 Configure a credential helper to remove this warning. See 15:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:52 15:06:52 Login Succeeded 15:06:52 nexus3.edgexfoundry.org:10004 15:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:52 Configure a credential helper to remove this warning. See 15:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:52 15:06:52 Login Succeeded 15:06:52 docker.io 15:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:53 Configure a credential helper to remove this warning. See 15:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:53 15:06:53 Login Succeeded 15:06:53 ---> docker-login.sh ends [Pipeline] } 15:06:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:53 ========================================================= 15:06:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:06:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:06:54 Sending build context to Docker daemon 11.87MB 15:06:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:06:54 Step 2/12 : FROM ${BASE} AS builder 15:06:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:06:54 9b18e9b68314: Pulling fs layer 15:06:54 35d82f9e3411: Pulling fs layer 15:06:54 e16973657156: Pulling fs layer 15:06:54 fc693d55d65f: Pulling fs layer 15:06:54 7e9fc2657dce: Pulling fs layer 15:06:54 dda99020689f: Pulling fs layer 15:06:54 db1c61fa0a46: Pulling fs layer 15:06:54 891c053d2c06: Pulling fs layer 15:06:54 fc693d55d65f: Waiting 15:06:54 7e9fc2657dce: Waiting 15:06:54 db1c61fa0a46: Waiting 15:06:54 dda99020689f: Waiting 15:06:54 891c053d2c06: Waiting 15:06:54 e16973657156: Download complete 15:06:54 35d82f9e3411: Verifying Checksum 15:06:54 35d82f9e3411: Download complete 15:06:54 7e9fc2657dce: Verifying Checksum 15:06:54 7e9fc2657dce: Download complete 15:06:54 dda99020689f: Verifying Checksum 15:06:54 dda99020689f: Download complete 15:06:54 9b18e9b68314: Verifying Checksum 15:06:54 9b18e9b68314: Download complete 15:06:55 9b18e9b68314: Pull complete 15:06:55 891c053d2c06: Verifying Checksum 15:06:55 891c053d2c06: Download complete 15:06:56 35d82f9e3411: Pull complete 15:06:56 e16973657156: Pull complete 15:06:57 db1c61fa0a46: Verifying Checksum 15:06:57 db1c61fa0a46: Download complete 15:06:57 fc693d55d65f: Download complete 15:07:09 fc693d55d65f: Pull complete 15:07:09 7e9fc2657dce: Pull complete 15:07:09 dda99020689f: Pull complete 15:07:16 db1c61fa0a46: Pull complete 15:07:18 891c053d2c06: Pull complete 15:07:18 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:07:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:07:18 ---> f96f9c87975a 15:07:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:07:20 ---> Running in 610e2d0d3d4c 15:07:20 Removing intermediate container 610e2d0d3d4c 15:07:20 ---> afcf1e9d6c04 15:07:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:07:20 ---> Running in 92581b9a7e53 15:07:20 Removing intermediate container 92581b9a7e53 15:07:20 ---> edd8113309b8 15:07:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:07:20 ---> Running in c8197f4f069b 15:07:20 Removing intermediate container c8197f4f069b 15:07:20 ---> 4c6595f8dfc2 15:07:20 Step 6/12 : WORKDIR /device-virtual-go 15:07:20 ---> Running in aedc0627ef1f 15:07:21 Removing intermediate container aedc0627ef1f 15:07:21 ---> 6bd733855249 15:07:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:07:21 ---> Running in a00b5b2c31a8 15:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:07:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:07:23 (2/4) Installing libedit (20210910.3.1-r0) 15:07:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:07:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:07:23 Executing busybox-1.35.0-r17.trigger 15:07:23 OK: 226 MiB in 55 packages 15:07:24 Removing intermediate container a00b5b2c31a8 15:07:24 ---> 367818be3937 15:07:24 Step 8/12 : COPY go.mod vendor* ./ 15:07:26 ---> 39f537828b0f 15:07:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:07:26 ---> Running in 2da5c8a30fb4 15:08:22 Removing intermediate container 2da5c8a30fb4 15:08:22 ---> 79d24bd3fe88 15:08:22 Step 10/12 : COPY . . 15:08:22 ---> e6b0eee049d6 15:08:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:08:22 ---> Running in ef41809efaa0 15:08:22 Removing intermediate container ef41809efaa0 15:08:22 ---> e5b2fe0df7c7 15:08:22 Step 12/12 : RUN $MAKE 15:08:22 ---> Running in a3cc42d5d4a6 15:08:23 noop 15:08:24 Removing intermediate container a3cc42d5d4a6 15:08:24 ---> 32a0eb115bea 15:08:24 Successfully built 32a0eb115bea 15:08:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:24 + docker inspect -f . ci-base-image-arm64 15:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:24 prd-ubuntu20.04-docker-arm64-4c-16g-2213 does not seem to be running inside a container 15:08:24 $ 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 15:08:25 $ docker top 9f6dd620c621c2229e5cf44adf7bf7263059567616746d7741b36af715ddb17c -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:26 + go version 15:08:26 go version go1.18.7 linux/arm64 [Pipeline] } 15:08:26 $ docker stop --time=1 9f6dd620c621c2229e5cf44adf7bf7263059567616746d7741b36af715ddb17c 15:08:28 $ docker rm -f --volumes 9f6dd620c621c2229e5cf44adf7bf7263059567616746d7741b36af715ddb17c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:28 + docker inspect -f . ci-base-image-arm64 15:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:28 prd-ubuntu20.04-docker-arm64-4c-16g-2213 does not seem to be running inside a container 15:08:29 $ 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 15:08:30 $ docker top 6c2cf9bbf5cb7ac9ccdee66e01ccd4defc19a66220003c7f0dbb7158587e2354 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:30 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 15:08:31 + make test 15:08:31 go test ./... -coverprofile=coverage.out 15:08:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:09:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:09:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements 15:09:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:09:54 go vet ./... 15:10:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:10:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:10:07 ./bin/test-attribution-txt.sh [Pipeline] echo 15:10:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:10:07 $ docker stop --time=1 6c2cf9bbf5cb7ac9ccdee66e01ccd4defc19a66220003c7f0dbb7158587e2354 15:10:09 $ docker rm -f --volumes 6c2cf9bbf5cb7ac9ccdee66e01ccd4defc19a66220003c7f0dbb7158587e2354 [Pipeline] // withDockerContainer [Pipeline] sh 15:10:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:10:09 Warning: overwriting stash ‘coverage-report’ 15:10:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:10:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:10:11 + ls -al . 15:10:11 total 200 15:10:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:08 . 15:10:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:06 .. 15:10:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:06 .git 15:10:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:06 .github 15:10:11 -rw-rw-r-- 1 jenkins jenkins 337 Jan 13 15:06 .gitignore 15:10:11 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 15:06 .golangci.yml 15:10:11 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 13 15:06 Attribution.txt 15:10:11 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 15:06 CHANGELOG.md 15:10:11 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 13 15:06 Dockerfile 15:10:11 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 15:06 GOVERNANCE.md 15:10:11 -rw-rw-r-- 1 jenkins jenkins 660 Jan 13 15:06 Jenkinsfile 15:10:11 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 15:06 LICENSE 15:10:11 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 13 15:06 Makefile 15:10:11 -rw-rw-r-- 1 jenkins jenkins 623 Jan 13 15:06 OWNERS.md 15:10:11 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 13 15:06 README.md 15:10:11 -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 15:04 VERSION 15:10:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 15:06 bin 15:10:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:06 cmd 15:10:11 -rw-r--r-- 1 jenkins jenkins 44128 Jan 13 15:09 coverage.out 15:10:11 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 13 15:06 go.mod 15:10:11 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 13 15:06 go.sum 15:10:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:06 internal 15:10:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:06 snap 15:10:11 -rw-rw-r-- 1 jenkins jenkins 235 Jan 13 15:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:11 + 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=f75672a46a514a1fdc9dae18fc82db17e9b9d79e --label arch=arm64 --label version=0.0.0 . 15:10:11 Sending build context to Docker daemon 11.91MB 15:10:11 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:10:11 Step 2/25 : FROM ${BASE} AS builder 15:10:11 ---> 32a0eb115bea 15:10:11 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:10:11 ---> Running in 5bb51b86d6b7 15:10:12 Removing intermediate container 5bb51b86d6b7 15:10:12 ---> 0b5da5dd9bcd 15:10:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:10:12 ---> Running in 934f190d5173 15:10:12 Removing intermediate container 934f190d5173 15:10:12 ---> ac4d4d490cf1 15:10:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:10:12 ---> Running in 9c0dfadbabe1 15:10:12 Removing intermediate container 9c0dfadbabe1 15:10:12 ---> e5fac1b91457 15:10:12 Step 6/25 : WORKDIR /device-virtual-go 15:10:12 ---> Running in 1e02c1c8d7af 15:10:13 Removing intermediate container 1e02c1c8d7af 15:10:13 ---> 023b0aa5876a 15:10:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:13 ---> Running in d8435150a181 15:10:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:10:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:10:15 OK: 226 MiB in 55 packages 15:10:16 Removing intermediate container d8435150a181 15:10:16 ---> 8e40ae355c21 15:10:16 Step 8/25 : COPY go.mod vendor* ./ 15:10:16 ---> 595f455d2511 15:10:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:10:16 ---> Running in ada767c89a0e 15:10:18 Removing intermediate container ada767c89a0e 15:10:18 ---> 28a42d673d37 15:10:18 Step 10/25 : COPY . . 15:10:19 ---> 95872533cd1b 15:10:19 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:10:19 ---> Running in 77680735feb1 15:10:19 Removing intermediate container 77680735feb1 15:10:19 ---> 16c5fe0b82b7 15:10:19 Step 12/25 : RUN $MAKE 15:10:19 ---> Running in dce601929689 15:10:20 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 15:12:42 Removing intermediate container dce601929689 15:12:42 ---> 3f89a53319eb 15:12:42 Step 13/25 : FROM alpine:3.16 15:12:42 3.16: Pulling from library/alpine 15:12:42 6875df1f5354: Pulling fs layer 15:12:42 6875df1f5354: Verifying Checksum 15:12:42 6875df1f5354: Download complete 15:12:42 6875df1f5354: Pull complete 15:12:42 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:12:42 Status: Downloaded newer image for alpine:3.16 15:12:42 ---> 2b4661558fb8 15:12:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:12:42 ---> Running in 525f24ad94a9 15:12:42 Removing intermediate container 525f24ad94a9 15:12:42 ---> 42744b77c83a 15:12:42 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:12:42 ---> Running in 83684334fe47 15:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:12:45 (1/1) Installing dumb-init (1.2.5-r1) 15:12:45 Executing busybox-1.35.0-r17.trigger 15:12:45 OK: 5 MiB in 15 packages 15:12:46 Removing intermediate container 83684334fe47 15:12:46 ---> b2cf259ba31f 15:12:46 Step 16/25 : WORKDIR / 15:12:46 ---> Running in 30cd277ee24a 15:12:46 Removing intermediate container 30cd277ee24a 15:12:46 ---> 3f963945ac4f 15:12:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:12:46 ---> d51457c6f9ad 15:12:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:12:47 ---> bc7c2d17ae8e 15:12:47 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:12:48 ---> ff6d36f3f0f2 15:12:48 Step 20/25 : EXPOSE 59900 15:12:48 ---> Running in 0bc803e30eac 15:12:49 Removing intermediate container 0bc803e30eac 15:12:49 ---> 3610c16a2192 15:12:49 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:12:49 ---> Running in 13e24c65671d 15:12:49 Removing intermediate container 13e24c65671d 15:12:49 ---> 49887e62a569 15:12:49 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:12:49 ---> Running in c2c069c7dce1 15:12:49 Removing intermediate container c2c069c7dce1 15:12:49 ---> fed19c92e56d 15:12:49 Step 23/25 : LABEL arch=arm64 15:12:49 ---> Running in aa1e46febef1 15:12:50 Removing intermediate container aa1e46febef1 15:12:50 ---> 481748f33460 15:12:50 Step 24/25 : LABEL git_sha=f75672a46a514a1fdc9dae18fc82db17e9b9d79e 15:12:50 ---> Running in 31c293f3d000 15:12:50 Removing intermediate container 31c293f3d000 15:12:50 ---> 7e60dba4d168 15:12:50 Step 25/25 : LABEL version=0.0.0 15:12:50 ---> Running in 6c84560e44f1 15:12:51 Removing intermediate container 6c84560e44f1 15:12:51 ---> 26e85d2705ca 15:12:51 [Warning] One or more build-args [ARCH] were not consumed 15:12:51 Successfully built 26e85d2705ca 15:12:51 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:51 15:12:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:51 arm64: Pulling from edgex-lftools-log-publisher 15:12:51 8998bd30e6a1: Pulling fs layer 15:12:51 04944245beec: Pulling fs layer 15:12:51 699f458cf7ca: Pulling fs layer 15:12:51 765212b225bb: Pulling fs layer 15:12:51 f23df028b6ca: Pulling fs layer 15:12:51 d65c8cfc05b1: Pulling fs layer 15:12:51 2437ff75d9bd: Pulling fs layer 15:12:51 f23df028b6ca: Waiting 15:12:51 765212b225bb: Waiting 15:12:51 2437ff75d9bd: Waiting 15:12:51 d65c8cfc05b1: Waiting 15:12:52 04944245beec: Verifying Checksum 15:12:52 04944245beec: Download complete 15:12:52 765212b225bb: Verifying Checksum 15:12:52 765212b225bb: Download complete 15:12:52 f23df028b6ca: Verifying Checksum 15:12:52 f23df028b6ca: Download complete 15:12:52 d65c8cfc05b1: Verifying Checksum 15:12:52 d65c8cfc05b1: Download complete 15:12:52 699f458cf7ca: Download complete 15:12:52 8998bd30e6a1: Verifying Checksum 15:12:52 8998bd30e6a1: Download complete 15:12:55 2437ff75d9bd: Verifying Checksum 15:12:55 2437ff75d9bd: Download complete 15:12:57 8998bd30e6a1: Pull complete 15:12:57 04944245beec: Pull complete 15:12:59 699f458cf7ca: Pull complete 15:12:59 765212b225bb: Pull complete 15:13:00 f23df028b6ca: Pull complete 15:13:00 d65c8cfc05b1: Pull complete 15:13:15 2437ff75d9bd: Pull complete 15:13:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:13:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:15 prd-ubuntu20.04-docker-arm64-4c-16g-2213 does not seem to be running inside a container 15:13:15 $ 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 15:13:18 $ docker top 5322b0920369d412f1d49d84f0246974df2d5da7a53d562a553da963647579ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:13:18 ---> job-cost.sh 15:13:18 lf-activate-venv: SKIPPING 15:13:18 INFO: No Stack... 15:13:20 INFO: Retrieving Pricing Info for: v3-standard-4 15:13:20 INFO: Archiving Costs [Pipeline] sh 15:13:21 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 15:13:21 + cut -d, -f6 [Pipeline] lock 15:13:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] 15:13:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] did not exist. Created. 15:13:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:13:21 /w/workspace/device-virtual-go/3@tmp/durable-bbf8b854/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:13:22 + echo total: 0.10999999940395355 [Pipeline] stash 15:13:22 Warning: overwriting stash ‘stack-cost’ 15:13:22 Stashed 1 file(s) [Pipeline] } 15:13:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-328-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:13:22 $ docker stop --time=1 5322b0920369d412f1d49d84f0246974df2d5da7a53d562a553da963647579ca 15:13:24 $ docker rm -f --volumes 5322b0920369d412f1d49d84f0246974df2d5da7a53d562a553da963647579ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:13:24 provisioning config files... 15:13:24 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-328@tmp/config13824661863125844433tmp [Pipeline] { [Pipeline] sh 15:13:24 + set +x 15:13:24 + curl -s https://codecov.io/bash 15:13:24 + bash -s -- 15:13:24 15:13:24 _____ _ 15:13:24 / ____| | | 15:13:24 | | ___ __| | ___ ___ _____ __ 15:13:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:13:24 | |___| (_) | (_| | __/ (_| (_) \ V / 15:13:24 \_____\___/ \__,_|\___|\___\___/ \_/ 15:13:24 Bash-1.0.6 15:13:24 15:13:24 15:13:24 ==> git version 2.25.1 found 15:13:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:13:24 Release-Date: 2020-01-08 15:13:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:13:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:13:24 ==> Jenkins CI detected. 15:13:24 current dir:  /w/workspace/foundry_device-virtual-go_PR-328 15:13:24 project root: . 15:13:24 --> token set from env 15:13:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:13:24 ==> Running gcov in . (disable via -X gcov) 15:13:24 ==> Python coveragepy not found 15:13:24 ==> Searching for coverage reports in: 15:13:24 + . 15:13:24 -> Found 1 reports 15:13:24 ==> Detecting git/mercurial file structure 15:13:24 ==> Reading reports 15:13:25 + ./coverage.out bytes=44128 15:13:25 ==> Appending adjustments 15:13:25 https://docs.codecov.io/docs/fixing-reports 15:13:25 + Found adjustments 15:13:25 ==> Gzipping contents 15:13:25 8.0K /tmp/codecov.6PIb1m.gz 15:13:25 ==> Uploading reports 15:13:25 url: https://codecov.io 15:13:25 query: branch=PR-328&commit=e5297467f1adcee12c61dc952662f1da8fe923cd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-328%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=328&job=&cmd_args= 15:13:25 -> Pinging Codecov 15:13:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-328&commit=e5297467f1adcee12c61dc952662f1da8fe923cd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-328%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=328&job=&cmd_args= 15:13:26 -> Uploading to 15:13:26 https://storage.googleapis.com/codecov/v4/raw/2023-01-13/5E52B4B073DB2E39498172D8E973AA87/e5297467f1adcee12c61dc952662f1da8fe923cd/1aada844-f056-4993-bbcf-f1cc02173149.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T151325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6c4c3188377608471a9c8d94183da096115130e8c21c5da6faa4ceaecce84f8 15:13:26 % Total % Received % Xferd Average Speed Time Time Time Current 15:13:26 Dload Upload Total Spent Left Speed 15:13:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5477 0 0 100 5477 0 20984 --:--:-- --:--:-- --:--:-- 20984 15:13:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e5297467f1adcee12c61dc952662f1da8fe923cd [Pipeline] } 15:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:13:27 + [ -d /w/workspace/foundry_device-virtual-go_PR-328/archives ] 15:13:27 + ls -al /w/workspace/foundry_device-virtual-go_PR-328/archives 15:13:27 total 16 15:13:27 drwxr-xr-x 3 root root 4096 Jan 13 15:06 . 15:13:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:06 .. 15:13:27 drwxr-xr-x 2 root root 4096 Jan 13 15:06 cost 15:13:27 -rw-r--r-- 1 root root 89 Jan 13 15:06 cost.csv 15:13:27 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-328/archives 15:13:27 + ls -al /w/workspace/foundry_device-virtual-go_PR-328/archives 15:13:27 total 16 15:13:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:06 . 15:13:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:06 .. 15:13:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 15:06 cost 15:13:27 -rw-r--r-- 1 jenkins jenkins 89 Jan 13 15:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:13:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:13:28 ---> package-listing.sh 15:13:28 ++ facter osfamily 15:13:28 ++ tr '[:upper:]' '[:lower:]' 15:13:28 + OS_FAMILY=debian 15:13:28 + workspace=/w/workspace/foundry_device-virtual-go_PR-328 15:13:28 + START_PACKAGES=/tmp/packages_start.txt 15:13:28 + END_PACKAGES=/tmp/packages_end.txt 15:13:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:13:28 + PACKAGES=/tmp/packages_start.txt 15:13:28 + '[' /w/workspace/foundry_device-virtual-go_PR-328 ']' 15:13:28 + PACKAGES=/tmp/packages_end.txt 15:13:28 + case "${OS_FAMILY}" in 15:13:28 + dpkg -l 15:13:28 + grep '^ii' 15:13:28 + '[' -f /tmp/packages_start.txt ']' 15:13:28 + '[' -f /tmp/packages_end.txt ']' 15:13:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:13:28 + '[' /w/workspace/foundry_device-virtual-go_PR-328 ']' 15:13:28 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-328/archives/ 15:13:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-328/archives/ [Pipeline] echo 15:13:28 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-328/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:13:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:13:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:29 prd-ubuntu20.04-docker-8c-8g-2212 does not seem to be running inside a container 15:13:29 $ 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-328/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-328 -v /w/workspace/foundry_device-virtual-go_PR-328:/w/workspace/foundry_device-virtual-go_PR-328:rw,z -v /w/workspace/foundry_device-virtual-go_PR-328@tmp:/w/workspace/foundry_device-virtual-go_PR-328@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 15:13:29 $ docker top 5b5030d6b03d5bcdf59b53829ec2a6f8b17f6ba5d9aaf1e5f89f243003fbccac -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:29 + touch /tmp/pre-build-complete [Pipeline] sh 15:13:29 + mkdir -p /var/log/sysstat [Pipeline] sh 15:13:30 + ls /var/log/sa-host 15:13:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:13:30 provisioning config files... 15:13:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-328@tmp/config14174527385659154491tmp [Pipeline] { [Pipeline] echo 15:13:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:13:30 ---> create-netrc.sh [Pipeline] } 15:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:13:31 ---> python-tools-install.sh [Pipeline] echo 15:13:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:13:31 ---> sudo-logs.sh 15:13:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:13:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:13:31 ---> job-cost.sh 15:13:31 lf-activate-venv: SKIPPING 15:13:31 DEBUG: total: 0.2199999988079071 15:13:31 INFO: Retrieving Stack Cost... 15:13:31 INFO: Retrieving Pricing Info for: v3-standard-8 15:13:32 INFO: Archiving Costs [Pipeline] echo 15:13:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:13:32 ---> logs-deploy.sh 15:13:32 lf-activate-venv: SKIPPING 15:13:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-328/3 15:13:32 INFO: archiving workspace using pattern(s): 15:13:33 Archives upload complete. 15:13:33 INFO: archiving logs to Nexus