Pull request #396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e6e39682d53739b45339ab06e5eed03fe45746e+57e8f11bd3ea3d47e4da0a6a34afa9d3832cc92d (71afa4d85606442938813e71c8d86c32760280a8) 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-ssh6699665301668880830.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-ssh13226556541692528732.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-396/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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11129048421129081195.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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7286337502480644414.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-ssh18132523351161212135.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-396/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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7456899863660737835.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13286 in /w/workspace/foundry_device-virtual-go_PR-396 [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-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57e8f11bd3ea3d47e4da0a6a34afa9d3832cc92d into PR head commit 7e6e39682d53739b45339ab06e5eed03fe45746e Merge succeeded, producing 7e6e39682d53739b45339ab06e5eed03fe45746e Checking out Revision 7e6e39682d53739b45339ab06e5eed03fe45746e (PR-396) 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 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 7e6e39682d53739b45339ab06e5eed03fe45746e # 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 57e8f11bd3ea3d47e4da0a6a34afa9d3832cc92d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e6e39682d53739b45339ab06e5eed03fe45746e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:00:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:00:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:00:52 ========================================================= 12:00:52 EdgeX Global Pipelines Version Info 12:00:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:00:53 ------------------- 12:00:53 stable info: 12:00:53 ------------------- 12:00:53 Commited By: Bill Mahoney bill.mahoney@intel.com 12:00:53 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:00:53 Message: update stable to v1.0.248 12:00:53 ------------------- 12:00:53 experimental info: 12:00:53 ------------------- 12:00:53 Commited By: **** collab-it+edgex@linuxfoundation.org 12:00:53 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:00:53 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:00:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e6e39682d53739b45339ab06e5eed03fe45746e [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e6e396 [Pipeline] echo 12:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:00:55 provisioning config files... 12:00:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-396@tmp/config1980887632174205865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:56 ---> docker-login.sh 12:00:56 nexus3.edgexfoundry.org:10001 12:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:56 Configure a credential helper to remove this warning. See 12:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:56 12:00:56 Login Succeeded 12:00:56 nexus3.edgexfoundry.org:10002 12:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:56 Configure a credential helper to remove this warning. See 12:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:56 12:00:56 Login Succeeded 12:00:56 nexus3.edgexfoundry.org:10003 12:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:56 Configure a credential helper to remove this warning. See 12:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:56 12:00:56 Login Succeeded 12:00:56 nexus3.edgexfoundry.org:10004 12:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:57 Configure a credential helper to remove this warning. See 12:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:57 12:00:57 Login Succeeded 12:00:57 docker.io 12:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:57 Configure a credential helper to remove this warning. See 12:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:57 12:00:57 Login Succeeded 12:00:57 ---> docker-login.sh ends [Pipeline] } 12:00:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:00:57 + git rev-list -1 --merges 7e6e39682d53739b45339ab06e5eed03fe45746e~1..7e6e39682d53739b45339ab06e5eed03fe45746e [Pipeline] echo 12:00:58 -----------> git rev-list -1 --merges 7e6e39682d53739b45339ab06e5eed03fe45746e~1..7e6e39682d53739b45339ab06e5eed03fe45746e 7e6e39682d53739b45339ab06e5eed03fe45746e [false] [Pipeline] sh 12:00:58 + git log --format=format:%s -1 7e6e39682d53739b45339ab06e5eed03fe45746e [Pipeline] echo 12:00:58 ========================================================= 12:00:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:00:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:00:58 + git log --format=format:%s -1 7e6e39682d53739b45339ab06e5eed03fe45746e [Pipeline] echo 12:00:58 [semverPrep] GIT_COMMIT: 7e6e39682d53739b45339ab06e5eed03fe45746e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 12:00:58 [semverPrep] This is not a build commit. [Pipeline] sh 12:00:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:00:59 + grep -v github /etc/ssh/ssh_known_hosts 12:00:59 + [ -e /tmp/ssh_known_hosts ] 12:00:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:00:59 + + sudo tee -a /etc/ssh/ssh_known_hosts 12:00:59 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:00:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:00:59 12:00:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:00 0.1.4: Pulling from edgex-devops/py-git-semver 12:01:00 b85a868b505f: Pulling fs layer 12:01:00 e2be974225ed: Pulling fs layer 12:01:00 339a4e72a1f5: Pulling fs layer 12:01:00 988bab9f4d93: Pulling fs layer 12:01:00 1469e6f7b9e6: Pulling fs layer 12:01:00 eaf3925da568: Pulling fs layer 12:01:00 bab4dde63d76: Pulling fs layer 12:01:00 eaf3925da568: Waiting 12:01:00 1469e6f7b9e6: Waiting 12:01:00 bab4dde63d76: Waiting 12:01:00 bde34c3a00c8: Pulling fs layer 12:01:00 b352a97aabf1: Pulling fs layer 12:01:00 4872d77fe225: Pulling fs layer 12:01:00 5851b861e8e6: Pulling fs layer 12:01:00 bde34c3a00c8: Waiting 12:01:00 b352a97aabf1: Waiting 12:01:00 4872d77fe225: Waiting 12:01:00 5851b861e8e6: Waiting 12:01:00 e2be974225ed: Verifying Checksum 12:01:00 e2be974225ed: Download complete 12:01:00 988bab9f4d93: Download complete 12:01:00 1469e6f7b9e6: Verifying Checksum 12:01:00 1469e6f7b9e6: Download complete 12:01:00 eaf3925da568: Verifying Checksum 12:01:00 eaf3925da568: Download complete 12:01:00 339a4e72a1f5: Verifying Checksum 12:01:00 339a4e72a1f5: Download complete 12:01:00 bde34c3a00c8: Verifying Checksum 12:01:00 bde34c3a00c8: Download complete 12:01:00 b352a97aabf1: Download complete 12:01:00 4872d77fe225: Verifying Checksum 12:01:00 4872d77fe225: Download complete 12:01:00 5851b861e8e6: Verifying Checksum 12:01:00 5851b861e8e6: Download complete 12:01:00 b85a868b505f: Verifying Checksum 12:01:00 b85a868b505f: Download complete 12:01:00 bab4dde63d76: Verifying Checksum 12:01:00 bab4dde63d76: Download complete 12:01:01 b85a868b505f: Pull complete 12:01:02 e2be974225ed: Pull complete 12:01:02 339a4e72a1f5: Pull complete 12:01:02 988bab9f4d93: Pull complete 12:01:02 1469e6f7b9e6: Pull complete 12:01:02 eaf3925da568: Pull complete 12:01:04 bab4dde63d76: Pull complete 12:01:04 bde34c3a00c8: Pull complete 12:01:05 b352a97aabf1: Pull complete 12:01:05 4872d77fe225: Pull complete 12:01:05 5851b861e8e6: Pull complete 12:01:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:05 prd-ubuntu20.04-docker-8c-8g-13286 does not seem to be running inside a container 12:01:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-396 -v /w/workspace/foundry_device-virtual-go_PR-396:/w/workspace/foundry_device-virtual-go_PR-396:rw,z -v /w/workspace/foundry_device-virtual-go_PR-396@tmp:/w/workspace/foundry_device-virtual-go_PR-396@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 12:01:07 $ docker top dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 -eo pid,comm 12:01:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:01:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:01:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:08 [ssh-agent] Looking for ssh-agent implementation... 12:01:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:08 $ docker exec dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 ssh-agent 12:01:08 SSH_AUTH_SOCK=/tmp/ssh-k6Mo5zBEVpvW/agent.33 12:01:08 SSH_AGENT_PID=39 12:01:08 Running ssh-add (command line suppressed) 12:01:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-396@tmp/private_key_12135903010793913224.key (/w/workspace/foundry_device-virtual-go_PR-396@tmp/private_key_12135903010793913224.key) 12:01:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:08 + git tag --points-at HEAD [Pipeline] } 12:01:08 $ docker exec --env ******** --env ******** dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 ssh-agent -k 12:01:09 unset SSH_AUTH_SOCK; 12:01:09 unset SSH_AGENT_PID; 12:01:09 echo Agent pid 39 killed; 12:01:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:01:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:09 [ssh-agent] Looking for ssh-agent implementation... 12:01:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:09 $ docker exec dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 ssh-agent 12:01:09 SSH_AUTH_SOCK=/tmp/ssh-PxbRFPaWuNkr/agent.71 12:01:09 SSH_AGENT_PID=77 12:01:09 Running ssh-add (command line suppressed) 12:01:09 Identity added: /w/workspace/foundry_device-virtual-go_PR-396@tmp/private_key_9051292256687227870.key (/w/workspace/foundry_device-virtual-go_PR-396@tmp/private_key_9051292256687227870.key) 12:01:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:09 + git semver init 12:01:10 2023-05-04 12:01:10,130 [run_init] DEBUG init version:0.0.0 force:False 12:01:10 2023-05-04 12:01:10,131 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-396/.semver 12:01:10 2023-05-04 12:01:10,131 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-396/.semver 12:01:10 2023-05-04 12:01:10,131 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-396/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-396, universal_newlines=False, shell=None, istream=None) 12:01:11 2023-05-04 12:01:11,292 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-396/.git/info/exclude 12:01:11 2023-05-04 12:01:11,292 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-396/.semver/PR-396 with force:False 12:01:11 2023-05-04 12:01:11,293 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-396/.semver/PR-396 12:01:11 2023-05-04 12:01:11,296 [execute] INFO git cat-file --batch-check 12:01:11 2023-05-04 12:01:11,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) 12:01:11 2023-05-04 12:01:11,302 [execute] INFO git cat-file --batch 12:01:11 2023-05-04 12:01:11,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) 12:01:11 2023-05-04 12:01:11,306 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-396/.semver/PR-396 12:01:11 0.0.0 [Pipeline] } 12:01:11 $ docker exec --env ******** --env ******** dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 ssh-agent -k 12:01:11 unset SSH_AUTH_SOCK; 12:01:11 unset SSH_AGENT_PID; 12:01:11 echo Agent pid 77 killed; 12:01:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:01:12 + git semver [Pipeline] } 12:01:12 $ docker stop --time=1 dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 12:01:13 $ docker rm -f --volumes dd821e8ba3eb84b8a858c86d5d3c81e6b6a831ee842c643669be66559fb7fe65 [Pipeline] // withDockerContainer [Pipeline] sh 12:01:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:01:14 Stashed 1 file(s) [Pipeline] echo 12:01:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:15 provisioning config files... 12:01:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-396@tmp/config11455682369234777521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:15 ---> docker-login.sh 12:01:15 nexus3.edgexfoundry.org:10001 12:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:15 Configure a credential helper to remove this warning. See 12:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:15 12:01:15 Login Succeeded 12:01:15 nexus3.edgexfoundry.org:10002 12:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:15 Configure a credential helper to remove this warning. See 12:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:15 12:01:15 Login Succeeded 12:01:15 nexus3.edgexfoundry.org:10003 12:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:15 Configure a credential helper to remove this warning. See 12:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:15 12:01:15 Login Succeeded 12:01:15 nexus3.edgexfoundry.org:10004 12:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:15 Configure a credential helper to remove this warning. See 12:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:15 12:01:15 Login Succeeded 12:01:15 docker.io 12:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:15 Configure a credential helper to remove this warning. See 12:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:15 12:01:15 Login Succeeded 12:01:16 ---> docker-login.sh ends [Pipeline] } 12:01:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:01:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:16 ========================================================= 12:01:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:01:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:01:16 Sending build context to Docker daemon 23.6MB 12:01:16 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:01:16 Step 2/12 : FROM ${BASE} AS builder 12:01:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:01:17 f56be85fc22e: Pulling fs layer 12:01:17 85791d961cd3: Pulling fs layer 12:01:17 d694b5ae8c79: Pulling fs layer 12:01:17 9f32a84ed3da: Pulling fs layer 12:01:17 4d19c01a9841: Pulling fs layer 12:01:17 9325e15d5711: Pulling fs layer 12:01:17 556b6ee489ea: Pulling fs layer 12:01:17 c5a4b2cf53e6: Pulling fs layer 12:01:17 9f32a84ed3da: Waiting 12:01:17 4d19c01a9841: Waiting 12:01:17 9325e15d5711: Waiting 12:01:17 c5a4b2cf53e6: Waiting 12:01:17 556b6ee489ea: Waiting 12:01:17 85791d961cd3: Verifying Checksum 12:01:17 85791d961cd3: Download complete 12:01:17 9f32a84ed3da: Verifying Checksum 12:01:17 9f32a84ed3da: Download complete 12:01:17 4d19c01a9841: Download complete 12:01:17 f56be85fc22e: Verifying Checksum 12:01:17 f56be85fc22e: Download complete 12:01:17 9325e15d5711: Verifying Checksum 12:01:17 9325e15d5711: Download complete 12:01:17 f56be85fc22e: Pull complete 12:01:17 85791d961cd3: Pull complete 12:01:17 c5a4b2cf53e6: Verifying Checksum 12:01:17 c5a4b2cf53e6: Download complete 12:01:17 d694b5ae8c79: Verifying Checksum 12:01:17 d694b5ae8c79: Download complete 12:01:18 556b6ee489ea: Verifying Checksum 12:01:18 556b6ee489ea: Download complete 12:01:21 d694b5ae8c79: Pull complete 12:01:21 9f32a84ed3da: Pull complete 12:01:21 4d19c01a9841: Pull complete 12:01:21 9325e15d5711: Pull complete 12:01:24 556b6ee489ea: Pull complete 12:01:25 c5a4b2cf53e6: Pull complete 12:01:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:01:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:01:25 ---> c4be618373d6 12:01:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:01:29 ---> Running in e4063e99bbd2 12:01:29 Still waiting to schedule task 12:01:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:01:29 Removing intermediate container e4063e99bbd2 12:01:29 ---> 7cb6bc4c57af 12:01:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:01:29 ---> Running in 68bc3f6e73ff 12:01:29 Removing intermediate container 68bc3f6e73ff 12:01:29 ---> 10a5c8c4f832 12:01:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:01:29 ---> Running in 806e0243c3be 12:01:30 Removing intermediate container 806e0243c3be 12:01:30 ---> 72a4bfe651f3 12:01:30 Step 6/12 : WORKDIR /device-virtual-go 12:01:30 ---> Running in ab93508036c1 12:01:30 Removing intermediate container ab93508036c1 12:01:30 ---> bd0dde730688 12:01:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:30 ---> Running in 0be1ba79693b 12:01:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:01:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:01:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:01:31 (2/4) Installing libedit (20221030.3.1-r0) 12:01:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:01:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:01:31 Executing busybox-1.35.0-r29.trigger 12:01:31 OK: 269 MiB in 57 packages 12:01:31 Removing intermediate container 0be1ba79693b 12:01:31 ---> aeec899db98e 12:01:31 Step 8/12 : COPY go.mod vendor* ./ 12:01:31 ---> 22693ce71abf 12:01:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:31 ---> Running in 7c82338ccdef 12:02:10 Removing intermediate container 7c82338ccdef 12:02:10 ---> 66ac518498e7 12:02:10 Step 10/12 : COPY . . 12:02:10 ---> 2518fc59bb77 12:02:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:02:10 ---> Running in e590179f9ab4 12:02:10 Removing intermediate container e590179f9ab4 12:02:10 ---> c7567d87ce0d 12:02:10 Step 12/12 : RUN $MAKE 12:02:10 ---> Running in 97a911aebd13 12:02:11 noop 12:02:11 Removing intermediate container 97a911aebd13 12:02:11 ---> 9b30a6774bc4 12:02:11 Successfully built 9b30a6774bc4 12:02:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:11 + docker inspect -f . ci-base-image-x86_64 12:02:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:12 prd-ubuntu20.04-docker-8c-8g-13286 does not seem to be running inside a container 12:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-396 -v /w/workspace/foundry_device-virtual-go_PR-396:/w/workspace/foundry_device-virtual-go_PR-396:rw,z -v /w/workspace/foundry_device-virtual-go_PR-396@tmp:/w/workspace/foundry_device-virtual-go_PR-396@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 12:02:12 $ docker top 80f6188f4d94a084371453b0443980acf17938a9c1bb3fd75e52ed2e48453296 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:12 + go version 12:02:12 go version go1.20.2 linux/amd64 [Pipeline] } 12:02:12 $ docker stop --time=1 80f6188f4d94a084371453b0443980acf17938a9c1bb3fd75e52ed2e48453296 12:02:14 $ docker rm -f --volumes 80f6188f4d94a084371453b0443980acf17938a9c1bb3fd75e52ed2e48453296 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:15 + docker inspect -f . ci-base-image-x86_64 12:02:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:15 prd-ubuntu20.04-docker-8c-8g-13286 does not seem to be running inside a container 12:02:15 $ 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-396 -v /w/workspace/foundry_device-virtual-go_PR-396:/w/workspace/foundry_device-virtual-go_PR-396:rw,z -v /w/workspace/foundry_device-virtual-go_PR-396@tmp:/w/workspace/foundry_device-virtual-go_PR-396@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 12:02:15 $ docker top ed00c64c71bcf4d89e8a0f9f3ae67cb0bf85d528e621c9c10041ddb8244bc8a2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:15 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-396 [Pipeline] fileExists [Pipeline] sh 12:02:16 + make test 12:02:16 go test ./... -coverprofile=coverage.out 12:02:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:02:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:02:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 12:02:38 go vet ./... 12:02:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:02:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:02:41 ./bin/test-attribution-txt.sh [Pipeline] echo 12:02:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:02:41 $ docker stop --time=1 ed00c64c71bcf4d89e8a0f9f3ae67cb0bf85d528e621c9c10041ddb8244bc8a2 12:02:44 $ docker rm -f --volumes ed00c64c71bcf4d89e8a0f9f3ae67cb0bf85d528e621c9c10041ddb8244bc8a2 [Pipeline] // withDockerContainer [Pipeline] sh 12:02:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:02:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:02:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:02:45 + ls -al . 12:02:45 total 192 12:02:45 drwxrwxr-x 9 jenkins jenkins 4096 May 4 12:02 . 12:02:45 drwxrwxr-x 4 jenkins jenkins 4096 May 4 12:00 .. 12:02:45 drwxrwxr-x 8 jenkins jenkins 4096 May 4 12:01 .git 12:02:45 drwxrwxr-x 3 jenkins jenkins 4096 May 4 12:00 .github 12:02:45 -rw-rw-r-- 1 jenkins jenkins 337 May 4 12:00 .gitignore 12:02:45 -rw-rw-r-- 1 jenkins jenkins 41 May 4 12:00 .golangci.yml 12:02:45 drwxr-xr-x 3 jenkins jenkins 4096 May 4 12:01 .semver 12:02:45 -rw-rw-r-- 1 jenkins jenkins 8652 May 4 12:00 Attribution.txt 12:02:45 -rw-rw-r-- 1 jenkins jenkins 11367 May 4 12:00 CHANGELOG.md 12:02:45 -rw-rw-r-- 1 jenkins jenkins 1646 May 4 12:00 Dockerfile 12:02:45 -rw-rw-r-- 1 jenkins jenkins 677 May 4 12:00 GOVERNANCE.md 12:02:45 -rw-rw-r-- 1 jenkins jenkins 660 May 4 12:00 Jenkinsfile 12:02:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 12:00 LICENSE 12:02:45 -rw-rw-r-- 1 jenkins jenkins 1696 May 4 12:00 Makefile 12:02:45 -rw-rw-r-- 1 jenkins jenkins 623 May 4 12:00 OWNERS.md 12:02:45 -rw-rw-r-- 1 jenkins jenkins 3578 May 4 12:00 README.md 12:02:45 -rw-rw-r-- 1 jenkins jenkins 5 May 4 12:01 VERSION 12:02:45 drwxrwxr-x 2 jenkins jenkins 4096 May 4 12:00 bin 12:02:45 drwxrwxr-x 3 jenkins jenkins 4096 May 4 12:00 cmd 12:02:45 -rw-r--r-- 1 jenkins jenkins 43063 May 4 12:02 coverage.out 12:02:45 -rw-rw-r-- 1 jenkins jenkins 3209 May 4 12:00 go.mod 12:02:45 -rw-rw-r-- 1 jenkins jenkins 30994 May 4 12:00 go.sum 12:02:45 drwxrwxr-x 3 jenkins jenkins 4096 May 4 12:00 internal 12:02:45 drwxrwxr-x 4 jenkins jenkins 4096 May 4 12:00 snap 12:02:45 -rw-rw-r-- 1 jenkins jenkins 235 May 4 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:46 + 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=7e6e39682d53739b45339ab06e5eed03fe45746e --label arch=amd64 --label version=0.0.0 . 12:02:46 Sending build context to Docker daemon 23.64MB 12:02:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:02:46 Step 2/25 : FROM ${BASE} AS builder 12:02:46 ---> 9b30a6774bc4 12:02:46 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:02:46 ---> Running in a790eeb6b5e1 12:02:46 Removing intermediate container a790eeb6b5e1 12:02:46 ---> e6bcf4b2bed2 12:02:46 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:02:46 ---> Running in 7f71179d8d31 12:02:46 Removing intermediate container 7f71179d8d31 12:02:46 ---> aa4f86d1d9bb 12:02:46 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:02:46 ---> Running in 4b17bd96a7b6 12:02:46 Removing intermediate container 4b17bd96a7b6 12:02:46 ---> 1c5a1da555fa 12:02:46 Step 6/25 : WORKDIR /device-virtual-go 12:02:46 ---> Running in 7aa7792205b4 12:02:46 Removing intermediate container 7aa7792205b4 12:02:46 ---> 76b78f8dbc57 12:02:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:02:46 ---> Running in b76aaee2bc10 12:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:02:47 OK: 269 MiB in 57 packages 12:02:47 Removing intermediate container b76aaee2bc10 12:02:47 ---> a53041128458 12:02:47 Step 8/25 : COPY go.mod vendor* ./ 12:02:47 ---> 144b62d3992c 12:02:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:02:47 ---> Running in ef0e23840280 12:02:49 Removing intermediate container ef0e23840280 12:02:49 ---> 4decff0d95ba 12:02:49 Step 10/25 : COPY . . 12:02:49 ---> 92b6b3575b28 12:02:49 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:02:49 ---> Running in 308c869f4788 12:02:49 Removing intermediate container 308c869f4788 12:02:49 ---> 7b8092c34940 12:02:49 Step 12/25 : RUN $MAKE 12:02:49 ---> Running in c30d06a64aec 12:02:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:03:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13287 in /w/workspace/foundry_device-virtual-go_PR-396 [Pipeline] { [Pipeline] ws 12:03:03 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:03:03 The recommended git tool is: git 12:03:07 Removing intermediate container c30d06a64aec 12:03:07 ---> 781b3c600dc9 12:03:07 Step 13/25 : FROM alpine:3.17 12:03:07 3.17: Pulling from library/alpine 12:03:07 f56be85fc22e: Already exists 12:03:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:03:07 Status: Downloaded newer image for alpine:3.17 12:03:07 ---> 9ed4aefc74f6 12:03:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:03:07 ---> Running in b174862bd057 12:03:07 Removing intermediate container b174862bd057 12:03:07 ---> cb55d9da6551 12:03:07 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:03:07 ---> Running in 746d48f47e0b 12:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:03:07 (1/1) Installing dumb-init (1.2.5-r2) 12:03:07 Executing busybox-1.35.0-r29.trigger 12:03:07 OK: 7 MiB in 16 packages 12:03:08 Removing intermediate container 746d48f47e0b 12:03:08 ---> 69f759553048 12:03:08 Step 16/25 : WORKDIR / 12:03:08 ---> Running in f6ec9607591a 12:03:08 Removing intermediate container f6ec9607591a 12:03:08 ---> 548edc601033 12:03:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:03:08 ---> 9b0f3b5fe0ff 12:03:08 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:03:08 ---> 41ed5955fd45 12:03:08 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:03:09 ---> 1f6539d93d94 12:03:09 Step 20/25 : EXPOSE 59900 12:03:09 ---> Running in 2f848c6a8a25 12:03:09 Removing intermediate container 2f848c6a8a25 12:03:09 ---> c9db4d962d68 12:03:09 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:03:09 ---> Running in f25b26a29b8d 12:03:09 Removing intermediate container f25b26a29b8d 12:03:09 ---> 45c6ebc9e79a 12:03:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:03:09 ---> Running in 7f95f9a851a3 12:03:09 Removing intermediate container 7f95f9a851a3 12:03:09 ---> b4f8d9ff2c71 12:03:09 Step 23/25 : LABEL arch=amd64 12:03:09 ---> Running in 196cbcf00e6d 12:03:09 Removing intermediate container 196cbcf00e6d 12:03:09 ---> 56e0614f5505 12:03:09 Step 24/25 : LABEL git_sha=7e6e39682d53739b45339ab06e5eed03fe45746e 12:03:09 ---> Running in 308959e78894 12:03:09 using credential edgex-jenkins-ssh 12:03:09 Cloning the remote Git repository 12:03:09 Removing intermediate container 308959e78894 12:03:09 ---> 8ba4a77597eb 12:03:09 Step 25/25 : LABEL version=0.0.0 12:03:09 ---> Running in d09971e48b4d 12:03:09 Removing intermediate container d09971e48b4d 12:03:09 ---> a221dead62c2 12:03:09 [Warning] One or more build-args [ARCH] were not consumed 12:03:09 Successfully built a221dead62c2 12:03:09 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] { 12:03:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:03:09 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:03:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:03:09 > git --version # timeout=10 12:03:09 > git --version # 'git version 2.25.1' 12:03:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:03:10 12:03:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:03:10 latest: Pulling from edgex-lftools-log-publisher 12:03:10 5eb5b503b376: Pulling fs layer 12:03:10 5c69ac0246d0: Pulling fs layer 12:03:10 ec43610c2a17: Pulling fs layer 12:03:10 3a2ae6a8a46f: Pulling fs layer 12:03:10 33b1e0a273af: Pulling fs layer 12:03:10 5d3b04190fa2: Pulling fs layer 12:03:10 2f39f015ded8: Pulling fs layer 12:03:10 5d3b04190fa2: Waiting 12:03:10 33b1e0a273af: Waiting 12:03:10 2f39f015ded8: Waiting 12:03:10 3a2ae6a8a46f: Waiting 12:03:10 5c69ac0246d0: Verifying Checksum 12:03:10 5c69ac0246d0: Download complete 12:03:10 3a2ae6a8a46f: Download complete 12:03:10 33b1e0a273af: Verifying Checksum 12:03:10 33b1e0a273af: Download complete 12:03:10 ec43610c2a17: Verifying Checksum 12:03:10 ec43610c2a17: Download complete 12:03:10 5d3b04190fa2: Download complete 12:03:11 5eb5b503b376: Download complete 12:03:11 2f39f015ded8: Verifying Checksum 12:03:11 2f39f015ded8: Download complete 12:03:12 5eb5b503b376: Pull complete 12:03:12 5c69ac0246d0: Pull complete 12:03:12 ec43610c2a17: Pull complete 12:03:12 3a2ae6a8a46f: Pull complete 12:03:12 33b1e0a273af: Pull complete 12:03:13 5d3b04190fa2: Pull complete 12:03:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:03:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:03:16 Merging remotes/origin/main commit 57e8f11bd3ea3d47e4da0a6a34afa9d3832cc92d into PR head commit 7e6e39682d53739b45339ab06e5eed03fe45746e 12:03:16 2f39f015ded8: Pull complete 12:03:16 Merge succeeded, producing 7e6e39682d53739b45339ab06e5eed03fe45746e 12:03:16 Checking out Revision 7e6e39682d53739b45339ab06e5eed03fe45746e (PR-396) 12:03:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:03:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:16 prd-ubuntu20.04-docker-8c-8g-13286 does not seem to be running inside a container 12:03:16 $ 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-396 -v /w/workspace/foundry_device-virtual-go_PR-396:/w/workspace/foundry_device-virtual-go_PR-396:rw,z -v /w/workspace/foundry_device-virtual-go_PR-396@tmp:/w/workspace/foundry_device-virtual-go_PR-396@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 12:03:17 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 12:03:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:03:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:03:15 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:03:16 > git config core.sparsecheckout # timeout=10 12:03:16 > git checkout -f 7e6e39682d53739b45339ab06e5eed03fe45746e # timeout=10 12:03:16 > git remote # timeout=10 12:03:16 > git config --get remote.origin.url # timeout=10 12:03:16 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:16 > git merge 57e8f11bd3ea3d47e4da0a6a34afa9d3832cc92d # timeout=10 12:03:16 > git rev-parse HEAD^{commit} # timeout=10 12:03:16 > git config core.sparsecheckout # timeout=10 12:03:16 > git checkout -f 7e6e39682d53739b45339ab06e5eed03fe45746e # timeout=10 12:03:17 > git --version # timeout=10 12:03:17 > git --version # 'git version 2.25.1' 12:03:17 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:03:17 12:03:17 GitHub has been notified of this commit’s build result 12:03:17 12:03:19 $ docker top 23656e3ba66785a2b9abc0d091561da29d4d8d57de80cbf905cd634ac29bc52a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:19 ---> job-cost.sh 12:03:19 lf-activate-venv: SKIPPING 12:03:19 INFO: No Stack... 12:03:20 INFO: Retrieving Pricing Info for: v3-standard-8 12:03:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:03:20 % Total % Received % Xferd Average Speed Time Time Time Current 12:03:20 Dload Upload Total Spent Left Speed 12:03:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 12:03:20 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 12:03:20 + cat /w/workspace/foundry_device-virtual-go_PR-396/archives/cost.csv 12:03:20 + cut -d, -f6 [Pipeline] lock 12:03:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] 12:03:20 Resource [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] did not exist. Created. 12:03:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:03:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:03:21 + echo total: 0.2199999988079071 [Pipeline] stash 12:03:21 Stashed 1 file(s) [Pipeline] } 12:03:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] 12:03:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:03:21 + sudo tee /etc/docker/daemon.new 12:03:21 { 12:03:21 "registry-mirrors": [ 12:03:21 "https://nexus3.edgexfoundry.org:10001" 12:03:21 ], 12:03:21 "bip": "10.250.0.254/24", 12:03:21 "hosts": [ 12:03:21 "tcp://0.0.0.0:5555", 12:03:21 "unix:///var/run/docker.sock" 12:03:21 ], 12:03:21 "mtu": 1458, 12:03:21 "selinux-enabled": true, 12:03:21 "seccomp-profile": "/etc/docker/seccomp.json" 12:03:21 } [Pipeline] // lock [Pipeline] } 12:03:21 $ docker stop --time=1 23656e3ba66785a2b9abc0d091561da29d4d8d57de80cbf905cd634ac29bc52a 12:03:22 $ docker rm -f --volumes 23656e3ba66785a2b9abc0d091561da29d4d8d57de80cbf905cd634ac29bc52a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:03:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:03:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:41 provisioning config files... 12:03:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config465837951684801222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:41 ---> docker-login.sh 12:03:41 nexus3.edgexfoundry.org:10001 12:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:42 Configure a credential helper to remove this warning. See 12:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:42 12:03:42 Login Succeeded 12:03:42 nexus3.edgexfoundry.org:10002 12:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:43 Configure a credential helper to remove this warning. See 12:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:43 12:03:43 Login Succeeded 12:03:43 nexus3.edgexfoundry.org:10003 12:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:43 Configure a credential helper to remove this warning. See 12:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:43 12:03:43 Login Succeeded 12:03:43 nexus3.edgexfoundry.org:10004 12:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:43 Configure a credential helper to remove this warning. See 12:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:43 12:03:43 Login Succeeded 12:03:43 docker.io 12:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:44 Configure a credential helper to remove this warning. See 12:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:44 12:03:44 Login Succeeded 12:03:44 ---> docker-login.sh ends [Pipeline] } 12:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:44 ========================================================= 12:03:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:03:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:03:45 Sending build context to Docker daemon 11.96MB 12:03:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:03:45 Step 2/12 : FROM ${BASE} AS builder 12:03:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:03:46 c41833b44d91: Pulling fs layer 12:03:46 ed15518f5707: Pulling fs layer 12:03:46 feae8fd75edb: Pulling fs layer 12:03:46 242c74f7c9fa: Pulling fs layer 12:03:46 3cdef696dda3: Pulling fs layer 12:03:46 2ced38df9373: Pulling fs layer 12:03:46 58f1dce35555: Pulling fs layer 12:03:46 3cdef696dda3: Waiting 12:03:46 2ced38df9373: Waiting 12:03:46 58f1dce35555: Waiting 12:03:46 242c74f7c9fa: Waiting 12:03:46 ed15518f5707: Verifying Checksum 12:03:46 ed15518f5707: Download complete 12:03:46 242c74f7c9fa: Verifying Checksum 12:03:46 242c74f7c9fa: Download complete 12:03:46 3cdef696dda3: Verifying Checksum 12:03:46 3cdef696dda3: Download complete 12:03:46 c41833b44d91: Verifying Checksum 12:03:46 c41833b44d91: Download complete 12:03:46 c41833b44d91: Pull complete 12:03:47 58f1dce35555: Verifying Checksum 12:03:47 58f1dce35555: Download complete 12:03:47 ed15518f5707: Pull complete 12:03:48 feae8fd75edb: Verifying Checksum 12:03:48 feae8fd75edb: Download complete 12:03:49 2ced38df9373: Verifying Checksum 12:03:49 2ced38df9373: Download complete 12:04:01 feae8fd75edb: Pull complete 12:04:01 242c74f7c9fa: Pull complete 12:04:01 3cdef696dda3: Pull complete 12:04:08 2ced38df9373: Pull complete 12:04:10 58f1dce35555: Pull complete 12:04:10 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 12:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:04:10 ---> fadd8f120f05 12:04:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:04:12 ---> Running in 93ea0d5be507 12:04:12 Removing intermediate container 93ea0d5be507 12:04:12 ---> 6b8b41e0e8e9 12:04:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:04:12 ---> Running in 4fc0a1b73768 12:04:13 Removing intermediate container 4fc0a1b73768 12:04:13 ---> 7d9528e53b65 12:04:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:04:13 ---> Running in cc5f13231175 12:04:13 Removing intermediate container cc5f13231175 12:04:13 ---> c7c1349fe220 12:04:13 Step 6/12 : WORKDIR /device-virtual-go 12:04:13 ---> Running in 3308118480cb 12:04:13 Removing intermediate container 3308118480cb 12:04:13 ---> 3cec506328cc 12:04:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:14 ---> Running in 555e96311fa1 12:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:04:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:04:16 (2/4) Installing libedit (20221030.3.1-r0) 12:04:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:04:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:04:16 Executing busybox-1.35.0-r29.trigger 12:04:16 OK: 268 MiB in 57 packages 12:04:17 Removing intermediate container 555e96311fa1 12:04:17 ---> 8d5437884390 12:04:17 Step 8/12 : COPY go.mod vendor* ./ 12:04:18 ---> 3f383c15af54 12:04:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:18 ---> Running in 506cbea7c50e 12:05:26 Removing intermediate container 506cbea7c50e 12:05:26 ---> 384eef278ec0 12:05:26 Step 10/12 : COPY . . 12:05:26 ---> 7cb54ce6623f 12:05:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:05:26 ---> Running in 03ff2ae50e03 12:05:26 Removing intermediate container 03ff2ae50e03 12:05:26 ---> 496e81e5d69c 12:05:26 Step 12/12 : RUN $MAKE 12:05:26 ---> Running in 0ab5ae3612de 12:05:26 noop 12:05:26 Removing intermediate container 0ab5ae3612de 12:05:26 ---> e59b3f59a318 12:05:26 Successfully built e59b3f59a318 12:05:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:26 + docker inspect -f . ci-base-image-arm64 12:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:27 prd-ubuntu20.04-docker-arm64-4c-16g-13287 does not seem to be running inside a container 12:05:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:05:28 $ docker top 8464d5b0f9443fce55a5b009f6a0f9e6e390a9d2d8e17536c3b819cd73cf7e13 -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:29 + go version 12:05:29 go version go1.20.2 linux/arm64 [Pipeline] } 12:05:29 $ docker stop --time=1 8464d5b0f9443fce55a5b009f6a0f9e6e390a9d2d8e17536c3b819cd73cf7e13 12:05:31 $ docker rm -f --volumes 8464d5b0f9443fce55a5b009f6a0f9e6e390a9d2d8e17536c3b819cd73cf7e13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:32 + docker inspect -f . ci-base-image-arm64 12:05:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:32 prd-ubuntu20.04-docker-arm64-4c-16g-13287 does not seem to be running inside a container 12:05:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:05:33 $ docker top 62132d23937b02210e0c54743e82f810a19f73ccf3f1eb9771afa6d93bb39a68 -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:34 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:05:34 + make test 12:05:35 go test ./... -coverprofile=coverage.out 12:06:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:07:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:07:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.086s coverage: 58.4% of statements 12:07:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:07:59 go vet ./... 12:08:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:08:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:08:25 ./bin/test-attribution-txt.sh [Pipeline] echo 12:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:08:25 $ docker stop --time=1 62132d23937b02210e0c54743e82f810a19f73ccf3f1eb9771afa6d93bb39a68 12:08:27 $ docker rm -f --volumes 62132d23937b02210e0c54743e82f810a19f73ccf3f1eb9771afa6d93bb39a68 [Pipeline] // withDockerContainer [Pipeline] sh 12:08:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:08:28 Warning: overwriting stash ‘coverage-report’ 12:08:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:08:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:08:30 + ls -al . 12:08:30 total 188 12:08:30 drwxrwxr-x 8 jenkins jenkins 4096 May 4 12:05 . 12:08:30 drwxrwxr-x 4 jenkins jenkins 4096 May 4 12:03 .. 12:08:30 drwxrwxr-x 8 jenkins jenkins 4096 May 4 12:03 .git 12:08:30 drwxrwxr-x 3 jenkins jenkins 4096 May 4 12:03 .github 12:08:30 -rw-rw-r-- 1 jenkins jenkins 337 May 4 12:03 .gitignore 12:08:30 -rw-rw-r-- 1 jenkins jenkins 41 May 4 12:03 .golangci.yml 12:08:30 -rw-rw-r-- 1 jenkins jenkins 8652 May 4 12:03 Attribution.txt 12:08:30 -rw-rw-r-- 1 jenkins jenkins 11367 May 4 12:03 CHANGELOG.md 12:08:30 -rw-rw-r-- 1 jenkins jenkins 1646 May 4 12:03 Dockerfile 12:08:30 -rw-rw-r-- 1 jenkins jenkins 677 May 4 12:03 GOVERNANCE.md 12:08:30 -rw-rw-r-- 1 jenkins jenkins 660 May 4 12:03 Jenkinsfile 12:08:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 12:03 LICENSE 12:08:30 -rw-rw-r-- 1 jenkins jenkins 1696 May 4 12:03 Makefile 12:08:30 -rw-rw-r-- 1 jenkins jenkins 623 May 4 12:03 OWNERS.md 12:08:30 -rw-rw-r-- 1 jenkins jenkins 3578 May 4 12:03 README.md 12:08:30 -rw-rw-r-- 1 jenkins jenkins 5 May 4 12:01 VERSION 12:08:30 drwxrwxr-x 2 jenkins jenkins 4096 May 4 12:03 bin 12:08:30 drwxrwxr-x 3 jenkins jenkins 4096 May 4 12:03 cmd 12:08:30 -rw-r--r-- 1 jenkins jenkins 43063 May 4 12:07 coverage.out 12:08:30 -rw-rw-r-- 1 jenkins jenkins 3209 May 4 12:03 go.mod 12:08:30 -rw-rw-r-- 1 jenkins jenkins 30994 May 4 12:03 go.sum 12:08:30 drwxrwxr-x 3 jenkins jenkins 4096 May 4 12:03 internal 12:08:30 drwxrwxr-x 4 jenkins jenkins 4096 May 4 12:03 snap 12:08:30 -rw-rw-r-- 1 jenkins jenkins 235 May 4 12:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:30 + 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=7e6e39682d53739b45339ab06e5eed03fe45746e --label arch=arm64 --label version=0.0.0 . 12:08:31 Sending build context to Docker daemon 12.01MB 12:08:31 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:08:31 Step 2/25 : FROM ${BASE} AS builder 12:08:31 ---> e59b3f59a318 12:08:31 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:08:31 ---> Running in dc3a78cfab19 12:08:31 Removing intermediate container dc3a78cfab19 12:08:31 ---> 155c6eb953c2 12:08:31 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:08:31 ---> Running in 7a5579336837 12:08:31 Removing intermediate container 7a5579336837 12:08:31 ---> 8620e89823e8 12:08:31 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:08:32 ---> Running in c8035be4d4e5 12:08:32 Removing intermediate container c8035be4d4e5 12:08:32 ---> c129fa84095b 12:08:32 Step 6/25 : WORKDIR /device-virtual-go 12:08:32 ---> Running in 3b185f5b592b 12:08:32 Removing intermediate container 3b185f5b592b 12:08:32 ---> 2d884d310b6d 12:08:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:32 ---> Running in c5225e8e6eb6 12:08:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:08:35 OK: 268 MiB in 57 packages 12:08:37 Removing intermediate container c5225e8e6eb6 12:08:37 ---> 4540e8f1783c 12:08:37 Step 8/25 : COPY go.mod vendor* ./ 12:08:37 ---> f7c67ebfc6cd 12:08:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:08:37 ---> Running in 37847bff94f8 12:08:40 Removing intermediate container 37847bff94f8 12:08:40 ---> 1122e141a080 12:08:40 Step 10/25 : COPY . . 12:08:41 ---> 380fe8ea904a 12:08:41 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:08:41 ---> Running in cbba33aa04fb 12:08:41 Removing intermediate container cbba33aa04fb 12:08:41 ---> eb640d8950a9 12:08:41 Step 12/25 : RUN $MAKE 12:08:41 ---> Running in e1f977256d08 12:08:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:10:49 Removing intermediate container e1f977256d08 12:10:49 ---> 1ccfa5d7ba0a 12:10:49 Step 13/25 : FROM alpine:3.17 12:10:49 3.17: Pulling from library/alpine 12:10:49 c41833b44d91: Already exists 12:10:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:10:49 Status: Downloaded newer image for alpine:3.17 12:10:49 ---> 51e60588ff2c 12:10:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:10:49 ---> Running in 0116158e9088 12:10:49 Removing intermediate container 0116158e9088 12:10:49 ---> a1ec9716e0d1 12:10:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:10:49 ---> Running in 4f34729892f7 12:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:10:49 (1/1) Installing dumb-init (1.2.5-r2) 12:10:49 Executing busybox-1.35.0-r29.trigger 12:10:49 OK: 8 MiB in 16 packages 12:10:50 Removing intermediate container 4f34729892f7 12:10:50 ---> 37c8572feffb 12:10:50 Step 16/25 : WORKDIR / 12:10:50 ---> Running in a7a655a26a98 12:10:50 Removing intermediate container a7a655a26a98 12:10:50 ---> 72e227e3c1c0 12:10:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:10:51 ---> 03f1cf51ff58 12:10:51 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:10:51 ---> cd5caf9af2f8 12:10:51 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:10:52 ---> 4c6577fd8a74 12:10:52 Step 20/25 : EXPOSE 59900 12:10:52 ---> Running in 97e0df03ff43 12:10:53 Removing intermediate container 97e0df03ff43 12:10:53 ---> 03859884731f 12:10:53 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:10:53 ---> Running in a646b21c9bbb 12:10:53 Removing intermediate container a646b21c9bbb 12:10:53 ---> f1efd7e5c8a6 12:10:53 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:10:53 ---> Running in e8c50a14d434 12:10:53 Removing intermediate container e8c50a14d434 12:10:53 ---> 607dbb4c65da 12:10:53 Step 23/25 : LABEL arch=arm64 12:10:53 ---> Running in d404826f9365 12:10:54 Removing intermediate container d404826f9365 12:10:54 ---> e5d4839d4a95 12:10:54 Step 24/25 : LABEL git_sha=7e6e39682d53739b45339ab06e5eed03fe45746e 12:10:54 ---> Running in 1448a48a75ca 12:10:54 Removing intermediate container 1448a48a75ca 12:10:54 ---> 92ec68844884 12:10:54 Step 25/25 : LABEL version=0.0.0 12:10:54 ---> Running in dbc03926b9c6 12:10:54 Removing intermediate container dbc03926b9c6 12:10:54 ---> 804b89eb86e5 12:10:54 [Warning] One or more build-args [ARCH] were not consumed 12:10:54 Successfully built 804b89eb86e5 12:10:54 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:55 12:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:55 arm64: Pulling from edgex-lftools-log-publisher 12:10:55 8998bd30e6a1: Pulling fs layer 12:10:55 04944245beec: Pulling fs layer 12:10:55 699f458cf7ca: Pulling fs layer 12:10:55 765212b225bb: Pulling fs layer 12:10:55 f23df028b6ca: Pulling fs layer 12:10:55 d65c8cfc05b1: Pulling fs layer 12:10:55 2437ff75d9bd: Pulling fs layer 12:10:55 f23df028b6ca: Waiting 12:10:55 d65c8cfc05b1: Waiting 12:10:55 2437ff75d9bd: Waiting 12:10:55 765212b225bb: Waiting 12:10:56 04944245beec: Verifying Checksum 12:10:56 04944245beec: Download complete 12:10:56 765212b225bb: Verifying Checksum 12:10:56 765212b225bb: Download complete 12:10:56 f23df028b6ca: Verifying Checksum 12:10:56 f23df028b6ca: Download complete 12:10:56 d65c8cfc05b1: Verifying Checksum 12:10:56 d65c8cfc05b1: Download complete 12:10:56 699f458cf7ca: Verifying Checksum 12:10:56 699f458cf7ca: Download complete 12:10:56 8998bd30e6a1: Verifying Checksum 12:10:56 8998bd30e6a1: Download complete 12:10:58 2437ff75d9bd: Verifying Checksum 12:10:58 2437ff75d9bd: Download complete 12:11:00 8998bd30e6a1: Pull complete 12:11:04 04944245beec: Pull complete 12:11:05 699f458cf7ca: Pull complete 12:11:05 765212b225bb: Pull complete 12:11:06 f23df028b6ca: Pull complete 12:11:06 d65c8cfc05b1: Pull complete 12:11:21 2437ff75d9bd: Pull complete 12:11:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:21 prd-ubuntu20.04-docker-arm64-4c-16g-13287 does not seem to be running inside a container 12:11:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:11:24 $ docker top c35ba9bb082a55c3df61a63cc333d85fb3e980ba94b167b53625fb9dcd95ba57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:24 ---> job-cost.sh 12:11:25 lf-activate-venv: SKIPPING 12:11:25 INFO: No Stack... 12:11:25 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:26 INFO: Archiving Costs [Pipeline] sh 12:11:26 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 12:11:26 + cut -d, -f6 [Pipeline] lock 12:11:26 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] 12:11:26 Resource [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] did not exist. Created. 12:11:26 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:27 /w/workspace/device-virtual-go/1@tmp/durable-44dae12f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:27 + echo total: 0.10999999940395355 [Pipeline] stash 12:11:27 Warning: overwriting stash ‘stack-cost’ 12:11:27 Stashed 1 file(s) [Pipeline] } 12:11:27 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:28 $ docker stop --time=1 c35ba9bb082a55c3df61a63cc333d85fb3e980ba94b167b53625fb9dcd95ba57 12:11:29 $ docker rm -f --volumes c35ba9bb082a55c3df61a63cc333d85fb3e980ba94b167b53625fb9dcd95ba57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:11:30 provisioning config files... 12:11:30 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-396@tmp/config11539923253190040350tmp [Pipeline] { [Pipeline] sh 12:11:30 + set +x 12:11:30 + curl -s https://codecov.io/bash 12:11:30 + bash -s -- 12:11:30 12:11:30 _____ _ 12:11:30 / ____| | | 12:11:30 | | ___ __| | ___ ___ _____ __ 12:11:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:11:30 | |___| (_) | (_| | __/ (_| (_) \ V / 12:11:30 \_____\___/ \__,_|\___|\___\___/ \_/ 12:11:30 Bash-1.0.6 12:11:30 12:11:30 12:11:30 ==> git version 2.25.1 found 12:11:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:11:30 Release-Date: 2020-01-08 12:11:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:11:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:11:30 ==> Jenkins CI detected. 12:11:30 current dir:  /w/workspace/foundry_device-virtual-go_PR-396 12:11:30 project root: . 12:11:30 --> token set from env 12:11:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:11:30 ==> Running gcov in . (disable via -X gcov) 12:11:30 ==> Python coveragepy not found 12:11:30 ==> Searching for coverage reports in: 12:11:30 + . 12:11:31 -> Found 1 reports 12:11:31 ==> Detecting git/mercurial file structure 12:11:31 ==> Reading reports 12:11:31 + ./coverage.out bytes=43063 12:11:31 ==> Appending adjustments 12:11:31 https://docs.codecov.io/docs/fixing-reports 12:11:31 + Found adjustments 12:11:31 ==> Gzipping contents 12:11:31 8.0K /tmp/codecov.scWjqk.gz 12:11:31 ==> Uploading reports 12:11:31 url: https://codecov.io 12:11:31 query: branch=PR-396&commit=7e6e39682d53739b45339ab06e5eed03fe45746e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=396&job=&cmd_args= 12:11:31 -> Pinging Codecov 12:11:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-396&commit=7e6e39682d53739b45339ab06e5eed03fe45746e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=396&job=&cmd_args= 12:11:31 -> Uploading to 12:11:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/5E52B4B073DB2E39498172D8E973AA87/7e6e39682d53739b45339ab06e5eed03fe45746e/65ee89da-3adf-4bf4-a5a7-4d207e76839a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T121131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b59b83088d668870457a63728597b60536d55d4cc5ff97e6e71031224c348142 12:11:31 % Total % Received % Xferd Average Speed Time Time Time Current 12:11:31 Dload Upload Total Spent Left Speed 12:11:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21510 --:--:-- --:--:-- --:--:-- 21510 12:11:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/7e6e39682d53739b45339ab06e5eed03fe45746e [Pipeline] } 12:11:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:11:33 + [ -d /w/workspace/foundry_device-virtual-go_PR-396/archives ] 12:11:33 + ls -al /w/workspace/foundry_device-virtual-go_PR-396/archives 12:11:33 total 16 12:11:33 drwxr-xr-x 3 root root 4096 May 4 12:03 . 12:11:33 drwxrwxr-x 10 jenkins jenkins 4096 May 4 12:03 .. 12:11:33 drwxr-xr-x 2 root root 4096 May 4 12:03 cost 12:11:33 -rw-r--r-- 1 root root 89 May 4 12:03 cost.csv 12:11:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-396/archives 12:11:33 + ls -al /w/workspace/foundry_device-virtual-go_PR-396/archives 12:11:33 total 16 12:11:33 drwxr-xr-x 3 jenkins jenkins 4096 May 4 12:03 . 12:11:33 drwxrwxr-x 10 jenkins jenkins 4096 May 4 12:03 .. 12:11:33 drwxr-xr-x 2 jenkins jenkins 4096 May 4 12:03 cost 12:11:33 -rw-r--r-- 1 jenkins jenkins 89 May 4 12:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:11:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:11:34 ---> package-listing.sh 12:11:34 ++ facter osfamily 12:11:34 ++ tr '[:upper:]' '[:lower:]' 12:11:35 + OS_FAMILY=debian 12:11:35 + workspace=/w/workspace/foundry_device-virtual-go_PR-396 12:11:35 + START_PACKAGES=/tmp/packages_start.txt 12:11:35 + END_PACKAGES=/tmp/packages_end.txt 12:11:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:11:35 + PACKAGES=/tmp/packages_start.txt 12:11:35 + '[' /w/workspace/foundry_device-virtual-go_PR-396 ']' 12:11:35 + PACKAGES=/tmp/packages_end.txt 12:11:35 + case "${OS_FAMILY}" in 12:11:35 + dpkg -l 12:11:35 + grep '^ii' 12:11:35 + '[' -f /tmp/packages_start.txt ']' 12:11:35 + '[' -f /tmp/packages_end.txt ']' 12:11:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:11:35 + '[' /w/workspace/foundry_device-virtual-go_PR-396 ']' 12:11:35 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-396/archives/ 12:11:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-396/archives/ [Pipeline] echo 12:11:35 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:11:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:36 prd-ubuntu20.04-docker-8c-8g-13286 does not seem to be running inside a container 12:11:36 $ 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-396/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-396 -v /w/workspace/foundry_device-virtual-go_PR-396:/w/workspace/foundry_device-virtual-go_PR-396:rw,z -v /w/workspace/foundry_device-virtual-go_PR-396@tmp:/w/workspace/foundry_device-virtual-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:11:36 $ docker top d158b8bcd12176498b8f615bda44095c2c0ee23b0094154c4415ec03c4b25ef7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:36 + touch /tmp/pre-build-complete [Pipeline] sh 12:11:37 + mkdir -p /var/log/sysstat [Pipeline] sh 12:11:37 + ls /var/log/sa-host 12:11:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:37 provisioning config files... 12:11:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-396@tmp/config18390125166291443847tmp [Pipeline] { [Pipeline] echo 12:11:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:11:37 ---> create-netrc.sh [Pipeline] } 12:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:11:38 ---> python-tools-install.sh [Pipeline] echo 12:11:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:11:38 ---> sudo-logs.sh 12:11:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:11:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:11:39 ---> job-cost.sh 12:11:39 lf-activate-venv: SKIPPING 12:11:39 DEBUG: total: 0.2199999988079071 12:11:39 INFO: Retrieving Stack Cost... 12:11:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:11:39 INFO: Archiving Costs [Pipeline] echo 12:11:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:11:40 ---> logs-deploy.sh 12:11:40 lf-activate-venv: SKIPPING 12:11:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-396/1 12:11:40 INFO: archiving workspace using pattern(s): 12:11:41 Archives upload complete. 12:11:41 INFO: archiving logs to Nexus