Pull request #385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43655cc11b2f988e2e9608f2b99a625666c5f8bc+156beb4bb4cc3957e05b7219f54451536aed9ec4 (e69cfaa1cccf69c8da3a5e2976ae78cc97cd683d) 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-ssh14691534867786779801.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-ssh5754088473610953870.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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12939621273278454839.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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14420965000985845650.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-ssh3857314421379831756.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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1014155866204000696.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 ‘prd-ubuntu20.04-docker-8c-8g-8991’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8992 in /w/workspace/foundry_device-virtual-go_PR-385 [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-385 # 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 156beb4bb4cc3957e05b7219f54451536aed9ec4 into PR head commit 43655cc11b2f988e2e9608f2b99a625666c5f8bc Merge succeeded, producing 43655cc11b2f988e2e9608f2b99a625666c5f8bc Checking out Revision 43655cc11b2f988e2e9608f2b99a625666c5f8bc (PR-385) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 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/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43655cc11b2f988e2e9608f2b99a625666c5f8bc # 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 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43655cc11b2f988e2e9608f2b99a625666c5f8bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:10:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:10:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:10:36 ========================================================= 21:10:36 EdgeX Global Pipelines Version Info 21:10:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:10:37 ------------------- 21:10:37 stable info: 21:10:37 ------------------- 21:10:37 Commited By: Bill Mahoney bill.mahoney@intel.com 21:10:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:10:37 Message: update stable to v1.0.248 21:10:38 ------------------- 21:10:38 experimental info: 21:10:38 ------------------- 21:10:38 Commited By: **** collab-it+edgex@linuxfoundation.org 21:10:38 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:10:38 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43655cc11b2f988e2e9608f2b99a625666c5f8bc [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43655cc [Pipeline] echo 21:10:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:39 provisioning config files... 21:10:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-385@tmp/config16243971431759488793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:40 ---> docker-login.sh 21:10:40 nexus3.edgexfoundry.org:10001 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 nexus3.edgexfoundry.org:10002 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 nexus3.edgexfoundry.org:10003 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 nexus3.edgexfoundry.org:10004 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 docker.io 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:41 Configure a credential helper to remove this warning. See 21:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:41 21:10:41 Login Succeeded 21:10:41 ---> docker-login.sh ends [Pipeline] } 21:10:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:10:41 + git rev-list -1 --merges 43655cc11b2f988e2e9608f2b99a625666c5f8bc~1..43655cc11b2f988e2e9608f2b99a625666c5f8bc [Pipeline] echo 21:10:41 -----------> git rev-list -1 --merges 43655cc11b2f988e2e9608f2b99a625666c5f8bc~1..43655cc11b2f988e2e9608f2b99a625666c5f8bc 43655cc11b2f988e2e9608f2b99a625666c5f8bc [false] [Pipeline] sh 21:10:42 + git log --format=format:%s -1 43655cc11b2f988e2e9608f2b99a625666c5f8bc [Pipeline] echo 21:10:42 ========================================================= 21:10:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:10:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:42 + git log --format=format:%s -1 43655cc11b2f988e2e9608f2b99a625666c5f8bc [Pipeline] echo 21:10:42 [semverPrep] GIT_COMMIT: 43655cc11b2f988e2e9608f2b99a625666c5f8bc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:10:42 [semverPrep] This is not a build commit. [Pipeline] sh 21:10:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:43 + grep -v github /etc/ssh/ssh_known_hosts 21:10:43 + [ -e /tmp/ssh_known_hosts ] 21:10:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:10:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:10:43 + sudo tee -a /etc/ssh/ssh_known_hosts 21:10:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:43 21:10:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:43 0.1.4: Pulling from edgex-devops/py-git-semver 21:10:43 b85a868b505f: Pulling fs layer 21:10:43 e2be974225ed: Pulling fs layer 21:10:43 339a4e72a1f5: Pulling fs layer 21:10:43 988bab9f4d93: Pulling fs layer 21:10:43 1469e6f7b9e6: Pulling fs layer 21:10:43 eaf3925da568: Pulling fs layer 21:10:43 bab4dde63d76: Pulling fs layer 21:10:43 bde34c3a00c8: Pulling fs layer 21:10:43 b352a97aabf1: Pulling fs layer 21:10:43 4872d77fe225: Pulling fs layer 21:10:43 5851b861e8e6: Pulling fs layer 21:10:43 bab4dde63d76: Waiting 21:10:43 bde34c3a00c8: Waiting 21:10:43 b352a97aabf1: Waiting 21:10:43 4872d77fe225: Waiting 21:10:43 988bab9f4d93: Waiting 21:10:43 1469e6f7b9e6: Waiting 21:10:43 5851b861e8e6: Waiting 21:10:43 eaf3925da568: Waiting 21:10:43 e2be974225ed: Verifying Checksum 21:10:43 e2be974225ed: Download complete 21:10:43 988bab9f4d93: Download complete 21:10:44 1469e6f7b9e6: Download complete 21:10:44 339a4e72a1f5: Verifying Checksum 21:10:44 339a4e72a1f5: Download complete 21:10:44 eaf3925da568: Download complete 21:10:44 bde34c3a00c8: Verifying Checksum 21:10:44 b352a97aabf1: Download complete 21:10:44 4872d77fe225: Verifying Checksum 21:10:44 4872d77fe225: Download complete 21:10:44 5851b861e8e6: Download complete 21:10:44 b85a868b505f: Download complete 21:10:44 bab4dde63d76: Verifying Checksum 21:10:45 b85a868b505f: Pull complete 21:10:45 e2be974225ed: Pull complete 21:10:45 339a4e72a1f5: Pull complete 21:10:45 988bab9f4d93: Pull complete 21:10:46 1469e6f7b9e6: Pull complete 21:10:46 eaf3925da568: Pull complete 21:10:48 bab4dde63d76: Pull complete 21:10:48 bde34c3a00c8: Pull complete 21:10:48 b352a97aabf1: Pull complete 21:10:48 4872d77fe225: Pull complete 21:10:48 5851b861e8e6: Pull complete 21:10:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:48 prd-ubuntu20.04-docker-8c-8g-8992 does not seem to be running inside a container 21:10:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-385 -v /w/workspace/foundry_device-virtual-go_PR-385:/w/workspace/foundry_device-virtual-go_PR-385:rw,z -v /w/workspace/foundry_device-virtual-go_PR-385@tmp:/w/workspace/foundry_device-virtual-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:10:49 $ docker top 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d -eo pid,comm 21:10:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:10:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:50 [ssh-agent] Looking for ssh-agent implementation... 21:10:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:50 $ docker exec 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d ssh-agent 21:10:50 SSH_AUTH_SOCK=/tmp/ssh-Xs1Cegv2moZ3/agent.32 21:10:50 SSH_AGENT_PID=38 21:10:50 Running ssh-add (command line suppressed) 21:10:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-385@tmp/private_key_17928421640008963570.key (/w/workspace/foundry_device-virtual-go_PR-385@tmp/private_key_17928421640008963570.key) 21:10:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:50 + git tag --points-at HEAD [Pipeline] } 21:10:50 $ docker exec --env ******** --env ******** 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d ssh-agent -k 21:10:50 unset SSH_AUTH_SOCK; 21:10:50 unset SSH_AGENT_PID; 21:10:50 echo Agent pid 38 killed; 21:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:51 [ssh-agent] Looking for ssh-agent implementation... 21:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:51 $ docker exec 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d ssh-agent 21:10:51 SSH_AUTH_SOCK=/tmp/ssh-rIOiSuguK4lI/agent.70 21:10:51 SSH_AGENT_PID=76 21:10:51 Running ssh-add (command line suppressed) 21:10:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-385@tmp/private_key_4220537334264283537.key (/w/workspace/foundry_device-virtual-go_PR-385@tmp/private_key_4220537334264283537.key) 21:10:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:51 + git semver init 21:10:52 2023-04-18 21:10:51,915 [run_init] DEBUG init version:0.0.0 force:False 21:10:52 2023-04-18 21:10:51,916 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-385/.semver 21:10:52 2023-04-18 21:10:51,916 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-385/.semver 21:10:52 2023-04-18 21:10:51,916 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-385/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-385, universal_newlines=False, shell=None, istream=None) 21:10:53 2023-04-18 21:10:53,005 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-385/.git/info/exclude 21:10:53 2023-04-18 21:10:53,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-385/.semver/PR-385 with force:False 21:10:53 2023-04-18 21:10:53,006 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-385/.semver/PR-385 21:10:53 2023-04-18 21:10:53,012 [execute] INFO git cat-file --batch-check 21:10:53 2023-04-18 21:10:53,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 21:10:53 2023-04-18 21:10:53,018 [execute] INFO git cat-file --batch 21:10:53 2023-04-18 21:10:53,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 21:10:53 2023-04-18 21:10:53,023 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-385/.semver/PR-385 21:10:53 0.0.0 [Pipeline] } 21:10:53 $ docker exec --env ******** --env ******** 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d ssh-agent -k 21:10:53 unset SSH_AUTH_SOCK; 21:10:53 unset SSH_AGENT_PID; 21:10:53 echo Agent pid 76 killed; 21:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:53 + git semver [Pipeline] } 21:10:54 $ docker stop --time=1 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d 21:10:55 $ docker rm -f --volumes 1fd98ec5d1d3b3b66016f741105cdf3e73ae930e18acf8893f92e836cdddad3d [Pipeline] // withDockerContainer [Pipeline] sh 21:10:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:10:56 Stashed 1 file(s) [Pipeline] echo 21:10:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:56 provisioning config files... 21:10:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-385@tmp/config1673430132689851870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:57 ---> docker-login.sh 21:10:57 nexus3.edgexfoundry.org:10001 21:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:57 Configure a credential helper to remove this warning. See 21:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:57 21:10:57 Login Succeeded 21:10:57 nexus3.edgexfoundry.org:10002 21:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:57 Configure a credential helper to remove this warning. See 21:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:57 21:10:57 Login Succeeded 21:10:57 nexus3.edgexfoundry.org:10003 21:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:57 Configure a credential helper to remove this warning. See 21:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:57 21:10:57 Login Succeeded 21:10:57 nexus3.edgexfoundry.org:10004 21:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:57 Configure a credential helper to remove this warning. See 21:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:57 21:10:57 Login Succeeded 21:10:57 docker.io 21:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:57 Configure a credential helper to remove this warning. See 21:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:57 21:10:57 Login Succeeded 21:10:57 ---> docker-login.sh ends [Pipeline] } 21:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:58 ========================================================= 21:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:58 + 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 . 21:10:58 Sending build context to Docker daemon 23.56MB 21:10:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:10:58 Step 2/12 : FROM ${BASE} AS builder 21:10:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:10:58 63b65145d645: Pulling fs layer 21:10:58 a2d21d5440eb: Pulling fs layer 21:10:58 935e6c44a52c: Pulling fs layer 21:10:58 94cc34f8dd06: Pulling fs layer 21:10:58 30dea6a524f1: Pulling fs layer 21:10:58 a2aff8979fd8: Pulling fs layer 21:10:58 6808be2612f2: Pulling fs layer 21:10:58 f25807f1079a: Pulling fs layer 21:10:58 30dea6a524f1: Waiting 21:10:58 a2aff8979fd8: Waiting 21:10:58 6808be2612f2: Waiting 21:10:58 f25807f1079a: Waiting 21:10:58 94cc34f8dd06: Waiting 21:10:58 a2d21d5440eb: Download complete 21:10:58 94cc34f8dd06: Download complete 21:10:58 30dea6a524f1: Verifying Checksum 21:10:58 30dea6a524f1: Download complete 21:10:58 63b65145d645: Verifying Checksum 21:10:58 63b65145d645: Download complete 21:10:58 a2aff8979fd8: Verifying Checksum 21:10:58 a2aff8979fd8: Download complete 21:10:58 63b65145d645: Pull complete 21:10:59 a2d21d5440eb: Pull complete 21:10:59 f25807f1079a: Verifying Checksum 21:10:59 f25807f1079a: Download complete 21:10:59 935e6c44a52c: Verifying Checksum 21:10:59 935e6c44a52c: Download complete 21:10:59 6808be2612f2: Verifying Checksum 21:10:59 6808be2612f2: Download complete 21:11:03 935e6c44a52c: Pull complete 21:11:03 94cc34f8dd06: Pull complete 21:11:03 30dea6a524f1: Pull complete 21:11:03 a2aff8979fd8: Pull complete 21:11:05 6808be2612f2: Pull complete 21:11:06 f25807f1079a: Pull complete 21:11:06 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:11:06 ---> 3b553350e43f 21:11:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:11:07 ---> Running in bdcf255bca4b 21:11:07 Removing intermediate container bdcf255bca4b 21:11:07 ---> 2122837911b6 21:11:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:11:07 ---> Running in dc2090966c27 21:11:07 Removing intermediate container dc2090966c27 21:11:07 ---> a2025a46d4b9 21:11:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:11:07 ---> Running in 206857c6d63d 21:11:08 Removing intermediate container 206857c6d63d 21:11:08 ---> 0f4ebf3b4d46 21:11:08 Step 6/12 : WORKDIR /device-virtual-go 21:11:08 ---> Running in 94ce5ced8c6e 21:11:08 Removing intermediate container 94ce5ced8c6e 21:11:08 ---> 342aea98f014 21:11:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:08 ---> Running in b7ebccc5d12c 21:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:11:08 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:11:08 (2/4) Installing libedit (20221030.3.1-r0) 21:11:08 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:11:08 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:11:08 Executing busybox-1.35.0-r29.trigger 21:11:08 OK: 269 MiB in 57 packages 21:11:09 Removing intermediate container b7ebccc5d12c 21:11:09 ---> 293ef0a06102 21:11:09 Step 8/12 : COPY go.mod vendor* ./ 21:11:09 ---> d9d5798a6118 21:11:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:09 ---> Running in 6ed8ccb1d601 21:11:11 Still waiting to schedule task 21:11:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:11:31 Removing intermediate container 6ed8ccb1d601 21:11:31 ---> 85092c6f45b1 21:11:31 Step 10/12 : COPY . . 21:11:31 ---> 21b36788b9d9 21:11:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:31 ---> Running in 3330277da006 21:11:31 Removing intermediate container 3330277da006 21:11:31 ---> 00d154f536ad 21:11:31 Step 12/12 : RUN $MAKE 21:11:31 ---> Running in 9982613b17c7 21:11:31 noop 21:11:31 Removing intermediate container 9982613b17c7 21:11:31 ---> 8be70d69aa66 21:11:31 Successfully built 8be70d69aa66 21:11:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:31 + docker inspect -f . ci-base-image-x86_64 21:11:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:31 prd-ubuntu20.04-docker-8c-8g-8992 does not seem to be running inside a container 21:11:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-385 -v /w/workspace/foundry_device-virtual-go_PR-385:/w/workspace/foundry_device-virtual-go_PR-385:rw,z -v /w/workspace/foundry_device-virtual-go_PR-385@tmp:/w/workspace/foundry_device-virtual-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:11:32 $ docker top 2cfeb4600bcb24a52ab704074be6d35bd8f19016c32848cc55821405758673fa -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:32 + go version 21:11:32 go version go1.20.2 linux/amd64 [Pipeline] } 21:11:32 $ docker stop --time=1 2cfeb4600bcb24a52ab704074be6d35bd8f19016c32848cc55821405758673fa 21:11:33 $ docker rm -f --volumes 2cfeb4600bcb24a52ab704074be6d35bd8f19016c32848cc55821405758673fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:34 + docker inspect -f . ci-base-image-x86_64 21:11:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:34 prd-ubuntu20.04-docker-8c-8g-8992 does not seem to be running inside a container 21:11:34 $ 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-385 -v /w/workspace/foundry_device-virtual-go_PR-385:/w/workspace/foundry_device-virtual-go_PR-385:rw,z -v /w/workspace/foundry_device-virtual-go_PR-385@tmp:/w/workspace/foundry_device-virtual-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:11:35 $ docker top c3d1dcbc83ec7d45749ccddb7e55c740e4864e18656dc2240825b585ba8683dc -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:35 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-385 [Pipeline] fileExists [Pipeline] sh 21:11:35 + make test 21:11:35 go test ./... -coverprofile=coverage.out 21:11:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:11:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:11:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.023s coverage: 58.6% of statements 21:11:57 go vet ./... 21:12:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:01 ./bin/test-attribution-txt.sh [Pipeline] echo 21:12:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:12:01 $ docker stop --time=1 c3d1dcbc83ec7d45749ccddb7e55c740e4864e18656dc2240825b585ba8683dc 21:12:02 $ docker rm -f --volumes c3d1dcbc83ec7d45749ccddb7e55c740e4864e18656dc2240825b585ba8683dc [Pipeline] // withDockerContainer [Pipeline] sh 21:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:12:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:04 + ls -al . 21:12:04 total 192 21:12:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:11 . 21:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:10 .. 21:12:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:10 .git 21:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:10 .github 21:12:04 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 21:10 .gitignore 21:12:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:10 .golangci.yml 21:12:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:10 .semver 21:12:04 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 21:10 Attribution.txt 21:12:04 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 21:10 CHANGELOG.md 21:12:04 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 21:10 Dockerfile 21:12:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:10 GOVERNANCE.md 21:12:04 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 21:10 Jenkinsfile 21:12:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:10 LICENSE 21:12:04 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 21:10 Makefile 21:12:04 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 21:10 OWNERS.md 21:12:04 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 21:10 README.md 21:12:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 21:10 VERSION 21:12:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:10 bin 21:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:10 cmd 21:12:04 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 21:11 coverage.out 21:12:04 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 21:10 go.mod 21:12:04 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 18 21:10 go.sum 21:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:10 internal 21:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:10 snap 21:12:04 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:04 + 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=43655cc11b2f988e2e9608f2b99a625666c5f8bc --label arch=amd64 --label version=0.0.0 . 21:12:04 Sending build context to Docker daemon 23.61MB 21:12:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:12:04 Step 2/25 : FROM ${BASE} AS builder 21:12:04 ---> 8be70d69aa66 21:12:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:12:04 ---> Running in e0b300552fc9 21:12:05 Removing intermediate container e0b300552fc9 21:12:05 ---> 8ce691eaccc0 21:12:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:12:05 ---> Running in 98c93e56a37b 21:12:05 Removing intermediate container 98c93e56a37b 21:12:05 ---> ed7ce4d28d36 21:12:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:12:05 ---> Running in afbfee16f4ba 21:12:05 Removing intermediate container afbfee16f4ba 21:12:05 ---> 673a445cc23f 21:12:05 Step 6/25 : WORKDIR /device-virtual-go 21:12:05 ---> Running in afa696882231 21:12:05 Removing intermediate container afa696882231 21:12:05 ---> b66075694421 21:12:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:05 ---> Running in 54a4fd35af84 21:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:12:07 OK: 269 MiB in 57 packages 21:12:07 Removing intermediate container 54a4fd35af84 21:12:07 ---> 9cbd934913aa 21:12:07 Step 8/25 : COPY go.mod vendor* ./ 21:12:07 ---> 20306effbded 21:12:07 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:07 ---> Running in 939f02683a6d 21:12:08 Removing intermediate container 939f02683a6d 21:12:08 ---> 9c2194bdaac5 21:12:08 Step 10/25 : COPY . . 21:12:09 ---> 1daf74236419 21:12:09 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:09 ---> Running in 25e3734c47a6 21:12:09 Removing intermediate container 25e3734c47a6 21:12:09 ---> 16b51922e0b4 21:12:09 Step 12/25 : RUN $MAKE 21:12:09 ---> Running in e00b9bc2f31b 21:12:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:12:27 Removing intermediate container e00b9bc2f31b 21:12:27 ---> eb1ce4f79b1b 21:12:27 Step 13/25 : FROM alpine:3.17 21:12:27 3.17: Pulling from library/alpine 21:12:27 f56be85fc22e: Pulling fs layer 21:12:27 f56be85fc22e: Download complete 21:12:27 f56be85fc22e: Pull complete 21:12:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:12:27 Status: Downloaded newer image for alpine:3.17 21:12:27 ---> 9ed4aefc74f6 21:12:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:12:27 ---> Running in 33a2784251b3 21:12:27 Removing intermediate container 33a2784251b3 21:12:27 ---> 73db9d442615 21:12:27 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:12:27 ---> Running in 341453adfccd 21:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:12:28 (1/1) Installing dumb-init (1.2.5-r2) 21:12:28 Executing busybox-1.35.0-r29.trigger 21:12:28 OK: 7 MiB in 16 packages 21:12:28 Removing intermediate container 341453adfccd 21:12:28 ---> 8fd6a29702d9 21:12:28 Step 16/25 : WORKDIR / 21:12:28 ---> Running in baa454007a6d 21:12:28 Removing intermediate container baa454007a6d 21:12:28 ---> cd91ee99e820 21:12:28 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:12:28 ---> 671e545492e4 21:12:28 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:12:28 ---> 35733589fb22 21:12:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:12:29 ---> b1c36131ccfb 21:12:29 Step 20/25 : EXPOSE 59900 21:12:29 ---> Running in 706cfcdd89e3 21:12:29 Removing intermediate container 706cfcdd89e3 21:12:29 ---> 49a2f839f451 21:12:29 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:12:29 ---> Running in 9cdfa7bed1a5 21:12:29 Removing intermediate container 9cdfa7bed1a5 21:12:29 ---> 658655e42c6e 21:12:29 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:12:29 ---> Running in 677d657c1b61 21:12:29 Removing intermediate container 677d657c1b61 21:12:29 ---> 34ae1d316b7c 21:12:29 Step 23/25 : LABEL arch=amd64 21:12:29 ---> Running in 37de1b94fe9f 21:12:29 Removing intermediate container 37de1b94fe9f 21:12:29 ---> 300a99764307 21:12:29 Step 24/25 : LABEL git_sha=43655cc11b2f988e2e9608f2b99a625666c5f8bc 21:12:29 ---> Running in 58147a2406e7 21:12:29 Removing intermediate container 58147a2406e7 21:12:29 ---> d829500fe979 21:12:29 Step 25/25 : LABEL version=0.0.0 21:12:29 ---> Running in 3c2a57441266 21:12:29 Removing intermediate container 3c2a57441266 21:12:29 ---> c66e7625ce2e 21:12:29 [Warning] One or more build-args [ARCH] were not consumed 21:12:29 Successfully built c66e7625ce2e 21:12:29 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:30 21:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:31 latest: Pulling from edgex-lftools-log-publisher 21:12:31 5eb5b503b376: Pulling fs layer 21:12:31 5c69ac0246d0: Pulling fs layer 21:12:31 ec43610c2a17: Pulling fs layer 21:12:31 3a2ae6a8a46f: Pulling fs layer 21:12:31 33b1e0a273af: Pulling fs layer 21:12:31 5d3b04190fa2: Pulling fs layer 21:12:31 2f39f015ded8: Pulling fs layer 21:12:31 3a2ae6a8a46f: Waiting 21:12:31 33b1e0a273af: Waiting 21:12:31 5d3b04190fa2: Waiting 21:12:31 2f39f015ded8: Waiting 21:12:31 5c69ac0246d0: Verifying Checksum 21:12:31 5c69ac0246d0: Download complete 21:12:31 3a2ae6a8a46f: Verifying Checksum 21:12:31 3a2ae6a8a46f: Download complete 21:12:31 33b1e0a273af: Verifying Checksum 21:12:31 33b1e0a273af: Download complete 21:12:31 5d3b04190fa2: Download complete 21:12:31 ec43610c2a17: Verifying Checksum 21:12:31 ec43610c2a17: Download complete 21:12:31 5eb5b503b376: Verifying Checksum 21:12:31 5eb5b503b376: Download complete 21:12:32 2f39f015ded8: Verifying Checksum 21:12:32 2f39f015ded8: Download complete 21:12:32 5eb5b503b376: Pull complete 21:12:32 5c69ac0246d0: Pull complete 21:12:33 ec43610c2a17: Pull complete 21:12:33 3a2ae6a8a46f: Pull complete 21:12:33 33b1e0a273af: Pull complete 21:12:33 5d3b04190fa2: Pull complete 21:12:39 2f39f015ded8: Pull complete 21:12:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:39 prd-ubuntu20.04-docker-8c-8g-8992 does not seem to be running inside a container 21:12:39 $ 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-385 -v /w/workspace/foundry_device-virtual-go_PR-385:/w/workspace/foundry_device-virtual-go_PR-385:rw,z -v /w/workspace/foundry_device-virtual-go_PR-385@tmp:/w/workspace/foundry_device-virtual-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:12:40 $ docker top f3bc7cd3a018a0884cdaaf4b5b7b69c657b745ca1d358d13cc052820e6b039a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:41 ---> job-cost.sh 21:12:41 lf-activate-venv: SKIPPING 21:12:41 INFO: No Stack... 21:12:41 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:41 INFO: Archiving Costs [Pipeline] sh 21:12:41 + cut -d, -f6 21:12:41 + cat /w/workspace/foundry_device-virtual-go_PR-385/archives/cost.csv [Pipeline] lock 21:12:41 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] 21:12:41 Resource [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] did not exist. Created. 21:12:41 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:12:42 + echo total: 0.2199999988079071 [Pipeline] stash 21:12:42 Stashed 1 file(s) [Pipeline] } 21:12:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:12:42 $ docker stop --time=1 f3bc7cd3a018a0884cdaaf4b5b7b69c657b745ca1d358d13cc052820e6b039a8 21:12:43 $ docker rm -f --volumes f3bc7cd3a018a0884cdaaf4b5b7b69c657b745ca1d358d13cc052820e6b039a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:12:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8994 in /w/workspace/foundry_device-virtual-go_PR-385 [Pipeline] { [Pipeline] ws 21:12:46 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 21:12:47 The recommended git tool is: git 21:12:53 using credential edgex-jenkins-ssh 21:12:53 Cloning the remote Git repository 21:12:53 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:12:53 > git init /w/workspace/device-virtual-go/1 # timeout=10 21:12:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:12:53 > git --version # timeout=10 21:12:53 > git --version # 'git version 2.25.1' 21:12:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:12:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:12:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:12:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:12:57 Merging remotes/origin/main commit 156beb4bb4cc3957e05b7219f54451536aed9ec4 into PR head commit 43655cc11b2f988e2e9608f2b99a625666c5f8bc 21:12:57 Merge succeeded, producing 43655cc11b2f988e2e9608f2b99a625666c5f8bc 21:12:57 Checking out Revision 43655cc11b2f988e2e9608f2b99a625666c5f8bc (PR-385) 21:12:58 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:12:58 > git --version # timeout=10 21:12:58 > git --version # 'git version 2.25.1' 21:12:58 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { 21:12:57 > git config core.sparsecheckout # timeout=10 21:12:57 > git checkout -f 43655cc11b2f988e2e9608f2b99a625666c5f8bc # timeout=10 21:12:57 > git remote # timeout=10 21:12:57 > git config --get remote.origin.url # timeout=10 21:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:57 > git merge 156beb4bb4cc3957e05b7219f54451536aed9ec4 # timeout=10 21:12:57 > git rev-parse HEAD^{commit} # timeout=10 21:12:57 > git config core.sparsecheckout # timeout=10 21:12:57 > git checkout -f 43655cc11b2f988e2e9608f2b99a625666c5f8bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:12:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:59 Dload Upload Total Spent Left Speed 21:12:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 21:12:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:13:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:13:00 + sudo tee /etc/docker/daemon.new 21:13:00 { 21:13:00 "registry-mirrors": [ 21:13:00 "https://nexus3.edgexfoundry.org:10001" 21:13:00 ], 21:13:00 "bip": "10.250.0.254/24", 21:13:00 "hosts": [ 21:13:00 "tcp://0.0.0.0:5555", 21:13:00 "unix:///var/run/docker.sock" 21:13:00 ], 21:13:00 "mtu": 1458, 21:13:00 "selinux-enabled": true, 21:13:00 "seccomp-profile": "/etc/docker/seccomp.json" 21:13:00 } [Pipeline] sh 21:13:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:13:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:19 provisioning config files... 21:13:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config11930295635915484738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:19 ---> docker-login.sh 21:13:19 nexus3.edgexfoundry.org:10001 21:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:20 Configure a credential helper to remove this warning. See 21:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:20 21:13:20 Login Succeeded 21:13:20 nexus3.edgexfoundry.org:10002 21:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:20 Configure a credential helper to remove this warning. See 21:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:20 21:13:20 Login Succeeded 21:13:20 nexus3.edgexfoundry.org:10003 21:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:21 Configure a credential helper to remove this warning. See 21:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:21 21:13:21 Login Succeeded 21:13:21 nexus3.edgexfoundry.org:10004 21:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:21 Configure a credential helper to remove this warning. See 21:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:21 21:13:21 Login Succeeded 21:13:21 docker.io 21:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:22 Configure a credential helper to remove this warning. See 21:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:22 21:13:22 Login Succeeded 21:13:22 ---> docker-login.sh ends [Pipeline] } 21:13:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:13:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:22 ========================================================= 21:13:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:13:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:23 + 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 . 21:13:23 Sending build context to Docker daemon 11.94MB 21:13:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:13:23 Step 2/12 : FROM ${BASE} AS builder 21:13:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:13:23 af6eaf76a39c: Pulling fs layer 21:13:23 55522c791124: Pulling fs layer 21:13:23 ce5c4a1c91eb: Pulling fs layer 21:13:23 169dfbe0d373: Pulling fs layer 21:13:23 e1ff8fa3b103: Pulling fs layer 21:13:23 52ebb69f0ebf: Pulling fs layer 21:13:23 5abe8eddf0d5: Pulling fs layer 21:13:23 169dfbe0d373: Waiting 21:13:23 e1ff8fa3b103: Waiting 21:13:23 52ebb69f0ebf: Waiting 21:13:23 5abe8eddf0d5: Waiting 21:13:24 55522c791124: Verifying Checksum 21:13:24 55522c791124: Download complete 21:13:24 169dfbe0d373: Download complete 21:13:24 e1ff8fa3b103: Verifying Checksum 21:13:24 e1ff8fa3b103: Download complete 21:13:24 af6eaf76a39c: Download complete 21:13:25 af6eaf76a39c: Pull complete 21:13:25 5abe8eddf0d5: Verifying Checksum 21:13:25 5abe8eddf0d5: Download complete 21:13:25 55522c791124: Pull complete 21:13:26 ce5c4a1c91eb: Verifying Checksum 21:13:26 ce5c4a1c91eb: Download complete 21:13:26 52ebb69f0ebf: Verifying Checksum 21:13:26 52ebb69f0ebf: Download complete 21:13:39 ce5c4a1c91eb: Pull complete 21:13:39 169dfbe0d373: Pull complete 21:13:39 e1ff8fa3b103: Pull complete 21:13:45 52ebb69f0ebf: Pull complete 21:13:47 5abe8eddf0d5: Pull complete 21:13:47 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:13:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:13:47 ---> 6cb57ee374ae 21:13:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:13:48 ---> Running in b0a0f18d5f3d 21:13:48 Removing intermediate container b0a0f18d5f3d 21:13:48 ---> 7e7399533d8d 21:13:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:13:48 ---> Running in 2bf02292e558 21:13:49 Removing intermediate container 2bf02292e558 21:13:49 ---> 062356882607 21:13:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:13:49 ---> Running in c3220c7f8819 21:13:49 Removing intermediate container c3220c7f8819 21:13:49 ---> 66a3811d2f26 21:13:49 Step 6/12 : WORKDIR /device-virtual-go 21:13:49 ---> Running in 850f1cce7154 21:13:50 Removing intermediate container 850f1cce7154 21:13:50 ---> c740b41bcbe1 21:13:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:50 ---> Running in 21dde785dde8 21:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:13:52 (2/4) Installing libedit (20221030.3.1-r0) 21:13:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:13:52 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:13:52 Executing busybox-1.35.0-r29.trigger 21:13:52 OK: 268 MiB in 57 packages 21:13:53 Removing intermediate container 21dde785dde8 21:13:53 ---> 9fad7267aa23 21:13:53 Step 8/12 : COPY go.mod vendor* ./ 21:13:54 ---> f00b070f6a1a 21:13:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:54 ---> Running in b7ccc41f0d26 21:15:02 Removing intermediate container b7ccc41f0d26 21:15:02 ---> 36dd57f31338 21:15:02 Step 10/12 : COPY . . 21:15:02 ---> d848ac3d9b44 21:15:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:15:02 ---> Running in 6d87094bf192 21:15:02 Removing intermediate container 6d87094bf192 21:15:02 ---> 00ba11333de9 21:15:02 Step 12/12 : RUN $MAKE 21:15:02 ---> Running in 9abf40a19127 21:15:02 noop 21:15:02 Removing intermediate container 9abf40a19127 21:15:02 ---> a56532a930ec 21:15:02 Successfully built a56532a930ec 21:15:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:02 + docker inspect -f . ci-base-image-arm64 21:15:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:03 prd-ubuntu20.04-docker-arm64-4c-16g-8994 does not seem to be running inside a container 21:15:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:15:05 $ docker top 8c6f468049a795cc7727c930f4d5aea92dcdbf7b3bddbf0e9fd60c5e4d6af507 -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:06 + go version 21:15:06 go version go1.20.2 linux/arm64 [Pipeline] } 21:15:06 $ docker stop --time=1 8c6f468049a795cc7727c930f4d5aea92dcdbf7b3bddbf0e9fd60c5e4d6af507 21:15:08 $ docker rm -f --volumes 8c6f468049a795cc7727c930f4d5aea92dcdbf7b3bddbf0e9fd60c5e4d6af507 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:08 + docker inspect -f . ci-base-image-arm64 21:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:09 prd-ubuntu20.04-docker-arm64-4c-16g-8994 does not seem to be running inside a container 21:15:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:15:10 $ docker top ab3d83a56990ca5c923838e4de343a1705cf4f6036aa8ad15522bbab81afd41c -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:10 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 21:15:11 + make test 21:15:11 go test ./... -coverprofile=coverage.out 21:15:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:17:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:17:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.106s coverage: 58.4% of statements 21:17:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:57 go vet ./... 21:18:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:19 $ docker stop --time=1 ab3d83a56990ca5c923838e4de343a1705cf4f6036aa8ad15522bbab81afd41c 21:18:24 $ docker rm -f --volumes ab3d83a56990ca5c923838e4de343a1705cf4f6036aa8ad15522bbab81afd41c [Pipeline] // withDockerContainer [Pipeline] sh 21:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:25 Warning: overwriting stash ‘coverage-report’ 21:18:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:27 + ls -al . 21:18:27 total 188 21:18:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:15 . 21:18:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:12 .. 21:18:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:12 .git 21:18:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:12 .github 21:18:27 -rw-rw-r-- 1 jenkins jenkins 337 Apr 18 21:12 .gitignore 21:18:27 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:12 .golangci.yml 21:18:27 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 18 21:12 Attribution.txt 21:18:27 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 18 21:12 CHANGELOG.md 21:18:27 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 18 21:12 Dockerfile 21:18:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:12 GOVERNANCE.md 21:18:27 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 21:12 Jenkinsfile 21:18:27 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:12 LICENSE 21:18:27 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 18 21:12 Makefile 21:18:27 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 21:12 OWNERS.md 21:18:27 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 18 21:12 README.md 21:18:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 21:10 VERSION 21:18:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:12 bin 21:18:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:12 cmd 21:18:27 -rw-r--r-- 1 jenkins jenkins 43063 Apr 18 21:17 coverage.out 21:18:27 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 18 21:12 go.mod 21:18:27 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 18 21:12 go.sum 21:18:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:12 internal 21:18:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:12 snap 21:18:27 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:27 + 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=43655cc11b2f988e2e9608f2b99a625666c5f8bc --label arch=arm64 --label version=0.0.0 . 21:18:27 Sending build context to Docker daemon 11.98MB 21:18:27 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:18:27 Step 2/25 : FROM ${BASE} AS builder 21:18:27 ---> a56532a930ec 21:18:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:18:27 ---> Running in 3f7a3bf4cfab 21:18:28 Removing intermediate container 3f7a3bf4cfab 21:18:28 ---> 42eca0ca8782 21:18:28 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:18:28 ---> Running in 8f3f96f628fe 21:18:28 Removing intermediate container 8f3f96f628fe 21:18:28 ---> ef7f13e89e1c 21:18:28 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:18:28 ---> Running in ebf374255b02 21:18:29 Removing intermediate container ebf374255b02 21:18:29 ---> bd10d321fd16 21:18:29 Step 6/25 : WORKDIR /device-virtual-go 21:18:29 ---> Running in 728bc991ca09 21:18:29 Removing intermediate container 728bc991ca09 21:18:29 ---> 8b08acf5279f 21:18:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:29 ---> Running in 04dbbae54391 21:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:32 OK: 268 MiB in 57 packages 21:18:32 Removing intermediate container 04dbbae54391 21:18:32 ---> b88007c38f8c 21:18:32 Step 8/25 : COPY go.mod vendor* ./ 21:18:33 ---> 35b0e537e13f 21:18:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:33 ---> Running in d3d23387c52e 21:18:37 Removing intermediate container d3d23387c52e 21:18:37 ---> 344db4c8167b 21:18:37 Step 10/25 : COPY . . 21:18:38 ---> 3a9f65eeab01 21:18:38 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:38 ---> Running in 781a1ed5ad8d 21:18:39 Removing intermediate container 781a1ed5ad8d 21:18:39 ---> 3dbafce28c7b 21:18:39 Step 12/25 : RUN $MAKE 21:18:39 ---> Running in 8e107f07bdbb 21:18:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:21:01 Removing intermediate container 8e107f07bdbb 21:21:01 ---> e2421ca3f48a 21:21:01 Step 13/25 : FROM alpine:3.17 21:21:04 3.17: Pulling from library/alpine 21:21:04 c41833b44d91: Pulling fs layer 21:21:04 c41833b44d91: Download complete 21:21:05 c41833b44d91: Pull complete 21:21:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:21:05 Status: Downloaded newer image for alpine:3.17 21:21:05 ---> 51e60588ff2c 21:21:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:21:05 ---> Running in 38a53ea191d2 21:21:05 Removing intermediate container 38a53ea191d2 21:21:05 ---> 5f9fc20131bc 21:21:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:21:05 ---> Running in 64861f51acdc 21:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:21:08 (1/1) Installing dumb-init (1.2.5-r2) 21:21:08 Executing busybox-1.35.0-r29.trigger 21:21:08 OK: 8 MiB in 16 packages 21:21:09 Removing intermediate container 64861f51acdc 21:21:09 ---> 10f8f80c1948 21:21:09 Step 16/25 : WORKDIR / 21:21:09 ---> Running in cab55fc65ee1 21:21:09 Removing intermediate container cab55fc65ee1 21:21:09 ---> a0d383fd93e8 21:21:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:21:10 ---> 92a22b44e159 21:21:10 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:21:10 ---> da9d351e8308 21:21:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:21:12 ---> fc287bd350b6 21:21:12 Step 20/25 : EXPOSE 59900 21:21:12 ---> Running in 5d7be48653b3 21:21:12 Removing intermediate container 5d7be48653b3 21:21:12 ---> bd06e2a50090 21:21:12 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:21:12 ---> Running in 2191cc9f5d6e 21:21:13 Removing intermediate container 2191cc9f5d6e 21:21:13 ---> b261c4e310c8 21:21:13 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:21:13 ---> Running in cf466e983c7d 21:21:13 Removing intermediate container cf466e983c7d 21:21:13 ---> 5dd7ff4e343d 21:21:13 Step 23/25 : LABEL arch=arm64 21:21:13 ---> Running in 70d8815d86f1 21:21:14 Removing intermediate container 70d8815d86f1 21:21:14 ---> fef1520b64a6 21:21:14 Step 24/25 : LABEL git_sha=43655cc11b2f988e2e9608f2b99a625666c5f8bc 21:21:14 ---> Running in e3fb372cc7b1 21:21:14 Removing intermediate container e3fb372cc7b1 21:21:14 ---> 0b49cdebc2d1 21:21:14 Step 25/25 : LABEL version=0.0.0 21:21:14 ---> Running in dd530b5e4ea0 21:21:14 Removing intermediate container dd530b5e4ea0 21:21:14 ---> 5204dac84d63 21:21:14 [Warning] One or more build-args [ARCH] were not consumed 21:21:14 Successfully built 5204dac84d63 21:21:14 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:15 21:21:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:16 arm64: Pulling from edgex-lftools-log-publisher 21:21:16 8998bd30e6a1: Pulling fs layer 21:21:16 04944245beec: Pulling fs layer 21:21:16 699f458cf7ca: Pulling fs layer 21:21:16 765212b225bb: Pulling fs layer 21:21:16 f23df028b6ca: Pulling fs layer 21:21:16 d65c8cfc05b1: Pulling fs layer 21:21:16 2437ff75d9bd: Pulling fs layer 21:21:16 765212b225bb: Waiting 21:21:16 f23df028b6ca: Waiting 21:21:16 d65c8cfc05b1: Waiting 21:21:16 2437ff75d9bd: Waiting 21:21:16 04944245beec: Verifying Checksum 21:21:16 04944245beec: Download complete 21:21:16 765212b225bb: Verifying Checksum 21:21:16 765212b225bb: Download complete 21:21:16 f23df028b6ca: Download complete 21:21:16 d65c8cfc05b1: Verifying Checksum 21:21:16 d65c8cfc05b1: Download complete 21:21:16 699f458cf7ca: Verifying Checksum 21:21:16 699f458cf7ca: Download complete 21:21:16 8998bd30e6a1: Verifying Checksum 21:21:16 8998bd30e6a1: Download complete 21:21:19 2437ff75d9bd: Verifying Checksum 21:21:19 2437ff75d9bd: Download complete 21:21:20 8998bd30e6a1: Pull complete 21:21:21 04944245beec: Pull complete 21:21:22 699f458cf7ca: Pull complete 21:21:22 765212b225bb: Pull complete 21:21:23 f23df028b6ca: Pull complete 21:21:23 d65c8cfc05b1: Pull complete 21:21:38 2437ff75d9bd: Pull complete 21:21:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:21:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:39 prd-ubuntu20.04-docker-arm64-4c-16g-8994 does not seem to be running inside a container 21:21:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:21:42 $ docker top bb1055cca82cc4f0484ee1fc731d9d0b83def5af752cb11a25cf835dd73c59ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:43 ---> job-cost.sh 21:21:43 lf-activate-venv: SKIPPING 21:21:43 INFO: No Stack... 21:21:43 INFO: Retrieving Pricing Info for: v3-standard-4 21:21:44 INFO: Archiving Costs [Pipeline] sh 21:21:45 + + cut -d, -f6cat 21:21:45 /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 21:21:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] 21:21:45 Resource [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] did not exist. Created. 21:21:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:21:45 /w/workspace/device-virtual-go/1@tmp/durable-71ca7f01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:21:46 + echo total: 0.10999999940395355 [Pipeline] stash 21:21:46 Warning: overwriting stash ‘stack-cost’ 21:21:46 Stashed 1 file(s) [Pipeline] } 21:21:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:21:46 $ docker stop --time=1 bb1055cca82cc4f0484ee1fc731d9d0b83def5af752cb11a25cf835dd73c59ba 21:21:48 $ docker rm -f --volumes bb1055cca82cc4f0484ee1fc731d9d0b83def5af752cb11a25cf835dd73c59ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:21:49 provisioning config files... 21:21:49 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-385@tmp/config2606064996690346242tmp [Pipeline] { [Pipeline] sh 21:21:49 + set +x 21:21:49 + curl -s https://codecov.io/bash 21:21:49 + bash -s -- 21:21:49 21:21:49 _____ _ 21:21:49 / ____| | | 21:21:49 | | ___ __| | ___ ___ _____ __ 21:21:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:49 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:49 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:49 Bash-1.0.6 21:21:49 21:21:49 21:21:49 ==> git version 2.25.1 found 21:21:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:21:49 Release-Date: 2020-01-08 21:21:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:21:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:49 ==> Jenkins CI detected. 21:21:49 current dir:  /w/workspace/foundry_device-virtual-go_PR-385 21:21:49 project root: . 21:21:49 --> token set from env 21:21:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:49 ==> Running gcov in . (disable via -X gcov) 21:21:49 ==> Python coveragepy not found 21:21:49 ==> Searching for coverage reports in: 21:21:49 + . 21:21:49 -> Found 1 reports 21:21:49 ==> Detecting git/mercurial file structure 21:21:49 ==> Reading reports 21:21:49 + ./coverage.out bytes=43063 21:21:49 ==> Appending adjustments 21:21:49 https://docs.codecov.io/docs/fixing-reports 21:21:49 + Found adjustments 21:21:49 ==> Gzipping contents 21:21:49 8.0K /tmp/codecov.dLERm0.gz 21:21:49 ==> Uploading reports 21:21:49 url: https://codecov.io 21:21:49 query: branch=PR-385&commit=43655cc11b2f988e2e9608f2b99a625666c5f8bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=385&job=&cmd_args= 21:21:49 -> Pinging Codecov 21:21:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-385&commit=43655cc11b2f988e2e9608f2b99a625666c5f8bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=385&job=&cmd_args= 21:21:50 -> Uploading to 21:21:50 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/5E52B4B073DB2E39498172D8E973AA87/43655cc11b2f988e2e9608f2b99a625666c5f8bc/7192ead0-1f75-4bf0-bfa6-7f8e8b747d9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T212149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4a54932cab66e91545bf72b19831ede5d9da18986e0a9266fb56e82f256108f 21:21:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:50 Dload Upload Total Spent Left Speed 21:21:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25411 --:--:-- --:--:-- --:--:-- 25411 21:21:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/43655cc11b2f988e2e9608f2b99a625666c5f8bc [Pipeline] } 21:21:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:21:51 + [ -d /w/workspace/foundry_device-virtual-go_PR-385/archives ] 21:21:51 + ls -al /w/workspace/foundry_device-virtual-go_PR-385/archives 21:21:51 total 16 21:21:51 drwxr-xr-x 3 root root 4096 Apr 18 21:12 . 21:21:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:12 .. 21:21:51 drwxr-xr-x 2 root root 4096 Apr 18 21:12 cost 21:21:51 -rw-r--r-- 1 root root 89 Apr 18 21:12 cost.csv 21:21:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-385/archives 21:21:51 + ls -al /w/workspace/foundry_device-virtual-go_PR-385/archives 21:21:51 total 16 21:21:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:12 . 21:21:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:12 .. 21:21:51 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 21:12 cost 21:21:51 -rw-r--r-- 1 jenkins jenkins 89 Apr 18 21:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:21:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:21:53 ---> package-listing.sh 21:21:53 ++ tr '[:upper:]' '[:lower:]' 21:21:53 ++ facter osfamily 21:21:53 + OS_FAMILY=debian 21:21:53 + workspace=/w/workspace/foundry_device-virtual-go_PR-385 21:21:53 + START_PACKAGES=/tmp/packages_start.txt 21:21:53 + END_PACKAGES=/tmp/packages_end.txt 21:21:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:21:53 + PACKAGES=/tmp/packages_start.txt 21:21:53 + '[' /w/workspace/foundry_device-virtual-go_PR-385 ']' 21:21:53 + PACKAGES=/tmp/packages_end.txt 21:21:53 + case "${OS_FAMILY}" in 21:21:53 + dpkg -l 21:21:53 + grep '^ii' 21:21:53 + '[' -f /tmp/packages_start.txt ']' 21:21:53 + '[' -f /tmp/packages_end.txt ']' 21:21:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:21:53 + '[' /w/workspace/foundry_device-virtual-go_PR-385 ']' 21:21:53 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-385/archives/ 21:21:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-385/archives/ [Pipeline] echo 21:21:53 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:21:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:54 prd-ubuntu20.04-docker-8c-8g-8992 does not seem to be running inside a container 21:21:54 $ 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-385/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-385 -v /w/workspace/foundry_device-virtual-go_PR-385:/w/workspace/foundry_device-virtual-go_PR-385:rw,z -v /w/workspace/foundry_device-virtual-go_PR-385@tmp:/w/workspace/foundry_device-virtual-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:21:54 $ docker top db7e47a1714aff3fd0838bb29e3ce0999471d27c3bb21f98b2bbe56d0c251745 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:54 + touch /tmp/pre-build-complete [Pipeline] sh 21:21:55 + mkdir -p /var/log/sysstat [Pipeline] sh 21:21:55 + ls /var/log/sa-host 21:21:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:55 provisioning config files... 21:21:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-385@tmp/config5321651130874738937tmp [Pipeline] { [Pipeline] echo 21:21:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:21:56 ---> create-netrc.sh [Pipeline] } 21:21:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:21:56 ---> python-tools-install.sh [Pipeline] echo 21:21:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:56 ---> sudo-logs.sh 21:21:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:57 ---> job-cost.sh 21:21:57 lf-activate-venv: SKIPPING 21:21:57 DEBUG: total: 0.2199999988079071 21:21:57 INFO: Retrieving Stack Cost... 21:21:57 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:58 INFO: Archiving Costs [Pipeline] echo 21:21:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:58 ---> logs-deploy.sh 21:21:58 lf-activate-venv: SKIPPING 21:21:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-385/1 21:21:58 INFO: archiving workspace using pattern(s): 21:21:59 Archives upload complete. 21:21:59 INFO: archiving logs to Nexus