Pull request #391 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d3186da1ef05025202dc42871913f4f456b02b87+afca5dd35944e70aeaf084f770d24917f4059b9f (05fa5b8ba249c71470f9216e45d296db65924e23) 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-ssh7887062709026585574.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11639625755506256313.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh 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-391/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-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7700220258645765939.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-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18355036799578317126.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh1135984182553791191.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-391/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-391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9104699749172276645.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10999 in /w/workspace/foundry_device-virtual-go_PR-391 [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-391 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit afca5dd35944e70aeaf084f770d24917f4059b9f into PR head commit d3186da1ef05025202dc42871913f4f456b02b87 Merge succeeded, producing d3186da1ef05025202dc42871913f4f456b02b87 Checking out Revision d3186da1ef05025202dc42871913f4f456b02b87 (PR-391) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/391/head:refs/remotes/origin/PR-391 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3186da1ef05025202dc42871913f4f456b02b87 # 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 afca5dd35944e70aeaf084f770d24917f4059b9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3186da1ef05025202dc42871913f4f456b02b87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:00:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:00:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:00:13 ========================================================= 12:00:13 EdgeX Global Pipelines Version Info 12:00:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:00:14 ------------------- 12:00:14 stable info: 12:00:14 ------------------- 12:00:14 Commited By: Bill Mahoney bill.mahoney@intel.com 12:00:14 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:00:14 Message: update stable to v1.0.248 12:00:14 ------------------- 12:00:14 experimental info: 12:00:14 ------------------- 12:00:14 Commited By: **** collab-it+edgex@linuxfoundation.org 12:00:14 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:00:14 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:00:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:00:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-391 [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-391 [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-391 [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3186da1ef05025202dc42871913f4f456b02b87 [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3186da [Pipeline] echo 12:00:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:00:16 provisioning config files... 12:00:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-391@tmp/config18164843415472128487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:16 ---> docker-login.sh 12:00:16 nexus3.edgexfoundry.org:10001 12:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:17 Configure a credential helper to remove this warning. See 12:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:17 12:00:17 Login Succeeded 12:00:17 nexus3.edgexfoundry.org:10002 12:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:17 Configure a credential helper to remove this warning. See 12:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:17 12:00:17 Login Succeeded 12:00:17 nexus3.edgexfoundry.org:10003 12:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:17 Configure a credential helper to remove this warning. See 12:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:17 12:00:17 Login Succeeded 12:00:17 nexus3.edgexfoundry.org:10004 12:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:17 Configure a credential helper to remove this warning. See 12:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:17 12:00:17 Login Succeeded 12:00:17 docker.io 12:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:19 Configure a credential helper to remove this warning. See 12:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:19 12:00:19 Login Succeeded 12:00:19 ---> docker-login.sh ends [Pipeline] } 12:00:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:00:20 + git rev-list -1 --merges d3186da1ef05025202dc42871913f4f456b02b87~1..d3186da1ef05025202dc42871913f4f456b02b87 [Pipeline] echo 12:00:20 -----------> git rev-list -1 --merges d3186da1ef05025202dc42871913f4f456b02b87~1..d3186da1ef05025202dc42871913f4f456b02b87 d3186da1ef05025202dc42871913f4f456b02b87 [false] [Pipeline] sh 12:00:20 + git log --format=format:%s -1 d3186da1ef05025202dc42871913f4f456b02b87 [Pipeline] echo 12:00:20 ========================================================= 12:00:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:00:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:00:21 + git log --format=format:%s -1 d3186da1ef05025202dc42871913f4f456b02b87 [Pipeline] echo 12:00:21 [semverPrep] GIT_COMMIT: d3186da1ef05025202dc42871913f4f456b02b87, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 12:00:21 [semverPrep] This is not a build commit. [Pipeline] sh 12:00:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:00:21 + grep -v github /etc/ssh/ssh_known_hosts 12:00:21 + [ -e /tmp/ssh_known_hosts ] 12:00:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:00:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:00:21 + sudo tee -a /etc/ssh/ssh_known_hosts 12:00:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:00:22 12:00:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:00:22 0.1.4: Pulling from edgex-devops/py-git-semver 12:00:22 b85a868b505f: Pulling fs layer 12:00:22 e2be974225ed: Pulling fs layer 12:00:22 339a4e72a1f5: Pulling fs layer 12:00:22 988bab9f4d93: Pulling fs layer 12:00:22 1469e6f7b9e6: Pulling fs layer 12:00:22 eaf3925da568: Pulling fs layer 12:00:22 bab4dde63d76: Pulling fs layer 12:00:22 bde34c3a00c8: Pulling fs layer 12:00:22 b352a97aabf1: Pulling fs layer 12:00:22 4872d77fe225: Pulling fs layer 12:00:22 5851b861e8e6: Pulling fs layer 12:00:22 bab4dde63d76: Waiting 12:00:22 bde34c3a00c8: Waiting 12:00:22 b352a97aabf1: Waiting 12:00:22 4872d77fe225: Waiting 12:00:22 5851b861e8e6: Waiting 12:00:22 988bab9f4d93: Waiting 12:00:22 1469e6f7b9e6: Waiting 12:00:22 eaf3925da568: Waiting 12:00:22 e2be974225ed: Verifying Checksum 12:00:22 e2be974225ed: Download complete 12:00:22 988bab9f4d93: Verifying Checksum 12:00:22 988bab9f4d93: Download complete 12:00:22 1469e6f7b9e6: Verifying Checksum 12:00:22 1469e6f7b9e6: Download complete 12:00:22 eaf3925da568: Verifying Checksum 12:00:22 eaf3925da568: Download complete 12:00:22 339a4e72a1f5: Verifying Checksum 12:00:22 339a4e72a1f5: Download complete 12:00:22 bde34c3a00c8: Download complete 12:00:22 b352a97aabf1: Verifying Checksum 12:00:22 b352a97aabf1: Download complete 12:00:22 4872d77fe225: Verifying Checksum 12:00:22 4872d77fe225: Download complete 12:00:22 5851b861e8e6: Download complete 12:00:22 b85a868b505f: Verifying Checksum 12:00:22 b85a868b505f: Download complete 12:00:23 bab4dde63d76: Verifying Checksum 12:00:23 bab4dde63d76: Download complete 12:00:23 b85a868b505f: Pull complete 12:00:24 e2be974225ed: Pull complete 12:00:24 339a4e72a1f5: Pull complete 12:00:24 988bab9f4d93: Pull complete 12:00:25 1469e6f7b9e6: Pull complete 12:00:25 eaf3925da568: Pull complete 12:00:27 bab4dde63d76: Pull complete 12:00:27 bde34c3a00c8: Pull complete 12:00:27 b352a97aabf1: Pull complete 12:00:27 4872d77fe225: Pull complete 12:00:27 5851b861e8e6: Pull complete 12:00:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:00:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:27 prd-ubuntu20.04-docker-8c-8g-10999 does not seem to be running inside a container 12:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-391 -v /w/workspace/foundry_device-virtual-go_PR-391:/w/workspace/foundry_device-virtual-go_PR-391:rw,z -v /w/workspace/foundry_device-virtual-go_PR-391@tmp:/w/workspace/foundry_device-virtual-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:00:32 $ docker top 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 -eo pid,comm 12:00:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:00:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:00:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:00:32 [ssh-agent] Looking for ssh-agent implementation... 12:00:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:00:32 $ docker exec 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 ssh-agent 12:00:32 SSH_AUTH_SOCK=/tmp/ssh-YXu66l2KNuHv/agent.33 12:00:32 SSH_AGENT_PID=39 12:00:32 Running ssh-add (command line suppressed) 12:00:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-391@tmp/private_key_11462938982218858356.key (/w/workspace/foundry_device-virtual-go_PR-391@tmp/private_key_11462938982218858356.key) 12:00:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:00:33 + git tag --points-at HEAD [Pipeline] } 12:00:33 $ docker exec --env ******** --env ******** 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 ssh-agent -k 12:00:33 unset SSH_AUTH_SOCK; 12:00:33 unset SSH_AGENT_PID; 12:00:33 echo Agent pid 39 killed; 12:00:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:00:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:00:33 [ssh-agent] Looking for ssh-agent implementation... 12:00:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:00:33 $ docker exec 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 ssh-agent 12:00:33 SSH_AUTH_SOCK=/tmp/ssh-KSOateBkQEKK/agent.71 12:00:33 SSH_AGENT_PID=77 12:00:33 Running ssh-add (command line suppressed) 12:00:33 Identity added: /w/workspace/foundry_device-virtual-go_PR-391@tmp/private_key_16672161438203796457.key (/w/workspace/foundry_device-virtual-go_PR-391@tmp/private_key_16672161438203796457.key) 12:00:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:00:34 + git semver init 12:00:34 2023-04-26 12:00:34,303 [run_init] DEBUG init version:0.0.0 force:False 12:00:34 2023-04-26 12:00:34,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-391/.semver 12:00:34 2023-04-26 12:00:34,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-391/.semver 12:00:34 2023-04-26 12:00:34,305 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-391/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-391, universal_newlines=False, shell=None, istream=None) 12:00:36 2023-04-26 12:00:36,078 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-391/.git/info/exclude 12:00:36 2023-04-26 12:00:36,078 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-391/.semver/PR-391 with force:False 12:00:36 2023-04-26 12:00:36,078 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-391/.semver/PR-391 12:00:36 2023-04-26 12:00:36,082 [execute] INFO git cat-file --batch-check 12:00:36 2023-04-26 12:00:36,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) 12:00:36 2023-04-26 12:00:36,089 [execute] INFO git cat-file --batch 12:00:36 2023-04-26 12:00:36,089 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) 12:00:36 2023-04-26 12:00:36,095 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-391/.semver/PR-391 12:00:36 0.0.0 [Pipeline] } 12:00:36 $ docker exec --env ******** --env ******** 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 ssh-agent -k 12:00:36 unset SSH_AUTH_SOCK; 12:00:36 unset SSH_AGENT_PID; 12:00:36 echo Agent pid 77 killed; 12:00:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:00:36 + git semver [Pipeline] } 12:00:37 $ docker stop --time=1 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 12:00:38 $ docker rm -f --volumes 5a4d94c4bff496ce88ecdfeb977a81a7b216a375846355fe0f536dda420ab925 [Pipeline] // withDockerContainer [Pipeline] sh 12:00:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:00:39 Stashed 1 file(s) [Pipeline] echo 12:00:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:00:40 provisioning config files... 12:00:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-391@tmp/config7003177613986043215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:40 ---> docker-login.sh 12:00:40 nexus3.edgexfoundry.org:10001 12:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:40 Configure a credential helper to remove this warning. See 12:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:40 12:00:40 Login Succeeded 12:00:40 nexus3.edgexfoundry.org:10002 12:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:40 Configure a credential helper to remove this warning. See 12:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:40 12:00:40 Login Succeeded 12:00:40 nexus3.edgexfoundry.org:10003 12:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:40 Configure a credential helper to remove this warning. See 12:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:40 12:00:40 Login Succeeded 12:00:40 nexus3.edgexfoundry.org:10004 12:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:40 Configure a credential helper to remove this warning. See 12:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:40 12:00:40 Login Succeeded 12:00:40 docker.io 12:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:40 Configure a credential helper to remove this warning. See 12:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:40 12:00:40 Login Succeeded 12:00:40 ---> docker-login.sh ends [Pipeline] } 12:00:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:00:41 ========================================================= 12:00:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:00:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:00:41 Sending build context to Docker daemon 23.59MB 12:00:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:00:41 Step 2/12 : FROM ${BASE} AS builder 12:00:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:00:41 f56be85fc22e: Pulling fs layer 12:00:41 85791d961cd3: Pulling fs layer 12:00:41 d694b5ae8c79: Pulling fs layer 12:00:41 9f32a84ed3da: Pulling fs layer 12:00:41 4d19c01a9841: Pulling fs layer 12:00:41 9325e15d5711: Pulling fs layer 12:00:41 556b6ee489ea: Pulling fs layer 12:00:41 c5a4b2cf53e6: Pulling fs layer 12:00:41 9f32a84ed3da: Waiting 12:00:41 4d19c01a9841: Waiting 12:00:41 9325e15d5711: Waiting 12:00:41 556b6ee489ea: Waiting 12:00:41 85791d961cd3: Download complete 12:00:41 9f32a84ed3da: Verifying Checksum 12:00:41 9f32a84ed3da: Download complete 12:00:41 4d19c01a9841: Verifying Checksum 12:00:41 4d19c01a9841: Download complete 12:00:41 f56be85fc22e: Verifying Checksum 12:00:41 f56be85fc22e: Download complete 12:00:41 9325e15d5711: Verifying Checksum 12:00:41 9325e15d5711: Download complete 12:00:42 f56be85fc22e: Pull complete 12:00:42 85791d961cd3: Pull complete 12:00:42 c5a4b2cf53e6: Verifying Checksum 12:00:42 c5a4b2cf53e6: Download complete 12:00:42 d694b5ae8c79: Verifying Checksum 12:00:42 d694b5ae8c79: Download complete 12:00:42 556b6ee489ea: Verifying Checksum 12:00:42 556b6ee489ea: Download complete 12:00:46 d694b5ae8c79: Pull complete 12:00:46 9f32a84ed3da: Pull complete 12:00:46 4d19c01a9841: Pull complete 12:00:46 9325e15d5711: Pull complete 12:00:48 556b6ee489ea: Pull complete 12:00:49 c5a4b2cf53e6: Pull complete 12:00:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:00:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:00:49 ---> c4be618373d6 12:00:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:00:54 Still waiting to schedule task 12:00:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 12:00:59 ---> Running in 1e4aea2112a0 12:00:59 Removing intermediate container 1e4aea2112a0 12:00:59 ---> 80c1bf73ce47 12:00:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:00:59 ---> Running in 64b2c38f03b1 12:01:00 Removing intermediate container 64b2c38f03b1 12:01:00 ---> ccd1a78846ff 12:01:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:01:00 ---> Running in b35eef086708 12:01:00 Removing intermediate container b35eef086708 12:01:00 ---> 101b24344dbf 12:01:00 Step 6/12 : WORKDIR /device-virtual-go 12:01:00 ---> Running in e92537a4f0b2 12:01:00 Removing intermediate container e92537a4f0b2 12:01:00 ---> eb0ee986c1c3 12:01:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:00 ---> Running in 16c20f0d9cd7 12:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:01:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:01:01 (2/4) Installing libedit (20221030.3.1-r0) 12:01:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:01:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:01:01 Executing busybox-1.35.0-r29.trigger 12:01:01 OK: 269 MiB in 57 packages 12:01:01 Removing intermediate container 16c20f0d9cd7 12:01:01 ---> 492c636b811d 12:01:01 Step 8/12 : COPY go.mod vendor* ./ 12:01:01 ---> 90d802cc8f5c 12:01:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:01 ---> Running in 7a25bad8e3a1 12:01:33 Removing intermediate container 7a25bad8e3a1 12:01:33 ---> dbc7d135b92b 12:01:33 Step 10/12 : COPY . . 12:01:34 ---> fa299bc01aea 12:01:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:01:34 ---> Running in cf88254435a7 12:01:34 Removing intermediate container cf88254435a7 12:01:34 ---> 3470b09cea1a 12:01:34 Step 12/12 : RUN $MAKE 12:01:34 ---> Running in 40114abf242d 12:01:34 noop 12:01:35 Removing intermediate container 40114abf242d 12:01:35 ---> 34a0d020b748 12:01:35 Successfully built 34a0d020b748 12:01:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:35 + docker inspect -f . ci-base-image-x86_64 12:01:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:35 prd-ubuntu20.04-docker-8c-8g-10999 does not seem to be running inside a container 12:01:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-391 -v /w/workspace/foundry_device-virtual-go_PR-391:/w/workspace/foundry_device-virtual-go_PR-391:rw,z -v /w/workspace/foundry_device-virtual-go_PR-391@tmp:/w/workspace/foundry_device-virtual-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:01:36 $ docker top 8620d3ff558fed720056e0e76448b5bbedb002fc08c3b3dc31895524ff307146 -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:36 + go version 12:01:36 go version go1.20.2 linux/amd64 [Pipeline] } 12:01:36 $ docker stop --time=1 8620d3ff558fed720056e0e76448b5bbedb002fc08c3b3dc31895524ff307146 12:01:37 $ docker rm -f --volumes 8620d3ff558fed720056e0e76448b5bbedb002fc08c3b3dc31895524ff307146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:39 + docker inspect -f . ci-base-image-x86_64 12:01:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:39 prd-ubuntu20.04-docker-8c-8g-10999 does not seem to be running inside a container 12:01:39 $ 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-391 -v /w/workspace/foundry_device-virtual-go_PR-391:/w/workspace/foundry_device-virtual-go_PR-391:rw,z -v /w/workspace/foundry_device-virtual-go_PR-391@tmp:/w/workspace/foundry_device-virtual-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:01:39 $ docker top e62b37643b77f01810083d07543bc78f61d26bfb05c23bef0794725004673ddf -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:40 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-391 [Pipeline] fileExists [Pipeline] sh 12:01:40 + make test 12:01:40 go test ./... -coverprofile=coverage.out 12:01:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:01:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:01:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 12:02:02 go vet ./... 12:02:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:02:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:02:05 ./bin/test-attribution-txt.sh [Pipeline] echo 12:02:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:02:05 $ docker stop --time=1 e62b37643b77f01810083d07543bc78f61d26bfb05c23bef0794725004673ddf 12:02:09 $ docker rm -f --volumes e62b37643b77f01810083d07543bc78f61d26bfb05c23bef0794725004673ddf [Pipeline] // withDockerContainer [Pipeline] sh 12:02:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:02:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:02:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:02:11 + ls -al . 12:02:11 total 192 12:02:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 12:01 . 12:02:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:00 .. 12:02:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:00 .git 12:02:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:00 .github 12:02:11 -rw-rw-r-- 1 jenkins jenkins 337 Apr 26 12:00 .gitignore 12:02:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 12:00 .golangci.yml 12:02:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 12:00 .semver 12:02:11 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 26 12:00 Attribution.txt 12:02:11 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 26 12:00 CHANGELOG.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 26 12:00 Dockerfile 12:02:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 12:00 GOVERNANCE.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 12:00 Jenkinsfile 12:02:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 12:00 LICENSE 12:02:11 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 26 12:00 Makefile 12:02:11 -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 12:00 OWNERS.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 26 12:00 README.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 12:00 VERSION 12:02:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 12:00 bin 12:02:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:00 cmd 12:02:11 -rw-r--r-- 1 jenkins jenkins 43063 Apr 26 12:01 coverage.out 12:02:11 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 26 12:00 go.mod 12:02:11 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 26 12:00 go.sum 12:02:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:00 internal 12:02:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:00 snap 12:02:11 -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:11 + 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=d3186da1ef05025202dc42871913f4f456b02b87 --label arch=amd64 --label version=0.0.0 . 12:02:11 Sending build context to Docker daemon 23.63MB 12:02:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:02:11 Step 2/25 : FROM ${BASE} AS builder 12:02:11 ---> 34a0d020b748 12:02:11 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:02:12 ---> Running in 3700b721f4ef 12:02:12 Removing intermediate container 3700b721f4ef 12:02:12 ---> a2de457b6929 12:02:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:02:12 ---> Running in 415cf117cae3 12:02:12 Removing intermediate container 415cf117cae3 12:02:12 ---> 59300aec9c14 12:02:12 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:02:12 ---> Running in 85365da3dc9f 12:02:12 Removing intermediate container 85365da3dc9f 12:02:12 ---> 89e29223b3a7 12:02:12 Step 6/25 : WORKDIR /device-virtual-go 12:02:12 ---> Running in 8a8478003cda 12:02:12 Removing intermediate container 8a8478003cda 12:02:12 ---> 5394c7e98d53 12:02:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:02:12 ---> Running in 2dc5afc0c6ff 12:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:02:13 OK: 269 MiB in 57 packages 12:02:13 Removing intermediate container 2dc5afc0c6ff 12:02:13 ---> e35b6787de1f 12:02:13 Step 8/25 : COPY go.mod vendor* ./ 12:02:13 ---> 5ffba3516f1d 12:02:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:02:14 ---> Running in edd0bd35c437 12:02:14 Removing intermediate container edd0bd35c437 12:02:14 ---> 18832c7efc98 12:02:14 Step 10/25 : COPY . . 12:02:15 ---> 08d5a720831c 12:02:15 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:02:15 ---> Running in 4f43535b5124 12:02:15 Removing intermediate container 4f43535b5124 12:02:15 ---> 6c27772f4507 12:02:15 Step 12/25 : RUN $MAKE 12:02:15 ---> Running in 0cdb040f4196 12:02:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:02:38 Removing intermediate container 0cdb040f4196 12:02:38 ---> d6ea3ec7cdc7 12:02:38 Step 13/25 : FROM alpine:3.17 12:02:38 3.17: Pulling from library/alpine 12:02:38 f56be85fc22e: Already exists 12:02:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:02:38 Status: Downloaded newer image for alpine:3.17 12:02:38 ---> 9ed4aefc74f6 12:02:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:02:38 ---> Running in 2150c447b020 12:02:38 Removing intermediate container 2150c447b020 12:02:38 ---> cbf476930624 12:02:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:02:38 ---> Running in 5668a182be3a 12:02:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:02:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:02:38 (1/1) Installing dumb-init (1.2.5-r2) 12:02:38 Executing busybox-1.35.0-r29.trigger 12:02:38 OK: 7 MiB in 16 packages 12:02:38 Removing intermediate container 5668a182be3a 12:02:38 ---> 01152e85f801 12:02:38 Step 16/25 : WORKDIR / 12:02:38 ---> Running in bf1d7443dbbe 12:02:38 Removing intermediate container bf1d7443dbbe 12:02:38 ---> 5ff1b68cae8e 12:02:38 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:02:38 ---> 8fd35a376ec1 12:02:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:02:39 ---> 21caa1891976 12:02:39 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:02:40 ---> eaa56ac9e7f5 12:02:40 Step 20/25 : EXPOSE 59900 12:02:40 ---> Running in 8223f453cfd3 12:02:40 Removing intermediate container 8223f453cfd3 12:02:40 ---> 4b8789e3f8b4 12:02:40 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:02:40 ---> Running in d6042126bff1 12:02:40 Removing intermediate container d6042126bff1 12:02:40 ---> 28138fc329e2 12:02:40 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:02:40 ---> Running in b47f19ca7c6e 12:02:40 Removing intermediate container b47f19ca7c6e 12:02:40 ---> 9ac8665f0fdd 12:02:40 Step 23/25 : LABEL arch=amd64 12:02:40 ---> Running in f8ee5fd1f3ca 12:02:40 Removing intermediate container f8ee5fd1f3ca 12:02:40 ---> db1278e76690 12:02:40 Step 24/25 : LABEL git_sha=d3186da1ef05025202dc42871913f4f456b02b87 12:02:40 ---> Running in e7125a84b61d 12:02:40 Removing intermediate container e7125a84b61d 12:02:40 ---> f434a794cf86 12:02:40 Step 25/25 : LABEL version=0.0.0 12:02:40 ---> Running in d99c2fc3af91 12:02:40 Removing intermediate container d99c2fc3af91 12:02:40 ---> a680661d258d 12:02:40 [Warning] One or more build-args [ARCH] were not consumed 12:02:40 Successfully built a680661d258d 12:02:40 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 12:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:02:41 12:02:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:02:41 latest: Pulling from edgex-lftools-log-publisher 12:02:41 5eb5b503b376: Pulling fs layer 12:02:41 5c69ac0246d0: Pulling fs layer 12:02:41 ec43610c2a17: Pulling fs layer 12:02:41 3a2ae6a8a46f: Pulling fs layer 12:02:41 33b1e0a273af: Pulling fs layer 12:02:41 5d3b04190fa2: Pulling fs layer 12:02:41 2f39f015ded8: Pulling fs layer 12:02:41 3a2ae6a8a46f: Waiting 12:02:41 33b1e0a273af: Waiting 12:02:41 5d3b04190fa2: Waiting 12:02:41 2f39f015ded8: Waiting 12:02:41 5c69ac0246d0: Verifying Checksum 12:02:41 5c69ac0246d0: Download complete 12:02:41 3a2ae6a8a46f: Download complete 12:02:41 33b1e0a273af: Verifying Checksum 12:02:41 33b1e0a273af: Download complete 12:02:41 5d3b04190fa2: Verifying Checksum 12:02:41 5d3b04190fa2: Download complete 12:02:41 ec43610c2a17: Verifying Checksum 12:02:41 ec43610c2a17: Download complete 12:02:42 5eb5b503b376: Verifying Checksum 12:02:42 5eb5b503b376: Download complete 12:02:42 2f39f015ded8: Download complete 12:02:43 5eb5b503b376: Pull complete 12:02:43 5c69ac0246d0: Pull complete 12:02:43 ec43610c2a17: Pull complete 12:02:43 3a2ae6a8a46f: Pull complete 12:02:44 33b1e0a273af: Pull complete 12:02:44 5d3b04190fa2: Pull complete 12:02:48 2f39f015ded8: Pull complete 12:02:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:02:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:02:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:48 prd-ubuntu20.04-docker-8c-8g-10999 does not seem to be running inside a container 12:02:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-391 -v /w/workspace/foundry_device-virtual-go_PR-391:/w/workspace/foundry_device-virtual-go_PR-391:rw,z -v /w/workspace/foundry_device-virtual-go_PR-391@tmp:/w/workspace/foundry_device-virtual-go_PR-391@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 12:02:54 $ docker top 1469e88638e1369103491bb4e9f8f521c20fba04f18ec221ab86fafc1f3d6236 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:55 ---> job-cost.sh 12:02:55 lf-activate-venv: SKIPPING 12:02:55 INFO: No Stack... 12:02:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:02:55 INFO: Archiving Costs [Pipeline] sh 12:02:56 + cat /w/workspace/foundry_device-virtual-go_PR-391/archives/cost.csv 12:02:56 + cut -d, -f6 [Pipeline] lock 12:02:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] 12:02:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] did not exist. Created. 12:02:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:02:56 + echo total: 0.2199999988079071 [Pipeline] stash 12:02:56 Stashed 1 file(s) [Pipeline] } 12:02:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:02:56 $ docker stop --time=1 1469e88638e1369103491bb4e9f8f521c20fba04f18ec221ab86fafc1f3d6236 12:02:57 $ docker rm -f --volumes 1469e88638e1369103491bb4e9f8f521c20fba04f18ec221ab86fafc1f3d6236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:03:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11001 in /w/workspace/foundry_device-virtual-go_PR-391 [Pipeline] { [Pipeline] ws 12:03:59 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:03:59 The recommended git tool is: git 12:04:05 using credential edgex-jenkins-ssh 12:04:06 Cloning the remote Git repository 12:04:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:04:06 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:04:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:04:06 > git --version # timeout=10 12:04:06 > git --version # 'git version 2.25.1' 12:04:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:04:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:10 Merging remotes/origin/main commit afca5dd35944e70aeaf084f770d24917f4059b9f into PR head commit d3186da1ef05025202dc42871913f4f456b02b87 12:04:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:04:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:04:10 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:04:10 > git config core.sparsecheckout # timeout=10 12:04:10 > git checkout -f d3186da1ef05025202dc42871913f4f456b02b87 # timeout=10 12:04:10 > git remote # timeout=10 12:04:10 > git config --get remote.origin.url # timeout=10 12:04:11 Merge succeeded, producing d3186da1ef05025202dc42871913f4f456b02b87 12:04:11 Checking out Revision d3186da1ef05025202dc42871913f4f456b02b87 (PR-391) 12:04:11 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 12:04:11 > git --version # timeout=10 12:04:11 > git --version # 'git version 2.25.1' 12:04:11 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:10 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:11 > git merge afca5dd35944e70aeaf084f770d24917f4059b9f # timeout=10 12:04:11 > git rev-parse HEAD^{commit} # timeout=10 12:04:11 > git config core.sparsecheckout # timeout=10 12:04:11 > git checkout -f d3186da1ef05025202dc42871913f4f456b02b87 # timeout=10 12:04:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:04:12 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:12 Dload Upload Total Spent Left Speed 12:04:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 12:04:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:04:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:04:13 + sudo tee /etc/docker/daemon.new 12:04:13 { 12:04:13 "registry-mirrors": [ 12:04:13 "https://nexus3.edgexfoundry.org:10001" 12:04:13 ], 12:04:13 "bip": "10.250.0.254/24", 12:04:13 "hosts": [ 12:04:13 "tcp://0.0.0.0:5555", 12:04:13 "unix:///var/run/docker.sock" 12:04:13 ], 12:04:13 "mtu": 1458, 12:04:13 "selinux-enabled": true, 12:04:13 "seccomp-profile": "/etc/docker/seccomp.json" 12:04:13 } [Pipeline] sh 12:04:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:04:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:33 provisioning config files... 12:04:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17707971670545202274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:33 ---> docker-login.sh 12:04:33 nexus3.edgexfoundry.org:10001 12:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:34 Configure a credential helper to remove this warning. See 12:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:34 12:04:34 Login Succeeded 12:04:34 nexus3.edgexfoundry.org:10002 12:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:34 Configure a credential helper to remove this warning. See 12:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:34 12:04:34 Login Succeeded 12:04:34 nexus3.edgexfoundry.org:10003 12:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:35 Configure a credential helper to remove this warning. See 12:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:35 12:04:35 Login Succeeded 12:04:35 nexus3.edgexfoundry.org:10004 12:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:35 Configure a credential helper to remove this warning. See 12:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:35 12:04:35 Login Succeeded 12:04:35 docker.io 12:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:36 Configure a credential helper to remove this warning. See 12:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:36 12:04:36 Login Succeeded 12:04:36 ---> docker-login.sh ends [Pipeline] } 12:04:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:36 ========================================================= 12:04:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:04:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:04:37 Sending build context to Docker daemon 11.95MB 12:04:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:04:37 Step 2/12 : FROM ${BASE} AS builder 12:04:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:04:37 c41833b44d91: Pulling fs layer 12:04:37 ed15518f5707: Pulling fs layer 12:04:37 feae8fd75edb: Pulling fs layer 12:04:37 242c74f7c9fa: Pulling fs layer 12:04:37 3cdef696dda3: Pulling fs layer 12:04:37 2ced38df9373: Pulling fs layer 12:04:37 58f1dce35555: Pulling fs layer 12:04:37 242c74f7c9fa: Waiting 12:04:37 3cdef696dda3: Waiting 12:04:37 2ced38df9373: Waiting 12:04:37 ed15518f5707: Download complete 12:04:37 242c74f7c9fa: Verifying Checksum 12:04:37 242c74f7c9fa: Download complete 12:04:37 3cdef696dda3: Verifying Checksum 12:04:37 3cdef696dda3: Download complete 12:04:37 c41833b44d91: Verifying Checksum 12:04:37 c41833b44d91: Download complete 12:04:38 c41833b44d91: Pull complete 12:04:39 58f1dce35555: Verifying Checksum 12:04:39 58f1dce35555: Download complete 12:04:39 ed15518f5707: Pull complete 12:04:40 feae8fd75edb: Verifying Checksum 12:04:40 feae8fd75edb: Download complete 12:04:40 2ced38df9373: Verifying Checksum 12:04:40 2ced38df9373: Download complete 12:04:53 feae8fd75edb: Pull complete 12:04:53 242c74f7c9fa: Pull complete 12:04:53 3cdef696dda3: Pull complete 12:05:00 2ced38df9373: Pull complete 12:05:01 58f1dce35555: Pull complete 12:05:01 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 12:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:05:01 ---> fadd8f120f05 12:05:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:05:03 ---> Running in 96dfdec4e540 12:05:03 Removing intermediate container 96dfdec4e540 12:05:03 ---> baa2f7d22776 12:05:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:05:04 ---> Running in c1b2a63aceca 12:05:04 Removing intermediate container c1b2a63aceca 12:05:04 ---> a573e5af6a5f 12:05:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:05:04 ---> Running in 9e2f944aa644 12:05:04 Removing intermediate container 9e2f944aa644 12:05:04 ---> a17aae92d739 12:05:04 Step 6/12 : WORKDIR /device-virtual-go 12:05:05 ---> Running in b9acaa2c27c9 12:05:05 Removing intermediate container b9acaa2c27c9 12:05:05 ---> f11c087ff857 12:05:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:05 ---> Running in 0ed7fb814617 12:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:05:08 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:05:08 (2/4) Installing libedit (20221030.3.1-r0) 12:05:08 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:05:08 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:05:08 Executing busybox-1.35.0-r29.trigger 12:05:08 OK: 268 MiB in 57 packages 12:05:09 Removing intermediate container 0ed7fb814617 12:05:09 ---> 4660ce11c389 12:05:09 Step 8/12 : COPY go.mod vendor* ./ 12:05:10 ---> 88fe6976a8a1 12:05:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:10 ---> Running in cbe9cce9806b 12:06:18 Removing intermediate container cbe9cce9806b 12:06:18 ---> 728de52eef17 12:06:18 Step 10/12 : COPY . . 12:06:18 ---> e86c6713a4a5 12:06:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:18 ---> Running in 374e42cbf617 12:06:18 Removing intermediate container 374e42cbf617 12:06:18 ---> 9ff0e974a208 12:06:18 Step 12/12 : RUN $MAKE 12:06:18 ---> Running in 8669da8e6a54 12:06:18 noop 12:06:18 Removing intermediate container 8669da8e6a54 12:06:18 ---> d684e76c283b 12:06:18 Successfully built d684e76c283b 12:06:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:18 + docker inspect -f . ci-base-image-arm64 12:06:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:18 prd-ubuntu20.04-docker-arm64-4c-16g-11001 does not seem to be running inside a container 12:06:18 $ 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 12:06:20 $ docker top c5933e179428beb1c0b9f9b0e1e5fab2888e33b1c491dc475daa58ebe32a071a -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:21 + go version 12:06:21 go version go1.20.2 linux/arm64 [Pipeline] } 12:06:21 $ docker stop --time=1 c5933e179428beb1c0b9f9b0e1e5fab2888e33b1c491dc475daa58ebe32a071a 12:06:22 $ docker rm -f --volumes c5933e179428beb1c0b9f9b0e1e5fab2888e33b1c491dc475daa58ebe32a071a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:23 + docker inspect -f . ci-base-image-arm64 12:06:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:24 prd-ubuntu20.04-docker-arm64-4c-16g-11001 does not seem to be running inside a container 12:06:24 $ 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 12:06:25 $ docker top 13a8ddeda90f80b8677cf9d6d74422d680d7edaf2efb0bbc9177591f2a7ccc7f -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:26 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:06:27 + make test 12:06:27 go test ./... -coverprofile=coverage.out 12:07:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:09:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:09:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.089s coverage: 58.4% of statements 12:09:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:09:13 go vet ./... 12:09:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:09:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:09:40 ./bin/test-attribution-txt.sh [Pipeline] echo 12:09:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:09:40 $ docker stop --time=1 13a8ddeda90f80b8677cf9d6d74422d680d7edaf2efb0bbc9177591f2a7ccc7f 12:09:42 $ docker rm -f --volumes 13a8ddeda90f80b8677cf9d6d74422d680d7edaf2efb0bbc9177591f2a7ccc7f [Pipeline] // withDockerContainer [Pipeline] sh 12:09:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:09:43 Warning: overwriting stash ‘coverage-report’ 12:09:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:09:45 + ls -al . 12:09:45 total 188 12:09:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:06 . 12:09:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:04 .. 12:09:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 12:04 .git 12:09:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:04 .github 12:09:45 -rw-rw-r-- 1 jenkins jenkins 337 Apr 26 12:04 .gitignore 12:09:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 12:04 .golangci.yml 12:09:45 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 26 12:04 Attribution.txt 12:09:45 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 26 12:04 CHANGELOG.md 12:09:45 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 26 12:04 Dockerfile 12:09:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 12:04 GOVERNANCE.md 12:09:45 -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 12:04 Jenkinsfile 12:09:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 12:04 LICENSE 12:09:45 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 26 12:04 Makefile 12:09:45 -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 12:04 OWNERS.md 12:09:45 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 26 12:04 README.md 12:09:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 12:00 VERSION 12:09:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 12:04 bin 12:09:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:04 cmd 12:09:45 -rw-r--r-- 1 jenkins jenkins 43063 Apr 26 12:09 coverage.out 12:09:45 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 26 12:04 go.mod 12:09:45 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 26 12:04 go.sum 12:09:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 12:04 internal 12:09:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 12:04 snap 12:09:45 -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 12:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:45 + 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=d3186da1ef05025202dc42871913f4f456b02b87 --label arch=arm64 --label version=0.0.0 . 12:09:45 Sending build context to Docker daemon 11.99MB 12:09:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:09:46 Step 2/25 : FROM ${BASE} AS builder 12:09:46 ---> d684e76c283b 12:09:46 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:09:46 ---> Running in 06a69af812fb 12:09:46 Removing intermediate container 06a69af812fb 12:09:46 ---> 5fd57387c0c9 12:09:46 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:09:46 ---> Running in 3be0428883be 12:09:47 Removing intermediate container 3be0428883be 12:09:47 ---> 4f069b68ff01 12:09:47 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:09:47 ---> Running in 4e5fd3d5ce8f 12:09:47 Removing intermediate container 4e5fd3d5ce8f 12:09:47 ---> 1525c6831f88 12:09:47 Step 6/25 : WORKDIR /device-virtual-go 12:09:47 ---> Running in c42db81db7a1 12:09:47 Removing intermediate container c42db81db7a1 12:09:47 ---> 6692c76cebb0 12:09:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:09:47 ---> Running in c67bf0931108 12:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:09:52 OK: 268 MiB in 57 packages 12:09:52 Removing intermediate container c67bf0931108 12:09:52 ---> 1f9c233abb58 12:09:52 Step 8/25 : COPY go.mod vendor* ./ 12:09:53 ---> 9515cc5d32de 12:09:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:09:53 ---> Running in 797a0da566da 12:09:56 Removing intermediate container 797a0da566da 12:09:56 ---> b857e774f56f 12:09:56 Step 10/25 : COPY . . 12:09:57 ---> a8fb1c5f2fb4 12:09:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:09:57 ---> Running in 56fd3cd8ec62 12:09:57 Removing intermediate container 56fd3cd8ec62 12:09:57 ---> 3cb6a8984ee5 12:09:57 Step 12/25 : RUN $MAKE 12:09:57 ---> Running in 88433d6b7148 12:09:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:12:20 Removing intermediate container 88433d6b7148 12:12:20 ---> 223389a11f23 12:12:20 Step 13/25 : FROM alpine:3.17 12:12:20 3.17: Pulling from library/alpine 12:12:20 c41833b44d91: Already exists 12:12:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:12:20 Status: Downloaded newer image for alpine:3.17 12:12:20 ---> 51e60588ff2c 12:12:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:12:20 ---> Running in 8f9d021a0b7f 12:12:20 Removing intermediate container 8f9d021a0b7f 12:12:20 ---> 5709ce208b71 12:12:20 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:12:20 ---> Running in 3ce1e854007c 12:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:12:20 (1/1) Installing dumb-init (1.2.5-r2) 12:12:20 Executing busybox-1.35.0-r29.trigger 12:12:20 OK: 8 MiB in 16 packages 12:12:20 Removing intermediate container 3ce1e854007c 12:12:20 ---> 7f1131d77685 12:12:20 Step 16/25 : WORKDIR / 12:12:20 ---> Running in 3a4c47c8c5b2 12:12:20 Removing intermediate container 3a4c47c8c5b2 12:12:20 ---> 49f2343b3ec0 12:12:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:12:20 ---> c767ee637352 12:12:20 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:12:20 ---> 242340c786fc 12:12:20 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:12:20 ---> 453e8dd11e0a 12:12:20 Step 20/25 : EXPOSE 59900 12:12:20 ---> Running in 43fa8211dacb 12:12:20 Removing intermediate container 43fa8211dacb 12:12:20 ---> 52268653d62d 12:12:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:12:20 ---> Running in 744aed59f7d0 12:12:20 Removing intermediate container 744aed59f7d0 12:12:20 ---> 0cdde637a645 12:12:20 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:12:20 ---> Running in b41b1dcd2a08 12:12:20 Removing intermediate container b41b1dcd2a08 12:12:20 ---> f68b5e8038fd 12:12:20 Step 23/25 : LABEL arch=arm64 12:12:20 ---> Running in 77b5ee68f5d7 12:12:20 Removing intermediate container 77b5ee68f5d7 12:12:20 ---> f64d1ef2c739 12:12:20 Step 24/25 : LABEL git_sha=d3186da1ef05025202dc42871913f4f456b02b87 12:12:20 ---> Running in d5ddd931817a 12:12:20 Removing intermediate container d5ddd931817a 12:12:20 ---> 6b39282022c6 12:12:20 Step 25/25 : LABEL version=0.0.0 12:12:20 ---> Running in ae90d7c5ca16 12:12:20 Removing intermediate container ae90d7c5ca16 12:12:20 ---> 8893515dcae7 12:12:20 [Warning] One or more build-args [ARCH] were not consumed 12:12:20 Successfully built 8893515dcae7 12:12:20 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 12:12:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:21 12:12:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:21 arm64: Pulling from edgex-lftools-log-publisher 12:12:21 8998bd30e6a1: Pulling fs layer 12:12:21 04944245beec: Pulling fs layer 12:12:21 699f458cf7ca: Pulling fs layer 12:12:21 765212b225bb: Pulling fs layer 12:12:21 f23df028b6ca: Pulling fs layer 12:12:21 d65c8cfc05b1: Pulling fs layer 12:12:21 2437ff75d9bd: Pulling fs layer 12:12:21 f23df028b6ca: Waiting 12:12:21 2437ff75d9bd: Waiting 12:12:21 d65c8cfc05b1: Waiting 12:12:21 765212b225bb: Waiting 12:12:22 04944245beec: Download complete 12:12:22 765212b225bb: Verifying Checksum 12:12:22 765212b225bb: Download complete 12:12:22 f23df028b6ca: Verifying Checksum 12:12:22 f23df028b6ca: Download complete 12:12:22 d65c8cfc05b1: Verifying Checksum 12:12:22 d65c8cfc05b1: Download complete 12:12:22 699f458cf7ca: Verifying Checksum 12:12:22 699f458cf7ca: Download complete 12:12:22 8998bd30e6a1: Verifying Checksum 12:12:22 8998bd30e6a1: Download complete 12:12:24 2437ff75d9bd: Verifying Checksum 12:12:26 8998bd30e6a1: Pull complete 12:12:26 04944245beec: Pull complete 12:12:30 699f458cf7ca: Pull complete 12:12:31 765212b225bb: Pull complete 12:12:31 f23df028b6ca: Pull complete 12:12:31 d65c8cfc05b1: Pull complete 12:12:46 2437ff75d9bd: Pull complete 12:12:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:47 prd-ubuntu20.04-docker-arm64-4c-16g-11001 does not seem to be running inside a container 12:12:47 $ 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 12:12:49 $ docker top 266a0b24e52940ebde31c321d51fe19d49e8ad3a7e61efedd0aeeb6ba7dab5c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:50 ---> job-cost.sh 12:12:50 lf-activate-venv: SKIPPING 12:12:50 INFO: No Stack... 12:12:51 INFO: Retrieving Pricing Info for: v3-standard-4 12:12:51 INFO: Archiving Costs [Pipeline] sh 12:12:52 + cut+ -d, -f6 12:12:52 cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 12:12:52 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] 12:12:52 Resource [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] did not exist. Created. 12:12:52 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:53 /w/workspace/device-virtual-go/1@tmp/durable-5551e388/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:12:53 + echo total: 0.10999999940395355 [Pipeline] stash 12:12:53 Warning: overwriting stash ‘stack-cost’ 12:12:53 Stashed 1 file(s) [Pipeline] } 12:12:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:53 $ docker stop --time=1 266a0b24e52940ebde31c321d51fe19d49e8ad3a7e61efedd0aeeb6ba7dab5c5 12:12:55 $ docker rm -f --volumes 266a0b24e52940ebde31c321d51fe19d49e8ad3a7e61efedd0aeeb6ba7dab5c5 [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 12:12:58 provisioning config files... 12:12:58 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-391@tmp/config2324512910871606820tmp [Pipeline] { [Pipeline] sh 12:12:58 + set +x 12:12:58 + curl -s https://codecov.io/bash 12:12:58 + bash -s -- 12:12:58 12:12:58 _____ _ 12:12:58 / ____| | | 12:12:58 | | ___ __| | ___ ___ _____ __ 12:12:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:12:58 | |___| (_) | (_| | __/ (_| (_) \ V / 12:12:58 \_____\___/ \__,_|\___|\___\___/ \_/ 12:12:58 Bash-1.0.6 12:12:58 12:12:58 12:12:58 ==> git version 2.25.1 found 12:12:58 ==> 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 12:12:58 Release-Date: 2020-01-08 12:12:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:12:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:12:58 ==> Jenkins CI detected. 12:12:58 current dir:  /w/workspace/foundry_device-virtual-go_PR-391 12:12:58 project root: . 12:12:58 --> token set from env 12:12:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:12:58 ==> Running gcov in . (disable via -X gcov) 12:12:58 ==> Python coveragepy not found 12:12:58 ==> Searching for coverage reports in: 12:12:58 + . 12:12:58 -> Found 1 reports 12:12:58 ==> Detecting git/mercurial file structure 12:12:58 ==> Reading reports 12:12:58 + ./coverage.out bytes=43063 12:12:58 ==> Appending adjustments 12:12:58 https://docs.codecov.io/docs/fixing-reports 12:12:58 + Found adjustments 12:12:58 ==> Gzipping contents 12:12:58 8.0K /tmp/codecov.gD6I34.gz 12:12:58 ==> Uploading reports 12:12:58 url: https://codecov.io 12:12:58 query: branch=PR-391&commit=d3186da1ef05025202dc42871913f4f456b02b87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=391&job=&cmd_args= 12:12:58 -> Pinging Codecov 12:12:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-391&commit=d3186da1ef05025202dc42871913f4f456b02b87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=391&job=&cmd_args= 12:12:58 -> Uploading to 12:12:58 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/5E52B4B073DB2E39498172D8E973AA87/d3186da1ef05025202dc42871913f4f456b02b87/f2968d8c-5e58-48ab-8236-dcde93aad71c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T121258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d6e8ef7feae9712eb7c76177faec8fa0de2beab89359ed4d640fb62af9522a0 12:12:58 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:58 Dload Upload Total Spent Left Speed 12:12:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24685 --:--:-- --:--:-- --:--:-- 24685 12:12:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d3186da1ef05025202dc42871913f4f456b02b87 [Pipeline] } 12:12:59 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 12:13:00 + [ -d /w/workspace/foundry_device-virtual-go_PR-391/archives ] 12:13:00 + ls -al /w/workspace/foundry_device-virtual-go_PR-391/archives 12:13:00 total 16 12:13:00 drwxr-xr-x 3 root root 4096 Apr 26 12:02 . 12:13:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 12:02 .. 12:13:00 drwxr-xr-x 2 root root 4096 Apr 26 12:02 cost 12:13:00 -rw-r--r-- 1 root root 89 Apr 26 12:02 cost.csv 12:13:00 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-391/archives 12:13:00 + ls -al /w/workspace/foundry_device-virtual-go_PR-391/archives 12:13:00 total 16 12:13:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 12:02 . 12:13:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 12:02 .. 12:13:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 12:02 cost 12:13:00 -rw-r--r-- 1 jenkins jenkins 89 Apr 26 12:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:13:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:02 ---> package-listing.sh 12:13:02 ++ facter osfamily 12:13:02 ++ tr '[:upper:]' '[:lower:]' 12:13:02 + OS_FAMILY=debian 12:13:02 + workspace=/w/workspace/foundry_device-virtual-go_PR-391 12:13:02 + START_PACKAGES=/tmp/packages_start.txt 12:13:02 + END_PACKAGES=/tmp/packages_end.txt 12:13:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:02 + PACKAGES=/tmp/packages_start.txt 12:13:02 + '[' /w/workspace/foundry_device-virtual-go_PR-391 ']' 12:13:02 + PACKAGES=/tmp/packages_end.txt 12:13:02 + case "${OS_FAMILY}" in 12:13:02 + dpkg -l 12:13:02 + grep '^ii' 12:13:02 + '[' -f /tmp/packages_start.txt ']' 12:13:02 + '[' -f /tmp/packages_end.txt ']' 12:13:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:02 + '[' /w/workspace/foundry_device-virtual-go_PR-391 ']' 12:13:02 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-391/archives/ 12:13:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-391/archives/ [Pipeline] echo 12:13:02 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-391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:03 prd-ubuntu20.04-docker-8c-8g-10999 does not seem to be running inside a container 12:13:03 $ 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-391/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-391 -v /w/workspace/foundry_device-virtual-go_PR-391:/w/workspace/foundry_device-virtual-go_PR-391:rw,z -v /w/workspace/foundry_device-virtual-go_PR-391@tmp:/w/workspace/foundry_device-virtual-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:03 $ docker top af2b447c2b22c148f898fd02f50d56d4ab96bdf36e2fbf3fe77e8c9b919747c8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:04 + touch /tmp/pre-build-complete [Pipeline] sh 12:13:04 + mkdir -p /var/log/sysstat [Pipeline] sh 12:13:04 + ls /var/log/sa-host 12:13:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:04 provisioning config files... 12:13:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-391@tmp/config8925648423302833252tmp [Pipeline] { [Pipeline] echo 12:13:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:13:05 ---> create-netrc.sh [Pipeline] } 12:13:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:13:05 ---> python-tools-install.sh [Pipeline] echo 12:13:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:13:06 ---> sudo-logs.sh 12:13:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:13:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:13:06 ---> job-cost.sh 12:13:06 lf-activate-venv: SKIPPING 12:13:06 DEBUG: total: 0.2199999988079071 12:13:06 INFO: Retrieving Stack Cost... 12:13:07 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:07 INFO: Archiving Costs [Pipeline] echo 12:13:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:07 ---> logs-deploy.sh 12:13:07 lf-activate-venv: SKIPPING 12:13:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-391/1 12:13:07 INFO: archiving workspace using pattern(s): 12:13:08 Archives upload complete. 12:13:08 INFO: archiving logs to Nexus