Pull request #443 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 334381ea25f049735318d5730a9bc49dce161119+105c2ff86687b61d63b26fbbe95b93aee24690dc (5a22333cb701fe75d82055eeb9f21d2c44678d0b) 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-ssh9883976702816949557.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18283130322658615840.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10645126646364017877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12930829436167031000.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16821098447012253074.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10900999312816448156.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-10441’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10448 in /w/workspace/foundry_device-virtual-go_PR-443 [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-443 # 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/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 105c2ff86687b61d63b26fbbe95b93aee24690dc into PR head commit 334381ea25f049735318d5730a9bc49dce161119 Merge succeeded, producing 334381ea25f049735318d5730a9bc49dce161119 Checking out Revision 334381ea25f049735318d5730a9bc49dce161119 (PR-443) Commit message: "build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.56.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:27:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 334381ea25f049735318d5730a9bc49dce161119 # 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 105c2ff86687b61d63b26fbbe95b93aee24690dc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 334381ea25f049735318d5730a9bc49dce161119 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:27:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:27:42 ========================================================= 22:27:42 EdgeX Global Pipelines Version Info 22:27:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:27:43 ------------------- 22:27:43 stable info: 22:27:43 ------------------- 22:27:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:27:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:27:43 Message: update stable to v1.0.254 22:27:44 ------------------- 22:27:44 experimental info: 22:27:44 ------------------- 22:27:44 Commited By: **** collab-it+edgex@linuxfoundation.org 22:27:44 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:27:44 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:27:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-443 [Pipeline] echo 22:27:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-443 [Pipeline] echo 22:27:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-443 [Pipeline] echo 22:27:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 334381ea25f049735318d5730a9bc49dce161119 [Pipeline] echo 22:27:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 334381e [Pipeline] echo 22:27:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:46 provisioning config files... 22:27:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-443@tmp/config15793354225563364291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:46 ---> docker-login.sh 22:27:46 nexus3.edgexfoundry.org:10001 22:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:46 Configure a credential helper to remove this warning. See 22:27:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:46 22:27:46 Login Succeeded 22:27:46 nexus3.edgexfoundry.org:10002 22:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:46 Configure a credential helper to remove this warning. See 22:27:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:46 22:27:46 Login Succeeded 22:27:46 nexus3.edgexfoundry.org:10003 22:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:47 Configure a credential helper to remove this warning. See 22:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:47 22:27:47 Login Succeeded 22:27:47 nexus3.edgexfoundry.org:10004 22:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:47 Configure a credential helper to remove this warning. See 22:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:47 22:27:47 Login Succeeded 22:27:47 docker.io 22:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:47 Configure a credential helper to remove this warning. See 22:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:47 22:27:47 Login Succeeded 22:27:47 ---> docker-login.sh ends [Pipeline] } 22:27:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:27:48 + git rev-list -1 --merges 334381ea25f049735318d5730a9bc49dce161119~1..334381ea25f049735318d5730a9bc49dce161119 [Pipeline] echo 22:27:48 -----------> git rev-list -1 --merges 334381ea25f049735318d5730a9bc49dce161119~1..334381ea25f049735318d5730a9bc49dce161119 334381ea25f049735318d5730a9bc49dce161119 [false] [Pipeline] sh 22:27:48 + git log --format=format:%s -1 334381ea25f049735318d5730a9bc49dce161119 [Pipeline] echo 22:27:48 ========================================================= 22:27:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:27:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:49 + git log --format=format:%s -1 334381ea25f049735318d5730a9bc49dce161119 [Pipeline] echo 22:27:49 [semverPrep] GIT_COMMIT: 334381ea25f049735318d5730a9bc49dce161119, Commit Message: build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.56.3 [Pipeline] echo 22:27:49 [semverPrep] This is not a build commit. [Pipeline] sh 22:27:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:27:49 + grep -v github /etc/ssh/ssh_known_hosts 22:27:49 + [ -e /tmp/ssh_known_hosts ] 22:27:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:27:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:27:49 + sudo tee -a /etc/ssh/ssh_known_hosts 22:27:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:27:49 22:27:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:27:50 0.1.4: Pulling from edgex-devops/py-git-semver 22:27:50 b85a868b505f: Pulling fs layer 22:27:50 e2be974225ed: Pulling fs layer 22:27:50 339a4e72a1f5: Pulling fs layer 22:27:50 988bab9f4d93: Pulling fs layer 22:27:50 1469e6f7b9e6: Pulling fs layer 22:27:50 eaf3925da568: Pulling fs layer 22:27:50 bab4dde63d76: Pulling fs layer 22:27:50 bde34c3a00c8: Pulling fs layer 22:27:50 b352a97aabf1: Pulling fs layer 22:27:50 4872d77fe225: Pulling fs layer 22:27:50 5851b861e8e6: Pulling fs layer 22:27:50 bab4dde63d76: Waiting 22:27:50 988bab9f4d93: Waiting 22:27:50 bde34c3a00c8: Waiting 22:27:50 1469e6f7b9e6: Waiting 22:27:50 b352a97aabf1: Waiting 22:27:50 eaf3925da568: Waiting 22:27:50 4872d77fe225: Waiting 22:27:50 e2be974225ed: Verifying Checksum 22:27:50 e2be974225ed: Download complete 22:27:50 988bab9f4d93: Verifying Checksum 22:27:50 988bab9f4d93: Download complete 22:27:50 1469e6f7b9e6: Verifying Checksum 22:27:50 1469e6f7b9e6: Download complete 22:27:50 eaf3925da568: Verifying Checksum 22:27:50 eaf3925da568: Download complete 22:27:50 339a4e72a1f5: Verifying Checksum 22:27:50 339a4e72a1f5: Download complete 22:27:50 bde34c3a00c8: Verifying Checksum 22:27:50 bde34c3a00c8: Download complete 22:27:50 b352a97aabf1: Download complete 22:27:50 4872d77fe225: Download complete 22:27:50 5851b861e8e6: Verifying Checksum 22:27:50 5851b861e8e6: Download complete 22:27:50 b85a868b505f: Download complete 22:27:50 bab4dde63d76: Download complete 22:27:51 b85a868b505f: Pull complete 22:27:51 e2be974225ed: Pull complete 22:27:52 339a4e72a1f5: Pull complete 22:27:52 988bab9f4d93: Pull complete 22:27:52 1469e6f7b9e6: Pull complete 22:27:52 eaf3925da568: Pull complete 22:27:54 bab4dde63d76: Pull complete 22:27:54 bde34c3a00c8: Pull complete 22:27:54 b352a97aabf1: Pull complete 22:27:54 4872d77fe225: Pull complete 22:27:54 5851b861e8e6: Pull complete 22:27:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:27:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:27:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:54 prd-ubuntu20.04-docker-8c-8g-10448 does not seem to be running inside a container 22:27:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-443 -v /w/workspace/foundry_device-virtual-go_PR-443:/w/workspace/foundry_device-virtual-go_PR-443:rw,z -v /w/workspace/foundry_device-virtual-go_PR-443@tmp:/w/workspace/foundry_device-virtual-go_PR-443@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:27:57 $ docker top eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 -eo pid,comm 22:27:57 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). 22:27:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:27:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:27:57 [ssh-agent] Looking for ssh-agent implementation... 22:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:27:58 $ docker exec eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 ssh-agent 22:27:58 SSH_AUTH_SOCK=/tmp/ssh-kpFhUsq8HNxO/agent.31 22:27:58 SSH_AGENT_PID=37 22:27:58 Running ssh-add (command line suppressed) 22:27:58 Identity added: /w/workspace/foundry_device-virtual-go_PR-443@tmp/private_key_7184955049049794924.key (/w/workspace/foundry_device-virtual-go_PR-443@tmp/private_key_7184955049049794924.key) 22:27:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:27:58 + git tag --points-at HEAD [Pipeline] } 22:27:58 $ docker exec --env ******** --env ******** eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 ssh-agent -k 22:27:58 unset SSH_AUTH_SOCK; 22:27:58 unset SSH_AGENT_PID; 22:27:58 echo Agent pid 37 killed; 22:27:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:27:58 [ssh-agent] Looking for ssh-agent implementation... 22:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:27:58 $ docker exec eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 ssh-agent 22:27:59 SSH_AUTH_SOCK=/tmp/ssh-9aTYM9B3nifc/agent.69 22:27:59 SSH_AGENT_PID=75 22:27:59 Running ssh-add (command line suppressed) 22:27:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-443@tmp/private_key_6276411343841420285.key (/w/workspace/foundry_device-virtual-go_PR-443@tmp/private_key_6276411343841420285.key) 22:27:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:27:59 + git semver init 22:27:59 2023-10-25 22:27:59,696 [run_init] DEBUG init version:0.0.0 force:False 22:27:59 2023-10-25 22:27:59,697 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-443/.semver 22:27:59 2023-10-25 22:27:59,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-443/.semver 22:27:59 2023-10-25 22:27:59,697 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-443/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-443, universal_newlines=False, shell=None, istream=None) 22:28:01 2023-10-25 22:28:00,866 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-443/.git/info/exclude 22:28:01 2023-10-25 22:28:00,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-443/.semver/PR-443 with force:False 22:28:01 2023-10-25 22:28:00,867 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-443/.semver/PR-443 22:28:01 2023-10-25 22:28:00,871 [execute] INFO git cat-file --batch-check 22:28:01 2023-10-25 22:28:00,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-443/.semver, universal_newlines=False, shell=None, istream=) 22:28:01 2023-10-25 22:28:00,877 [execute] INFO git cat-file --batch 22:28:01 2023-10-25 22:28:00,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-443/.semver, universal_newlines=False, shell=None, istream=) 22:28:01 2023-10-25 22:28:00,883 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-443/.semver/PR-443 22:28:01 0.0.0 [Pipeline] } 22:28:01 $ docker exec --env ******** --env ******** eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 ssh-agent -k 22:28:01 unset SSH_AUTH_SOCK; 22:28:01 unset SSH_AGENT_PID; 22:28:01 echo Agent pid 75 killed; 22:28:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:01 + git semver [Pipeline] } 22:28:02 $ docker stop --time=1 eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 22:28:03 $ docker rm -f --volumes eabd467af83c7dbfa5a467584c3713af92bbb584bdfd5588256917847ff8dfa7 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:04 Stashed 1 file(s) [Pipeline] echo 22:28:04 [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 22:28:04 provisioning config files... 22:28:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-443@tmp/config17371875948453893231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:05 ---> docker-login.sh 22:28:05 nexus3.edgexfoundry.org:10001 22:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:05 Configure a credential helper to remove this warning. See 22:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:05 22:28:05 Login Succeeded 22:28:05 nexus3.edgexfoundry.org:10002 22:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:05 Configure a credential helper to remove this warning. See 22:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:05 22:28:05 Login Succeeded 22:28:05 nexus3.edgexfoundry.org:10003 22:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:05 Configure a credential helper to remove this warning. See 22:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:05 22:28:05 Login Succeeded 22:28:05 nexus3.edgexfoundry.org:10004 22:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:05 Configure a credential helper to remove this warning. See 22:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:05 22:28:05 Login Succeeded 22:28:05 docker.io 22:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:05 Configure a credential helper to remove this warning. See 22:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:05 22:28:05 Login Succeeded 22:28:05 ---> docker-login.sh ends [Pipeline] } 22:28:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:05 ========================================================= 22:28:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:28:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:28:06 Sending build context to Docker daemon 23.69MB 22:28:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:28:06 Step 2/12 : FROM ${BASE} AS builder 22:28:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:06 7264a8db6415: Pulling fs layer 22:28:06 c4d48a809fc2: Pulling fs layer 22:28:06 4f1c88b9dad5: Pulling fs layer 22:28:06 ad3a456e5733: Pulling fs layer 22:28:06 33e27b845d1e: Pulling fs layer 22:28:06 c68163c4e522: Pulling fs layer 22:28:06 50da416c3ac9: Pulling fs layer 22:28:06 23d2d4c4bb30: Pulling fs layer 22:28:06 ad3a456e5733: Waiting 22:28:06 33e27b845d1e: Waiting 22:28:06 50da416c3ac9: Waiting 22:28:06 c68163c4e522: Waiting 22:28:06 23d2d4c4bb30: Waiting 22:28:06 c4d48a809fc2: Download complete 22:28:06 ad3a456e5733: Verifying Checksum 22:28:06 ad3a456e5733: Download complete 22:28:06 33e27b845d1e: Verifying Checksum 22:28:06 33e27b845d1e: Download complete 22:28:06 7264a8db6415: Verifying Checksum 22:28:06 7264a8db6415: Download complete 22:28:06 c68163c4e522: Verifying Checksum 22:28:06 c68163c4e522: Download complete 22:28:06 7264a8db6415: Pull complete 22:28:06 23d2d4c4bb30: Verifying Checksum 22:28:06 23d2d4c4bb30: Download complete 22:28:06 c4d48a809fc2: Pull complete 22:28:07 4f1c88b9dad5: Verifying Checksum 22:28:07 4f1c88b9dad5: Download complete 22:28:07 50da416c3ac9: Verifying Checksum 22:28:07 50da416c3ac9: Download complete 22:28:09 4f1c88b9dad5: Pull complete 22:28:09 ad3a456e5733: Pull complete 22:28:09 33e27b845d1e: Pull complete 22:28:10 c68163c4e522: Pull complete 22:28:12 50da416c3ac9: Pull complete 22:28:12 23d2d4c4bb30: Pull complete 22:28:12 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 22:28:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:28:12 ---> 0786185ac409 22:28:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:28:16 ---> Running in 9a5b6057538a 22:28:17 Removing intermediate container 9a5b6057538a 22:28:17 ---> 6940df120fc8 22:28:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:28:17 ---> Running in 9b445166a0e4 22:28:17 Removing intermediate container 9b445166a0e4 22:28:17 ---> 163f035c83c3 22:28:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:28:17 ---> Running in 6b9432233a03 22:28:17 Removing intermediate container 6b9432233a03 22:28:17 ---> aed7a0a67ee3 22:28:17 Step 6/12 : WORKDIR /device-virtual-go 22:28:17 ---> Running in e843e99417ed 22:28:17 Removing intermediate container e843e99417ed 22:28:17 ---> ca97a926b919 22:28:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:17 ---> Running in 8f420510c666 22:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:28:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:28:17 (2/4) Installing libedit (20221030.3.1-r1) 22:28:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:28:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:28:17 Executing busybox-1.36.1-r2.trigger 22:28:17 OK: 268 MiB in 56 packages 22:28:18 Removing intermediate container 8f420510c666 22:28:18 ---> dac191a96209 22:28:18 Step 8/12 : COPY go.mod vendor* ./ 22:28:18 ---> f6ca8720f6bf 22:28:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:18 ---> Running in d82d3e9eeca5 22:28:19 Still waiting to schedule task 22:28:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:29:05 Removing intermediate container d82d3e9eeca5 22:29:05 ---> 04a027738ac3 22:29:05 Step 10/12 : COPY . . 22:29:05 ---> 33137618f3e0 22:29:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:05 ---> Running in 3668dd5ebb84 22:29:05 Removing intermediate container 3668dd5ebb84 22:29:05 ---> 804a576db8b1 22:29:05 Step 12/12 : RUN $MAKE 22:29:05 ---> Running in aac08aea1664 22:29:06 noop 22:29:06 Removing intermediate container aac08aea1664 22:29:06 ---> d98b30a3efd6 22:29:06 Successfully built d98b30a3efd6 22:29:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:06 + docker inspect -f . ci-base-image-x86_64 22:29:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:06 prd-ubuntu20.04-docker-8c-8g-10448 does not seem to be running inside a container 22:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-443 -v /w/workspace/foundry_device-virtual-go_PR-443:/w/workspace/foundry_device-virtual-go_PR-443:rw,z -v /w/workspace/foundry_device-virtual-go_PR-443@tmp:/w/workspace/foundry_device-virtual-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:29:07 $ docker top 3c118369fe2f087f09027b7184eda089cb0095340c57189995fc241e180cc5ad -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:07 + go version 22:29:07 go version go1.21.0 linux/amd64 [Pipeline] } 22:29:07 $ docker stop --time=1 3c118369fe2f087f09027b7184eda089cb0095340c57189995fc241e180cc5ad 22:29:09 $ docker rm -f --volumes 3c118369fe2f087f09027b7184eda089cb0095340c57189995fc241e180cc5ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:09 + docker inspect -f . ci-base-image-x86_64 22:29:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:09 prd-ubuntu20.04-docker-8c-8g-10448 does not seem to be running inside a container 22:29:09 $ 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-443 -v /w/workspace/foundry_device-virtual-go_PR-443:/w/workspace/foundry_device-virtual-go_PR-443:rw,z -v /w/workspace/foundry_device-virtual-go_PR-443@tmp:/w/workspace/foundry_device-virtual-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:29:10 $ docker top 52da0298d10fcf3364e27b6495278dd3b76cc4e4f5ae17a04f41c13f71e15258 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:10 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-443 [Pipeline] fileExists [Pipeline] sh 22:29:11 + make test 22:29:11 go test ./... -coverprofile=coverage.out 22:29:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:29:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:29:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements 22:29:27 go vet ./... 22:29:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:29:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:29:30 ./bin/test-attribution-txt.sh [Pipeline] echo 22:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:29:30 $ docker stop --time=1 52da0298d10fcf3364e27b6495278dd3b76cc4e4f5ae17a04f41c13f71e15258 22:29:33 $ docker rm -f --volumes 52da0298d10fcf3364e27b6495278dd3b76cc4e4f5ae17a04f41c13f71e15258 [Pipeline] // withDockerContainer [Pipeline] sh 22:29:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:29:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:29:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:29:34 + ls -al . 22:29:34 total 200 22:29:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:29 . 22:29:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:27 .. 22:29:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:29 .git 22:29:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 .github 22:29:34 -rw-rw-r-- 1 jenkins jenkins 272 Oct 25 22:27 .gitignore 22:29:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:27 .golangci.yml 22:29:34 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:28 .semver 22:29:34 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 25 22:27 Attribution.txt 22:29:34 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 25 22:27 CHANGELOG.md 22:29:34 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 25 22:27 Dockerfile 22:29:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:27 GOVERNANCE.md 22:29:34 -rw-rw-r-- 1 jenkins jenkins 660 Oct 25 22:27 Jenkinsfile 22:29:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:27 LICENSE 22:29:34 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 25 22:27 Makefile 22:29:34 -rw-rw-r-- 1 jenkins jenkins 623 Oct 25 22:27 OWNERS.md 22:29:34 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 25 22:27 README.md 22:29:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:28 VERSION 22:29:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:27 bin 22:29:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 cmd 22:29:34 -rw-r--r-- 1 jenkins jenkins 43063 Oct 25 22:29 coverage.out 22:29:34 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 25 22:27 go.mod 22:29:34 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 25 22:27 go.sum 22:29:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 internal 22:29:34 -rw-rw-r-- 1 jenkins jenkins 235 Oct 25 22:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:35 + 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=334381ea25f049735318d5730a9bc49dce161119 --label arch=amd64 --label version=0.0.0 . 22:29:35 Sending build context to Docker daemon 23.74MB 22:29:35 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:29:35 Step 2/25 : FROM ${BASE} AS builder 22:29:35 ---> d98b30a3efd6 22:29:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:29:35 ---> Running in 7a759ca90b3a 22:29:35 Removing intermediate container 7a759ca90b3a 22:29:35 ---> 43b392fd4dc0 22:29:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:29:35 ---> Running in d78be7e061a3 22:29:35 Removing intermediate container d78be7e061a3 22:29:35 ---> 7e19a58f7449 22:29:35 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:29:35 ---> Running in 7473fecec4eb 22:29:36 Removing intermediate container 7473fecec4eb 22:29:36 ---> 2c9a4842d004 22:29:36 Step 6/25 : WORKDIR /device-virtual-go 22:29:36 ---> Running in 7444f44dd07d 22:29:36 Removing intermediate container 7444f44dd07d 22:29:36 ---> 168a8e91ef41 22:29:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:36 ---> Running in 048d428016d6 22:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:29:36 OK: 268 MiB in 56 packages 22:29:37 Removing intermediate container 048d428016d6 22:29:37 ---> 793c782037b7 22:29:37 Step 8/25 : COPY go.mod vendor* ./ 22:29:37 ---> 48dc397a0525 22:29:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:37 ---> Running in 734404be6d49 22:29:38 Removing intermediate container 734404be6d49 22:29:38 ---> 65682dcda01a 22:29:38 Step 10/25 : COPY . . 22:29:38 ---> 37407e41df67 22:29:38 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:38 ---> Running in 16b95e93fd55 22:29:38 Removing intermediate container 16b95e93fd55 22:29:38 ---> fae54ee9c57b 22:29:38 Step 12/25 : RUN $MAKE 22:29:38 ---> Running in 6935e1d04cb4 22:29:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:29:57 Removing intermediate container 6935e1d04cb4 22:29:57 ---> ab1af8991589 22:29:57 Step 13/25 : FROM alpine:3.18 22:29:57 3.18: Pulling from library/alpine 22:29:57 96526aa774ef: Pulling fs layer 22:29:57 96526aa774ef: Verifying Checksum 22:29:57 96526aa774ef: Download complete 22:29:57 96526aa774ef: Pull complete 22:29:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:29:57 Status: Downloaded newer image for alpine:3.18 22:29:57 ---> 8ca4688f4f35 22:29:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:29:57 ---> Running in aafbd41bb40d 22:29:57 Removing intermediate container aafbd41bb40d 22:29:57 ---> 0d49858ff1f6 22:29:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:29:57 ---> Running in 75d782d4d61d 22:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:29:57 (1/1) Installing dumb-init (1.2.5-r2) 22:29:57 Executing busybox-1.36.1-r2.trigger 22:29:57 OK: 7 MiB in 16 packages 22:29:58 Removing intermediate container 75d782d4d61d 22:29:58 ---> fb711332c62b 22:29:58 Step 16/25 : WORKDIR / 22:29:58 ---> Running in 477b9ee2695a 22:29:58 Removing intermediate container 477b9ee2695a 22:29:58 ---> d94979506381 22:29:58 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:29:58 ---> 78ec14d0a390 22:29:58 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:29:58 ---> e75e0a870830 22:29:58 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:29:59 ---> 0550070f9bdf 22:29:59 Step 20/25 : EXPOSE 59900 22:29:59 ---> Running in 37adb416abfe 22:29:59 Removing intermediate container 37adb416abfe 22:29:59 ---> 9c7d9b88b041 22:29:59 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:29:59 ---> Running in 22fa235d6ad7 22:29:59 Removing intermediate container 22fa235d6ad7 22:29:59 ---> bf818f28ed6d 22:29:59 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:29:59 ---> Running in 1aa7d223e967 22:29:59 Removing intermediate container 1aa7d223e967 22:29:59 ---> c4a267af3ecc 22:29:59 Step 23/25 : LABEL arch=amd64 22:29:59 ---> Running in 08d8a7231461 22:29:59 Removing intermediate container 08d8a7231461 22:29:59 ---> 2764a1e21504 22:29:59 Step 24/25 : LABEL git_sha=334381ea25f049735318d5730a9bc49dce161119 22:29:59 ---> Running in 0ee52e6d4b93 22:29:59 Removing intermediate container 0ee52e6d4b93 22:29:59 ---> 015a56487a05 22:29:59 Step 25/25 : LABEL version=0.0.0 22:29:59 ---> Running in b12b1448e400 22:29:59 Removing intermediate container b12b1448e400 22:29:59 ---> 7219f153aa29 22:29:59 [Warning] One or more build-args [ARCH] were not consumed 22:29:59 Successfully built 7219f153aa29 22:29:59 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 22:30:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:00 22:30:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:00 latest: Pulling from edgex-lftools-log-publisher 22:30:00 5eb5b503b376: Pulling fs layer 22:30:00 5c69ac0246d0: Pulling fs layer 22:30:00 ec43610c2a17: Pulling fs layer 22:30:00 3a2ae6a8a46f: Pulling fs layer 22:30:00 33b1e0a273af: Pulling fs layer 22:30:00 5d3b04190fa2: Pulling fs layer 22:30:00 2f39f015ded8: Pulling fs layer 22:30:00 3a2ae6a8a46f: Waiting 22:30:00 33b1e0a273af: Waiting 22:30:00 5d3b04190fa2: Waiting 22:30:00 2f39f015ded8: Waiting 22:30:00 5c69ac0246d0: Download complete 22:30:00 3a2ae6a8a46f: Download complete 22:30:00 33b1e0a273af: Verifying Checksum 22:30:00 33b1e0a273af: Download complete 22:30:00 5d3b04190fa2: Download complete 22:30:00 ec43610c2a17: Verifying Checksum 22:30:00 ec43610c2a17: Download complete 22:30:01 5eb5b503b376: Verifying Checksum 22:30:01 5eb5b503b376: Download complete 22:30:01 2f39f015ded8: Verifying Checksum 22:30:01 2f39f015ded8: Download complete 22:30:02 5eb5b503b376: Pull complete 22:30:02 5c69ac0246d0: Pull complete 22:30:02 ec43610c2a17: Pull complete 22:30:02 3a2ae6a8a46f: Pull complete 22:30:02 33b1e0a273af: Pull complete 22:30:03 5d3b04190fa2: Pull complete 22:30:07 2f39f015ded8: Pull complete 22:30:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:07 prd-ubuntu20.04-docker-8c-8g-10448 does not seem to be running inside a container 22:30:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-443 -v /w/workspace/foundry_device-virtual-go_PR-443:/w/workspace/foundry_device-virtual-go_PR-443:rw,z -v /w/workspace/foundry_device-virtual-go_PR-443@tmp:/w/workspace/foundry_device-virtual-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:12 $ docker top 640b68a9185da6ee5829b2dd52d62dde3ce83dbd579b6cfb7ea409a6ed544df4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:12 ---> job-cost.sh 22:30:12 lf-activate-venv: SKIPPING 22:30:12 INFO: No Stack... 22:30:12 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:13 INFO: Archiving Costs [Pipeline] sh 22:30:13 + cat /w/workspace/foundry_device-virtual-go_PR-443/archives/cost.csv 22:30:13 + cut -d, -f6 [Pipeline] lock 22:30:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] 22:30:13 Resource [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] did not exist. Created. 22:30:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:14 + echo total: 0.2199999988079071 [Pipeline] stash 22:30:14 Stashed 1 file(s) [Pipeline] } 22:30:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:14 $ docker stop --time=1 640b68a9185da6ee5829b2dd52d62dde3ce83dbd579b6cfb7ea409a6ed544df4 22:30:15 $ docker rm -f --volumes 640b68a9185da6ee5829b2dd52d62dde3ce83dbd579b6cfb7ea409a6ed544df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:37:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10775 in /w/workspace/foundry_device-virtual-go_PR-443 [Pipeline] { [Pipeline] ws 22:37:42 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 22:37:42 The recommended git tool is: git 22:37:50 using credential edgex-jenkins-ssh 22:37:50 Cloning the remote Git repository 22:37:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:37:50 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:37:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:37:50 > git --version # timeout=10 22:37:50 > git --version # 'git version 2.25.1' 22:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:37:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:37:55 Merging remotes/origin/main commit 105c2ff86687b61d63b26fbbe95b93aee24690dc into PR head commit 334381ea25f049735318d5730a9bc49dce161119 22:37:55 Merge succeeded, producing 334381ea25f049735318d5730a9bc49dce161119 22:37:55 Checking out Revision 334381ea25f049735318d5730a9bc49dce161119 (PR-443) 22:37:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:37:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:37:55 > git config core.sparsecheckout # timeout=10 22:37:55 > git checkout -f 334381ea25f049735318d5730a9bc49dce161119 # timeout=10 22:37:55 > git remote # timeout=10 22:37:55 > git config --get remote.origin.url # timeout=10 22:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:55 > git merge 105c2ff86687b61d63b26fbbe95b93aee24690dc # timeout=10 22:37:55 > git rev-parse HEAD^{commit} # timeout=10 22:37:55 > git config core.sparsecheckout # timeout=10 22:37:55 > git checkout -f 334381ea25f049735318d5730a9bc49dce161119 # timeout=10 22:37:56 Commit message: "build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.56.3" 22:37:56 > git --version # timeout=10 22:37:56 > git --version # 'git version 2.25.1' 22:37:56 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:37:57 % Total % Received % Xferd Average Speed Time Time Time Current 22:37:57 Dload Upload Total Spent Left Speed 22:37:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 71234 0 --:--:-- --:--:-- --:--:-- 71634 [Pipeline] sh 22:37:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:37:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:37:58 + sudo tee /etc/docker/daemon.new 22:37:58 { 22:37:58 "registry-mirrors": [ 22:37:58 "https://nexus3.edgexfoundry.org:10001" 22:37:58 ], 22:37:58 "bip": "10.250.0.254/24", 22:37:58 "hosts": [ 22:37:58 "tcp://0.0.0.0:5555", 22:37:58 "unix:///var/run/docker.sock" 22:37:58 ], 22:37:58 "mtu": 1458, 22:37:58 "selinux-enabled": true, 22:37:58 "seccomp-profile": "/etc/docker/seccomp.json" 22:37:58 } [Pipeline] sh 22:37:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:37:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:18 provisioning config files... 22:38:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13013560382635066176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:18 ---> docker-login.sh 22:38:18 nexus3.edgexfoundry.org:10001 22:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:19 Configure a credential helper to remove this warning. See 22:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:19 22:38:19 Login Succeeded 22:38:19 nexus3.edgexfoundry.org:10002 22:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:19 Configure a credential helper to remove this warning. See 22:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:19 22:38:19 Login Succeeded 22:38:19 nexus3.edgexfoundry.org:10003 22:38:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:20 Configure a credential helper to remove this warning. See 22:38:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:20 22:38:20 Login Succeeded 22:38:20 nexus3.edgexfoundry.org:10004 22:38:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:20 Configure a credential helper to remove this warning. See 22:38:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:20 22:38:20 Login Succeeded 22:38:20 docker.io 22:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 ---> docker-login.sh ends [Pipeline] } 22:38:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:38:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:38:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:38:22 ========================================================= 22:38:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:38:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:38:23 Sending build context to Docker daemon 11.97MB 22:38:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:38:23 Step 2/12 : FROM ${BASE} AS builder 22:38:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:38:23 9fda8d8052c6: Pulling fs layer 22:38:23 5d54e960e981: Pulling fs layer 22:38:23 c4a7e357bf2a: Pulling fs layer 22:38:23 f0e02332f6b5: Pulling fs layer 22:38:23 cefa15bbcfad: Pulling fs layer 22:38:23 17808c966233: Pulling fs layer 22:38:23 f4c1fc716caa: Pulling fs layer 22:38:23 cefa15bbcfad: Waiting 22:38:23 f4c1fc716caa: Waiting 22:38:23 17808c966233: Waiting 22:38:23 5d54e960e981: Verifying Checksum 22:38:23 5d54e960e981: Download complete 22:38:23 f0e02332f6b5: Verifying Checksum 22:38:23 f0e02332f6b5: Download complete 22:38:23 cefa15bbcfad: Verifying Checksum 22:38:23 cefa15bbcfad: Download complete 22:38:23 9fda8d8052c6: Verifying Checksum 22:38:23 9fda8d8052c6: Download complete 22:38:24 f4c1fc716caa: Verifying Checksum 22:38:24 f4c1fc716caa: Download complete 22:38:25 9fda8d8052c6: Pull complete 22:38:25 5d54e960e981: Pull complete 22:38:26 c4a7e357bf2a: Verifying Checksum 22:38:26 c4a7e357bf2a: Download complete 22:38:27 17808c966233: Download complete 22:38:42 c4a7e357bf2a: Pull complete 22:38:42 f0e02332f6b5: Pull complete 22:38:42 cefa15bbcfad: Pull complete 22:38:48 17808c966233: Pull complete 22:38:50 f4c1fc716caa: Pull complete 22:38:50 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 22:38:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:38:50 ---> ea914061e18c 22:38:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:38:52 ---> Running in 42d721941bff 22:38:52 Removing intermediate container 42d721941bff 22:38:52 ---> bcb9bb8dfe0a 22:38:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:38:52 ---> Running in 6896d76de635 22:38:53 Removing intermediate container 6896d76de635 22:38:53 ---> bd635b26c9c0 22:38:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:38:53 ---> Running in 36435815d82a 22:38:53 Removing intermediate container 36435815d82a 22:38:53 ---> 6db6a0b5947c 22:38:53 Step 6/12 : WORKDIR /device-virtual-go 22:38:53 ---> Running in 74456cc18fad 22:38:54 Removing intermediate container 74456cc18fad 22:38:54 ---> 7044cb54492d 22:38:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:54 ---> Running in 50155f1445be 22:38:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:38:57 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:38:57 (2/4) Installing libedit (20221030.3.1-r1) 22:38:57 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:38:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:38:58 Executing busybox-1.36.1-r2.trigger 22:38:58 OK: 270 MiB in 56 packages 22:38:59 Removing intermediate container 50155f1445be 22:38:59 ---> c0436e1ec2ae 22:38:59 Step 8/12 : COPY go.mod vendor* ./ 22:39:03 ---> 0fcdd0c0929a 22:39:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:39:03 ---> Running in 4913bcc8b245 22:40:55 Removing intermediate container 4913bcc8b245 22:40:55 ---> 6dfa6ca804e4 22:40:55 Step 10/12 : COPY . . 22:40:55 ---> 4b9a39a8b75d 22:40:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:55 ---> Running in c55f92497329 22:40:55 Removing intermediate container c55f92497329 22:40:55 ---> 62a021bf3d23 22:40:55 Step 12/12 : RUN $MAKE 22:40:55 ---> Running in 93367bcf1881 22:40:55 noop 22:40:56 Removing intermediate container 93367bcf1881 22:40:56 ---> 06064beac69d 22:40:56 Successfully built 06064beac69d 22:40:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:57 + docker inspect -f . ci-base-image-arm64 22:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:57 prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container 22:40:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:40:59 $ docker top f234a7fca36e96c8aec475a6a3e3d20cd0c3f468eb06f16510a33dae277fe5a2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:00 + go version 22:41:00 go version go1.21.0 linux/arm64 [Pipeline] } 22:41:00 $ docker stop --time=1 f234a7fca36e96c8aec475a6a3e3d20cd0c3f468eb06f16510a33dae277fe5a2 22:41:02 $ docker rm -f --volumes f234a7fca36e96c8aec475a6a3e3d20cd0c3f468eb06f16510a33dae277fe5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:02 + docker inspect -f . ci-base-image-arm64 22:41:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:03 prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container 22:41:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:41:04 $ docker top 64c3a6ad4ebcb16e012eabecf85afaaf0a3beb3d18dbfc10564c9739751a92f1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:05 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 22:41:06 + make test 22:41:06 go test ./... -coverprofile=coverage.out 22:41:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:43:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:43:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.077s coverage: 58.4% of statements 22:43:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:43:34 go vet ./... 22:43:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:49 ./bin/test-attribution-txt.sh [Pipeline] echo 22:43:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:49 $ docker stop --time=1 64c3a6ad4ebcb16e012eabecf85afaaf0a3beb3d18dbfc10564c9739751a92f1 22:43:51 $ docker rm -f --volumes 64c3a6ad4ebcb16e012eabecf85afaaf0a3beb3d18dbfc10564c9739751a92f1 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:53 Warning: overwriting stash ‘coverage-report’ 22:43:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:54 + ls -al . 22:43:54 total 196 22:43:54 drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 22:41 . 22:43:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:37 .. 22:43:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:37 .git 22:43:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:37 .github 22:43:54 -rw-rw-r-- 1 jenkins jenkins 272 Oct 25 22:37 .gitignore 22:43:54 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:37 .golangci.yml 22:43:54 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 25 22:37 Attribution.txt 22:43:54 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 25 22:37 CHANGELOG.md 22:43:54 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 25 22:37 Dockerfile 22:43:54 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:37 GOVERNANCE.md 22:43:54 -rw-rw-r-- 1 jenkins jenkins 660 Oct 25 22:37 Jenkinsfile 22:43:54 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:37 LICENSE 22:43:54 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 25 22:37 Makefile 22:43:54 -rw-rw-r-- 1 jenkins jenkins 623 Oct 25 22:37 OWNERS.md 22:43:54 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 25 22:37 README.md 22:43:54 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:28 VERSION 22:43:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:37 bin 22:43:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:37 cmd 22:43:54 -rw-r--r-- 1 jenkins jenkins 43063 Oct 25 22:43 coverage.out 22:43:54 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 25 22:37 go.mod 22:43:54 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 25 22:37 go.sum 22:43:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:37 internal 22:43:54 -rw-rw-r-- 1 jenkins jenkins 235 Oct 25 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:55 + 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=334381ea25f049735318d5730a9bc49dce161119 --label arch=arm64 --label version=0.0.0 . 22:43:56 Sending build context to Docker daemon 12.02MB 22:43:56 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:43:56 Step 2/25 : FROM ${BASE} AS builder 22:43:56 ---> 06064beac69d 22:43:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:43:56 ---> Running in 3ce76173156b 22:43:56 Removing intermediate container 3ce76173156b 22:43:56 ---> 38192098e19b 22:43:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:43:56 ---> Running in a76ead232724 22:43:56 Removing intermediate container a76ead232724 22:43:56 ---> fc1ffa9b273a 22:43:56 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:43:57 ---> Running in d9787e0f0290 22:43:57 Removing intermediate container d9787e0f0290 22:43:57 ---> 0f554e5bd8a5 22:43:57 Step 6/25 : WORKDIR /device-virtual-go 22:43:57 ---> Running in db5c8a1ed062 22:43:58 Removing intermediate container db5c8a1ed062 22:43:58 ---> 5684eea03309 22:43:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:58 ---> Running in 46d69e373820 22:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:44:00 OK: 270 MiB in 56 packages 22:44:01 Removing intermediate container 46d69e373820 22:44:01 ---> c8faadd07566 22:44:01 Step 8/25 : COPY go.mod vendor* ./ 22:44:02 ---> 228b50cd47e3 22:44:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:02 ---> Running in 17debead0e34 22:44:06 Removing intermediate container 17debead0e34 22:44:06 ---> bbc7aef13b9b 22:44:06 Step 10/25 : COPY . . 22:44:06 ---> 091dea533360 22:44:06 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:06 ---> Running in f46d0af2b557 22:44:07 Removing intermediate container f46d0af2b557 22:44:07 ---> 1e99c803d06a 22:44:07 Step 12/25 : RUN $MAKE 22:44:07 ---> Running in 81db3192a7d5 22:44:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:46:30 Removing intermediate container 81db3192a7d5 22:46:30 ---> dca41106f4a4 22:46:30 Step 13/25 : FROM alpine:3.18 22:46:30 3.18: Pulling from library/alpine 22:46:30 579b34f0a95b: Pulling fs layer 22:46:30 579b34f0a95b: Verifying Checksum 22:46:30 579b34f0a95b: Download complete 22:46:30 579b34f0a95b: Pull complete 22:46:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:46:30 Status: Downloaded newer image for alpine:3.18 22:46:30 ---> 3cc203321400 22:46:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:46:30 ---> Running in 7afa94604fb5 22:46:30 Removing intermediate container 7afa94604fb5 22:46:30 ---> 7f86e2191cf6 22:46:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:46:30 ---> Running in 924c95819ab0 22:46:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:46:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:46:31 (1/1) Installing dumb-init (1.2.5-r2) 22:46:32 Executing busybox-1.36.1-r2.trigger 22:46:32 OK: 8 MiB in 16 packages 22:46:33 Removing intermediate container 924c95819ab0 22:46:33 ---> 1747cddc7b1e 22:46:33 Step 16/25 : WORKDIR / 22:46:33 ---> Running in b4ef304f781c 22:46:33 Removing intermediate container b4ef304f781c 22:46:33 ---> eb1591609e51 22:46:33 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:46:34 ---> 1198749bc30f 22:46:34 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:46:35 ---> aec042e5031a 22:46:35 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:46:37 ---> 6835252561e9 22:46:37 Step 20/25 : EXPOSE 59900 22:46:37 ---> Running in 1325bdb4037c 22:46:37 Removing intermediate container 1325bdb4037c 22:46:37 ---> c805f216313e 22:46:37 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:46:37 ---> Running in 672e2cdb7d8d 22:46:38 Removing intermediate container 672e2cdb7d8d 22:46:38 ---> 9e3d529006ff 22:46:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:46:38 ---> Running in 8cc788e8a63c 22:46:38 Removing intermediate container 8cc788e8a63c 22:46:38 ---> cf20096a343d 22:46:38 Step 23/25 : LABEL arch=arm64 22:46:38 ---> Running in 29485d4f04f3 22:46:39 Removing intermediate container 29485d4f04f3 22:46:39 ---> f86208d3ed1d 22:46:39 Step 24/25 : LABEL git_sha=334381ea25f049735318d5730a9bc49dce161119 22:46:39 ---> Running in 44c3557601a5 22:46:39 Removing intermediate container 44c3557601a5 22:46:39 ---> 869c0b866891 22:46:39 Step 25/25 : LABEL version=0.0.0 22:46:39 ---> Running in 4d7301f575b2 22:46:39 Removing intermediate container 4d7301f575b2 22:46:39 ---> 0a39bea446e6 22:46:39 [Warning] One or more build-args [ARCH] were not consumed 22:46:39 Successfully built 0a39bea446e6 22:46:39 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 22:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:40 22:46:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:41 arm64: Pulling from edgex-lftools-log-publisher 22:46:41 8998bd30e6a1: Pulling fs layer 22:46:41 04944245beec: Pulling fs layer 22:46:41 699f458cf7ca: Pulling fs layer 22:46:41 765212b225bb: Pulling fs layer 22:46:41 f23df028b6ca: Pulling fs layer 22:46:41 765212b225bb: Waiting 22:46:41 d65c8cfc05b1: Pulling fs layer 22:46:41 2437ff75d9bd: Pulling fs layer 22:46:41 f23df028b6ca: Waiting 22:46:41 d65c8cfc05b1: Waiting 22:46:41 2437ff75d9bd: Waiting 22:46:41 04944245beec: Verifying Checksum 22:46:41 04944245beec: Download complete 22:46:41 765212b225bb: Verifying Checksum 22:46:41 765212b225bb: Download complete 22:46:41 f23df028b6ca: Verifying Checksum 22:46:41 f23df028b6ca: Download complete 22:46:41 d65c8cfc05b1: Verifying Checksum 22:46:41 d65c8cfc05b1: Download complete 22:46:41 699f458cf7ca: Verifying Checksum 22:46:41 699f458cf7ca: Download complete 22:46:42 8998bd30e6a1: Verifying Checksum 22:46:42 8998bd30e6a1: Download complete 22:46:44 2437ff75d9bd: Verifying Checksum 22:46:44 2437ff75d9bd: Download complete 22:46:47 8998bd30e6a1: Pull complete 22:46:47 04944245beec: Pull complete 22:46:49 699f458cf7ca: Pull complete 22:46:50 765212b225bb: Pull complete 22:46:51 f23df028b6ca: Pull complete 22:46:51 d65c8cfc05b1: Pull complete 22:47:09 2437ff75d9bd: Pull complete 22:47:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:09 prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container 22:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:47:13 $ docker top a960a0747981ba9c5a71b8337cb1a241ffe6aa467ff4886b98a45cac0e4d1bbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:14 ---> job-cost.sh 22:47:14 lf-activate-venv: SKIPPING 22:47:14 INFO: No Stack... 22:47:14 INFO: Retrieving Pricing Info for: v3-standard-4 22:47:15 INFO: Archiving Costs [Pipeline] sh 22:47:16 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 22:47:16 + cut -d, -f6 [Pipeline] lock 22:47:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] 22:47:16 Resource [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] did not exist. Created. 22:47:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:47:17 /w/workspace/device-virtual-go/1@tmp/durable-eaba21a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:47:18 + echo total: 0.10999999940395355 [Pipeline] stash 22:47:18 Warning: overwriting stash ‘stack-cost’ 22:47:18 Stashed 1 file(s) [Pipeline] } 22:47:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:47:18 $ docker stop --time=1 a960a0747981ba9c5a71b8337cb1a241ffe6aa467ff4886b98a45cac0e4d1bbf 22:47:19 $ docker rm -f --volumes a960a0747981ba9c5a71b8337cb1a241ffe6aa467ff4886b98a45cac0e4d1bbf [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 22:47:20 provisioning config files... 22:47:20 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-443@tmp/config6033644016278677624tmp [Pipeline] { [Pipeline] sh 22:47:21 + set +x 22:47:21 + curl -s https://codecov.io/bash 22:47:21 + bash -s -- 22:47:21 22:47:21 _____ _ 22:47:21 / ____| | | 22:47:21 | | ___ __| | ___ ___ _____ __ 22:47:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:47:21 | |___| (_) | (_| | __/ (_| (_) \ V / 22:47:21 \_____\___/ \__,_|\___|\___\___/ \_/ 22:47:21 Bash-1.0.6 22:47:21 22:47:21 22:47:21 ==> git version 2.25.1 found 22:47:21 ==> 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 22:47:21 Release-Date: 2020-01-08 22:47:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:47:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:47:21 ==> Jenkins CI detected. 22:47:21 current dir:  /w/workspace/foundry_device-virtual-go_PR-443 22:47:21 project root: . 22:47:21 --> token set from env 22:47:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:47:21 ==> Running gcov in . (disable via -X gcov) 22:47:21 ==> Python coveragepy not found 22:47:21 ==> Searching for coverage reports in: 22:47:21 + . 22:47:21 -> Found 1 reports 22:47:21 ==> Detecting git/mercurial file structure 22:47:21 ==> Reading reports 22:47:21 + ./coverage.out bytes=43063 22:47:21 ==> Appending adjustments 22:47:21 https://docs.codecov.io/docs/fixing-reports 22:47:21 + Found adjustments 22:47:21 ==> Gzipping contents 22:47:21 8.0K /tmp/codecov.xySpyY.gz 22:47:21 ==> Uploading reports 22:47:21 url: https://codecov.io 22:47:21 query: branch=PR-443&commit=334381ea25f049735318d5730a9bc49dce161119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=443&job=&cmd_args= 22:47:21 -> Pinging Codecov 22:47:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-443&commit=334381ea25f049735318d5730a9bc49dce161119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=443&job=&cmd_args= 22:47:21 -> Uploading to 22:47:21 https://storage.googleapis.com/codecov/v4/raw/2023-10-25/5E52B4B073DB2E39498172D8E973AA87/334381ea25f049735318d5730a9bc49dce161119/c107565a-65d1-481d-ba0a-991532fb797f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T224721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aad5015e5e302836b0296962001414ff5e1727da9d412e5f062f6eb07e2055e2 22:47:21 % Total % Received % Xferd Average Speed Time Time Time Current 22:47:21 Dload Upload Total Spent Left Speed 22:47:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 17913 --:--:-- --:--:-- --:--:-- 17913 22:47:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/334381ea25f049735318d5730a9bc49dce161119 [Pipeline] } 22:47:22 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 22:47:24 + [ -d /w/workspace/foundry_device-virtual-go_PR-443/archives ] 22:47:24 + ls -al /w/workspace/foundry_device-virtual-go_PR-443/archives 22:47:24 total 16 22:47:24 drwxr-xr-x 3 root root 4096 Oct 25 22:30 . 22:47:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:30 .. 22:47:24 drwxr-xr-x 2 root root 4096 Oct 25 22:30 cost 22:47:24 -rw-r--r-- 1 root root 89 Oct 25 22:30 cost.csv 22:47:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-443/archives 22:47:24 + ls -al /w/workspace/foundry_device-virtual-go_PR-443/archives 22:47:24 total 16 22:47:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:30 . 22:47:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:30 .. 22:47:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:30 cost 22:47:24 -rw-r--r-- 1 jenkins jenkins 89 Oct 25 22:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:47:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:47:25 ---> package-listing.sh 22:47:25 ++ facter osfamily 22:47:25 ++ tr '[:upper:]' '[:lower:]' 22:47:25 + OS_FAMILY=debian 22:47:25 + workspace=/w/workspace/foundry_device-virtual-go_PR-443 22:47:25 + START_PACKAGES=/tmp/packages_start.txt 22:47:25 + END_PACKAGES=/tmp/packages_end.txt 22:47:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:25 + PACKAGES=/tmp/packages_start.txt 22:47:25 + '[' /w/workspace/foundry_device-virtual-go_PR-443 ']' 22:47:25 + PACKAGES=/tmp/packages_end.txt 22:47:25 + case "${OS_FAMILY}" in 22:47:25 + dpkg -l 22:47:25 + grep '^ii' 22:47:25 + '[' -f /tmp/packages_start.txt ']' 22:47:25 + '[' -f /tmp/packages_end.txt ']' 22:47:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:25 + '[' /w/workspace/foundry_device-virtual-go_PR-443 ']' 22:47:25 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-443/archives/ 22:47:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-443/archives/ [Pipeline] echo 22:47:25 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-443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:47:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:26 prd-ubuntu20.04-docker-8c-8g-10448 does not seem to be running inside a container 22:47:26 $ 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-443/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-443 -v /w/workspace/foundry_device-virtual-go_PR-443:/w/workspace/foundry_device-virtual-go_PR-443:rw,z -v /w/workspace/foundry_device-virtual-go_PR-443@tmp:/w/workspace/foundry_device-virtual-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:47:26 $ docker top 4df626f87f60c1c9568b2f52e6f585263e1619b55fc2cd875ea21f0e04850427 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:47:27 + mkdir -p /var/log/sysstat [Pipeline] sh 22:47:27 + ls /var/log/sa-host 22:47:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:28 provisioning config files... 22:47:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-443@tmp/config17458424888371006365tmp [Pipeline] { [Pipeline] echo 22:47:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:28 ---> create-netrc.sh [Pipeline] } 22:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:47:28 ---> python-tools-install.sh [Pipeline] echo 22:47:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:47:29 ---> sudo-logs.sh 22:47:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:47:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:47:29 ---> job-cost.sh 22:47:29 lf-activate-venv: SKIPPING 22:47:29 DEBUG: total: 0.2199999988079071 22:47:29 INFO: Retrieving Stack Cost... 22:47:29 INFO: Retrieving Pricing Info for: v3-standard-8 22:47:30 INFO: Archiving Costs [Pipeline] echo 22:47:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:30 ---> logs-deploy.sh 22:47:30 lf-activate-venv: SKIPPING 22:47:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-443/1 22:47:30 INFO: archiving workspace using pattern(s): 22:47:31 Archives upload complete. 22:47:31 INFO: archiving logs to Nexus