Pull request #346 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a72c08068bc4586827dd85faab2947c736ee361f+d88ec883ceb54df0c16245cd6a1edd1f53729442 (f22e222e52bdd07142e6d5c6fb929ea8fc7b6759) 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-ssh15638206286110679522.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-ssh589387970322490935.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5913616198004089485.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10454160065403445440.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15796074225710284111.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8971721389994027929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7295’ Running on prd-ubuntu20.04-docker-8c-8g-7297 in /w/workspace/foundry_device-virtual-go_PR-346 [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-346 # 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/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d88ec883ceb54df0c16245cd6a1edd1f53729442 into PR head commit a72c08068bc4586827dd85faab2947c736ee361f Merge succeeded, producing a72c08068bc4586827dd85faab2947c736ee361f Checking out Revision a72c08068bc4586827dd85faab2947c736ee361f (PR-346) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a72c08068bc4586827dd85faab2947c736ee361f # 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 d88ec883ceb54df0c16245cd6a1edd1f53729442 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a72c08068bc4586827dd85faab2947c736ee361f # timeout=10 [Pipeline] timeout 21:22:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:22:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:22:18 ========================================================= 21:22:18 EdgeX Global Pipelines Version Info 21:22:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:22:18 ------------------- 21:22:18 stable info: 21:22:18 ------------------- 21:22:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:22:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:22:18 Message: update stable to v1.0.244 21:22:19 ------------------- 21:22:19 experimental info: 21:22:19 ------------------- 21:22:19 Commited By: **** collab-it+edgex@linuxfoundation.org 21:22:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:22:19 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:22:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:22:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:22:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:22:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:22:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo 21:22:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo 21:22:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo 21:22:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a72c08068bc4586827dd85faab2947c736ee361f [Pipeline] echo 21:22:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a72c080 [Pipeline] echo 21:22:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:21 provisioning config files... 21:22:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-346@tmp/config13279357633890875413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:21 ---> docker-login.sh 21:22:21 nexus3.edgexfoundry.org:10001 21:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:22 Configure a credential helper to remove this warning. See 21:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:22 21:22:22 Login Succeeded 21:22:22 nexus3.edgexfoundry.org:10002 21:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:22 Configure a credential helper to remove this warning. See 21:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:22 21:22:22 Login Succeeded 21:22:22 nexus3.edgexfoundry.org:10003 21:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:22 Configure a credential helper to remove this warning. See 21:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:22 21:22:22 Login Succeeded 21:22:22 nexus3.edgexfoundry.org:10004 21:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:22 Configure a credential helper to remove this warning. See 21:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:22 21:22:22 Login Succeeded 21:22:22 docker.io 21:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:22 Configure a credential helper to remove this warning. See 21:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:22 21:22:22 Login Succeeded 21:22:22 ---> docker-login.sh ends [Pipeline] } 21:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:22:23 + git rev-list -1 --merges a72c08068bc4586827dd85faab2947c736ee361f~1..a72c08068bc4586827dd85faab2947c736ee361f [Pipeline] echo 21:22:23 -----------> git rev-list -1 --merges a72c08068bc4586827dd85faab2947c736ee361f~1..a72c08068bc4586827dd85faab2947c736ee361f a72c08068bc4586827dd85faab2947c736ee361f [false] [Pipeline] sh 21:22:23 + git log --format=format:%s -1 a72c08068bc4586827dd85faab2947c736ee361f [Pipeline] echo 21:22:23 ========================================================= 21:22:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:22:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:24 + git log --format=format:%s -1 a72c08068bc4586827dd85faab2947c736ee361f [Pipeline] echo 21:22:24 [semverPrep] GIT_COMMIT: a72c08068bc4586827dd85faab2947c736ee361f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:22:24 [semverPrep] This is not a build commit. [Pipeline] sh 21:22:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:24 + grep -v github /etc/ssh/ssh_known_hosts 21:22:24 + [ -e /tmp/ssh_known_hosts ] 21:22:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:22:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:22:24 + sudo tee -a /etc/ssh/ssh_known_hosts 21:22:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:25 21:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:25 0.1.4: Pulling from edgex-devops/py-git-semver 21:22:25 b85a868b505f: Pulling fs layer 21:22:25 e2be974225ed: Pulling fs layer 21:22:25 339a4e72a1f5: Pulling fs layer 21:22:25 988bab9f4d93: Pulling fs layer 21:22:25 1469e6f7b9e6: Pulling fs layer 21:22:25 988bab9f4d93: Waiting 21:22:25 eaf3925da568: Pulling fs layer 21:22:25 bab4dde63d76: Pulling fs layer 21:22:25 eaf3925da568: Waiting 21:22:25 1469e6f7b9e6: Waiting 21:22:25 bde34c3a00c8: Pulling fs layer 21:22:25 b352a97aabf1: Pulling fs layer 21:22:25 4872d77fe225: Pulling fs layer 21:22:25 bab4dde63d76: Waiting 21:22:25 5851b861e8e6: Pulling fs layer 21:22:25 bde34c3a00c8: Waiting 21:22:25 b352a97aabf1: Waiting 21:22:25 5851b861e8e6: Waiting 21:22:25 e2be974225ed: Verifying Checksum 21:22:25 e2be974225ed: Download complete 21:22:25 988bab9f4d93: Verifying Checksum 21:22:25 988bab9f4d93: Download complete 21:22:25 1469e6f7b9e6: Verifying Checksum 21:22:25 1469e6f7b9e6: Download complete 21:22:25 eaf3925da568: Verifying Checksum 21:22:25 eaf3925da568: Download complete 21:22:25 339a4e72a1f5: Download complete 21:22:25 bde34c3a00c8: Download complete 21:22:25 b352a97aabf1: Download complete 21:22:25 4872d77fe225: Download complete 21:22:25 5851b861e8e6: Verifying Checksum 21:22:25 5851b861e8e6: Download complete 21:22:26 b85a868b505f: Verifying Checksum 21:22:26 b85a868b505f: Download complete 21:22:26 bab4dde63d76: Verifying Checksum 21:22:26 bab4dde63d76: Download complete 21:22:27 b85a868b505f: Pull complete 21:22:27 e2be974225ed: Pull complete 21:22:28 339a4e72a1f5: Pull complete 21:22:28 988bab9f4d93: Pull complete 21:22:28 1469e6f7b9e6: Pull complete 21:22:28 eaf3925da568: Pull complete 21:22:30 bab4dde63d76: Pull complete 21:22:30 bde34c3a00c8: Pull complete 21:22:30 b352a97aabf1: Pull complete 21:22:30 4872d77fe225: Pull complete 21:22:30 5851b861e8e6: Pull complete 21:22:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:30 prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container 21:22:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-346 -v /w/workspace/foundry_device-virtual-go_PR-346:/w/workspace/foundry_device-virtual-go_PR-346:rw,z -v /w/workspace/foundry_device-virtual-go_PR-346@tmp:/w/workspace/foundry_device-virtual-go_PR-346@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:33 $ docker top 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 -eo pid,comm 21:22:33 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). 21:22:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:33 [ssh-agent] Looking for ssh-agent implementation... 21:22:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:33 $ docker exec 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 ssh-agent 21:22:33 SSH_AUTH_SOCK=/tmp/ssh-7QSEYri0m58N/agent.33 21:22:33 SSH_AGENT_PID=39 21:22:33 Running ssh-add (command line suppressed) 21:22:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-346@tmp/private_key_17960959679187398245.key (/w/workspace/foundry_device-virtual-go_PR-346@tmp/private_key_17960959679187398245.key) 21:22:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:34 + git tag --points-at HEAD [Pipeline] } 21:22:34 $ docker exec --env ******** --env ******** 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 ssh-agent -k 21:22:34 unset SSH_AUTH_SOCK; 21:22:34 unset SSH_AGENT_PID; 21:22:34 echo Agent pid 39 killed; 21:22:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:22:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:34 [ssh-agent] Looking for ssh-agent implementation... 21:22:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:34 $ docker exec 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 ssh-agent 21:22:34 SSH_AUTH_SOCK=/tmp/ssh-4NzDCw6wtsXl/agent.71 21:22:34 SSH_AGENT_PID=77 21:22:34 Running ssh-add (command line suppressed) 21:22:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-346@tmp/private_key_11377912023211607651.key (/w/workspace/foundry_device-virtual-go_PR-346@tmp/private_key_11377912023211607651.key) 21:22:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:35 + git semver init 21:22:35 2023-02-23 21:22:35,503 [run_init] DEBUG init version:0.0.0 force:False 21:22:35 2023-02-23 21:22:35,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-346/.semver 21:22:35 2023-02-23 21:22:35,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-346/.semver 21:22:35 2023-02-23 21:22:35,504 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-346/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-346, universal_newlines=False, shell=None, istream=None) 21:22:36 2023-02-23 21:22:36,612 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-346/.git/info/exclude 21:22:36 2023-02-23 21:22:36,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-346/.semver/PR-346 with force:False 21:22:36 2023-02-23 21:22:36,613 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-346/.semver/PR-346 21:22:36 2023-02-23 21:22:36,617 [execute] INFO git cat-file --batch-check 21:22:36 2023-02-23 21:22:36,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) 21:22:36 2023-02-23 21:22:36,624 [execute] INFO git cat-file --batch 21:22:36 2023-02-23 21:22:36,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) 21:22:36 2023-02-23 21:22:36,630 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-346/.semver/PR-346 21:22:36 0.0.0 [Pipeline] } 21:22:36 $ docker exec --env ******** --env ******** 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 ssh-agent -k 21:22:37 unset SSH_AUTH_SOCK; 21:22:37 unset SSH_AGENT_PID; 21:22:37 echo Agent pid 77 killed; 21:22:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:37 + git semver [Pipeline] } 21:22:37 $ docker stop --time=1 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 21:22:39 $ docker rm -f --volumes 2f0af45ab766f76bd3763a4839b859507f500fd4cedcc09b5892fb53506f1841 [Pipeline] // withDockerContainer [Pipeline] sh 21:22:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:22:39 Stashed 1 file(s) [Pipeline] echo 21:22:39 [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 21:22:40 provisioning config files... 21:22:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-346@tmp/config17026565444742894104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:40 ---> docker-login.sh 21:22:40 nexus3.edgexfoundry.org:10001 21:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:40 Configure a credential helper to remove this warning. See 21:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:40 21:22:40 Login Succeeded 21:22:40 nexus3.edgexfoundry.org:10002 21:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:40 Configure a credential helper to remove this warning. See 21:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:40 21:22:40 Login Succeeded 21:22:40 nexus3.edgexfoundry.org:10003 21:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:41 Configure a credential helper to remove this warning. See 21:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:41 21:22:41 Login Succeeded 21:22:41 nexus3.edgexfoundry.org:10004 21:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:41 Configure a credential helper to remove this warning. See 21:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:41 21:22:41 Login Succeeded 21:22:41 docker.io 21:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:41 Configure a credential helper to remove this warning. See 21:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:41 21:22:41 Login Succeeded 21:22:41 ---> docker-login.sh ends [Pipeline] } 21:22:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:22:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:41 ========================================================= 21:22:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:22:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:42 + 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 . 21:22:42 Sending build context to Docker daemon 23.36MB 21:22:42 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:22:42 Step 2/12 : FROM ${BASE} AS builder 21:22:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:22:42 213ec9aee27d: Pulling fs layer 21:22:42 4583459ba037: Pulling fs layer 21:22:42 93c1e223e6f2: Pulling fs layer 21:22:42 53926ce57604: Pulling fs layer 21:22:42 21b2b0c7a3f4: Pulling fs layer 21:22:42 22ff95d597cd: Pulling fs layer 21:22:42 12d6caf4c0d1: Pulling fs layer 21:22:42 96b7cbca73a9: Pulling fs layer 21:22:42 a7acece74701: Pulling fs layer 21:22:42 21b2b0c7a3f4: Waiting 21:22:42 22ff95d597cd: Waiting 21:22:42 12d6caf4c0d1: Waiting 21:22:42 53926ce57604: Waiting 21:22:42 96b7cbca73a9: Waiting 21:22:42 93c1e223e6f2: Verifying Checksum 21:22:42 93c1e223e6f2: Download complete 21:22:42 4583459ba037: Verifying Checksum 21:22:42 4583459ba037: Download complete 21:22:42 21b2b0c7a3f4: Verifying Checksum 21:22:42 21b2b0c7a3f4: Download complete 21:22:42 22ff95d597cd: Verifying Checksum 21:22:42 22ff95d597cd: Download complete 21:22:42 213ec9aee27d: Verifying Checksum 21:22:42 213ec9aee27d: Download complete 21:22:42 12d6caf4c0d1: Verifying Checksum 21:22:42 12d6caf4c0d1: Download complete 21:22:42 213ec9aee27d: Pull complete 21:22:43 4583459ba037: Pull complete 21:22:43 a7acece74701: Verifying Checksum 21:22:43 a7acece74701: Download complete 21:22:43 93c1e223e6f2: Pull complete 21:22:43 53926ce57604: Verifying Checksum 21:22:43 53926ce57604: Download complete 21:22:43 96b7cbca73a9: Verifying Checksum 21:22:43 96b7cbca73a9: Download complete 21:22:47 53926ce57604: Pull complete 21:22:47 21b2b0c7a3f4: Pull complete 21:22:47 22ff95d597cd: Pull complete 21:22:47 12d6caf4c0d1: Pull complete 21:22:50 96b7cbca73a9: Pull complete 21:22:51 a7acece74701: Pull complete 21:22:51 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:22:51 ---> db6d94c90886 21:22:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:22:55 Still waiting to schedule task 21:22:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7296’ 21:23:02 ---> Running in f289eb2287f1 21:23:02 Removing intermediate container f289eb2287f1 21:23:02 ---> 04868532858e 21:23:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:23:02 ---> Running in ebb901770e65 21:23:02 Removing intermediate container ebb901770e65 21:23:02 ---> c6412b81abfb 21:23:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:23:02 ---> Running in 8853d85e5ee3 21:23:02 Removing intermediate container 8853d85e5ee3 21:23:02 ---> 1f5c664d1018 21:23:02 Step 6/12 : WORKDIR /device-virtual-go 21:23:02 ---> Running in 1de1b67b0c93 21:23:02 Removing intermediate container 1de1b67b0c93 21:23:02 ---> 3e2de3b06c07 21:23:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:02 ---> Running in 57278b237b09 21:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:23:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:23:02 (2/4) Installing libedit (20210910.3.1-r0) 21:23:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:23:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:23:02 Executing busybox-1.35.0-r17.trigger 21:23:02 OK: 216 MiB in 55 packages 21:23:03 Removing intermediate container 57278b237b09 21:23:03 ---> 62659921b70c 21:23:03 Step 8/12 : COPY go.mod vendor* ./ 21:23:03 ---> cd89a4616628 21:23:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:03 ---> Running in c2688b01e3d1 21:23:42 Removing intermediate container c2688b01e3d1 21:23:42 ---> 6a5b53f90a49 21:23:42 Step 10/12 : COPY . . 21:23:42 ---> a4070032f3e4 21:23:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:23:42 ---> Running in 78985214ffa8 21:23:42 Removing intermediate container 78985214ffa8 21:23:42 ---> 75851c6cf451 21:23:42 Step 12/12 : RUN $MAKE 21:23:42 ---> Running in ac0faccb15cf 21:23:42 noop 21:23:42 Removing intermediate container ac0faccb15cf 21:23:42 ---> 8766a7560407 21:23:42 Successfully built 8766a7560407 21:23:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:42 + docker inspect -f . ci-base-image-x86_64 21:23:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:42 prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container 21:23:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-346 -v /w/workspace/foundry_device-virtual-go_PR-346:/w/workspace/foundry_device-virtual-go_PR-346:rw,z -v /w/workspace/foundry_device-virtual-go_PR-346@tmp:/w/workspace/foundry_device-virtual-go_PR-346@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 ******** ci-base-image-x86_64 cat 21:23:43 $ docker top c3dee249c2b20afec67ebb0b944afbbdfdddfd094dc9bd523e1c8129bbb92db0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:43 + go version 21:23:43 go version go1.18.7 linux/amd64 [Pipeline] } 21:23:43 $ docker stop --time=1 c3dee249c2b20afec67ebb0b944afbbdfdddfd094dc9bd523e1c8129bbb92db0 21:23:44 $ docker rm -f --volumes c3dee249c2b20afec67ebb0b944afbbdfdddfd094dc9bd523e1c8129bbb92db0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:45 + docker inspect -f . ci-base-image-x86_64 21:23:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:45 prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container 21:23:45 $ 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-346 -v /w/workspace/foundry_device-virtual-go_PR-346:/w/workspace/foundry_device-virtual-go_PR-346:rw,z -v /w/workspace/foundry_device-virtual-go_PR-346@tmp:/w/workspace/foundry_device-virtual-go_PR-346@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 ******** ci-base-image-x86_64 cat 21:23:46 $ docker top 3cc3b2f68311e4b8cd3477cc8051bbc4794ed80b41622dd84d29c803a0a1100e -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:46 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-346 [Pipeline] fileExists [Pipeline] sh 21:23:46 + make test 21:23:46 go test ./... -coverprofile=coverage.out 21:23:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:23:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:23:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 21:24:02 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." 21:24:02 go vet ./... 21:24:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:05 ./bin/test-attribution-txt.sh [Pipeline] echo 21:24:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:24:05 $ docker stop --time=1 3cc3b2f68311e4b8cd3477cc8051bbc4794ed80b41622dd84d29c803a0a1100e 21:24:08 $ docker rm -f --volumes 3cc3b2f68311e4b8cd3477cc8051bbc4794ed80b41622dd84d29c803a0a1100e [Pipeline] // withDockerContainer [Pipeline] sh 21:24:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:24:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:24:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:24:09 + ls -al . 21:24:09 total 192 21:24:09 drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 21:23 . 21:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 21:22 .. 21:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 21:23 .git 21:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 21:22 .github 21:24:09 -rw-rw-r-- 1 jenkins jenkins 337 Feb 23 21:22 .gitignore 21:24:09 -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 21:22 .golangci.yml 21:24:09 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 21:22 .semver 21:24:09 -rw-rw-r-- 1 jenkins jenkins 8641 Feb 23 21:22 Attribution.txt 21:24:09 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 23 21:22 CHANGELOG.md 21:24:09 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 23 21:22 Dockerfile 21:24:09 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 21:22 GOVERNANCE.md 21:24:09 -rw-rw-r-- 1 jenkins jenkins 660 Feb 23 21:22 Jenkinsfile 21:24:09 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 21:22 LICENSE 21:24:09 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 23 21:22 Makefile 21:24:09 -rw-rw-r-- 1 jenkins jenkins 623 Feb 23 21:22 OWNERS.md 21:24:09 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 23 21:22 README.md 21:24:09 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 21:22 VERSION 21:24:09 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 21:22 bin 21:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 21:22 cmd 21:24:09 -rw-r--r-- 1 jenkins jenkins 44128 Feb 23 21:23 coverage.out 21:24:09 -rw-rw-r-- 1 jenkins jenkins 3253 Feb 23 21:22 go.mod 21:24:09 -rw-rw-r-- 1 jenkins jenkins 32563 Feb 23 21:22 go.sum 21:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 21:22 internal 21:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 21:22 snap 21:24:09 -rw-rw-r-- 1 jenkins jenkins 235 Feb 23 21:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:09 + 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=a72c08068bc4586827dd85faab2947c736ee361f --label arch=amd64 --label version=0.0.0 . 21:24:09 Sending build context to Docker daemon 23.4MB 21:24:09 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:24:09 Step 2/25 : FROM ${BASE} AS builder 21:24:09 ---> 8766a7560407 21:24:09 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:24:10 ---> Running in a0d478394255 21:24:10 Removing intermediate container a0d478394255 21:24:10 ---> b64463aac45c 21:24:10 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:24:10 ---> Running in cabacd1a8b5f 21:24:10 Removing intermediate container cabacd1a8b5f 21:24:10 ---> 4f937f41910f 21:24:10 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:24:10 ---> Running in 42959c68d192 21:24:10 Removing intermediate container 42959c68d192 21:24:10 ---> 73c7c923636c 21:24:10 Step 6/25 : WORKDIR /device-virtual-go 21:24:10 ---> Running in f42457fd6bd9 21:24:10 Removing intermediate container f42457fd6bd9 21:24:10 ---> 8da227dbf006 21:24:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:10 ---> Running in b7f42eb8c223 21:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:24:11 OK: 216 MiB in 55 packages 21:24:11 Removing intermediate container b7f42eb8c223 21:24:11 ---> 6a68ce0fff90 21:24:11 Step 8/25 : COPY go.mod vendor* ./ 21:24:12 ---> c301717096c8 21:24:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:12 ---> Running in b24a469309ee 21:24:13 Removing intermediate container b24a469309ee 21:24:13 ---> 70cabfa7bfe1 21:24:13 Step 10/25 : COPY . . 21:24:13 ---> ad9edad14dc0 21:24:13 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:13 ---> Running in 8241db00ab84 21:24:14 Removing intermediate container 8241db00ab84 21:24:14 ---> f945b8ba40dc 21:24:14 Step 12/25 : RUN $MAKE 21:24:14 ---> Running in 7d359e2fe6f2 21:24:14 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 21:24:36 Removing intermediate container 7d359e2fe6f2 21:24:36 ---> ef4350686645 21:24:36 Step 13/25 : FROM alpine:3.16 21:24:36 3.16: Pulling from library/alpine 21:24:36 ef5531b6e74e: Pulling fs layer 21:24:36 ef5531b6e74e: Verifying Checksum 21:24:36 ef5531b6e74e: Download complete 21:24:36 ef5531b6e74e: Pull complete 21:24:36 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:24:36 Status: Downloaded newer image for alpine:3.16 21:24:36 ---> dfd21b5a31f5 21:24:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:24:36 ---> Running in a16524f9ca00 21:24:36 Removing intermediate container a16524f9ca00 21:24:36 ---> c35fcec4484c 21:24:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:24:36 ---> Running in 0d408fbe1e57 21:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:24:36 (1/1) Installing dumb-init (1.2.5-r1) 21:24:36 Executing busybox-1.35.0-r17.trigger 21:24:36 OK: 6 MiB in 15 packages 21:24:36 Removing intermediate container 0d408fbe1e57 21:24:36 ---> 102801ccdcc0 21:24:36 Step 16/25 : WORKDIR / 21:24:36 ---> Running in 812c4e969a25 21:24:37 Removing intermediate container 812c4e969a25 21:24:37 ---> 3bacb48606ef 21:24:37 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:24:37 ---> 8e81df96eaa3 21:24:37 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:24:37 ---> ca43a9fe689a 21:24:37 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:24:37 ---> 5c1077a1028d 21:24:37 Step 20/25 : EXPOSE 59900 21:24:37 ---> Running in 13cc41ce8d96 21:24:38 Removing intermediate container 13cc41ce8d96 21:24:38 ---> a3b71b239da0 21:24:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:24:38 ---> Running in cfa47079eb87 21:24:38 Removing intermediate container cfa47079eb87 21:24:38 ---> f84fd115beb0 21:24:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:24:38 ---> Running in 748f12872b15 21:24:38 Removing intermediate container 748f12872b15 21:24:38 ---> 65467f5f1ef1 21:24:38 Step 23/25 : LABEL arch=amd64 21:24:38 ---> Running in fcaf0cbb0765 21:24:38 Removing intermediate container fcaf0cbb0765 21:24:38 ---> 2f31dd1f1f21 21:24:38 Step 24/25 : LABEL git_sha=a72c08068bc4586827dd85faab2947c736ee361f 21:24:38 ---> Running in ed01cdfb3c15 21:24:38 Removing intermediate container ed01cdfb3c15 21:24:38 ---> 0a1603e1bf74 21:24:38 Step 25/25 : LABEL version=0.0.0 21:24:38 ---> Running in 67d8dd16199f 21:24:38 Removing intermediate container 67d8dd16199f 21:24:38 ---> b17d9028e5b2 21:24:38 [Warning] One or more build-args [ARCH] were not consumed 21:24:38 Successfully built b17d9028e5b2 21:24:38 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 21:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:39 21:24:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:39 latest: Pulling from edgex-lftools-log-publisher 21:24:39 5eb5b503b376: Pulling fs layer 21:24:39 5c69ac0246d0: Pulling fs layer 21:24:39 ec43610c2a17: Pulling fs layer 21:24:39 3a2ae6a8a46f: Pulling fs layer 21:24:39 33b1e0a273af: Pulling fs layer 21:24:39 5d3b04190fa2: Pulling fs layer 21:24:39 2f39f015ded8: Pulling fs layer 21:24:39 33b1e0a273af: Waiting 21:24:39 5d3b04190fa2: Waiting 21:24:39 2f39f015ded8: Waiting 21:24:39 3a2ae6a8a46f: Waiting 21:24:39 5c69ac0246d0: Verifying Checksum 21:24:39 5c69ac0246d0: Download complete 21:24:39 3a2ae6a8a46f: Verifying Checksum 21:24:39 3a2ae6a8a46f: Download complete 21:24:40 ec43610c2a17: Verifying Checksum 21:24:40 ec43610c2a17: Download complete 21:24:40 33b1e0a273af: Verifying Checksum 21:24:40 33b1e0a273af: Download complete 21:24:40 5d3b04190fa2: Download complete 21:24:40 5eb5b503b376: Verifying Checksum 21:24:40 5eb5b503b376: Download complete 21:24:40 2f39f015ded8: Verifying Checksum 21:24:40 2f39f015ded8: Download complete 21:24:41 5eb5b503b376: Pull complete 21:24:41 5c69ac0246d0: Pull complete 21:24:42 ec43610c2a17: Pull complete 21:24:42 3a2ae6a8a46f: Pull complete 21:24:42 33b1e0a273af: Pull complete 21:24:42 5d3b04190fa2: Pull complete 21:24:47 2f39f015ded8: Pull complete 21:24:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:24:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:48 prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container 21:24:48 $ 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-346 -v /w/workspace/foundry_device-virtual-go_PR-346:/w/workspace/foundry_device-virtual-go_PR-346:rw,z -v /w/workspace/foundry_device-virtual-go_PR-346@tmp:/w/workspace/foundry_device-virtual-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:24:53 $ docker top 6bbc24f20ee11ea0da28e434df539de9558504ba37b9674ad27ec9b5b838226e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:53 ---> job-cost.sh 21:24:53 lf-activate-venv: SKIPPING 21:24:53 INFO: No Stack... 21:24:54 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:54 INFO: Archiving Costs [Pipeline] sh 21:24:54 + cat /w/workspace/foundry_device-virtual-go_PR-346/archives/cost.csv 21:24:54 + cut -d, -f6 [Pipeline] lock 21:24:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] 21:24:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] did not exist. Created. 21:24:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:55 + echo total: 0.2199999988079071 [Pipeline] stash 21:24:55 Stashed 1 file(s) [Pipeline] } 21:24:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:55 $ docker stop --time=1 6bbc24f20ee11ea0da28e434df539de9558504ba37b9674ad27ec9b5b838226e 21:24:56 $ docker rm -f --volumes 6bbc24f20ee11ea0da28e434df539de9558504ba37b9674ad27ec9b5b838226e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:25:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7298 in /w/workspace/foundry_device-virtual-go_PR-346 [Pipeline] { [Pipeline] ws 21:25:59 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 21:25:59 The recommended git tool is: git 21:26:05 using credential edgex-jenkins-ssh 21:26:05 Cloning the remote Git repository 21:26:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:26:05 > git init /w/workspace/device-virtual-go/1 # timeout=10 21:26:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:26:05 > git --version # timeout=10 21:26:05 > git --version # 'git version 2.25.1' 21:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:26:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:09 Merging remotes/origin/main commit d88ec883ceb54df0c16245cd6a1edd1f53729442 into PR head commit a72c08068bc4586827dd85faab2947c736ee361f 21:26:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:26:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:26:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:26:09 Merge succeeded, producing a72c08068bc4586827dd85faab2947c736ee361f 21:26:09 Checking out Revision a72c08068bc4586827dd85faab2947c736ee361f (PR-346) 21:26:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:26:10 > git --version # timeout=10 21:26:10 > git --version # 'git version 2.25.1' 21:26:10 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { 21:26:09 > git config core.sparsecheckout # timeout=10 21:26:09 > git checkout -f a72c08068bc4586827dd85faab2947c736ee361f # timeout=10 21:26:09 > git remote # timeout=10 21:26:09 > git config --get remote.origin.url # timeout=10 21:26:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:09 > git merge d88ec883ceb54df0c16245cd6a1edd1f53729442 # timeout=10 21:26:09 > git rev-parse HEAD^{commit} # timeout=10 21:26:09 > git config core.sparsecheckout # timeout=10 21:26:09 > git checkout -f a72c08068bc4586827dd85faab2947c736ee361f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:26:11 % Total % Received % Xferd Average Speed Time Time Time Current 21:26:11 Dload Upload Total Spent Left Speed 21:26:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 21:26:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:26:12 + sudo tee /etc/docker/daemon.new 21:26:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:26:12 { 21:26:12 "registry-mirrors": [ 21:26:12 "https://nexus3.edgexfoundry.org:10001" 21:26:12 ], 21:26:12 "bip": "10.250.0.254/24", 21:26:12 "hosts": [ 21:26:12 "tcp://0.0.0.0:5555", 21:26:12 "unix:///var/run/docker.sock" 21:26:12 ], 21:26:12 "mtu": 1458, 21:26:12 "selinux-enabled": true, 21:26:12 "seccomp-profile": "/etc/docker/seccomp.json" 21:26:12 } [Pipeline] sh 21:26:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:26:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:31 provisioning config files... 21:26:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9442094600508101354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:32 ---> docker-login.sh 21:26:32 nexus3.edgexfoundry.org:10001 21:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:32 Configure a credential helper to remove this warning. See 21:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:32 21:26:32 Login Succeeded 21:26:32 nexus3.edgexfoundry.org:10002 21:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:33 Configure a credential helper to remove this warning. See 21:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:33 21:26:33 Login Succeeded 21:26:33 nexus3.edgexfoundry.org:10003 21:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:33 Configure a credential helper to remove this warning. See 21:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:33 21:26:33 Login Succeeded 21:26:33 nexus3.edgexfoundry.org:10004 21:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:33 Configure a credential helper to remove this warning. See 21:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:33 21:26:33 Login Succeeded 21:26:33 docker.io 21:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:34 Configure a credential helper to remove this warning. See 21:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:34 21:26:34 Login Succeeded 21:26:34 ---> docker-login.sh ends [Pipeline] } 21:26:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:34 ========================================================= 21:26:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:26:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:35 + 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 . 21:26:35 Sending build context to Docker daemon 11.83MB 21:26:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:26:35 Step 2/12 : FROM ${BASE} AS builder 21:26:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:26:35 9b18e9b68314: Pulling fs layer 21:26:35 35d82f9e3411: Pulling fs layer 21:26:35 e16973657156: Pulling fs layer 21:26:35 fc693d55d65f: Pulling fs layer 21:26:35 7e9fc2657dce: Pulling fs layer 21:26:35 dda99020689f: Pulling fs layer 21:26:35 db1c61fa0a46: Pulling fs layer 21:26:35 891c053d2c06: Pulling fs layer 21:26:35 fc693d55d65f: Waiting 21:26:35 7e9fc2657dce: Waiting 21:26:35 dda99020689f: Waiting 21:26:35 db1c61fa0a46: Waiting 21:26:35 891c053d2c06: Waiting 21:26:35 e16973657156: Verifying Checksum 21:26:35 e16973657156: Download complete 21:26:35 35d82f9e3411: Download complete 21:26:35 7e9fc2657dce: Verifying Checksum 21:26:35 7e9fc2657dce: Download complete 21:26:36 dda99020689f: Verifying Checksum 21:26:36 dda99020689f: Download complete 21:26:36 9b18e9b68314: Verifying Checksum 21:26:37 9b18e9b68314: Pull complete 21:26:37 891c053d2c06: Verifying Checksum 21:26:37 891c053d2c06: Download complete 21:26:37 35d82f9e3411: Pull complete 21:26:37 e16973657156: Pull complete 21:26:38 db1c61fa0a46: Verifying Checksum 21:26:38 db1c61fa0a46: Download complete 21:26:39 fc693d55d65f: Verifying Checksum 21:26:39 fc693d55d65f: Download complete 21:26:54 fc693d55d65f: Pull complete 21:26:54 7e9fc2657dce: Pull complete 21:26:54 dda99020689f: Pull complete 21:26:58 db1c61fa0a46: Pull complete 21:27:01 891c053d2c06: Pull complete 21:27:01 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:27:01 ---> f96f9c87975a 21:27:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:27:02 ---> Running in 111b7152fd4e 21:27:02 Removing intermediate container 111b7152fd4e 21:27:02 ---> a0e6cf7d4efc 21:27:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:27:02 ---> Running in 158fe05b2e1f 21:27:02 Removing intermediate container 158fe05b2e1f 21:27:02 ---> 88e3cdb4d0bb 21:27:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:27:02 ---> Running in f0075e625f80 21:27:03 Removing intermediate container f0075e625f80 21:27:03 ---> 6973a217d089 21:27:03 Step 6/12 : WORKDIR /device-virtual-go 21:27:03 ---> Running in 3670b44a05da 21:27:03 Removing intermediate container 3670b44a05da 21:27:03 ---> e666ad2a1d20 21:27:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:27:03 ---> Running in 3147a6d5ee56 21:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:27:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:27:06 (2/4) Installing libedit (20210910.3.1-r0) 21:27:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:27:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:27:06 Executing busybox-1.35.0-r17.trigger 21:27:06 OK: 226 MiB in 55 packages 21:27:07 Removing intermediate container 3147a6d5ee56 21:27:07 ---> d4a759734bdd 21:27:07 Step 8/12 : COPY go.mod vendor* ./ 21:27:07 ---> 05bdb8f9007d 21:27:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:07 ---> Running in e33b74f34b00 21:28:29 Removing intermediate container e33b74f34b00 21:28:29 ---> aa43c2c0ac11 21:28:29 Step 10/12 : COPY . . 21:28:29 ---> ed0f92b1d663 21:28:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:29 ---> Running in 4b4d334325fb 21:28:29 Removing intermediate container 4b4d334325fb 21:28:29 ---> e63f720ec112 21:28:29 Step 12/12 : RUN $MAKE 21:28:29 ---> Running in 9eea804cc362 21:28:29 noop 21:28:29 Removing intermediate container 9eea804cc362 21:28:29 ---> 9ae71b85a6df 21:28:29 Successfully built 9ae71b85a6df 21:28:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:29 + docker inspect -f . ci-base-image-arm64 21:28:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:30 prd-ubuntu20.04-docker-arm64-4c-16g-7298 does not seem to be running inside a container 21:28:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:31 $ docker top 869404fafab506782f43ee429860ebe06af587d4403c10681b28ceb66fdf5bda -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:32 + go version 21:28:32 go version go1.18.7 linux/arm64 [Pipeline] } 21:28:32 $ docker stop --time=1 869404fafab506782f43ee429860ebe06af587d4403c10681b28ceb66fdf5bda 21:28:33 $ docker rm -f --volumes 869404fafab506782f43ee429860ebe06af587d4403c10681b28ceb66fdf5bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:34 + docker inspect -f . ci-base-image-arm64 21:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:35 prd-ubuntu20.04-docker-arm64-4c-16g-7298 does not seem to be running inside a container 21:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:36 $ docker top bdb4959617b8c7d24d415203b9f5724f44db75a0168ef2b81b2b201b357110f2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:36 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 21:28:37 + make test 21:28:37 go test ./... -coverprofile=coverage.out 21:28:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:30:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:30:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 21:30:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:30:00 go vet ./... 21:30:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:30:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:30:27 ./bin/test-attribution-txt.sh [Pipeline] echo 21:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:30:27 $ docker stop --time=1 bdb4959617b8c7d24d415203b9f5724f44db75a0168ef2b81b2b201b357110f2 21:30:29 $ docker rm -f --volumes bdb4959617b8c7d24d415203b9f5724f44db75a0168ef2b81b2b201b357110f2 [Pipeline] // withDockerContainer [Pipeline] sh 21:30:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:30:30 Warning: overwriting stash ‘coverage-report’ 21:30:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:30:32 + ls -al . 21:30:32 total 188 21:30:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 21:28 . 21:30:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 21:26 .. 21:30:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 21:26 .git 21:30:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 21:26 .github 21:30:32 -rw-rw-r-- 1 jenkins jenkins 337 Feb 23 21:26 .gitignore 21:30:32 -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 21:26 .golangci.yml 21:30:32 -rw-rw-r-- 1 jenkins jenkins 8641 Feb 23 21:26 Attribution.txt 21:30:32 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 23 21:26 CHANGELOG.md 21:30:32 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 23 21:26 Dockerfile 21:30:32 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 21:26 GOVERNANCE.md 21:30:32 -rw-rw-r-- 1 jenkins jenkins 660 Feb 23 21:26 Jenkinsfile 21:30:32 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 21:26 LICENSE 21:30:32 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 23 21:26 Makefile 21:30:32 -rw-rw-r-- 1 jenkins jenkins 623 Feb 23 21:26 OWNERS.md 21:30:32 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 23 21:26 README.md 21:30:32 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 21:22 VERSION 21:30:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 21:26 bin 21:30:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 21:26 cmd 21:30:32 -rw-r--r-- 1 jenkins jenkins 44128 Feb 23 21:30 coverage.out 21:30:32 -rw-rw-r-- 1 jenkins jenkins 3253 Feb 23 21:26 go.mod 21:30:32 -rw-rw-r-- 1 jenkins jenkins 32563 Feb 23 21:26 go.sum 21:30:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 21:26 internal 21:30:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 21:26 snap 21:30:32 -rw-rw-r-- 1 jenkins jenkins 235 Feb 23 21:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:32 + 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=a72c08068bc4586827dd85faab2947c736ee361f --label arch=arm64 --label version=0.0.0 . 21:30:33 Sending build context to Docker daemon 11.87MB 21:30:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:30:33 Step 2/25 : FROM ${BASE} AS builder 21:30:33 ---> 9ae71b85a6df 21:30:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:30:33 ---> Running in 537aeeee01b3 21:30:34 Removing intermediate container 537aeeee01b3 21:30:34 ---> 06290c0a97c6 21:30:34 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:30:34 ---> Running in 6189b6601509 21:30:34 Removing intermediate container 6189b6601509 21:30:34 ---> 3782e732110a 21:30:34 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:30:34 ---> Running in feb602fe9fb3 21:30:35 Removing intermediate container feb602fe9fb3 21:30:35 ---> a929a36e0600 21:30:35 Step 6/25 : WORKDIR /device-virtual-go 21:30:35 ---> Running in 70acc97b0104 21:30:36 Removing intermediate container 70acc97b0104 21:30:36 ---> 6e4daa196318 21:30:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:36 ---> Running in 3aefe24a6ba2 21:30:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:30:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:30:39 OK: 226 MiB in 55 packages 21:30:39 Removing intermediate container 3aefe24a6ba2 21:30:39 ---> 135a0c5380a7 21:30:39 Step 8/25 : COPY go.mod vendor* ./ 21:30:40 ---> dbbe9fa3c0a4 21:30:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:40 ---> Running in 204531839bdc 21:30:43 Removing intermediate container 204531839bdc 21:30:43 ---> adb86756cae8 21:30:43 Step 10/25 : COPY . . 21:30:44 ---> 331ab8be5a3b 21:30:44 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:44 ---> Running in b98d8447992d 21:30:45 Removing intermediate container b98d8447992d 21:30:45 ---> e4c2910335de 21:30:45 Step 12/25 : RUN $MAKE 21:30:45 ---> Running in 43f838db2a48 21:30: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 21:33:08 Removing intermediate container 43f838db2a48 21:33:08 ---> acbcb12ee48a 21:33:08 Step 13/25 : FROM alpine:3.16 21:33:08 3.16: Pulling from library/alpine 21:33:08 3760b48202b3: Pulling fs layer 21:33:08 3760b48202b3: Verifying Checksum 21:33:08 3760b48202b3: Download complete 21:33:08 3760b48202b3: Pull complete 21:33:08 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:33:08 Status: Downloaded newer image for alpine:3.16 21:33:08 ---> 4c81e5bf8899 21:33:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:33:08 ---> Running in dec87aa0f7cd 21:33:08 Removing intermediate container dec87aa0f7cd 21:33:08 ---> 497fd287e472 21:33:08 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:33:08 ---> Running in 6add965a7778 21:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:33:08 (1/1) Installing dumb-init (1.2.5-r1) 21:33:08 Executing busybox-1.35.0-r17.trigger 21:33:08 OK: 5 MiB in 15 packages 21:33:08 Removing intermediate container 6add965a7778 21:33:08 ---> 46404ef3c75f 21:33:08 Step 16/25 : WORKDIR / 21:33:08 ---> Running in 07f4942229a5 21:33:08 Removing intermediate container 07f4942229a5 21:33:08 ---> 5aaca5e93828 21:33:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:33:08 ---> 7bf30ed74b9e 21:33:08 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:33:08 ---> dd84f85b6035 21:33:08 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:33:08 ---> 468d9c699137 21:33:08 Step 20/25 : EXPOSE 59900 21:33:08 ---> Running in dd4b6442770f 21:33:08 Removing intermediate container dd4b6442770f 21:33:08 ---> daeb9cbd1537 21:33:08 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:33:08 ---> Running in 45259a8148fb 21:33:08 Removing intermediate container 45259a8148fb 21:33:08 ---> e8a869c0ddb4 21:33:08 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:33:08 ---> Running in 150251c8f954 21:33:08 Removing intermediate container 150251c8f954 21:33:08 ---> 6e3c026f893d 21:33:08 Step 23/25 : LABEL arch=arm64 21:33:08 ---> Running in 7dbdb7e442c7 21:33:08 Removing intermediate container 7dbdb7e442c7 21:33:08 ---> 5f0d00e24330 21:33:08 Step 24/25 : LABEL git_sha=a72c08068bc4586827dd85faab2947c736ee361f 21:33:08 ---> Running in 66c2f17d9e1b 21:33:08 Removing intermediate container 66c2f17d9e1b 21:33:08 ---> 6f699a451e8a 21:33:08 Step 25/25 : LABEL version=0.0.0 21:33:08 ---> Running in dd12c14481bf 21:33:08 Removing intermediate container dd12c14481bf 21:33:08 ---> fcc4226ed912 21:33:08 [Warning] One or more build-args [ARCH] were not consumed 21:33:08 Successfully built fcc4226ed912 21:33:08 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 21:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:33:09 21:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:33:09 arm64: Pulling from edgex-lftools-log-publisher 21:33:09 8998bd30e6a1: Pulling fs layer 21:33:09 04944245beec: Pulling fs layer 21:33:09 699f458cf7ca: Pulling fs layer 21:33:09 765212b225bb: Pulling fs layer 21:33:09 f23df028b6ca: Pulling fs layer 21:33:09 d65c8cfc05b1: Pulling fs layer 21:33:09 2437ff75d9bd: Pulling fs layer 21:33:09 f23df028b6ca: Waiting 21:33:09 d65c8cfc05b1: Waiting 21:33:09 2437ff75d9bd: Waiting 21:33:09 765212b225bb: Waiting 21:33:10 04944245beec: Verifying Checksum 21:33:10 04944245beec: Download complete 21:33:10 765212b225bb: Verifying Checksum 21:33:10 765212b225bb: Download complete 21:33:10 f23df028b6ca: Download complete 21:33:10 d65c8cfc05b1: Verifying Checksum 21:33:10 d65c8cfc05b1: Download complete 21:33:10 699f458cf7ca: Verifying Checksum 21:33:10 699f458cf7ca: Download complete 21:33:10 8998bd30e6a1: Verifying Checksum 21:33:10 8998bd30e6a1: Download complete 21:33:12 2437ff75d9bd: Verifying Checksum 21:33:12 2437ff75d9bd: Download complete 21:33:14 8998bd30e6a1: Pull complete 21:33:14 04944245beec: Pull complete 21:33:15 699f458cf7ca: Pull complete 21:33:16 765212b225bb: Pull complete 21:33:17 f23df028b6ca: Pull complete 21:33:17 d65c8cfc05b1: Pull complete 21:33:32 2437ff75d9bd: Pull complete 21:33:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:33:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:32 prd-ubuntu20.04-docker-arm64-4c-16g-7298 does not seem to be running inside a container 21:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:33:35 $ docker top 9f7b4a631511a4cf65c3c6104543037091676a0deb8f5e55b001821254f14d17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:36 ---> job-cost.sh 21:33:36 lf-activate-venv: SKIPPING 21:33:36 INFO: No Stack... 21:33:36 INFO: Retrieving Pricing Info for: v3-standard-4 21:33:37 INFO: Archiving Costs [Pipeline] sh 21:33:37 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 21:33:37 + cut -d, -f6 [Pipeline] lock 21:33:37 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] 21:33:37 Resource [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] did not exist. Created. 21:33:37 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:33:38 /w/workspace/device-virtual-go/1@tmp/durable-48e701d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:33:38 + echo total: 0.10999999940395355 [Pipeline] stash 21:33:38 Warning: overwriting stash ‘stack-cost’ 21:33:38 Stashed 1 file(s) [Pipeline] } 21:33:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:33:38 $ docker stop --time=1 9f7b4a631511a4cf65c3c6104543037091676a0deb8f5e55b001821254f14d17 21:33:40 $ docker rm -f --volumes 9f7b4a631511a4cf65c3c6104543037091676a0deb8f5e55b001821254f14d17 [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 21:33:41 provisioning config files... 21:33:41 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-346@tmp/config16657200087267472551tmp [Pipeline] { [Pipeline] sh 21:33:41 + set +x 21:33:41 + + curl -s https://codecov.io/bash 21:33:41 bash -s -- 21:33:41 21:33:41 _____ _ 21:33:41 / ____| | | 21:33:41 | | ___ __| | ___ ___ _____ __ 21:33:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:33:41 | |___| (_) | (_| | __/ (_| (_) \ V / 21:33:41 \_____\___/ \__,_|\___|\___\___/ \_/ 21:33:41 Bash-1.0.6 21:33:41 21:33:41 21:33:41 ==> git version 2.25.1 found 21:33:41 ==> 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 21:33:41 Release-Date: 2020-01-08 21:33:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:33:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:33:41 ==> Jenkins CI detected. 21:33:41 current dir:  /w/workspace/foundry_device-virtual-go_PR-346 21:33:41 project root: . 21:33:41 --> token set from env 21:33:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:33:41 ==> Running gcov in . (disable via -X gcov) 21:33:41 ==> Python coveragepy not found 21:33:41 ==> Searching for coverage reports in: 21:33:41 + . 21:33:41 -> Found 1 reports 21:33:41 ==> Detecting git/mercurial file structure 21:33:41 ==> Reading reports 21:33:41 + ./coverage.out bytes=44128 21:33:41 ==> Appending adjustments 21:33:41 https://docs.codecov.io/docs/fixing-reports 21:33:42 + Found adjustments 21:33:42 ==> Gzipping contents 21:33:42 8.0K /tmp/codecov.p3iFWD.gz 21:33:42 ==> Uploading reports 21:33:42 url: https://codecov.io 21:33:42 query: branch=PR-346&commit=a72c08068bc4586827dd85faab2947c736ee361f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=346&job=&cmd_args= 21:33:42 -> Pinging Codecov 21:33:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-346&commit=a72c08068bc4586827dd85faab2947c736ee361f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=346&job=&cmd_args= 21:33:42 -> Uploading to 21:33:42 https://storage.googleapis.com/codecov/v4/raw/2023-02-23/5E52B4B073DB2E39498172D8E973AA87/a72c08068bc4586827dd85faab2947c736ee361f/de45e2aa-6028-4493-8153-275eeb54d2a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230223T213342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe6b20b671f4cd94632c8281f697450d702209381ecc0b051c369bab32a5aca9 21:33:42 % Total % Received % Xferd Average Speed Time Time Time Current 21:33:42 Dload Upload Total Spent Left Speed 21:33:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5479 0 0 100 5479 0 24791 --:--:-- --:--:-- --:--:-- 24680 100 5479 0 0 100 5479 0 20675 --:--:-- --:--:-- --:--:-- 20597 21:33:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a72c08068bc4586827dd85faab2947c736ee361f [Pipeline] } 21:33:42 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 21:33:44 + [ -d /w/workspace/foundry_device-virtual-go_PR-346/archives ] 21:33:44 + ls -al /w/workspace/foundry_device-virtual-go_PR-346/archives 21:33:44 total 16 21:33:44 drwxr-xr-x 3 root root 4096 Feb 23 21:24 . 21:33:44 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 21:24 .. 21:33:44 drwxr-xr-x 2 root root 4096 Feb 23 21:24 cost 21:33:44 -rw-r--r-- 1 root root 89 Feb 23 21:24 cost.csv 21:33:44 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-346/archives 21:33:44 + ls -al /w/workspace/foundry_device-virtual-go_PR-346/archives 21:33:44 total 16 21:33:44 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 21:24 . 21:33:44 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 21:24 .. 21:33:44 drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 21:24 cost 21:33:44 -rw-r--r-- 1 jenkins jenkins 89 Feb 23 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:33:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:33:45 ---> package-listing.sh 21:33:45 ++ facter osfamily 21:33:45 ++ tr '[:upper:]' '[:lower:]' 21:33:45 + OS_FAMILY=debian 21:33:45 + workspace=/w/workspace/foundry_device-virtual-go_PR-346 21:33:45 + START_PACKAGES=/tmp/packages_start.txt 21:33:45 + END_PACKAGES=/tmp/packages_end.txt 21:33:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:33:45 + PACKAGES=/tmp/packages_start.txt 21:33:45 + '[' /w/workspace/foundry_device-virtual-go_PR-346 ']' 21:33:45 + PACKAGES=/tmp/packages_end.txt 21:33:45 + case "${OS_FAMILY}" in 21:33:45 + dpkg -l 21:33:45 + grep '^ii' 21:33:45 + '[' -f /tmp/packages_start.txt ']' 21:33:45 + '[' -f /tmp/packages_end.txt ']' 21:33:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:33:45 + '[' /w/workspace/foundry_device-virtual-go_PR-346 ']' 21:33:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-346/archives/ 21:33:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-346/archives/ [Pipeline] echo 21:33:45 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-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:33:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:46 prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container 21:33:46 $ 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-346/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-346 -v /w/workspace/foundry_device-virtual-go_PR-346:/w/workspace/foundry_device-virtual-go_PR-346:rw,z -v /w/workspace/foundry_device-virtual-go_PR-346@tmp:/w/workspace/foundry_device-virtual-go_PR-346@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:33:47 $ docker top 4f2888a4213358fdf9df55e734f3cfc8ef1c6909fb59283cca74af3f0da152e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:47 + touch /tmp/pre-build-complete [Pipeline] sh 21:33:47 + mkdir -p /var/log/sysstat [Pipeline] sh 21:33:48 + ls /var/log/sa-host 21:33:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:48 provisioning config files... 21:33:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-346@tmp/config10828529626095526189tmp [Pipeline] { [Pipeline] echo 21:33:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:33:48 ---> create-netrc.sh [Pipeline] } 21:33:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:33:49 ---> python-tools-install.sh [Pipeline] echo 21:33:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:33:49 ---> sudo-logs.sh 21:33:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:33:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:33:49 ---> job-cost.sh 21:33:49 lf-activate-venv: SKIPPING 21:33:49 DEBUG: total: 0.2199999988079071 21:33:49 INFO: Retrieving Stack Cost... 21:33:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:50 INFO: Archiving Costs [Pipeline] echo 21:33:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:33:51 ---> logs-deploy.sh 21:33:51 lf-activate-venv: SKIPPING 21:33:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-346/1 21:33:51 INFO: archiving workspace using pattern(s): 21:33:52 Archives upload complete. 21:33:52 INFO: archiving logs to Nexus