Pull request #376 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 4efa56b4c53bfd63d1b185632fb211d8f865e63a rather than 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 Obtained Jenkinsfile from 4efa56b4c53bfd63d1b185632fb211d8f865e63a 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-ssh2434975526377587392.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8831974196040417812.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11277936139534574104.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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13342852790573582570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh5983193249292650562.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh844998419995620762.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7119’ Running on prd-ubuntu20.04-docker-8c-8g-7121 in /w/workspace/foundry_device-virtual-go_PR-376 [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-376 # 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 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 Merge succeeded, producing 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 Checking out Revision 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 (PR-376) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:23:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:00 ========================================================= 09:23:00 EdgeX Global Pipelines Version Info 09:23:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:23:01 ------------------- 09:23:01 stable info: 09:23:01 ------------------- 09:23:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:01 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 09:23:01 Message: update stable to v1.0.245 09:23:02 ------------------- 09:23:02 experimental info: 09:23:02 ------------------- 09:23:02 Commited By: **** collab-it+edgex@linuxfoundation.org 09:23:02 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 09:23:02 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:23:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1af87b1 [Pipeline] echo 09:23:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:03 provisioning config files... 09:23:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config9467438187590864855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:04 ---> docker-login.sh 09:23:04 nexus3.edgexfoundry.org:10001 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 nexus3.edgexfoundry.org:10002 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 nexus3.edgexfoundry.org:10003 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 nexus3.edgexfoundry.org:10004 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 docker.io 09:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:05 Configure a credential helper to remove this warning. See 09:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:05 09:23:05 Login Succeeded 09:23:05 ---> docker-login.sh ends [Pipeline] } 09:23:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:23:05 + git rev-list -1 --merges 1af87b10f7d9f04dbdc95f01e0cf938275db6d03~1..1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo 09:23:05 -----------> git rev-list -1 --merges 1af87b10f7d9f04dbdc95f01e0cf938275db6d03~1..1af87b10f7d9f04dbdc95f01e0cf938275db6d03 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [false] [Pipeline] sh 09:23:06 + git log --format=format:%s -1 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo 09:23:06 ========================================================= 09:23:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:23:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:06 + git log --format=format:%s -1 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] echo 09:23:06 [semverPrep] GIT_COMMIT: 1af87b10f7d9f04dbdc95f01e0cf938275db6d03, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 09:23:06 [semverPrep] This is not a build commit. [Pipeline] sh 09:23:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:23:07 + grep -v github /etc/ssh/ssh_known_hosts 09:23:07 + [ -e /tmp/ssh_known_hosts ] 09:23:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:23:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:23:07 + sudo tee -a /etc/ssh/ssh_known_hosts 09:23:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:07 09:23:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:07 0.1.4: Pulling from edgex-devops/py-git-semver 09:23:07 b85a868b505f: Pulling fs layer 09:23:07 e2be974225ed: Pulling fs layer 09:23:07 339a4e72a1f5: Pulling fs layer 09:23:07 988bab9f4d93: Pulling fs layer 09:23:07 1469e6f7b9e6: Pulling fs layer 09:23:07 eaf3925da568: Pulling fs layer 09:23:07 bab4dde63d76: Pulling fs layer 09:23:07 bde34c3a00c8: Pulling fs layer 09:23:07 b352a97aabf1: Pulling fs layer 09:23:07 4872d77fe225: Pulling fs layer 09:23:07 5851b861e8e6: Pulling fs layer 09:23:07 988bab9f4d93: Waiting 09:23:07 1469e6f7b9e6: Waiting 09:23:07 eaf3925da568: Waiting 09:23:07 bab4dde63d76: Waiting 09:23:07 bde34c3a00c8: Waiting 09:23:07 b352a97aabf1: Waiting 09:23:07 4872d77fe225: Waiting 09:23:07 5851b861e8e6: Waiting 09:23:07 e2be974225ed: Verifying Checksum 09:23:07 e2be974225ed: Download complete 09:23:07 988bab9f4d93: Verifying Checksum 09:23:07 988bab9f4d93: Download complete 09:23:08 1469e6f7b9e6: Verifying Checksum 09:23:08 1469e6f7b9e6: Download complete 09:23:08 eaf3925da568: Download complete 09:23:08 339a4e72a1f5: Verifying Checksum 09:23:08 339a4e72a1f5: Download complete 09:23:08 bde34c3a00c8: Download complete 09:23:08 b352a97aabf1: Download complete 09:23:08 4872d77fe225: Verifying Checksum 09:23:08 4872d77fe225: Download complete 09:23:08 5851b861e8e6: Verifying Checksum 09:23:08 5851b861e8e6: Download complete 09:23:08 b85a868b505f: Verifying Checksum 09:23:08 b85a868b505f: Download complete 09:23:08 bab4dde63d76: Verifying Checksum 09:23:08 bab4dde63d76: Download complete 09:23:09 b85a868b505f: Pull complete 09:23:09 e2be974225ed: Pull complete 09:23:10 339a4e72a1f5: Pull complete 09:23:10 988bab9f4d93: Pull complete 09:23:10 1469e6f7b9e6: Pull complete 09:23:10 eaf3925da568: Pull complete 09:23:12 bab4dde63d76: Pull complete 09:23:12 bde34c3a00c8: Pull complete 09:23:12 b352a97aabf1: Pull complete 09:23:12 4872d77fe225: Pull complete 09:23:12 5851b861e8e6: Pull complete 09:23:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:23:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:12 prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container 09:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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-devops/py-git-semver:0.1.4 cat 09:23:15 $ docker top 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 -eo pid,comm 09:23:15 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). 09:23:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:15 [ssh-agent] Looking for ssh-agent implementation... 09:23:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:15 $ docker exec 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent 09:23:15 SSH_AUTH_SOCK=/tmp/ssh-Fww8T6w4lnR0/agent.32 09:23:15 SSH_AGENT_PID=38 09:23:15 Running ssh-add (command line suppressed) 09:23:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_7258045033567147451.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_7258045033567147451.key) 09:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:16 + git tag --points-at HEAD [Pipeline] } 09:23:16 $ docker exec --env ******** --env ******** 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent -k 09:23:16 unset SSH_AUTH_SOCK; 09:23:16 unset SSH_AGENT_PID; 09:23:16 echo Agent pid 38 killed; 09:23:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:23:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:16 [ssh-agent] Looking for ssh-agent implementation... 09:23:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:16 $ docker exec 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent 09:23:16 SSH_AUTH_SOCK=/tmp/ssh-eMW4vumYE5Fr/agent.70 09:23:16 SSH_AGENT_PID=76 09:23:16 Running ssh-add (command line suppressed) 09:23:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_15082602895005376174.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_15082602895005376174.key) 09:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:17 + git semver init 09:23:17 2023-04-07 09:23:17,480 [run_init] DEBUG init version:0.0.0 force:False 09:23:17 2023-04-07 09:23:17,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-376/.semver 09:23:17 2023-04-07 09:23:17,482 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-376/.semver 09:23:17 2023-04-07 09:23:17,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-376/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-376, universal_newlines=False, shell=None, istream=None) 09:23:18 2023-04-07 09:23:18,582 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-376/.git/info/exclude 09:23:18 2023-04-07 09:23:18,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 with force:False 09:23:18 2023-04-07 09:23:18,583 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 09:23:18 2023-04-07 09:23:18,586 [execute] INFO git cat-file --batch-check 09:23:18 2023-04-07 09:23:18,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 09:23:18 2023-04-07 09:23:18,592 [execute] INFO git cat-file --batch 09:23:18 2023-04-07 09:23:18,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 09:23:18 2023-04-07 09:23:18,597 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 09:23:18 0.0.0 [Pipeline] } 09:23:18 $ docker exec --env ******** --env ******** 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 ssh-agent -k 09:23:19 unset SSH_AUTH_SOCK; 09:23:19 unset SSH_AGENT_PID; 09:23:19 echo Agent pid 76 killed; 09:23:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:19 + git semver [Pipeline] } 09:23:19 $ docker stop --time=1 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 09:23:21 $ docker rm -f --volumes 83a495eb9dd90e3a8fc8d2d72e872d6aa89f083ecc43b863120efe651d3fd723 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:23:21 Stashed 1 file(s) [Pipeline] echo 09:23:21 [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 09:23:22 provisioning config files... 09:23:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config14443615455840530065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:22 ---> docker-login.sh 09:23:22 nexus3.edgexfoundry.org:10001 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 nexus3.edgexfoundry.org:10002 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 nexus3.edgexfoundry.org:10003 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 nexus3.edgexfoundry.org:10004 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 docker.io 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:23 Configure a credential helper to remove this warning. See 09:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:23 09:23:23 Login Succeeded 09:23:23 ---> docker-login.sh ends [Pipeline] } 09:23:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:23 ========================================================= 09:23:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:23:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:23 + 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 . 09:23:23 Sending build context to Docker daemon 23.55MB 09:23:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:23:23 Step 2/12 : FROM ${BASE} AS builder 09:23:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:23:24 63b65145d645: Pulling fs layer 09:23:24 a2d21d5440eb: Pulling fs layer 09:23:24 935e6c44a52c: Pulling fs layer 09:23:24 94cc34f8dd06: Pulling fs layer 09:23:24 30dea6a524f1: Pulling fs layer 09:23:24 a2aff8979fd8: Pulling fs layer 09:23:24 6808be2612f2: Pulling fs layer 09:23:24 f25807f1079a: Pulling fs layer 09:23:24 30dea6a524f1: Waiting 09:23:24 a2aff8979fd8: Waiting 09:23:24 6808be2612f2: Waiting 09:23:24 f25807f1079a: Waiting 09:23:24 94cc34f8dd06: Waiting 09:23:24 a2d21d5440eb: Download complete 09:23:24 94cc34f8dd06: Download complete 09:23:24 30dea6a524f1: Download complete 09:23:24 63b65145d645: Verifying Checksum 09:23:24 63b65145d645: Download complete 09:23:24 a2aff8979fd8: Verifying Checksum 09:23:24 a2aff8979fd8: Download complete 09:23:24 63b65145d645: Pull complete 09:23:24 a2d21d5440eb: Pull complete 09:23:24 f25807f1079a: Verifying Checksum 09:23:24 f25807f1079a: Download complete 09:23:24 935e6c44a52c: Verifying Checksum 09:23:24 935e6c44a52c: Download complete 09:23:25 6808be2612f2: Verifying Checksum 09:23:25 6808be2612f2: Download complete 09:23:28 935e6c44a52c: Pull complete 09:23:28 94cc34f8dd06: Pull complete 09:23:28 30dea6a524f1: Pull complete 09:23:28 a2aff8979fd8: Pull complete 09:23:30 6808be2612f2: Pull complete 09:23:31 f25807f1079a: Pull complete 09:23:31 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 09:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:23:31 ---> 3b553350e43f 09:23:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:23:35 ---> Running in 0437c0e69de8 09:23:35 Removing intermediate container 0437c0e69de8 09:23:35 ---> 3fa5fb6e2b74 09:23:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:23:35 ---> Running in 37ee9268b024 09:23:35 Removing intermediate container 37ee9268b024 09:23:35 ---> 2432bf505148 09:23:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:23:35 ---> Running in d11cbcd976aa 09:23:35 Removing intermediate container d11cbcd976aa 09:23:35 ---> f586f29fff28 09:23:35 Step 6/12 : WORKDIR /device-virtual-go 09:23:35 ---> Running in 9625ae14c57d 09:23:35 Removing intermediate container 9625ae14c57d 09:23:35 ---> 0cef2f8eeefa 09:23:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:35 ---> Running in c2c911d7b65e 09:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:23:36 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:23:36 (2/4) Installing libedit (20221030.3.1-r0) 09:23:36 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:23:36 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:23:36 Executing busybox-1.35.0-r29.trigger 09:23:36 OK: 269 MiB in 57 packages 09:23:37 Removing intermediate container c2c911d7b65e 09:23:37 ---> a8fa6ca65f4b 09:23:37 Step 8/12 : COPY go.mod vendor* ./ 09:23:37 ---> 96576fb71e25 09:23:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:37 ---> Running in 9a71517f3252 09:23:37 Still waiting to schedule task 09:23:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7120’ is offline 09:24:03 Removing intermediate container 9a71517f3252 09:24:03 ---> 6c20ab5ee2f9 09:24:03 Step 10/12 : COPY . . 09:24:04 ---> 3ccd315f637a 09:24:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:24:04 ---> Running in 731ab0dbd4e4 09:24:04 Removing intermediate container 731ab0dbd4e4 09:24:04 ---> 31b5e5e8a303 09:24:04 Step 12/12 : RUN $MAKE 09:24:04 ---> Running in 7c2ba829a534 09:24:04 noop 09:24:05 Removing intermediate container 7c2ba829a534 09:24:05 ---> 99b9e267d344 09:24:05 Successfully built 99b9e267d344 09:24:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:05 + docker inspect -f . ci-base-image-x86_64 09:24:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:05 prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container 09:24:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:06 $ docker top 20ed96249dc216aada9dd29c246a7680826185ad21be24ce78a7505ec02e4d4a -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:06 + go version 09:24:06 go version go1.20.2 linux/amd64 [Pipeline] } 09:24:06 $ docker stop --time=1 20ed96249dc216aada9dd29c246a7680826185ad21be24ce78a7505ec02e4d4a 09:24:07 $ docker rm -f --volumes 20ed96249dc216aada9dd29c246a7680826185ad21be24ce78a7505ec02e4d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:08 + docker inspect -f . ci-base-image-x86_64 09:24:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:08 prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container 09:24:08 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:09 $ docker top 9ae133827c8cb5adf699ac05d80f79bc7ec3c84b80ecea798fde7b9895af41df -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:09 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] fileExists [Pipeline] sh 09:24:09 + make test 09:24:09 go test ./... -coverprofile=coverage.out 09:24:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:24:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:24:23 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 59.1% of statements 09:24:29 go vet ./... 09:24:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:24:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:24:33 ./bin/test-attribution-txt.sh 09:24:33 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:24:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:24:33 $ docker stop --time=1 9ae133827c8cb5adf699ac05d80f79bc7ec3c84b80ecea798fde7b9895af41df 09:24:37 $ docker rm -f --volumes 9ae133827c8cb5adf699ac05d80f79bc7ec3c84b80ecea798fde7b9895af41df [Pipeline] // withDockerContainer [Pipeline] sh 09:24:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:24:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:38 + ls -al . 09:24:38 total 192 09:24:38 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 09:24 . 09:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:22 .. 09:24:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:23 .git 09:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:22 .github 09:24:38 -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 09:22 .gitignore 09:24:38 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 09:22 .golangci.yml 09:24:38 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:23 .semver 09:24:38 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 09:22 Attribution.txt 09:24:38 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 09:22 CHANGELOG.md 09:24:38 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 09:22 Dockerfile 09:24:38 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:22 GOVERNANCE.md 09:24:38 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:22 Jenkinsfile 09:24:38 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:22 LICENSE 09:24:38 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 09:22 Makefile 09:24:38 -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 09:22 OWNERS.md 09:24:38 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 09:22 README.md 09:24:38 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:23 VERSION 09:24:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:22 bin 09:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:22 cmd 09:24:38 -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 09:24 coverage.out 09:24:38 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 09:22 go.mod 09:24:38 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 09:22 go.sum 09:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:22 internal 09:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:22 snap 09:24:38 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:39 + 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=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 --label arch=amd64 --label version=0.0.0 . 09:24:39 Sending build context to Docker daemon 23.59MB 09:24:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:24:39 Step 2/25 : FROM ${BASE} AS builder 09:24:39 ---> 99b9e267d344 09:24:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:24:39 ---> Running in d10e0d195772 09:24:39 Removing intermediate container d10e0d195772 09:24:39 ---> 17f313dcfc5f 09:24:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:24:39 ---> Running in 845f662e11ed 09:24:39 Removing intermediate container 845f662e11ed 09:24:39 ---> 47f2a22326ed 09:24:39 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:24:39 ---> Running in e8f6a9e2783e 09:24:39 Removing intermediate container e8f6a9e2783e 09:24:39 ---> 5080299c9562 09:24:39 Step 6/25 : WORKDIR /device-virtual-go 09:24:39 ---> Running in b4d0a3a4b1b8 09:24:39 Removing intermediate container b4d0a3a4b1b8 09:24:39 ---> 4f39bfeefccc 09:24:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:39 ---> Running in 26095b307b92 09:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:24:40 OK: 269 MiB in 57 packages 09:24:40 Removing intermediate container 26095b307b92 09:24:40 ---> 98fd34bbca8c 09:24:40 Step 8/25 : COPY go.mod vendor* ./ 09:24:40 ---> 341046331ac0 09:24:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:40 ---> Running in 5ad56f1df5fd 09:24:41 Removing intermediate container 5ad56f1df5fd 09:24:41 ---> 51caa1844b6e 09:24:41 Step 10/25 : COPY . . 09:24:42 ---> 842e1c955ce9 09:24:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:24:42 ---> Running in 5f6ee0384f2a 09:24:42 Removing intermediate container 5f6ee0384f2a 09:24:42 ---> b5a9ff121c33 09:24:42 Step 12/25 : RUN $MAKE 09:24:42 ---> Running in 19cf9d93c706 09:24: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 09:25:04 Removing intermediate container 19cf9d93c706 09:25:04 ---> 6fcf3c95a293 09:25:04 Step 13/25 : FROM alpine:3.17 09:25:04 3.17: Pulling from library/alpine 09:25:04 f56be85fc22e: Pulling fs layer 09:25:04 f56be85fc22e: Verifying Checksum 09:25:04 f56be85fc22e: Download complete 09:25:04 f56be85fc22e: Pull complete 09:25:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:25:04 Status: Downloaded newer image for alpine:3.17 09:25:04 ---> 9ed4aefc74f6 09:25:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:25:04 ---> Running in d1305f030255 09:25:04 Removing intermediate container d1305f030255 09:25:04 ---> 80e0c2d6558b 09:25:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:25:04 ---> Running in 11871c0b56c2 09:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:25:04 (1/1) Installing dumb-init (1.2.5-r2) 09:25:04 Executing busybox-1.35.0-r29.trigger 09:25:04 OK: 7 MiB in 16 packages 09:25:04 Removing intermediate container 11871c0b56c2 09:25:04 ---> 831a116d9347 09:25:04 Step 16/25 : WORKDIR / 09:25:04 ---> Running in d9173f418908 09:25:04 Removing intermediate container d9173f418908 09:25:04 ---> c3ec83955c9c 09:25:04 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:25:04 ---> 45d630b94aa4 09:25:04 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:25:04 ---> a62fc7f3983d 09:25:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:25:05 ---> 83ccc2aed0fb 09:25:05 Step 20/25 : EXPOSE 59900 09:25:05 ---> Running in fcb62f46289d 09:25:05 Removing intermediate container fcb62f46289d 09:25:05 ---> ff0faaba25a0 09:25:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:25:05 ---> Running in 8b4b42b1560c 09:25:05 Removing intermediate container 8b4b42b1560c 09:25:05 ---> f9ba75d74120 09:25:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:25:05 ---> Running in ec763ad66e02 09:25:05 Removing intermediate container ec763ad66e02 09:25:05 ---> 0f1ef787fb39 09:25:05 Step 23/25 : LABEL arch=amd64 09:25:05 ---> Running in 1c0b96729cc5 09:25:05 Removing intermediate container 1c0b96729cc5 09:25:05 ---> 120ecf3ec073 09:25:05 Step 24/25 : LABEL git_sha=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 09:25:05 ---> Running in b9749e5b66b0 09:25:05 Removing intermediate container b9749e5b66b0 09:25:05 ---> 4321721a1660 09:25:05 Step 25/25 : LABEL version=0.0.0 09:25:05 ---> Running in 9da0f7f7a415 09:25:05 Removing intermediate container 9da0f7f7a415 09:25:05 ---> 661ddfcb53b6 09:25:05 [Warning] One or more build-args [ARCH] were not consumed 09:25:05 Successfully built 661ddfcb53b6 09:25:05 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:06 09:25:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:06 latest: Pulling from edgex-lftools-log-publisher 09:25:06 5eb5b503b376: Pulling fs layer 09:25:06 5c69ac0246d0: Pulling fs layer 09:25:06 ec43610c2a17: Pulling fs layer 09:25:06 3a2ae6a8a46f: Pulling fs layer 09:25:06 33b1e0a273af: Pulling fs layer 09:25:06 5d3b04190fa2: Pulling fs layer 09:25:06 2f39f015ded8: Pulling fs layer 09:25:06 33b1e0a273af: Waiting 09:25:06 3a2ae6a8a46f: Waiting 09:25:06 5d3b04190fa2: Waiting 09:25:06 2f39f015ded8: Waiting 09:25:06 5c69ac0246d0: Download complete 09:25:06 3a2ae6a8a46f: Verifying Checksum 09:25:06 3a2ae6a8a46f: Download complete 09:25:06 33b1e0a273af: Verifying Checksum 09:25:06 33b1e0a273af: Download complete 09:25:06 ec43610c2a17: Verifying Checksum 09:25:06 ec43610c2a17: Download complete 09:25:06 5d3b04190fa2: Verifying Checksum 09:25:06 5d3b04190fa2: Download complete 09:25:07 5eb5b503b376: Download complete 09:25:07 2f39f015ded8: Verifying Checksum 09:25:07 2f39f015ded8: Download complete 09:25:08 5eb5b503b376: Pull complete 09:25:08 5c69ac0246d0: Pull complete 09:25:08 ec43610c2a17: Pull complete 09:25:08 3a2ae6a8a46f: Pull complete 09:25:09 33b1e0a273af: Pull complete 09:25:09 5d3b04190fa2: Pull complete 09:25:13 2f39f015ded8: Pull complete 09:25:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:25:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:13 prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container 09:25:13 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:25:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7122 in /w/workspace/foundry_device-virtual-go_PR-376 09:25:19 $ docker top 0271ac9208816d3f17541898ecb8e8ae5009d5a9bc49a4e669192fdc212e7caf -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 09:25:19 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 09:25:19 The recommended git tool is: git 09:25:20 ---> job-cost.sh 09:25:20 lf-activate-venv: SKIPPING 09:25:20 INFO: No Stack... 09:25:20 INFO: Retrieving Pricing Info for: v3-standard-8 09:25:20 INFO: Archiving Costs [Pipeline] sh 09:25:21 + cat /w/workspace/foundry_device-virtual-go_PR-376/archives/cost.csv 09:25:21 + cut -d, -f6 [Pipeline] lock 09:25:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] 09:25:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] did not exist. Created. 09:25:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:21 + echo total: 0.2199999988079071 [Pipeline] stash 09:25:21 Stashed 1 file(s) [Pipeline] } 09:25:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:22 $ docker stop --time=1 0271ac9208816d3f17541898ecb8e8ae5009d5a9bc49a4e669192fdc212e7caf 09:25:23 $ docker rm -f --volumes 0271ac9208816d3f17541898ecb8e8ae5009d5a9bc49a4e669192fdc212e7caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:25:25 using credential edgex-jenkins-ssh 09:25:25 Cloning the remote Git repository 09:25:25 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:25:25 > git init /w/workspace/device-virtual-go/1 # timeout=10 09:25:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:25:26 > git --version # timeout=10 09:25:26 > git --version # 'git version 2.25.1' 09:25:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:25:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:25:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:25:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:25:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:25:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:25:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:25:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:25:29 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 09:25:29 Merge succeeded, producing 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 09:25:29 Checking out Revision 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 (PR-376) 09:25:29 > git config core.sparsecheckout # timeout=10 09:25:29 > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 09:25:29 > git remote # timeout=10 09:25:29 > git config --get remote.origin.url # timeout=10 09:25:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:25:29 > git merge 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 09:25:29 > git rev-parse HEAD^{commit} # timeout=10 09:25:29 > git config core.sparsecheckout # timeout=10 09:25:29 > git checkout -f 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 09:25:33 Commit message: "feat!: Consume SDK interface changes" 09:25:33 > git --version # timeout=10 09:25:33 > git --version # 'git version 2.25.1' 09:25:33 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:25:34 % Total % Received % Xferd Average Speed Time Time Time Current 09:25:34 Dload Upload Total Spent Left Speed 09:25:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 09:25:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:25:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:25:35 + sudo tee /etc/docker/daemon.new 09:25:35 { 09:25:35 "registry-mirrors": [ 09:25:35 "https://nexus3.edgexfoundry.org:10001" 09:25:35 ], 09:25:35 "bip": "10.250.0.254/24", 09:25:35 "hosts": [ 09:25:35 "tcp://0.0.0.0:5555", 09:25:35 "unix:///var/run/docker.sock" 09:25:35 ], 09:25:35 "mtu": 1458, 09:25:35 "selinux-enabled": true, 09:25:35 "seccomp-profile": "/etc/docker/seccomp.json" 09:25:35 } [Pipeline] sh 09:25:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:25:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:54 provisioning config files... 09:25:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6001439790332140435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:55 ---> docker-login.sh 09:25:55 nexus3.edgexfoundry.org:10001 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 nexus3.edgexfoundry.org:10002 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 nexus3.edgexfoundry.org:10003 09:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:56 Configure a credential helper to remove this warning. See 09:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:56 09:25:56 Login Succeeded 09:25:56 nexus3.edgexfoundry.org:10004 09:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:56 Configure a credential helper to remove this warning. See 09:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:56 09:25:56 Login Succeeded 09:25:56 docker.io 09:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:57 Configure a credential helper to remove this warning. See 09:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:57 09:25:57 Login Succeeded 09:25:57 ---> docker-login.sh ends [Pipeline] } 09:25:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:57 ========================================================= 09:25:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:25:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:25:58 Sending build context to Docker daemon 11.94MB 09:25:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:25:58 Step 2/12 : FROM ${BASE} AS builder 09:26:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:26:01 af6eaf76a39c: Pulling fs layer 09:26:01 55522c791124: Pulling fs layer 09:26:01 ce5c4a1c91eb: Pulling fs layer 09:26:01 169dfbe0d373: Pulling fs layer 09:26:01 e1ff8fa3b103: Pulling fs layer 09:26:01 52ebb69f0ebf: Pulling fs layer 09:26:01 5abe8eddf0d5: Pulling fs layer 09:26:01 e1ff8fa3b103: Waiting 09:26:01 52ebb69f0ebf: Waiting 09:26:01 5abe8eddf0d5: Waiting 09:26:01 169dfbe0d373: Waiting 09:26:01 55522c791124: Verifying Checksum 09:26:01 55522c791124: Download complete 09:26:01 169dfbe0d373: Verifying Checksum 09:26:01 169dfbe0d373: Download complete 09:26:01 e1ff8fa3b103: Verifying Checksum 09:26:01 e1ff8fa3b103: Download complete 09:26:01 af6eaf76a39c: Verifying Checksum 09:26:02 af6eaf76a39c: Pull complete 09:26:02 5abe8eddf0d5: Verifying Checksum 09:26:02 5abe8eddf0d5: Download complete 09:26:03 55522c791124: Pull complete 09:26:04 ce5c4a1c91eb: Verifying Checksum 09:26:04 ce5c4a1c91eb: Download complete 09:26:04 52ebb69f0ebf: Download complete 09:26:16 ce5c4a1c91eb: Pull complete 09:26:16 169dfbe0d373: Pull complete 09:26:16 e1ff8fa3b103: Pull complete 09:26:20 52ebb69f0ebf: Pull complete 09:26:22 5abe8eddf0d5: Pull complete 09:26:22 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:26:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:26:22 ---> 6cb57ee374ae 09:26:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:26:24 ---> Running in 72fc7c316d37 09:26:24 Removing intermediate container 72fc7c316d37 09:26:24 ---> 545841529f55 09:26:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:26:24 ---> Running in 58de1b2b41a0 09:26:24 Removing intermediate container 58de1b2b41a0 09:26:24 ---> acea836be95f 09:26:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:26:24 ---> Running in f749237a9b40 09:26:24 Removing intermediate container f749237a9b40 09:26:24 ---> aa7b85d4cb8e 09:26:24 Step 6/12 : WORKDIR /device-virtual-go 09:26:24 ---> Running in bd0ded93cbfa 09:26:25 Removing intermediate container bd0ded93cbfa 09:26:25 ---> f9f8ddd0a73f 09:26:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:26:25 ---> Running in 21585ca9a0f3 09:26:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:26:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:26:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:26:27 (2/4) Installing libedit (20221030.3.1-r0) 09:26:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:26:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:26:27 Executing busybox-1.35.0-r29.trigger 09:26:27 OK: 268 MiB in 57 packages 09:26:28 Removing intermediate container 21585ca9a0f3 09:26:28 ---> 8b7b025d1515 09:26:28 Step 8/12 : COPY go.mod vendor* ./ 09:26:29 ---> 0ed629d2f336 09:26:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:29 ---> Running in a7c324799ed2 09:27:25 Removing intermediate container a7c324799ed2 09:27:25 ---> 317929c7afe0 09:27:25 Step 10/12 : COPY . . 09:27:26 ---> 2a6e337df560 09:27:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:27:26 ---> Running in 14c865943a97 09:27:26 Removing intermediate container 14c865943a97 09:27:26 ---> b3c5d114c63f 09:27:26 Step 12/12 : RUN $MAKE 09:27:26 ---> Running in 2bf4ebd478df 09:27:27 noop 09:27:28 Removing intermediate container 2bf4ebd478df 09:27:28 ---> 21d98b671dc9 09:27:28 Successfully built 21d98b671dc9 09:27:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:28 + docker inspect -f . ci-base-image-arm64 09:27:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:29 prd-ubuntu20.04-docker-arm64-4c-16g-7122 does not seem to be running inside a container 09:27:29 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:27:31 $ docker top fc76fdcc6c333b7bff0ea069cd87b42e206933fee500a82152ea68d771ae201c -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:32 + go version 09:27:32 go version go1.20.2 linux/arm64 [Pipeline] } 09:27:32 $ docker stop --time=1 fc76fdcc6c333b7bff0ea069cd87b42e206933fee500a82152ea68d771ae201c 09:27:34 $ docker rm -f --volumes fc76fdcc6c333b7bff0ea069cd87b42e206933fee500a82152ea68d771ae201c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:35 + docker inspect -f . ci-base-image-arm64 09:27:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:35 prd-ubuntu20.04-docker-arm64-4c-16g-7122 does not seem to be running inside a container 09:27:35 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:27:36 $ docker top d1e619e33161cf78fec5b21ec2039af647ab06fd8f61b72ed7fd18d2a80f12fb -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 09:27:37 + make test 09:27:37 go test ./... -coverprofile=coverage.out 09:28:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:30:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:30:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 58.9% of statements 09:30:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:30:01 go vet ./... 09:30:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:30:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:30:40 ./bin/test-attribution-txt.sh 09:30:40 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:30:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:30:40 $ docker stop --time=1 d1e619e33161cf78fec5b21ec2039af647ab06fd8f61b72ed7fd18d2a80f12fb 09:30:42 $ docker rm -f --volumes d1e619e33161cf78fec5b21ec2039af647ab06fd8f61b72ed7fd18d2a80f12fb [Pipeline] // withDockerContainer [Pipeline] sh 09:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:30:43 Warning: overwriting stash ‘coverage-report’ 09:30:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:45 + ls -al . 09:30:45 total 188 09:30:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:27 . 09:30:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:25 .. 09:30:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:25 .git 09:30:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:25 .github 09:30:45 -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 09:25 .gitignore 09:30:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 09:25 .golangci.yml 09:30:45 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 09:25 Attribution.txt 09:30:45 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 09:25 CHANGELOG.md 09:30:45 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 09:25 Dockerfile 09:30:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:25 GOVERNANCE.md 09:30:45 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:25 Jenkinsfile 09:30:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:25 LICENSE 09:30:45 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 09:25 Makefile 09:30:45 -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 09:25 OWNERS.md 09:30:45 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 09:25 README.md 09:30:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:23 VERSION 09:30:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:25 bin 09:30:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:25 cmd 09:30:45 -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 09:29 coverage.out 09:30:45 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 09:25 go.mod 09:30:45 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 09:25 go.sum 09:30:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:25 internal 09:30:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:25 snap 09:30:45 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:45 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 --label arch=arm64 --label version=0.0.0 . 09:30:46 Sending build context to Docker daemon 11.98MB 09:30:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:30:46 Step 2/25 : FROM ${BASE} AS builder 09:30:46 ---> 21d98b671dc9 09:30:46 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:30:46 ---> Running in acb8e3e3c612 09:30:47 Removing intermediate container acb8e3e3c612 09:30:47 ---> adb51ff09385 09:30:47 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:30:47 ---> Running in 364e991e55da 09:30:47 Removing intermediate container 364e991e55da 09:30:47 ---> 65342546e753 09:30:47 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:30:47 ---> Running in cf3209078c03 09:30:47 Removing intermediate container cf3209078c03 09:30:47 ---> ed2ccd423c94 09:30:47 Step 6/25 : WORKDIR /device-virtual-go 09:30:47 ---> Running in 7a94a759a2de 09:30:48 Removing intermediate container 7a94a759a2de 09:30:48 ---> 719606d2d2ba 09:30:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:30:48 ---> Running in df73e8add65c 09:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:30:50 OK: 268 MiB in 57 packages 09:30:51 Removing intermediate container df73e8add65c 09:30:51 ---> 250238e0ac33 09:30:51 Step 8/25 : COPY go.mod vendor* ./ 09:30:51 ---> fd3f23dabdea 09:30:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:30:51 ---> Running in f59ac51dc763 09:30:54 Removing intermediate container f59ac51dc763 09:30:54 ---> a202f6e8116f 09:30:54 Step 10/25 : COPY . . 09:30:55 ---> 10b4ba3989e8 09:30:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:30:55 ---> Running in cc4d1f94183f 09:30:55 Removing intermediate container cc4d1f94183f 09:30:55 ---> 1649de58b446 09:30:55 Step 12/25 : RUN $MAKE 09:30:55 ---> Running in bc30327c31cb 09:30:56 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 09:33:03 Removing intermediate container bc30327c31cb 09:33:03 ---> 4f08f66c17f3 09:33:03 Step 13/25 : FROM alpine:3.17 09:33:03 3.17: Pulling from library/alpine 09:33:03 c41833b44d91: Pulling fs layer 09:33:03 c41833b44d91: Verifying Checksum 09:33:03 c41833b44d91: Download complete 09:33:03 c41833b44d91: Pull complete 09:33:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:33:03 Status: Downloaded newer image for alpine:3.17 09:33:03 ---> 51e60588ff2c 09:33:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:33:03 ---> Running in b862a80d3f10 09:33:03 Removing intermediate container b862a80d3f10 09:33:03 ---> e135cedd00d7 09:33:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:33:03 ---> Running in b292199510ad 09:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:33:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:33:06 (1/1) Installing dumb-init (1.2.5-r2) 09:33:06 Executing busybox-1.35.0-r29.trigger 09:33:06 OK: 8 MiB in 16 packages 09:33:07 Removing intermediate container b292199510ad 09:33:07 ---> 89147c902b67 09:33:07 Step 16/25 : WORKDIR / 09:33:07 ---> Running in 4b04c833de20 09:33:07 Removing intermediate container 4b04c833de20 09:33:07 ---> bda86e5ccf7c 09:33:07 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:33:08 ---> 21348deb15e2 09:33:08 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:33:08 ---> 1783e443b7a9 09:33:08 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:33:09 ---> cb672a9ea932 09:33:09 Step 20/25 : EXPOSE 59900 09:33:09 ---> Running in f2725ce06029 09:33:10 Removing intermediate container f2725ce06029 09:33:10 ---> d0c64aa82992 09:33:10 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:33:10 ---> Running in 90398ac1b826 09:33:10 Removing intermediate container 90398ac1b826 09:33:10 ---> 4a5f5929e8bd 09:33:10 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:33:10 ---> Running in 1d58cd29f7e0 09:33:10 Removing intermediate container 1d58cd29f7e0 09:33:10 ---> d8349ce80316 09:33:10 Step 23/25 : LABEL arch=arm64 09:33:10 ---> Running in 548c31928f39 09:33:11 Removing intermediate container 548c31928f39 09:33:11 ---> 853e3aa04be7 09:33:11 Step 24/25 : LABEL git_sha=1af87b10f7d9f04dbdc95f01e0cf938275db6d03 09:33:11 ---> Running in f0c8d54af0a5 09:33:11 Removing intermediate container f0c8d54af0a5 09:33:11 ---> bc5dc8822eea 09:33:11 Step 25/25 : LABEL version=0.0.0 09:33:11 ---> Running in 76344855c56d 09:33:12 Removing intermediate container 76344855c56d 09:33:12 ---> 8aa888b2d157 09:33:12 [Warning] One or more build-args [ARCH] were not consumed 09:33:12 Successfully built 8aa888b2d157 09:33:12 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 09:33:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:33:12 09:33:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:33:13 arm64: Pulling from edgex-lftools-log-publisher 09:33:13 8998bd30e6a1: Pulling fs layer 09:33:13 04944245beec: Pulling fs layer 09:33:13 699f458cf7ca: Pulling fs layer 09:33:13 765212b225bb: Pulling fs layer 09:33:13 f23df028b6ca: Pulling fs layer 09:33:13 d65c8cfc05b1: Pulling fs layer 09:33:13 2437ff75d9bd: Pulling fs layer 09:33:13 765212b225bb: Waiting 09:33:13 f23df028b6ca: Waiting 09:33:13 d65c8cfc05b1: Waiting 09:33:13 2437ff75d9bd: Waiting 09:33:13 04944245beec: Verifying Checksum 09:33:13 04944245beec: Download complete 09:33:13 765212b225bb: Verifying Checksum 09:33:13 765212b225bb: Download complete 09:33:13 f23df028b6ca: Verifying Checksum 09:33:13 f23df028b6ca: Download complete 09:33:13 d65c8cfc05b1: Verifying Checksum 09:33:13 d65c8cfc05b1: Download complete 09:33:13 699f458cf7ca: Verifying Checksum 09:33:13 699f458cf7ca: Download complete 09:33:14 8998bd30e6a1: Verifying Checksum 09:33:14 8998bd30e6a1: Download complete 09:33:16 2437ff75d9bd: Verifying Checksum 09:33:16 2437ff75d9bd: Download complete 09:33:18 8998bd30e6a1: Pull complete 09:33:18 04944245beec: Pull complete 09:33:21 699f458cf7ca: Pull complete 09:33:21 765212b225bb: Pull complete 09:33:22 f23df028b6ca: Pull complete 09:33:22 d65c8cfc05b1: Pull complete 09:33:37 2437ff75d9bd: Pull complete 09:33:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-7122 does not seem to be running inside a container 09:33:37 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:33:40 $ docker top de1aa85fdcd2cd88aee3508e3b068a2b42243b936b8e8530e5f98cfe2281b70b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:41 ---> job-cost.sh 09:33:41 lf-activate-venv: SKIPPING 09:33:41 INFO: No Stack... 09:33:41 INFO: Retrieving Pricing Info for: v3-standard-4 09:33:42 INFO: Archiving Costs [Pipeline] sh 09:33:42 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 09:33:42 + cut -d, -f6 [Pipeline] lock 09:33:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] 09:33:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] did not exist. Created. 09:33:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:33:43 /w/workspace/device-virtual-go/1@tmp/durable-aebb58d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:33:44 + echo total: 0.10999999940395355 [Pipeline] stash 09:33:44 Warning: overwriting stash ‘stack-cost’ 09:33:44 Stashed 1 file(s) [Pipeline] } 09:33:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:33:44 $ docker stop --time=1 de1aa85fdcd2cd88aee3508e3b068a2b42243b936b8e8530e5f98cfe2281b70b 09:33:46 $ docker rm -f --volumes de1aa85fdcd2cd88aee3508e3b068a2b42243b936b8e8530e5f98cfe2281b70b [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 09:33:47 provisioning config files... 09:33:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config9268042822688110348tmp [Pipeline] { [Pipeline] sh 09:33:47 + set +x 09:33:47 + curl -s https://codecov.io/bash 09:33:47 + bash -s -- 09:33:47 09:33:47 _____ _ 09:33:47 / ____| | | 09:33:47 | | ___ __| | ___ ___ _____ __ 09:33:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:33:47 | |___| (_) | (_| | __/ (_| (_) \ V / 09:33:47 \_____\___/ \__,_|\___|\___\___/ \_/ 09:33:47 Bash-1.0.6 09:33:47 09:33:47 09:33:47 ==> git version 2.25.1 found 09:33:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:33:47 Release-Date: 2020-01-08 09:33:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:33:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:33:47 ==> Jenkins CI detected. 09:33:47 current dir:  /w/workspace/foundry_device-virtual-go_PR-376 09:33:47 project root: . 09:33:47 --> token set from env 09:33:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:33:47 ==> Running gcov in . (disable via -X gcov) 09:33:47 ==> Python coveragepy not found 09:33:47 ==> Searching for coverage reports in: 09:33:47 + . 09:33:47 -> Found 1 reports 09:33:47 ==> Detecting git/mercurial file structure 09:33:47 ==> Reading reports 09:33:47 + ./coverage.out bytes=42975 09:33:47 ==> Appending adjustments 09:33:47 https://docs.codecov.io/docs/fixing-reports 09:33:47 + Found adjustments 09:33:47 ==> Gzipping contents 09:33:47 8.0K /tmp/codecov.DN8fb4.gz 09:33:47 ==> Uploading reports 09:33:47 url: https://codecov.io 09:33:47 query: branch=PR-376&commit=1af87b10f7d9f04dbdc95f01e0cf938275db6d03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 09:33:47 -> Pinging Codecov 09:33:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-376&commit=1af87b10f7d9f04dbdc95f01e0cf938275db6d03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 09:33:48 -> Uploading to 09:33:48 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/5E52B4B073DB2E39498172D8E973AA87/1af87b10f7d9f04dbdc95f01e0cf938275db6d03/4a425a1c-413a-4d10-aeb6-f52b1e26ae7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T093347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13df8dcd705e5a094180bb3c88506fb653e8a21dcddb1261ffc255cc2a08a45c 09:33:48 % Total % Received % Xferd Average Speed Time Time Time Current 09:33:48 Dload Upload Total Spent Left Speed 09:33:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5205 0 0 100 5205 0 16523 --:--:-- --:--:-- --:--:-- 16523 09:33:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1af87b10f7d9f04dbdc95f01e0cf938275db6d03 [Pipeline] } 09:33:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:33:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-376/archives ] 09:33:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 09:33:50 total 16 09:33:50 drwxr-xr-x 3 root root 4096 Apr 7 09:25 . 09:33:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:25 .. 09:33:50 drwxr-xr-x 2 root root 4096 Apr 7 09:25 cost 09:33:50 -rw-r--r-- 1 root root 89 Apr 7 09:25 cost.csv 09:33:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-376/archives 09:33:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 09:33:50 total 16 09:33:50 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:25 . 09:33:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:25 .. 09:33:50 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:25 cost 09:33:50 -rw-r--r-- 1 jenkins jenkins 89 Apr 7 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:33:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:33:51 ---> package-listing.sh 09:33:51 ++ facter osfamily 09:33:51 ++ tr '[:upper:]' '[:lower:]' 09:33:51 + OS_FAMILY=debian 09:33:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-376 09:33:51 + START_PACKAGES=/tmp/packages_start.txt 09:33:51 + END_PACKAGES=/tmp/packages_end.txt 09:33:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:33:51 + PACKAGES=/tmp/packages_start.txt 09:33:51 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 09:33:51 + PACKAGES=/tmp/packages_end.txt 09:33:51 + case "${OS_FAMILY}" in 09:33:51 + dpkg -l 09:33:51 + grep '^ii' 09:33:51 + '[' -f /tmp/packages_start.txt ']' 09:33:51 + '[' -f /tmp/packages_end.txt ']' 09:33:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:33:51 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 09:33:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-376/archives/ 09:33:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-376/archives/ [Pipeline] echo 09:33:51 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:33:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:33:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:52 prd-ubuntu20.04-docker-8c-8g-7121 does not seem to be running inside a container 09:33:52 $ 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-376/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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:33:52 $ docker top a9a5d61404d4033dc28ef7c8ac89e2bd408f1324ff15da6b2306ea1931ca5d5d -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:53 + touch /tmp/pre-build-complete [Pipeline] sh 09:33:53 + mkdir -p /var/log/sysstat [Pipeline] sh 09:33:53 + ls /var/log/sa-host 09:33:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:53 provisioning config files... 09:33:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config8872819141986464611tmp [Pipeline] { [Pipeline] echo 09:33:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:33:54 ---> create-netrc.sh [Pipeline] } 09:33:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:33:54 ---> python-tools-install.sh [Pipeline] echo 09:33:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:33:55 ---> sudo-logs.sh 09:33:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:33:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:33:55 ---> job-cost.sh 09:33:55 lf-activate-venv: SKIPPING 09:33:55 DEBUG: total: 0.2199999988079071 09:33:55 INFO: Retrieving Stack Cost... 09:33:55 INFO: Retrieving Pricing Info for: v3-standard-8 09:33:56 INFO: Archiving Costs [Pipeline] echo 09:33:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:33:56 ---> logs-deploy.sh 09:33:56 lf-activate-venv: SKIPPING 09:33:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-376/1 09:33:56 INFO: archiving workspace using pattern(s): 09:33:57 Archives upload complete. 09:33:57 INFO: archiving logs to Nexus