Pull request #382 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 75c0ad4cf515988f9e8c402416cd90229d6447bf+31d774b4f359865edc3dcd5479b181cce8101838 (f52daf25422f405865c97ff4339a9a8a07764f7c) 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-ssh15461877811296076654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4396689443541706231.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11957389913835651429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17294554912214993553.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15309571685133192660.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8843 in /w/workspace/foundry_device-virtual-go_PR-382 [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-382 # 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/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 31d774b4f359865edc3dcd5479b181cce8101838 into PR head commit 75c0ad4cf515988f9e8c402416cd90229d6447bf Merge succeeded, producing 8c7c85c7c9babdad37b02053d73ba86bdab33d38 Checking out Revision 8c7c85c7c9babdad37b02053d73ba86bdab33d38 (PR-382) > git config core.sparsecheckout # timeout=10 > git checkout -f 75c0ad4cf515988f9e8c402416cd90229d6447bf # 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 31d774b4f359865edc3dcd5479b181cce8101838 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c7c85c7c9babdad37b02053d73ba86bdab33d38 # timeout=10 Commit message: "Merge commit '31d774b4f359865edc3dcd5479b181cce8101838' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 8d469254db39376f479be39397838c47013e6269 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:13:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:13:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:13:26 ========================================================= 02:13:26 EdgeX Global Pipelines Version Info 02:13:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:13:27 ------------------- 02:13:27 stable info: 02:13:27 ------------------- 02:13:27 Commited By: Bill Mahoney bill.mahoney@intel.com 02:13:27 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:13:27 Message: update stable to v1.0.248 02:13:28 ------------------- 02:13:28 experimental info: 02:13:28 ------------------- 02:13:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:13:28 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:13:28 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c7c85c7c9babdad37b02053d73ba86bdab33d38 [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c7c85c [Pipeline] echo 02:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:28 provisioning config files... 02:13:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config3109162778475330200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:29 ---> docker-login.sh 02:13:29 nexus3.edgexfoundry.org:10001 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 nexus3.edgexfoundry.org:10002 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 nexus3.edgexfoundry.org:10003 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 nexus3.edgexfoundry.org:10004 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 docker.io 02:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:29 Configure a credential helper to remove this warning. See 02:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:29 02:13:29 Login Succeeded 02:13:29 ---> docker-login.sh ends [Pipeline] } 02:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:13:30 + git rev-list -1 --merges 8c7c85c7c9babdad37b02053d73ba86bdab33d38~1..8c7c85c7c9babdad37b02053d73ba86bdab33d38 [Pipeline] echo 02:13:30 -----------> git rev-list -1 --merges 8c7c85c7c9babdad37b02053d73ba86bdab33d38~1..8c7c85c7c9babdad37b02053d73ba86bdab33d38 8c7c85c7c9babdad37b02053d73ba86bdab33d38 02:13:30 8c7c85c7c9babdad37b02053d73ba86bdab33d38 [false] [Pipeline] sh 02:13:30 + git log --format=format:%s -1 8c7c85c7c9babdad37b02053d73ba86bdab33d38 [Pipeline] echo 02:13:30 ========================================================= 02:13:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:13:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:30 + git log --format=format:%s -1 8c7c85c7c9babdad37b02053d73ba86bdab33d38 [Pipeline] echo 02:13:30 [semverPrep] GIT_COMMIT: 8c7c85c7c9babdad37b02053d73ba86bdab33d38, Commit Message: Merge commit '31d774b4f359865edc3dcd5479b181cce8101838' into HEAD [Pipeline] echo 02:13:30 [semverPrep] This is not a build commit. [Pipeline] sh 02:13:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:13:31 + grep -v github /etc/ssh/ssh_known_hosts 02:13:31 + [ -e /tmp/ssh_known_hosts ] 02:13:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:13:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:13:31 + sudo tee -a /etc/ssh/ssh_known_hosts 02:13:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:31 02:13:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:32 0.1.4: Pulling from edgex-devops/py-git-semver 02:13:32 b85a868b505f: Pulling fs layer 02:13:32 e2be974225ed: Pulling fs layer 02:13:32 339a4e72a1f5: Pulling fs layer 02:13:32 988bab9f4d93: Pulling fs layer 02:13:32 1469e6f7b9e6: Pulling fs layer 02:13:32 eaf3925da568: Pulling fs layer 02:13:32 bab4dde63d76: Pulling fs layer 02:13:32 bde34c3a00c8: Pulling fs layer 02:13:32 b352a97aabf1: Pulling fs layer 02:13:32 4872d77fe225: Pulling fs layer 02:13:32 5851b861e8e6: Pulling fs layer 02:13:32 bde34c3a00c8: Waiting 02:13:32 988bab9f4d93: Waiting 02:13:32 4872d77fe225: Waiting 02:13:32 1469e6f7b9e6: Waiting 02:13:32 5851b861e8e6: Waiting 02:13:32 bab4dde63d76: Waiting 02:13:32 eaf3925da568: Waiting 02:13:32 b352a97aabf1: Waiting 02:13:32 e2be974225ed: Verifying Checksum 02:13:32 e2be974225ed: Download complete 02:13:32 988bab9f4d93: Verifying Checksum 02:13:32 988bab9f4d93: Download complete 02:13:32 339a4e72a1f5: Verifying Checksum 02:13:32 339a4e72a1f5: Download complete 02:13:32 eaf3925da568: Verifying Checksum 02:13:32 eaf3925da568: Download complete 02:13:32 1469e6f7b9e6: Verifying Checksum 02:13:32 1469e6f7b9e6: Download complete 02:13:32 bde34c3a00c8: Download complete 02:13:32 b352a97aabf1: Verifying Checksum 02:13:32 b352a97aabf1: Download complete 02:13:32 4872d77fe225: Download complete 02:13:32 5851b861e8e6: Download complete 02:13:32 b85a868b505f: Verifying Checksum 02:13:32 b85a868b505f: Download complete 02:13:32 bab4dde63d76: Verifying Checksum 02:13:33 b85a868b505f: Pull complete 02:13:33 e2be974225ed: Pull complete 02:13:34 339a4e72a1f5: Pull complete 02:13:34 988bab9f4d93: Pull complete 02:13:34 1469e6f7b9e6: Pull complete 02:13:34 eaf3925da568: Pull complete 02:13:36 bab4dde63d76: Pull complete 02:13:36 bde34c3a00c8: Pull complete 02:13:36 b352a97aabf1: Pull complete 02:13:37 4872d77fe225: Pull complete 02:13:37 5851b861e8e6: Pull complete 02:13:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:37 prd-ubuntu20.04-docker-8c-8g-8843 does not seem to be running inside a container 02:13:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:13:41 $ docker top 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 -eo pid,comm 02:13:41 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). 02:13:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:41 [ssh-agent] Looking for ssh-agent implementation... 02:13:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:41 $ docker exec 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 ssh-agent 02:13:41 SSH_AUTH_SOCK=/tmp/ssh-3JtsGmQToxig/agent.32 02:13:41 SSH_AGENT_PID=38 02:13:41 Running ssh-add (command line suppressed) 02:13:41 Identity added: /w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_810638792386278725.key (/w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_810638792386278725.key) 02:13:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:41 + git tag --points-at HEAD [Pipeline] } 02:13:41 $ docker exec --env ******** --env ******** 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 ssh-agent -k 02:13:41 unset SSH_AUTH_SOCK; 02:13:41 unset SSH_AGENT_PID; 02:13:41 echo Agent pid 38 killed; 02:13:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:13:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:41 [ssh-agent] Looking for ssh-agent implementation... 02:13:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:42 $ docker exec 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 ssh-agent 02:13:42 SSH_AUTH_SOCK=/tmp/ssh-hbJRC45CIhHp/agent.71 02:13:42 SSH_AGENT_PID=77 02:13:42 Running ssh-add (command line suppressed) 02:13:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_2243732031872356970.key (/w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_2243732031872356970.key) 02:13:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:42 + git semver init 02:13:42 2023-04-18 02:13:42,781 [run_init] DEBUG init version:0.0.0 force:False 02:13:42 2023-04-18 02:13:42,782 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-382/.semver 02:13:42 2023-04-18 02:13:42,783 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-382/.semver 02:13:42 2023-04-18 02:13:42,783 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-382/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-382, universal_newlines=False, shell=None, istream=None) 02:13:44 2023-04-18 02:13:43,892 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-382/.git/info/exclude 02:13:44 2023-04-18 02:13:43,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-382/.semver/PR-382 with force:False 02:13:44 2023-04-18 02:13:43,893 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-382/.semver/PR-382 02:13:44 2023-04-18 02:13:43,897 [execute] INFO git cat-file --batch-check 02:13:44 2023-04-18 02:13:43,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 02:13:44 2023-04-18 02:13:43,903 [execute] INFO git cat-file --batch 02:13:44 2023-04-18 02:13:43,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 02:13:44 2023-04-18 02:13:43,908 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-382/.semver/PR-382 02:13:44 0.0.0 [Pipeline] } 02:13:44 $ docker exec --env ******** --env ******** 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 ssh-agent -k 02:13:44 unset SSH_AUTH_SOCK; 02:13:44 unset SSH_AGENT_PID; 02:13:44 echo Agent pid 77 killed; 02:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:44 + git semver [Pipeline] } 02:13:44 $ docker stop --time=1 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 02:13:46 $ docker rm -f --volumes 14cd8d43d091eba863118b2b8fb5547a4f15bef46ee0401c8d8da019b4315d10 [Pipeline] // withDockerContainer [Pipeline] sh 02:13:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:13:46 Stashed 1 file(s) [Pipeline] echo 02:13:46 [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 02:13:47 provisioning config files... 02:13:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config13412471825523690460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:47 ---> docker-login.sh 02:13:47 nexus3.edgexfoundry.org:10001 02:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:47 Configure a credential helper to remove this warning. See 02:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:47 02:13:47 Login Succeeded 02:13:47 nexus3.edgexfoundry.org:10002 02:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:47 Configure a credential helper to remove this warning. See 02:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:47 02:13:47 Login Succeeded 02:13:47 nexus3.edgexfoundry.org:10003 02:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:47 Configure a credential helper to remove this warning. See 02:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:47 02:13:47 Login Succeeded 02:13:47 nexus3.edgexfoundry.org:10004 02:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:47 Configure a credential helper to remove this warning. See 02:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:47 02:13:47 Login Succeeded 02:13:47 docker.io 02:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:13:47 Configure a credential helper to remove this warning. See 02:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:13:47 02:13:47 Login Succeeded 02:13:47 ---> docker-login.sh ends [Pipeline] } 02:13:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:13:48 ========================================================= 02:13:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:13:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:13:48 Sending build context to Docker daemon 23.57MB 02:13:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:13:48 Step 2/12 : FROM ${BASE} AS builder 02:13:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:13:48 63b65145d645: Pulling fs layer 02:13:48 a2d21d5440eb: Pulling fs layer 02:13:48 935e6c44a52c: Pulling fs layer 02:13:48 94cc34f8dd06: Pulling fs layer 02:13:48 30dea6a524f1: Pulling fs layer 02:13:48 a2aff8979fd8: Pulling fs layer 02:13:48 6808be2612f2: Pulling fs layer 02:13:48 f25807f1079a: Pulling fs layer 02:13:48 30dea6a524f1: Waiting 02:13:48 a2aff8979fd8: Waiting 02:13:48 6808be2612f2: Waiting 02:13:48 f25807f1079a: Waiting 02:13:48 94cc34f8dd06: Waiting 02:13:48 a2d21d5440eb: Download complete 02:13:48 94cc34f8dd06: Download complete 02:13:48 30dea6a524f1: Verifying Checksum 02:13:48 30dea6a524f1: Download complete 02:13:48 63b65145d645: Verifying Checksum 02:13:48 63b65145d645: Download complete 02:13:48 a2aff8979fd8: Verifying Checksum 02:13:48 a2aff8979fd8: Download complete 02:13:48 63b65145d645: Pull complete 02:13:48 a2d21d5440eb: Pull complete 02:13:49 f25807f1079a: Verifying Checksum 02:13:49 f25807f1079a: Download complete 02:13:49 935e6c44a52c: Verifying Checksum 02:13:49 935e6c44a52c: Download complete 02:13:49 6808be2612f2: Verifying Checksum 02:13:49 6808be2612f2: Download complete 02:13:53 935e6c44a52c: Pull complete 02:13:53 94cc34f8dd06: Pull complete 02:13:53 30dea6a524f1: Pull complete 02:13:53 a2aff8979fd8: Pull complete 02:13:56 6808be2612f2: Pull complete 02:13:57 f25807f1079a: Pull complete 02:13:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:13:57 ---> 3b553350e43f 02:13:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:14:02 Still waiting to schedule task 02:14:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:14:02 ---> Running in 7fb8cde48899 02:14:02 Removing intermediate container 7fb8cde48899 02:14:02 ---> 3468a282bc33 02:14:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:14:02 ---> Running in 37d81e2c4ebd 02:14:02 Removing intermediate container 37d81e2c4ebd 02:14:02 ---> e5be33ba8ec8 02:14:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:14:02 ---> Running in 3caebf504f39 02:14:02 Removing intermediate container 3caebf504f39 02:14:02 ---> d6bb26951d09 02:14:02 Step 6/12 : WORKDIR /device-virtual-go 02:14:02 ---> Running in 0aba0f3a1248 02:14:02 Removing intermediate container 0aba0f3a1248 02:14:02 ---> b92530563095 02:14:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:14:02 ---> Running in 1be00bd8a1f8 02:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:14:02 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:14:02 (2/4) Installing libedit (20221030.3.1-r0) 02:14:02 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:14:02 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:14:02 Executing busybox-1.35.0-r29.trigger 02:14:02 OK: 269 MiB in 57 packages 02:14:03 Removing intermediate container 1be00bd8a1f8 02:14:03 ---> 39e5cc94a091 02:14:03 Step 8/12 : COPY go.mod vendor* ./ 02:14:03 ---> 85170d080fa8 02:14:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:03 ---> Running in 4852e8af94e7 02:14:50 Removing intermediate container 4852e8af94e7 02:14:50 ---> b22153d4c204 02:14:50 Step 10/12 : COPY . . 02:14:50 ---> 8f9c51df24f2 02:14:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:50 ---> Running in ee6362aac90e 02:14:50 Removing intermediate container ee6362aac90e 02:14:50 ---> b9f4ef3d2cc8 02:14:50 Step 12/12 : RUN $MAKE 02:14:50 ---> Running in 1f6ffbc73f5d 02:14:50 noop 02:14:50 Removing intermediate container 1f6ffbc73f5d 02:14:50 ---> 5ae74a6d7619 02:14:50 Successfully built 5ae74a6d7619 02:14:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:50 + docker inspect -f . ci-base-image-x86_64 02:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:50 prd-ubuntu20.04-docker-8c-8g-8843 does not seem to be running inside a container 02:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:14:50 $ docker top 37aa4cbd2fada1049b1ee6cd815efa3b6216f1a6ebfaf99c5e664d1cd0d0e882 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:51 + go version 02:14:51 go version go1.20.2 linux/amd64 [Pipeline] } 02:14:51 $ docker stop --time=1 37aa4cbd2fada1049b1ee6cd815efa3b6216f1a6ebfaf99c5e664d1cd0d0e882 02:14:52 $ docker rm -f --volumes 37aa4cbd2fada1049b1ee6cd815efa3b6216f1a6ebfaf99c5e664d1cd0d0e882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:52 + docker inspect -f . ci-base-image-x86_64 02:14:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:52 prd-ubuntu20.04-docker-8c-8g-8843 does not seem to be running inside a container 02:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:14:53 $ docker top 6fd9a9602bddf3ecc9140066600c9f1c61fc4467ae051a87de58a335ddb6d49a -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:53 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-382 [Pipeline] fileExists [Pipeline] sh 02:14:53 + make test 02:14:53 go test ./... -coverprofile=coverage.out 02:14:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:15:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:15:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 02:15:13 go vet ./... 02:15:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:15:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:15:17 ./bin/test-attribution-txt.sh [Pipeline] echo 02:15:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:15:17 $ docker stop --time=1 6fd9a9602bddf3ecc9140066600c9f1c61fc4467ae051a87de58a335ddb6d49a 02:15:21 $ docker rm -f --volumes 6fd9a9602bddf3ecc9140066600c9f1c61fc4467ae051a87de58a335ddb6d49a [Pipeline] // withDockerContainer [Pipeline] sh 02:15:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:15:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:15:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:15:23 + ls -al . 02:15:23 total 192 02:15:23 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 02:14 . 02:15:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:13 .. 02:15:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:13 .git 02:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:13 .github 02:15:23 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 02:13 .gitignore 02:15:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 02:13 .golangci.yml 02:15:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:13 .semver 02:15:23 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 02:13 Attribution.txt 02:15:23 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 02:13 CHANGELOG.md 02:15:23 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 02:13 Dockerfile 02:15:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 02:13 GOVERNANCE.md 02:15:23 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 02:13 Jenkinsfile 02:15:23 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 02:13 LICENSE 02:15:23 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 02:13 Makefile 02:15:23 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 02:13 OWNERS.md 02:15:23 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 02:13 README.md 02:15:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 02:13 VERSION 02:15:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 02:13 bin 02:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:13 cmd 02:15:23 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 02:15 coverage.out 02:15:23 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 02:13 go.mod 02:15:23 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 02:13 go.sum 02:15:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:13 internal 02:15:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:13 snap 02:15:23 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:23 + 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=8c7c85c7c9babdad37b02053d73ba86bdab33d38 --label arch=amd64 --label version=0.0.0 . 02:15:23 Sending build context to Docker daemon 23.62MB 02:15:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:15:23 Step 2/25 : FROM ${BASE} AS builder 02:15:23 ---> 5ae74a6d7619 02:15:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:15:24 ---> Running in eab3567917a1 02:15:24 Removing intermediate container eab3567917a1 02:15:24 ---> 05ab2868f39f 02:15:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:15:24 ---> Running in 9680c49e4029 02:15:24 Removing intermediate container 9680c49e4029 02:15:24 ---> 8730b52e8b7a 02:15:24 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:15:25 ---> Running in ae39390be1b6 02:15:25 Removing intermediate container ae39390be1b6 02:15:25 ---> e7564e0c8b78 02:15:25 Step 6/25 : WORKDIR /device-virtual-go 02:15:25 ---> Running in 54ce513d7a23 02:15:25 Removing intermediate container 54ce513d7a23 02:15:25 ---> df3c21a9f5f9 02:15:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:15:25 ---> Running in 2bc06ed479ea 02:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:15:26 OK: 269 MiB in 57 packages 02:15:27 Removing intermediate container 2bc06ed479ea 02:15:27 ---> 2c08947a0751 02:15:27 Step 8/25 : COPY go.mod vendor* ./ 02:15:27 ---> 9d30313629b6 02:15:27 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:15:27 ---> Running in fa336e9ceb45 02:15:28 Removing intermediate container fa336e9ceb45 02:15:28 ---> 2067a3261859 02:15:28 Step 10/25 : COPY . . 02:15:29 ---> 5c0e7d87ea8a 02:15:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:15:29 ---> Running in 1f038c548bbc 02:15:29 Removing intermediate container 1f038c548bbc 02:15:29 ---> d7d3be2aca3a 02:15:29 Step 12/25 : RUN $MAKE 02:15:29 ---> Running in d435e5c723d7 02:15:30 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 02:15:48 Removing intermediate container d435e5c723d7 02:15:48 ---> a2ddc3254633 02:15:48 Step 13/25 : FROM alpine:3.17 02:15:49 3.17: Pulling from library/alpine 02:15:49 f56be85fc22e: Pulling fs layer 02:15:49 f56be85fc22e: Verifying Checksum 02:15:49 f56be85fc22e: Download complete 02:15:49 f56be85fc22e: Pull complete 02:15:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:15:49 Status: Downloaded newer image for alpine:3.17 02:15:49 ---> 9ed4aefc74f6 02:15:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:15:49 ---> Running in 3d77bab6527b 02:15:49 Removing intermediate container 3d77bab6527b 02:15:49 ---> 32c1c540dece 02:15:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:15:49 ---> Running in fccaafc88721 02:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:15:50 (1/1) Installing dumb-init (1.2.5-r2) 02:15:50 Executing busybox-1.35.0-r29.trigger 02:15:50 OK: 7 MiB in 16 packages 02:15:50 Removing intermediate container fccaafc88721 02:15:50 ---> ca00819eec71 02:15:50 Step 16/25 : WORKDIR / 02:15:50 ---> Running in 36d0032c776c 02:15:50 Removing intermediate container 36d0032c776c 02:15:50 ---> 14228baeff21 02:15:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:15:50 ---> fe6b6c1e145d 02:15:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:15:51 ---> 6c3264dfb4dc 02:15:51 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:15:51 ---> 7332a88988fd 02:15:51 Step 20/25 : EXPOSE 59900 02:15:51 ---> Running in 414be08c6736 02:15:51 Removing intermediate container 414be08c6736 02:15:51 ---> 3e24c0aec968 02:15:51 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:15:51 ---> Running in ef1d307f067c 02:15:51 Removing intermediate container ef1d307f067c 02:15:51 ---> e28adf9cf0c6 02:15:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:15:51 ---> Running in 85e1c3f8590a 02:15:51 Removing intermediate container 85e1c3f8590a 02:15:51 ---> f90cd14d0624 02:15:51 Step 23/25 : LABEL arch=amd64 02:15:51 ---> Running in 3690033f623a 02:15:51 Removing intermediate container 3690033f623a 02:15:51 ---> 86b8a525aa4c 02:15:51 Step 24/25 : LABEL git_sha=8c7c85c7c9babdad37b02053d73ba86bdab33d38 02:15:51 ---> Running in 65208de709aa 02:15:52 Removing intermediate container 65208de709aa 02:15:52 ---> 87d18275ac4b 02:15:52 Step 25/25 : LABEL version=0.0.0 02:15:52 ---> Running in 02d7a9e3928e 02:15:52 Removing intermediate container 02d7a9e3928e 02:15:52 ---> aed0a9cff897 02:15:52 [Warning] One or more build-args [ARCH] were not consumed 02:15:52 Successfully built aed0a9cff897 02:15:52 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 02:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:15:52 02:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:15:52 latest: Pulling from edgex-lftools-log-publisher 02:15:52 5eb5b503b376: Pulling fs layer 02:15:52 5c69ac0246d0: Pulling fs layer 02:15:52 ec43610c2a17: Pulling fs layer 02:15:52 3a2ae6a8a46f: Pulling fs layer 02:15:52 33b1e0a273af: Pulling fs layer 02:15:52 5d3b04190fa2: Pulling fs layer 02:15:52 33b1e0a273af: Waiting 02:15:52 2f39f015ded8: Pulling fs layer 02:15:52 5d3b04190fa2: Waiting 02:15:52 2f39f015ded8: Waiting 02:15:52 3a2ae6a8a46f: Waiting 02:15:52 5c69ac0246d0: Download complete 02:15:52 3a2ae6a8a46f: Download complete 02:15:52 33b1e0a273af: Verifying Checksum 02:15:52 33b1e0a273af: Download complete 02:15:52 5d3b04190fa2: Download complete 02:15:53 ec43610c2a17: Verifying Checksum 02:15:53 ec43610c2a17: Download complete 02:15:53 5eb5b503b376: Verifying Checksum 02:15:53 5eb5b503b376: Download complete 02:15:53 2f39f015ded8: Download complete 02:15:54 5eb5b503b376: Pull complete 02:15:54 5c69ac0246d0: Pull complete 02:15:54 ec43610c2a17: Pull complete 02:15:54 3a2ae6a8a46f: Pull complete 02:15:54 33b1e0a273af: Pull complete 02:15:55 5d3b04190fa2: Pull complete 02:15:59 2f39f015ded8: Pull complete 02:15:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:59 prd-ubuntu20.04-docker-8c-8g-8843 does not seem to be running inside a container 02:15:59 $ 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-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:16:04 $ docker top 17995f98f2358a0c65d7ce08db90310c3d011f8d11ce85b859ad75b107a495b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:05 ---> job-cost.sh 02:16:05 lf-activate-venv: SKIPPING 02:16:05 INFO: No Stack... 02:16:05 INFO: Retrieving Pricing Info for: v3-standard-8 02:16:05 INFO: Archiving Costs [Pipeline] sh 02:16:06 + cat /w/workspace/foundry_device-virtual-go_PR-382/archives/cost.csv 02:16:06 + cut -d, -f6 [Pipeline] lock 02:16:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] 02:16:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] did not exist. Created. 02:16:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:16:06 + echo total: 0.2199999988079071 [Pipeline] stash 02:16:06 Stashed 1 file(s) [Pipeline] } 02:16:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:16:06 $ docker stop --time=1 17995f98f2358a0c65d7ce08db90310c3d011f8d11ce85b859ad75b107a495b4 02:16:07 $ docker rm -f --volumes 17995f98f2358a0c65d7ce08db90310c3d011f8d11ce85b859ad75b107a495b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:17:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8844 in /w/workspace/foundry_device-virtual-go_PR-382 [Pipeline] { [Pipeline] ws 02:17:19 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 02:17:19 The recommended git tool is: git 02:17:24 using credential edgex-jenkins-ssh 02:17:24 Cloning the remote Git repository 02:17:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:17:24 > git init /w/workspace/device-virtual-go/2 # timeout=10 02:17:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:17:24 > git --version # timeout=10 02:17:24 > git --version # 'git version 2.25.1' 02:17:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:17:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:17:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:17:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:17:30 Merging remotes/origin/main commit 31d774b4f359865edc3dcd5479b181cce8101838 into PR head commit 75c0ad4cf515988f9e8c402416cd90229d6447bf 02:17:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:17:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:17:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:17:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:17:30 > git config core.sparsecheckout # timeout=10 02:17:31 Merge succeeded, producing d2d8fa923bce5a7fda152e7113e80dec092a144b 02:17:31 Checking out Revision d2d8fa923bce5a7fda152e7113e80dec092a144b (PR-382) 02:17:30 > git checkout -f 75c0ad4cf515988f9e8c402416cd90229d6447bf # timeout=10 02:17:31 > git remote # timeout=10 02:17:31 > git config --get remote.origin.url # timeout=10 02:17:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:17:31 > git merge 31d774b4f359865edc3dcd5479b181cce8101838 # timeout=10 02:17:31 > git rev-parse HEAD^{commit} # timeout=10 02:17:31 > git config core.sparsecheckout # timeout=10 02:17:31 > git checkout -f d2d8fa923bce5a7fda152e7113e80dec092a144b # timeout=10 02:17:34 Commit message: "Merge commit '31d774b4f359865edc3dcd5479b181cce8101838' into HEAD" 02:17:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:17:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:17:35 % Total % Received % Xferd Average Speed Time Time Time Current 02:17:35 Dload Upload Total Spent Left Speed 02:17:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 02:17:34 > git rev-list --no-walk 8d469254db39376f479be39397838c47013e6269 # timeout=10 [Pipeline] sh 02:17:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:17:36 + sudo tee /etc/docker/daemon.new 02:17:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:17:36 { 02:17:36 "registry-mirrors": [ 02:17:36 "https://nexus3.edgexfoundry.org:10001" 02:17:36 ], 02:17:36 "bip": "10.250.0.254/24", 02:17:36 "hosts": [ 02:17:36 "tcp://0.0.0.0:5555", 02:17:36 "unix:///var/run/docker.sock" 02:17:36 ], 02:17:36 "mtu": 1458, 02:17:36 "selinux-enabled": true, 02:17:36 "seccomp-profile": "/etc/docker/seccomp.json" 02:17:36 } [Pipeline] sh 02:17:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:17:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:17:55 provisioning config files... 02:17:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config16635955130270840926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:17:55 ---> docker-login.sh 02:17:55 nexus3.edgexfoundry.org:10001 02:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:56 Configure a credential helper to remove this warning. See 02:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:56 02:17:56 Login Succeeded 02:17:56 nexus3.edgexfoundry.org:10002 02:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:57 Configure a credential helper to remove this warning. See 02:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:57 02:17:57 Login Succeeded 02:17:57 nexus3.edgexfoundry.org:10003 02:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:57 Configure a credential helper to remove this warning. See 02:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:57 02:17:57 Login Succeeded 02:17:57 nexus3.edgexfoundry.org:10004 02:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:57 Configure a credential helper to remove this warning. See 02:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:57 02:17:57 Login Succeeded 02:17:57 docker.io 02:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:58 Configure a credential helper to remove this warning. See 02:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:58 02:17:58 Login Succeeded 02:17:58 ---> docker-login.sh ends [Pipeline] } 02:17:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:17:58 ========================================================= 02:17:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:17:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:17:59 Sending build context to Docker daemon 11.96MB 02:17:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:17:59 Step 2/12 : FROM ${BASE} AS builder 02:17:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:17:59 af6eaf76a39c: Pulling fs layer 02:17:59 55522c791124: Pulling fs layer 02:17:59 ce5c4a1c91eb: Pulling fs layer 02:17:59 169dfbe0d373: Pulling fs layer 02:17:59 e1ff8fa3b103: Pulling fs layer 02:17:59 52ebb69f0ebf: Pulling fs layer 02:17:59 5abe8eddf0d5: Pulling fs layer 02:17:59 52ebb69f0ebf: Waiting 02:17:59 5abe8eddf0d5: Waiting 02:17:59 169dfbe0d373: Waiting 02:17:59 55522c791124: Verifying Checksum 02:17:59 55522c791124: Download complete 02:17:59 169dfbe0d373: Verifying Checksum 02:17:59 169dfbe0d373: Download complete 02:17:59 e1ff8fa3b103: Verifying Checksum 02:17:59 e1ff8fa3b103: Download complete 02:17:59 af6eaf76a39c: Verifying Checksum 02:18:00 af6eaf76a39c: Pull complete 02:18:00 5abe8eddf0d5: Verifying Checksum 02:18:00 5abe8eddf0d5: Download complete 02:18:01 55522c791124: Pull complete 02:18:02 52ebb69f0ebf: Verifying Checksum 02:18:02 52ebb69f0ebf: Download complete 02:18:02 ce5c4a1c91eb: Verifying Checksum 02:18:02 ce5c4a1c91eb: Download complete 02:18:14 ce5c4a1c91eb: Pull complete 02:18:14 169dfbe0d373: Pull complete 02:18:14 e1ff8fa3b103: Pull complete 02:18:19 52ebb69f0ebf: Pull complete 02:18:21 5abe8eddf0d5: Pull complete 02:18:21 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:18:21 ---> 6cb57ee374ae 02:18:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:18:23 ---> Running in c99aca8adcbe 02:18:23 Removing intermediate container c99aca8adcbe 02:18:23 ---> 974486f9cf94 02:18:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:18:23 ---> Running in c4fda9232f6c 02:18:23 Removing intermediate container c4fda9232f6c 02:18:23 ---> 61aa889bdcbc 02:18:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:18:23 ---> Running in 4e690436e3f1 02:18:24 Removing intermediate container 4e690436e3f1 02:18:24 ---> ee7ed6b366f1 02:18:24 Step 6/12 : WORKDIR /device-virtual-go 02:18:24 ---> Running in 88985a0c16b0 02:18:24 Removing intermediate container 88985a0c16b0 02:18:24 ---> d4cdff52b200 02:18:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:18:24 ---> Running in 9c9e5edcf6d0 02:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:18:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:18:27 (2/4) Installing libedit (20221030.3.1-r0) 02:18:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:18:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:18:27 Executing busybox-1.35.0-r29.trigger 02:18:27 OK: 268 MiB in 57 packages 02:18:28 Removing intermediate container 9c9e5edcf6d0 02:18:28 ---> 58d5e9bf88e3 02:18:28 Step 8/12 : COPY go.mod vendor* ./ 02:18:29 ---> fe8609cc73f1 02:18:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:29 ---> Running in f75245e6712f 02:19:37 Removing intermediate container f75245e6712f 02:19:37 ---> eec3f9080dc1 02:19:37 Step 10/12 : COPY . . 02:19:37 ---> 093bec17091b 02:19:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:19:37 ---> Running in 15a58c9be5b5 02:19:37 Removing intermediate container 15a58c9be5b5 02:19:37 ---> 851a167f992f 02:19:37 Step 12/12 : RUN $MAKE 02:19:37 ---> Running in f71179bfa55a 02:19:37 noop 02:19:37 Removing intermediate container f71179bfa55a 02:19:37 ---> bdd56dd4601a 02:19:37 Successfully built bdd56dd4601a 02:19:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:37 + docker inspect -f . ci-base-image-arm64 02:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:37 prd-ubuntu20.04-docker-arm64-4c-16g-8844 does not seem to be running inside a container 02:19:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:19:38 $ docker top e400f75e0619349b26e18c0798fafb0b5a71eec869af68e2d4b5108ecd8a2f0a -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:39 + go version 02:19:39 go version go1.20.2 linux/arm64 [Pipeline] } 02:19:39 $ docker stop --time=1 e400f75e0619349b26e18c0798fafb0b5a71eec869af68e2d4b5108ecd8a2f0a 02:19:41 $ docker rm -f --volumes e400f75e0619349b26e18c0798fafb0b5a71eec869af68e2d4b5108ecd8a2f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:41 + docker inspect -f . ci-base-image-arm64 02:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:42 prd-ubuntu20.04-docker-arm64-4c-16g-8844 does not seem to be running inside a container 02:19:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:19:44 $ docker top aebc94f4d66b4d1826e500b0fc47469e51e86e8b5576723a4f863fec3882462d -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:45 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 02:19:45 + make test 02:19:45 go test ./... -coverprofile=coverage.out 02:20:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:22:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:22:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.079s coverage: 58.4% of statements 02:22:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:22:11 go vet ./... 02:22:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:22:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:22:37 ./bin/test-attribution-txt.sh [Pipeline] echo 02:22:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:22:37 $ docker stop --time=1 aebc94f4d66b4d1826e500b0fc47469e51e86e8b5576723a4f863fec3882462d 02:22:39 $ docker rm -f --volumes aebc94f4d66b4d1826e500b0fc47469e51e86e8b5576723a4f863fec3882462d [Pipeline] // withDockerContainer [Pipeline] sh 02:22:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:22:40 Warning: overwriting stash ‘coverage-report’ 02:22:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:22:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:22:42 + ls -al . 02:22:42 total 188 02:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:19 . 02:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:17 .. 02:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 02:17 .git 02:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:17 .github 02:22:42 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 02:17 .gitignore 02:22:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 02:17 .golangci.yml 02:22:42 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 02:17 Attribution.txt 02:22:42 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 02:17 CHANGELOG.md 02:22:42 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 02:17 Dockerfile 02:22:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 02:17 GOVERNANCE.md 02:22:42 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 02:17 Jenkinsfile 02:22:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 02:17 LICENSE 02:22:42 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 02:17 Makefile 02:22:42 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 02:17 OWNERS.md 02:22:42 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 02:17 README.md 02:22:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 02:13 VERSION 02:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 02:17 bin 02:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:17 cmd 02:22:42 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 02:22 coverage.out 02:22:42 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 02:17 go.mod 02:22:42 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 18 02:17 go.sum 02:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 02:17 internal 02:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 02:17 snap 02:22:42 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 02:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:42 + 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=d2d8fa923bce5a7fda152e7113e80dec092a144b --label arch=arm64 --label version=0.0.0 . 02:22:42 Sending build context to Docker daemon 12MB 02:22:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:22:42 Step 2/25 : FROM ${BASE} AS builder 02:22:42 ---> bdd56dd4601a 02:22:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:22:42 ---> Running in c9436a055fbf 02:22:43 Removing intermediate container c9436a055fbf 02:22:43 ---> 4e60fb0eb98f 02:22:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:22:43 ---> Running in 19d0038de244 02:22:43 Removing intermediate container 19d0038de244 02:22:43 ---> 2cf2246c453a 02:22:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:22:43 ---> Running in 3c2622633d99 02:22:44 Removing intermediate container 3c2622633d99 02:22:44 ---> 7a2b3218167c 02:22:44 Step 6/25 : WORKDIR /device-virtual-go 02:22:44 ---> Running in 81dadb3bdc66 02:22:44 Removing intermediate container 81dadb3bdc66 02:22:44 ---> 4083f7836fba 02:22:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:22:44 ---> Running in d36b09d61492 02:22:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:22:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:22:47 OK: 268 MiB in 57 packages 02:22:48 Removing intermediate container d36b09d61492 02:22:48 ---> 23fd27cc2161 02:22:48 Step 8/25 : COPY go.mod vendor* ./ 02:22:48 ---> b6b7224606f3 02:22:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:22:48 ---> Running in f3e924d032c0 02:22:51 Removing intermediate container f3e924d032c0 02:22:51 ---> 7a99d5b85789 02:22:51 Step 10/25 : COPY . . 02:22:52 ---> 41951f53bfa6 02:22:52 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:22:52 ---> Running in 8473eb34242a 02:22:52 Removing intermediate container 8473eb34242a 02:22:52 ---> a99c8d286267 02:22:52 Step 12/25 : RUN $MAKE 02:22:52 ---> Running in e6511ef53ea3 02:22:53 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 02:25:00 Removing intermediate container e6511ef53ea3 02:25:00 ---> a44cfff8c5fe 02:25:00 Step 13/25 : FROM alpine:3.17 02:25:02 3.17: Pulling from library/alpine 02:25:02 c41833b44d91: Pulling fs layer 02:25:02 c41833b44d91: Download complete 02:25:02 c41833b44d91: Pull complete 02:25:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:25:02 Status: Downloaded newer image for alpine:3.17 02:25:02 ---> 51e60588ff2c 02:25:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:25:03 ---> Running in d391147115dc 02:25:03 Removing intermediate container d391147115dc 02:25:03 ---> 1a2ca6b1bdfd 02:25:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:25:03 ---> Running in 3efffef8ad48 02:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:25:06 (1/1) Installing dumb-init (1.2.5-r2) 02:25:06 Executing busybox-1.35.0-r29.trigger 02:25:06 OK: 8 MiB in 16 packages 02:25:07 Removing intermediate container 3efffef8ad48 02:25:07 ---> 203e3450bd2b 02:25:07 Step 16/25 : WORKDIR / 02:25:07 ---> Running in c7be5d7e73d1 02:25:07 Removing intermediate container c7be5d7e73d1 02:25:07 ---> 18c2412aa899 02:25:07 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:25:08 ---> e2894fef2c8e 02:25:08 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:25:08 ---> 94981362b6a8 02:25:08 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:25:09 ---> 8a2b42a68a3b 02:25:09 Step 20/25 : EXPOSE 59900 02:25:09 ---> Running in 6a256b348546 02:25:10 Removing intermediate container 6a256b348546 02:25:10 ---> 55fa11f32c10 02:25:10 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:25:10 ---> Running in 32d03b89362e 02:25:10 Removing intermediate container 32d03b89362e 02:25:10 ---> e8023fa4bf45 02:25:10 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:25:10 ---> Running in a1d3dacc050a 02:25:10 Removing intermediate container a1d3dacc050a 02:25:10 ---> a1afd2e0a2fc 02:25:10 Step 23/25 : LABEL arch=arm64 02:25:10 ---> Running in 97b4c025dc21 02:25:11 Removing intermediate container 97b4c025dc21 02:25:11 ---> 325247d8013a 02:25:11 Step 24/25 : LABEL git_sha=d2d8fa923bce5a7fda152e7113e80dec092a144b 02:25:11 ---> Running in 7130e7b75217 02:25:11 Removing intermediate container 7130e7b75217 02:25:11 ---> e77600c6550f 02:25:11 Step 25/25 : LABEL version=0.0.0 02:25:11 ---> Running in ed2a16c6a6f7 02:25:11 Removing intermediate container ed2a16c6a6f7 02:25:11 ---> 712b1345c933 02:25:11 [Warning] One or more build-args [ARCH] were not consumed 02:25:11 Successfully built 712b1345c933 02:25:11 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 02:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:25:12 02:25:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:25:16 arm64: Pulling from edgex-lftools-log-publisher 02:25:16 8998bd30e6a1: Pulling fs layer 02:25:16 04944245beec: Pulling fs layer 02:25:16 699f458cf7ca: Pulling fs layer 02:25:16 765212b225bb: Pulling fs layer 02:25:16 f23df028b6ca: Pulling fs layer 02:25:16 d65c8cfc05b1: Pulling fs layer 02:25:16 2437ff75d9bd: Pulling fs layer 02:25:16 f23df028b6ca: Waiting 02:25:16 d65c8cfc05b1: Waiting 02:25:16 2437ff75d9bd: Waiting 02:25:16 765212b225bb: Waiting 02:25:16 04944245beec: Verifying Checksum 02:25:16 765212b225bb: Verifying Checksum 02:25:16 765212b225bb: Download complete 02:25:16 f23df028b6ca: Verifying Checksum 02:25:16 f23df028b6ca: Download complete 02:25:16 d65c8cfc05b1: Verifying Checksum 02:25:16 d65c8cfc05b1: Download complete 02:25:16 699f458cf7ca: Verifying Checksum 02:25:16 699f458cf7ca: Download complete 02:25:16 8998bd30e6a1: Download complete 02:25:18 2437ff75d9bd: Verifying Checksum 02:25:18 2437ff75d9bd: Download complete 02:25:20 8998bd30e6a1: Pull complete 02:25:20 04944245beec: Pull complete 02:25:22 699f458cf7ca: Pull complete 02:25:22 765212b225bb: Pull complete 02:25:23 f23df028b6ca: Pull complete 02:25:23 d65c8cfc05b1: Pull complete 02:25:38 2437ff75d9bd: Pull complete 02:25:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:25:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:25:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-8844 does not seem to be running inside a container 02:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:25:41 $ docker top e3eb7953000d5c28428a3fda3ff49af09aba77239f189c58618b6f06e8f8940d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:41 ---> job-cost.sh 02:25:41 lf-activate-venv: SKIPPING 02:25:41 INFO: No Stack... 02:25:42 INFO: Retrieving Pricing Info for: v3-standard-4 02:25:43 INFO: Archiving Costs [Pipeline] sh 02:25:43 + cut -d, -f6 02:25:43 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 02:25:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] 02:25:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] did not exist. Created. 02:25:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:25:44 /w/workspace/device-virtual-go/2@tmp/durable-a01ad295/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:25:45 + echo total: 0.10999999940395355 [Pipeline] stash 02:25:45 Warning: overwriting stash ‘stack-cost’ 02:25:45 Stashed 1 file(s) [Pipeline] } 02:25:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:25:45 $ docker stop --time=1 e3eb7953000d5c28428a3fda3ff49af09aba77239f189c58618b6f06e8f8940d 02:25:46 $ docker rm -f --volumes e3eb7953000d5c28428a3fda3ff49af09aba77239f189c58618b6f06e8f8940d [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 02:25:47 provisioning config files... 02:25:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config702822362422788709tmp [Pipeline] { [Pipeline] sh 02:25:47 + set +x 02:25:47 + curl -s https://codecov.io/bash 02:25:47 + bash -s -- 02:25:47 02:25:47 _____ _ 02:25:47 / ____| | | 02:25:47 | | ___ __| | ___ ___ _____ __ 02:25:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:25:47 | |___| (_) | (_| | __/ (_| (_) \ V / 02:25:47 \_____\___/ \__,_|\___|\___\___/ \_/ 02:25:47 Bash-1.0.6 02:25:47 02:25:47 02:25:47 ==> git version 2.25.1 found 02:25:47 ==> 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 02:25:47 Release-Date: 2020-01-08 02:25:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:25:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:25:47 ==> Jenkins CI detected. 02:25:47 current dir:  /w/workspace/foundry_device-virtual-go_PR-382 02:25:47 project root: . 02:25:47 --> token set from env 02:25:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:25:47 ==> Running gcov in . (disable via -X gcov) 02:25:47 ==> Python coveragepy not found 02:25:47 ==> Searching for coverage reports in: 02:25:47 + . 02:25:47 -> Found 1 reports 02:25:47 ==> Detecting git/mercurial file structure 02:25:47 ==> Reading reports 02:25:47 + ./coverage.out bytes=43063 02:25:47 ==> Appending adjustments 02:25:47 https://docs.codecov.io/docs/fixing-reports 02:25:47 + Found adjustments 02:25:47 ==> Gzipping contents 02:25:47 8.0K /tmp/codecov.3c3Wh6.gz 02:25:47 ==> Uploading reports 02:25:47 url: https://codecov.io 02:25:47 query: branch=PR-382&commit=8c7c85c7c9babdad37b02053d73ba86bdab33d38&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-382%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=382&job=&cmd_args= 02:25:47 -> Pinging Codecov 02:25:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-382&commit=8c7c85c7c9babdad37b02053d73ba86bdab33d38&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-382%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=382&job=&cmd_args= 02:25:48 -> Uploading to 02:25:48 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/5E52B4B073DB2E39498172D8E973AA87/8c7c85c7c9babdad37b02053d73ba86bdab33d38/7481be65-db3a-4355-b18f-703ebc2d0cbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T022547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3aedb95cd1c66b3a4418afa02c9285dc1560070767b1a8125156725e8479c47f 02:25:48 % Total % Received % Xferd Average Speed Time Time Time Current 02:25:48 Dload Upload Total Spent Left Speed 02:25:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21333 --:--:-- --:--:-- --:--:-- 21333 02:25:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8c7c85c7c9babdad37b02053d73ba86bdab33d38 [Pipeline] } 02:25:48 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 02:25:48 + [ -d /w/workspace/foundry_device-virtual-go_PR-382/archives ] 02:25:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-382/archives 02:25:48 total 16 02:25:48 drwxr-xr-x 3 root root 4096 Apr 18 02:16 . 02:25:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 02:16 .. 02:25:48 drwxr-xr-x 2 root root 4096 Apr 18 02:16 cost 02:25:48 -rw-r--r-- 1 root root 89 Apr 18 02:16 cost.csv 02:25:48 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-382/archives 02:25:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-382/archives 02:25:48 total 16 02:25:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:16 . 02:25:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 02:16 .. 02:25:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 02:16 cost 02:25:48 -rw-r--r-- 1 jenkins jenkins 89 Apr 18 02:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:25:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:25:50 ---> package-listing.sh 02:25:50 ++ facter osfamily 02:25:50 ++ tr '[:upper:]' '[:lower:]' 02:25:50 + OS_FAMILY=debian 02:25:50 + workspace=/w/workspace/foundry_device-virtual-go_PR-382 02:25:50 + START_PACKAGES=/tmp/packages_start.txt 02:25:50 + END_PACKAGES=/tmp/packages_end.txt 02:25:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:25:50 + PACKAGES=/tmp/packages_start.txt 02:25:50 + '[' /w/workspace/foundry_device-virtual-go_PR-382 ']' 02:25:50 + PACKAGES=/tmp/packages_end.txt 02:25:50 + case "${OS_FAMILY}" in 02:25:50 + dpkg -l 02:25:50 + grep '^ii' 02:25:50 + '[' -f /tmp/packages_start.txt ']' 02:25:50 + '[' -f /tmp/packages_end.txt ']' 02:25:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:25:50 + '[' /w/workspace/foundry_device-virtual-go_PR-382 ']' 02:25:50 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-382/archives/ 02:25:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-382/archives/ [Pipeline] echo 02:25:50 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:25:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:51 prd-ubuntu20.04-docker-8c-8g-8843 does not seem to be running inside a container 02:25:51 $ 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-382/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-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:25:51 $ docker top 38078074535d126aea64cd9b565e5eb341882057a5a8236a6362b2431eaa3bf0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:25:51 + mkdir -p /var/log/sysstat [Pipeline] sh 02:25:52 + ls /var/log/sa-host 02:25:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:25:52 provisioning config files... 02:25:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config17451501372488187919tmp [Pipeline] { [Pipeline] echo 02:25:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:25:52 ---> create-netrc.sh [Pipeline] } 02:25:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:25:52 ---> python-tools-install.sh [Pipeline] echo 02:25:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:25:53 ---> sudo-logs.sh 02:25:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:25:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:25:53 ---> job-cost.sh 02:25:53 lf-activate-venv: SKIPPING 02:25:53 DEBUG: total: 0.2199999988079071 02:25:53 INFO: Retrieving Stack Cost... 02:25:53 INFO: Retrieving Pricing Info for: v3-standard-8 02:25:54 INFO: Archiving Costs [Pipeline] echo 02:25:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:25:54 ---> logs-deploy.sh 02:25:54 lf-activate-venv: SKIPPING 02:25:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-382/2 02:25:54 INFO: archiving workspace using pattern(s): 02:25:55 Archives upload complete. 02:25:55 INFO: archiving logs to Nexus