Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bb147b67aac0611742908cfcb90cbbe5085f9b5 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-ssh12768077895785095232.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11081554633737373088.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3200331616283520347.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh7969633284558109655.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh427863907605360144.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-18175 in /w/workspace/exfoundry_device-virtual-go_napa [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/exfoundry_device-virtual-go_napa # 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 Avoid second fetch Checking out Revision 9bb147b67aac0611742908cfcb90cbbe5085f9b5 (napa) > 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 core.sparsecheckout # timeout=10 > git checkout -f 9bb147b67aac0611742908cfcb90cbbe5085f9b5 # timeout=10 Commit message: "ci(lts-release): LTS release v3.1.0 @281ea38" > git rev-list --no-walk 9bb147b67aac0611742908cfcb90cbbe5085f9b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:50 ========================================================= 22:11:50 EdgeX Global Pipelines Version Info 22:11:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:51 ------------------- 22:11:51 stable info: 22:11:51 ------------------- 22:11:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:11:51 Message: update stable to v1.0.258 22:11:51 ------------------- 22:11:51 experimental info: 22:11:51 ------------------- 22:11:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:11:51 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bb147b [Pipeline] echo 22:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:52 provisioning config files... 22:11:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config12609245007773200307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:52 ---> docker-login.sh 22:11:52 nexus3.edgexfoundry.org:10001 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 nexus3.edgexfoundry.org:10002 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 nexus3.edgexfoundry.org:10003 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 nexus3.edgexfoundry.org:10004 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 docker.io 22:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:53 Configure a credential helper to remove this warning. See 22:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:53 22:11:53 Login Succeeded 22:11:53 ---> docker-login.sh ends [Pipeline] } 22:11:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:54 + git rev-list -1 --merges 9bb147b67aac0611742908cfcb90cbbe5085f9b5~1..9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] echo 22:11:54 -----------> git rev-list -1 --merges 9bb147b67aac0611742908cfcb90cbbe5085f9b5~1..9bb147b67aac0611742908cfcb90cbbe5085f9b5 9bb147b67aac0611742908cfcb90cbbe5085f9b5 [false] [Pipeline] sh 22:11:54 + git log --format=format:%s -1 9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] echo 22:11:54 ========================================================= 22:11:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:11:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:54 + git log --format=format:%s -1 9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] echo 22:11:54 [semverPrep] GIT_COMMIT: 9bb147b67aac0611742908cfcb90cbbe5085f9b5, Commit Message: ci(lts-release): LTS release v3.1.0 @281ea38 [Pipeline] echo 22:11:54 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:55 + grep -v github /etc/ssh/ssh_known_hosts 22:11:55 + [ -e /tmp/ssh_known_hosts ] 22:11:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:55 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:55 22:11:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:55 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:55 b85a868b505f: Pulling fs layer 22:11:55 e2be974225ed: Pulling fs layer 22:11:55 339a4e72a1f5: Pulling fs layer 22:11:55 988bab9f4d93: Pulling fs layer 22:11:55 1469e6f7b9e6: Pulling fs layer 22:11:55 eaf3925da568: Pulling fs layer 22:11:55 bab4dde63d76: Pulling fs layer 22:11:55 bde34c3a00c8: Pulling fs layer 22:11:55 b352a97aabf1: Pulling fs layer 22:11:55 4872d77fe225: Pulling fs layer 22:11:55 5851b861e8e6: Pulling fs layer 22:11:55 988bab9f4d93: Waiting 22:11:55 4872d77fe225: Waiting 22:11:55 1469e6f7b9e6: Waiting 22:11:55 b352a97aabf1: Waiting 22:11:55 5851b861e8e6: Waiting 22:11:55 eaf3925da568: Waiting 22:11:55 bde34c3a00c8: Waiting 22:11:55 bab4dde63d76: Waiting 22:11:55 e2be974225ed: Download complete 22:11:55 988bab9f4d93: Verifying Checksum 22:11:55 988bab9f4d93: Download complete 22:11:56 1469e6f7b9e6: Verifying Checksum 22:11:56 1469e6f7b9e6: Download complete 22:11:56 339a4e72a1f5: Verifying Checksum 22:11:56 339a4e72a1f5: Download complete 22:11:56 eaf3925da568: Download complete 22:11:56 bde34c3a00c8: Verifying Checksum 22:11:56 b352a97aabf1: Verifying Checksum 22:11:56 b352a97aabf1: Download complete 22:11:56 4872d77fe225: Verifying Checksum 22:11:56 5851b861e8e6: Verifying Checksum 22:11:56 5851b861e8e6: Download complete 22:11:56 b85a868b505f: Download complete 22:11:56 bab4dde63d76: Verifying Checksum 22:11:56 bab4dde63d76: Download complete 22:11:57 b85a868b505f: Pull complete 22:11:57 e2be974225ed: Pull complete 22:11:58 339a4e72a1f5: Pull complete 22:11:58 988bab9f4d93: Pull complete 22:11:58 1469e6f7b9e6: Pull complete 22:11:58 eaf3925da568: Pull complete 22:12:00 bab4dde63d76: Pull complete 22:12:00 bde34c3a00c8: Pull complete 22:12:01 b352a97aabf1: Pull complete 22:12:01 4872d77fe225: Pull complete 22:12:01 5851b861e8e6: Pull complete 22:12:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:01 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:12:06 $ docker top 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 -eo pid,comm 22:12:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:12:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:06 [ssh-agent] Looking for ssh-agent implementation... 22:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:06 $ docker exec 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 ssh-agent 22:12:06 SSH_AUTH_SOCK=/tmp/ssh-qCfTSTayzSIh/agent.32 22:12:06 SSH_AGENT_PID=38 22:12:06 Running ssh-add (command line suppressed) 22:12:06 Identity added: /w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_4827098021952154690.key (/w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_4827098021952154690.key) 22:12:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:06 + git tag --points-at 9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] } 22:12:06 $ docker exec --env ******** --env ******** 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 ssh-agent -k 22:12:06 unset SSH_AUTH_SOCK; 22:12:06 unset SSH_AGENT_PID; 22:12:06 echo Agent pid 38 killed; 22:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:12:06 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:06 [ssh-agent] Looking for ssh-agent implementation... 22:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:06 $ docker exec 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 ssh-agent 22:12:07 SSH_AUTH_SOCK=/tmp/ssh-eff0ZZvR49PA/agent.71 22:12:07 SSH_AGENT_PID=77 22:12:07 Running ssh-add (command line suppressed) 22:12:07 Identity added: /w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_7901770839354492641.key (/w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_7901770839354492641.key) 22:12:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:07 + git semver init 22:12:07 2023-11-15 22:12:07,697 [run_init] DEBUG init version:0.0.0 force:False 22:12:07 2023-11-15 22:12:07,698 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_napa/.semver 22:12:07 2023-11-15 22:12:07,698 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_napa/.semver 22:12:07 2023-11-15 22:12:07,698 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_napa/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_napa, universal_newlines=False, shell=None, istream=None) 22:12:09 2023-11-15 22:12:09,499 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_napa/.git/info/exclude 22:12:09 2023-11-15 22:12:09,499 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_napa/.semver/napa with force:False 22:12:09 2023-11-15 22:12:09,499 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_napa/.semver/napa 22:12:09 2023-11-15 22:12:09,500 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_napa/.semver/napa 22:12:09 3.1.0 [Pipeline] } 22:12:09 $ docker exec --env ******** --env ******** 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 ssh-agent -k 22:12:09 unset SSH_AUTH_SOCK; 22:12:09 unset SSH_AGENT_PID; 22:12:09 echo Agent pid 77 killed; 22:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:10 + git semver [Pipeline] } 22:12:10 $ docker stop --time=1 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 22:12:11 $ docker rm -f --volumes 890c2d4679c163f57898b9f3267680a761b92322a234c3298383c53f8a324983 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:12:12 Stashed 1 file(s) [Pipeline] echo 22:12:12 [edgeXSemver]: initialized semver on version 3.1.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] sh 22:12:13 + git checkout 9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:12:13 HEAD is now at 9bb147b ci(lts-release): LTS release v3.1.0 @281ea38 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:13 provisioning config files... 22:12:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config14444083507463035861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:13 ---> docker-login.sh 22:12:13 nexus3.edgexfoundry.org:10001 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 nexus3.edgexfoundry.org:10002 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 nexus3.edgexfoundry.org:10003 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 nexus3.edgexfoundry.org:10004 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 docker.io 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:14 Configure a credential helper to remove this warning. See 22:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:14 22:12:14 Login Succeeded 22:12:14 ---> docker-login.sh ends [Pipeline] } 22:12:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:14 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:12:14 + grep ^go [0-9].[0-9]* go.mod 22:12:14 + cut -d -f 2 [Pipeline] echo 22:12:14 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:12:14 ========================================================= 22:12:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:12:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:12:15 Sending build context to Docker daemon 60.75MB 22:12:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:12:15 Step 2/12 : FROM ${BASE} AS builder 22:12:15 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:12:15 7264a8db6415: Pulling fs layer 22:12:15 c4d48a809fc2: Pulling fs layer 22:12:15 4f1c88b9dad5: Pulling fs layer 22:12:15 ad3a456e5733: Pulling fs layer 22:12:15 f0163c21ed6d: Pulling fs layer 22:12:15 04c35c34e31e: Pulling fs layer 22:12:15 0c7b0fd20c02: Pulling fs layer 22:12:15 d22eed83c68c: Pulling fs layer 22:12:15 ad3a456e5733: Waiting 22:12:15 f0163c21ed6d: Waiting 22:12:15 d22eed83c68c: Waiting 22:12:15 04c35c34e31e: Waiting 22:12:15 c4d48a809fc2: Verifying Checksum 22:12:15 c4d48a809fc2: Download complete 22:12:15 ad3a456e5733: Verifying Checksum 22:12:15 ad3a456e5733: Download complete 22:12:15 f0163c21ed6d: Verifying Checksum 22:12:15 f0163c21ed6d: Download complete 22:12:15 7264a8db6415: Verifying Checksum 22:12:15 7264a8db6415: Download complete 22:12:15 04c35c34e31e: Verifying Checksum 22:12:15 04c35c34e31e: Download complete 22:12:15 d22eed83c68c: Verifying Checksum 22:12:15 d22eed83c68c: Download complete 22:12:15 7264a8db6415: Pull complete 22:12:15 4f1c88b9dad5: Verifying Checksum 22:12:15 4f1c88b9dad5: Download complete 22:12:16 c4d48a809fc2: Pull complete 22:12:16 0c7b0fd20c02: Download complete 22:12:19 4f1c88b9dad5: Pull complete 22:12:19 ad3a456e5733: Pull complete 22:12:19 f0163c21ed6d: Pull complete 22:12:19 04c35c34e31e: Pull complete 22:12:22 0c7b0fd20c02: Pull complete 22:12:22 d22eed83c68c: Pull complete 22:12:22 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:12:22 ---> 8a661f5c53af 22:12:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:12:27 Still waiting to schedule task 22:12:27 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:12:32 ---> Running in 9437923cf7a2 22:12:32 Removing intermediate container 9437923cf7a2 22:12:32 ---> f5098efe24da 22:12:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:12:33 ---> Running in 6ece293882cb 22:12:33 Removing intermediate container 6ece293882cb 22:12:33 ---> 0bede8ee5d0d 22:12:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:12:33 ---> Running in 80e6ebb7de15 22:12:33 Removing intermediate container 80e6ebb7de15 22:12:33 ---> 4d03698ef134 22:12:33 Step 6/12 : WORKDIR /device-virtual-go 22:12:33 ---> Running in 5627f82db896 22:12:33 Removing intermediate container 5627f82db896 22:12:33 ---> b913e467ef31 22:12:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:34 ---> Running in f61abb837773 22:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:12:34 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:12:34 (2/4) Installing libedit (20221030.3.1-r1) 22:12:34 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:12:34 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:12:34 Executing busybox-1.36.1-r5.trigger 22:12:34 OK: 268 MiB in 56 packages 22:12:35 Removing intermediate container f61abb837773 22:12:35 ---> d1b85e14737c 22:12:35 Step 8/12 : COPY go.mod vendor* ./ 22:12:38 ---> d2e2b4b262bf 22:12:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:38 ---> Running in 9f1624e43676 22:13:25 Removing intermediate container 9f1624e43676 22:13:25 ---> b6da814f63e0 22:13:25 Step 10/12 : COPY . . 22:13:25 ---> 98423b03ec5a 22:13:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:25 ---> Running in 6e11897e6bb4 22:13:25 Removing intermediate container 6e11897e6bb4 22:13:25 ---> 10ff8596f1f9 22:13:25 Step 12/12 : RUN $MAKE 22:13:25 ---> Running in 23a0dfd71230 22:13:25 noop 22:13:25 Removing intermediate container 23a0dfd71230 22:13:25 ---> ba7bde4cd994 22:13:25 Successfully built ba7bde4cd994 22:13:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:25 + docker inspect -f . ci-base-image-x86_64 22:13:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:25 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@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 ******** ci-base-image-x86_64 cat 22:13:26 $ docker top 035d95361e012f76294a167ec13eecf919a61867a28f61606ef2de0dfb0a08c5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:26 + go version 22:13:26 go version go1.21.0 linux/amd64 [Pipeline] } 22:13:26 $ docker stop --time=1 035d95361e012f76294a167ec13eecf919a61867a28f61606ef2de0dfb0a08c5 22:13:28 $ docker rm -f --volumes 035d95361e012f76294a167ec13eecf919a61867a28f61606ef2de0dfb0a08c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:28 + docker inspect -f . ci-base-image-x86_64 22:13:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:28 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:13:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@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 ******** ci-base-image-x86_64 cat 22:13:28 $ docker top fb9537b0ef7c51fd66c69e9b21460948161322c247096d60ddc0a84060060074 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:29 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_napa [Pipeline] fileExists [Pipeline] sh 22:13:29 + make test 22:13:29 go test ./... -coverprofile=coverage.out 22:13:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:13:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:13:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.6% of statements 22:13:47 go vet ./... 22:13:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:13:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:13:50 ./bin/test-attribution-txt.sh [Pipeline] echo 22:13:50 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:13:50 + go mod tidy [Pipeline] } 22:13:51 $ docker stop --time=1 fb9537b0ef7c51fd66c69e9b21460948161322c247096d60ddc0a84060060074 22:13:55 $ docker rm -f --volumes fb9537b0ef7c51fd66c69e9b21460948161322c247096d60ddc0a84060060074 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:13:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:56 + ls -al . 22:13:56 total 204 22:13:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:13 . 22:13:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:11 .. 22:13:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:13 .git 22:13:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 .github 22:13:56 -rw-rw-r-- 1 jenkins jenkins 264 Nov 15 22:11 .gitignore 22:13:56 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:11 .golangci.yml 22:13:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:12 .semver 22:13:56 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 15 22:11 Attribution.txt 22:13:56 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 15 22:11 CHANGELOG.md 22:13:56 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 15 22:11 Dockerfile 22:13:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:11 GOVERNANCE.md 22:13:56 -rw-rw-r-- 1 jenkins jenkins 660 Nov 15 22:11 Jenkinsfile 22:13:56 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:11 LICENSE 22:13:56 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 15 22:11 Makefile 22:13:56 -rw-rw-r-- 1 jenkins jenkins 623 Nov 15 22:11 OWNERS.md 22:13:56 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 15 22:11 README.md 22:13:56 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:12 VERSION 22:13:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:11 bin 22:13:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 cmd 22:13:56 -rw-r--r-- 1 jenkins jenkins 43063 Nov 15 22:13 coverage.out 22:13:56 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 15 22:11 go.mod 22:13:56 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 15 22:11 go.sum 22:13:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 internal 22:13:56 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:11 vendor 22:13:56 -rw-rw-r-- 1 jenkins jenkins 235 Nov 15 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:56 + 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=9bb147b67aac0611742908cfcb90cbbe5085f9b5 --label arch=amd64 --label version=3.1.0 . 22:13:57 Sending build context to Docker daemon 60.8MB 22:13:57 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:13:57 Step 2/26 : FROM ${BASE} AS builder 22:13:57 ---> ba7bde4cd994 22:13:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:13:58 ---> Running in 0f34d1ab24cc 22:13:58 Removing intermediate container 0f34d1ab24cc 22:13:58 ---> ddeee7239c8c 22:13:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:13:58 ---> Running in a3927dcdb4d6 22:13:58 Removing intermediate container a3927dcdb4d6 22:13:58 ---> 71935e821172 22:13:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:13:58 ---> Running in 913c5e30e7e3 22:13:58 Removing intermediate container 913c5e30e7e3 22:13:58 ---> f37802536f1f 22:13:58 Step 6/26 : WORKDIR /device-virtual-go 22:13:58 ---> Running in 5a0c9d14de68 22:13:58 Removing intermediate container 5a0c9d14de68 22:13:58 ---> 80020f9b8e94 22:13:58 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:58 ---> Running in 4d9458bb1a92 22:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:13:59 OK: 268 MiB in 56 packages 22:13:59 Removing intermediate container 4d9458bb1a92 22:13:59 ---> 360edf204361 22:13:59 Step 8/26 : COPY go.mod vendor* ./ 22:14:02 ---> f6ad0100bc5d 22:14:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:02 ---> Running in 32e20baedb73 22:14:02 skipping... 22:14:02 Removing intermediate container 32e20baedb73 22:14:02 ---> 94013c1f8048 22:14:02 Step 10/26 : COPY . . 22:14:06 ---> 5b60528c2d5e 22:14:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:06 ---> Running in bb01c8fb6d71 22:14:06 Removing intermediate container bb01c8fb6d71 22:14:06 ---> 0f9b8a164bab 22:14:06 Step 12/26 : RUN $MAKE 22:14:06 ---> Running in 6f8456368238 22:14:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:14:28 Removing intermediate container 6f8456368238 22:14:28 ---> a6610a5d786b 22:14:28 Step 13/26 : FROM alpine:3.18 22:14:28 3.18: Pulling from library/alpine 22:14:28 96526aa774ef: Pulling fs layer 22:14:28 96526aa774ef: Verifying Checksum 22:14:28 96526aa774ef: Download complete 22:14:28 96526aa774ef: Pull complete 22:14:28 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:14:28 Status: Downloaded newer image for alpine:3.18 22:14:28 ---> 8ca4688f4f35 22:14:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:14:28 ---> Running in 29ac8740f9b0 22:14:28 Removing intermediate container 29ac8740f9b0 22:14:28 ---> 117512d89a83 22:14:28 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:14:28 ---> Running in fb27f11748b6 22:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:14:28 (1/1) Installing dumb-init (1.2.5-r2) 22:14:28 Executing busybox-1.36.1-r2.trigger 22:14:28 OK: 7 MiB in 16 packages 22:14:29 Removing intermediate container fb27f11748b6 22:14:29 ---> 36464f04913b 22:14:29 Step 16/26 : RUN apk --no-cache upgrade 22:14:29 ---> Running in 08fb8204989c 22:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:14:30 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:14:30 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:14:30 Executing busybox-1.36.1-r5.post-upgrade 22:14:30 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:14:30 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:14:30 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:14:30 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:14:30 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:14:30 Executing busybox-1.36.1-r5.trigger 22:14:30 OK: 7 MiB in 16 packages 22:14:30 Removing intermediate container 08fb8204989c 22:14:30 ---> c4df71b94788 22:14:30 Step 17/26 : WORKDIR / 22:14:30 ---> Running in d2989239bf83 22:14:30 Removing intermediate container d2989239bf83 22:14:30 ---> f4ee7132d5ce 22:14:30 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:14:30 ---> 89687cf131a7 22:14:30 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:14:31 ---> 2203508829b7 22:14:31 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:14:31 ---> b1a86c870e25 22:14:31 Step 21/26 : EXPOSE 59900 22:14:31 ---> Running in e72b3e1fb33c 22:14:31 Removing intermediate container e72b3e1fb33c 22:14:31 ---> 3f79a5652ee5 22:14:31 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:14:31 ---> Running in 1ae55984772f 22:14:32 Removing intermediate container 1ae55984772f 22:14:32 ---> 672edcb23652 22:14:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:14:32 ---> Running in eec51c1dac6d 22:14:32 Removing intermediate container eec51c1dac6d 22:14:32 ---> ce24c35d322d 22:14:32 Step 24/26 : LABEL arch=amd64 22:14:32 ---> Running in 4e8feb4a4dca 22:14:32 Removing intermediate container 4e8feb4a4dca 22:14:32 ---> 2daef35a9b99 22:14:32 Step 25/26 : LABEL git_sha=9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:14:32 ---> Running in 29c99d04eb87 22:14:32 Removing intermediate container 29c99d04eb87 22:14:32 ---> 9289fcfba5fe 22:14:32 Step 26/26 : LABEL version=3.1.0 22:14:32 ---> Running in 67232f3afdcb 22:14:32 Removing intermediate container 67232f3afdcb 22:14:32 ---> 4702e499e932 22:14:32 [Warning] One or more build-args [ARCH] were not consumed 22:14:32 Successfully built 4702e499e932 22:14:32 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:32 provisioning config files... 22:14:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config12843506627643570604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:32 ---> docker-login.sh 22:14:32 nexus3.edgexfoundry.org:10001 22:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:32 Configure a credential helper to remove this warning. See 22:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:32 22:14:32 Login Succeeded 22:14:32 nexus3.edgexfoundry.org:10002 22:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:32 Configure a credential helper to remove this warning. See 22:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:32 22:14:32 Login Succeeded 22:14:32 nexus3.edgexfoundry.org:10003 22:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:32 Configure a credential helper to remove this warning. See 22:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:32 22:14:32 Login Succeeded 22:14:32 nexus3.edgexfoundry.org:10004 22:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:32 Configure a credential helper to remove this warning. See 22:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:32 22:14:32 Login Succeeded 22:14:32 docker.io 22:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:33 Configure a credential helper to remove this warning. See 22:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:33 22:14:33 Login Succeeded 22:14:33 ---> docker-login.sh ends [Pipeline] } 22:14:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:33 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:14:33 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 22:14:33 9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:14:33 3.1.0 22:14:33 9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 22:14:33 napa 22:14:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:14:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:14:34 37eaa5a229db: Preparing 22:14:34 4ab23a329694: Preparing 22:14:34 b8da00a2b334: Preparing 22:14:34 6f1aab07bcf1: Preparing 22:14:34 f2502d33dc10: Preparing 22:14:34 cc2447e1835a: Preparing 22:14:34 cc2447e1835a: Waiting 22:14:34 b8da00a2b334: Pushed 22:14:34 4ab23a329694: Pushed 22:14:34 f2502d33dc10: Pushed 22:14:34 cc2447e1835a: Layer already exists 22:14:35 6f1aab07bcf1: Pushed 22:14:36 37eaa5a229db: Pushed 22:14:36 9bb147b67aac0611742908cfcb90cbbe5085f9b5: digest: sha256:53b7fa4e3ad142ac46da56223979a2a151ef238dd92f26e7908310f1440adf61 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0 22:14:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:14:37 37eaa5a229db: Preparing 22:14:37 4ab23a329694: Preparing 22:14:37 b8da00a2b334: Preparing 22:14:37 6f1aab07bcf1: Preparing 22:14:37 f2502d33dc10: Preparing 22:14:37 cc2447e1835a: Preparing 22:14:37 37eaa5a229db: Layer already exists 22:14:37 4ab23a329694: Layer already exists 22:14:37 f2502d33dc10: Layer already exists 22:14:37 b8da00a2b334: Layer already exists 22:14:37 6f1aab07bcf1: Layer already exists 22:14:37 cc2447e1835a: Layer already exists 22:14:37 3.1.0: digest: sha256:53b7fa4e3ad142ac46da56223979a2a151ef238dd92f26e7908310f1440adf61 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 22:14:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:14:38 37eaa5a229db: Preparing 22:14:38 4ab23a329694: Preparing 22:14:38 b8da00a2b334: Preparing 22:14:38 6f1aab07bcf1: Preparing 22:14:38 f2502d33dc10: Preparing 22:14:38 cc2447e1835a: Preparing 22:14:38 cc2447e1835a: Waiting 22:14:38 b8da00a2b334: Layer already exists 22:14:38 f2502d33dc10: Layer already exists 22:14:38 6f1aab07bcf1: Layer already exists 22:14:38 37eaa5a229db: Layer already exists 22:14:38 4ab23a329694: Layer already exists 22:14:38 cc2447e1835a: Layer already exists 22:14:38 9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0: digest: sha256:53b7fa4e3ad142ac46da56223979a2a151ef238dd92f26e7908310f1440adf61 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:napa 22:14:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:14:38 37eaa5a229db: Preparing 22:14:38 4ab23a329694: Preparing 22:14:38 b8da00a2b334: Preparing 22:14:38 6f1aab07bcf1: Preparing 22:14:38 f2502d33dc10: Preparing 22:14:38 cc2447e1835a: Preparing 22:14:38 cc2447e1835a: Waiting 22:14:38 6f1aab07bcf1: Layer already exists 22:14:38 37eaa5a229db: Layer already exists 22:14:38 4ab23a329694: Layer already exists 22:14:38 b8da00a2b334: Layer already exists 22:14:38 f2502d33dc10: Layer already exists 22:14:38 cc2447e1835a: Layer already exists 22:14:38 napa: digest: sha256:53b7fa4e3ad142ac46da56223979a2a151ef238dd92f26e7908310f1440adf61 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:14:38 ===================================================== [Pipeline] echo 22:14:38 taggedImages: 22:14:38 - nexus3.edgexfoundry.org:10004/device-virtual:9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:14:38 - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0 22:14:38 - nexus3.edgexfoundry.org:10004/device-virtual:9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 22:14:38 - nexus3.edgexfoundry.org:10004/device-virtual:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:39 22:14:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:39 latest: Pulling from edgex-lftools-log-publisher 22:14:39 5eb5b503b376: Pulling fs layer 22:14:39 5c69ac0246d0: Pulling fs layer 22:14:39 ec43610c2a17: Pulling fs layer 22:14:39 3a2ae6a8a46f: Pulling fs layer 22:14:39 33b1e0a273af: Pulling fs layer 22:14:39 5d3b04190fa2: Pulling fs layer 22:14:39 3a2ae6a8a46f: Waiting 22:14:39 2f39f015ded8: Pulling fs layer 22:14:39 5c69ac0246d0: Verifying Checksum 22:14:39 5c69ac0246d0: Download complete 22:14:39 3a2ae6a8a46f: Verifying Checksum 22:14:39 3a2ae6a8a46f: Download complete 22:14:39 33b1e0a273af: Verifying Checksum 22:14:39 33b1e0a273af: Download complete 22:14:39 5d3b04190fa2: Verifying Checksum 22:14:39 5d3b04190fa2: Download complete 22:14:39 ec43610c2a17: Verifying Checksum 22:14:39 ec43610c2a17: Download complete 22:14:39 5eb5b503b376: Verifying Checksum 22:14:39 5eb5b503b376: Download complete 22:14:40 2f39f015ded8: Download complete 22:14:41 5eb5b503b376: Pull complete 22:14:41 5c69ac0246d0: Pull complete 22:14:41 ec43610c2a17: Pull complete 22:14:41 3a2ae6a8a46f: Pull complete 22:14:42 33b1e0a273af: Pull complete 22:14:42 5d3b04190fa2: Pull complete 22:14:47 2f39f015ded8: Pull complete 22:14:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:47 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:14:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:54 $ docker top 444885fe21c7be1804ae77c52280811dd88e418e88d466544a47842a7fb80b6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:54 ---> job-cost.sh 22:14:54 lf-activate-venv: SKIPPING 22:14:54 INFO: No Stack... 22:14:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:55 INFO: Archiving Costs [Pipeline] sh 22:14:55 + cat /w/workspace/exfoundry_device-virtual-go_napa/archives/cost.csv 22:14:55 + cut -d, -f6 [Pipeline] lock 22:14:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] 22:14:55 Resource [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] did not exist. Created. 22:14:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:55 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:55 Stashed 1 file(s) [Pipeline] } 22:14:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:56 $ docker stop --time=1 444885fe21c7be1804ae77c52280811dd88e418e88d466544a47842a7fb80b6a 22:14:57 $ docker rm -f --volumes 444885fe21c7be1804ae77c52280811dd88e418e88d466544a47842a7fb80b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:15:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18179 in /w/workspace/exfoundry_device-virtual-go_napa [Pipeline] { [Pipeline] ws 22:15:45 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 22:15:45 The recommended git tool is: git 22:15:57 using credential edgex-jenkins-ssh 22:15:57 Cloning the remote Git repository 22:15:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:15:57 > git init /w/workspace/device-virtual-go/2 # timeout=10 22:15:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:15:58 > git --version # timeout=10 22:15:58 > git --version # 'git version 2.25.1' 22:15:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:02 Avoid second fetch 22:16:02 Checking out Revision 9bb147b67aac0611742908cfcb90cbbe5085f9b5 (napa) 22:16:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:16:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:03 > git config core.sparsecheckout # timeout=10 22:16:03 > git checkout -f 9bb147b67aac0611742908cfcb90cbbe5085f9b5 # timeout=10 22:16:04 Commit message: "ci(lts-release): LTS release v3.1.0 @281ea38" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:16:05 % Total % Received % Xferd Average Speed Time Time Time Current 22:16:05 Dload Upload Total Spent Left Speed 22:16:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 193k 0 --:--:-- --:--:-- --:--:-- 193k [Pipeline] sh 22:16:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:16:06 + sudo tee /etc/docker/daemon.new 22:16:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:16:06 { 22:16:06 "registry-mirrors": [ 22:16:06 "https://nexus3.edgexfoundry.org:10001" 22:16:06 ], 22:16:06 "bip": "10.250.0.254/24", 22:16:06 "hosts": [ 22:16:06 "tcp://0.0.0.0:5555", 22:16:06 "unix:///var/run/docker.sock" 22:16:06 ], 22:16:06 "mtu": 1458, 22:16:06 "selinux-enabled": true, 22:16:06 "seccomp-profile": "/etc/docker/seccomp.json" 22:16:06 } [Pipeline] sh 22:16:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:16:07 + sudo service docker restart [Pipeline] sh 22:16:26 + git checkout 9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:16:26 HEAD is now at 9bb147b ci(lts-release): LTS release v3.1.0 @281ea38 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:26 provisioning config files... 22:16:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config14793763353413600488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:26 ---> docker-login.sh 22:16:26 nexus3.edgexfoundry.org:10001 22:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:27 Configure a credential helper to remove this warning. See 22:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:27 22:16:27 Login Succeeded 22:16:27 nexus3.edgexfoundry.org:10002 22:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:27 Configure a credential helper to remove this warning. See 22:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:27 22:16:27 Login Succeeded 22:16:27 nexus3.edgexfoundry.org:10003 22:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:27 Configure a credential helper to remove this warning. See 22:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:27 22:16:27 Login Succeeded 22:16:27 nexus3.edgexfoundry.org:10004 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 docker.io 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 ---> docker-login.sh ends [Pipeline] } 22:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:29 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:16:29 + grep ^go [0-9].[0-9]* go.mod 22:16:29 + cut -d -f 2 [Pipeline] echo 22:16:29 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:16:29 ========================================================= 22:16:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 22:16:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:16:32 Sending build context to Docker daemon 43.88MB 22:16:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:16:32 Step 2/12 : FROM ${BASE} AS builder 22:16:32 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:16:32 9fda8d8052c6: Pulling fs layer 22:16:32 5d54e960e981: Pulling fs layer 22:16:32 c4a7e357bf2a: Pulling fs layer 22:16:32 f0e02332f6b5: Pulling fs layer 22:16:32 57b776a6bec4: Pulling fs layer 22:16:32 8b19151f9e34: Pulling fs layer 22:16:32 eb6a9f2d7ee3: Pulling fs layer 22:16:32 f0e02332f6b5: Waiting 22:16:32 57b776a6bec4: Waiting 22:16:32 8b19151f9e34: Waiting 22:16:32 5d54e960e981: Verifying Checksum 22:16:32 5d54e960e981: Download complete 22:16:32 f0e02332f6b5: Verifying Checksum 22:16:32 f0e02332f6b5: Download complete 22:16:32 57b776a6bec4: Verifying Checksum 22:16:32 57b776a6bec4: Download complete 22:16:32 9fda8d8052c6: Verifying Checksum 22:16:32 9fda8d8052c6: Download complete 22:16:33 eb6a9f2d7ee3: Verifying Checksum 22:16:33 eb6a9f2d7ee3: Download complete 22:16:33 9fda8d8052c6: Pull complete 22:16:33 5d54e960e981: Pull complete 22:16:34 c4a7e357bf2a: Download complete 22:16:35 8b19151f9e34: Verifying Checksum 22:16:35 8b19151f9e34: Download complete 22:16:50 c4a7e357bf2a: Pull complete 22:16:50 f0e02332f6b5: Pull complete 22:16:50 57b776a6bec4: Pull complete 22:16:58 8b19151f9e34: Pull complete 22:16:59 eb6a9f2d7ee3: Pull complete 22:16:59 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 22:16:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 22:16:59 ---> ca1e05e92614 22:16:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:17:01 ---> Running in ca01188fa7cb 22:17:01 Removing intermediate container ca01188fa7cb 22:17:01 ---> 1606a75287b3 22:17:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:17:01 ---> Running in e05a71ffa0aa 22:17:01 Removing intermediate container e05a71ffa0aa 22:17:01 ---> 46385805c97a 22:17:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:17:01 ---> Running in fbc8ac0a314d 22:17:02 Removing intermediate container fbc8ac0a314d 22:17:02 ---> d5cda5d356c7 22:17:02 Step 6/12 : WORKDIR /device-virtual-go 22:17:02 ---> Running in a1004ecb7766 22:17:02 Removing intermediate container a1004ecb7766 22:17:02 ---> 9372c55b3c20 22:17:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:02 ---> Running in 4fc3bc4cedd2 22:17:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:17:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:17:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:17:05 (2/4) Installing libedit (20221030.3.1-r1) 22:17:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:17:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:17:05 Executing busybox-1.36.1-r5.trigger 22:17:05 OK: 271 MiB in 56 packages 22:17:07 Removing intermediate container 4fc3bc4cedd2 22:17:07 ---> 7f028cc081a0 22:17:07 Step 8/12 : COPY go.mod vendor* ./ 22:17:14 ---> 53f47d9e5f78 22:17:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:14 ---> Running in 35c96cd099c4 22:18:36 Removing intermediate container 35c96cd099c4 22:18:36 ---> 16f65cca80fd 22:18:36 Step 10/12 : COPY . . 22:18:41 ---> 170f75c3531b 22:18:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:41 ---> Running in 3cd785d4f4e2 22:18:41 Removing intermediate container 3cd785d4f4e2 22:18:41 ---> d95fdc232974 22:18:41 Step 12/12 : RUN $MAKE 22:18:41 ---> Running in 50a4f563f209 22:18:43 noop 22:18:43 Removing intermediate container 50a4f563f209 22:18:43 ---> 80b80a402674 22:18:44 Successfully built 80b80a402674 22:18:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:44 + docker inspect -f . ci-base-image-arm64 22:18:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:44 prd-ubuntu20.04-docker-arm64-4c-16g-18179 does not seem to be running inside a container 22:18:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat 22:18:46 $ docker top d40dd61015dbeb41dc1e2eaf84b6056e2bbcc883992be5475fd4079571d41b1f -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:47 + go version 22:18:47 go version go1.21.0 linux/arm64 [Pipeline] } 22:18:47 $ docker stop --time=1 d40dd61015dbeb41dc1e2eaf84b6056e2bbcc883992be5475fd4079571d41b1f 22:18:49 $ docker rm -f --volumes d40dd61015dbeb41dc1e2eaf84b6056e2bbcc883992be5475fd4079571d41b1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:49 + docker inspect -f . ci-base-image-arm64 22:18:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:49 prd-ubuntu20.04-docker-arm64-4c-16g-18179 does not seem to be running inside a container 22:18:50 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat 22:18:51 $ docker top c06752e2ffc3a78a104a8c6318f28657fd794c0e060a427e869821238356768b -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:52 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 22:18:52 + make test 22:18:52 go test ./... -coverprofile=coverage.out 22:18:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:21:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:21:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.102s coverage: 58.4% of statements 22:21:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:21:18 go vet ./... 22:21:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:37 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:37 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:21:38 + go mod tidy [Pipeline] } 22:21:42 $ docker stop --time=1 c06752e2ffc3a78a104a8c6318f28657fd794c0e060a427e869821238356768b 22:21:44 $ docker rm -f --volumes c06752e2ffc3a78a104a8c6318f28657fd794c0e060a427e869821238356768b [Pipeline] // withDockerContainer [Pipeline] sh 22:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:46 Warning: overwriting stash ‘coverage-report’ 22:21:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:48 + ls -al . 22:21:48 total 200 22:21:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:18 . 22:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:15 .. 22:21:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:16 .git 22:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 .github 22:21:48 -rw-rw-r-- 1 jenkins jenkins 264 Nov 15 22:16 .gitignore 22:21:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:16 .golangci.yml 22:21:48 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 15 22:16 Attribution.txt 22:21:48 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 15 22:16 CHANGELOG.md 22:21:48 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 15 22:16 Dockerfile 22:21:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:16 GOVERNANCE.md 22:21:48 -rw-rw-r-- 1 jenkins jenkins 660 Nov 15 22:16 Jenkinsfile 22:21:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:16 LICENSE 22:21:48 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 15 22:16 Makefile 22:21:48 -rw-rw-r-- 1 jenkins jenkins 623 Nov 15 22:16 OWNERS.md 22:21:48 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 15 22:16 README.md 22:21:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:12 VERSION 22:21:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 bin 22:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 cmd 22:21:48 -rw-r--r-- 1 jenkins jenkins 43063 Nov 15 22:21 coverage.out 22:21:48 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 15 22:16 go.mod 22:21:48 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 15 22:16 go.sum 22:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 internal 22:21:48 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:16 vendor 22:21:48 -rw-rw-r-- 1 jenkins jenkins 235 Nov 15 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:49 + 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=9bb147b67aac0611742908cfcb90cbbe5085f9b5 --label arch=arm64 --label version=3.1.0 . 22:21:51 Sending build context to Docker daemon 43.92MB 22:21:51 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:21:51 Step 2/26 : FROM ${BASE} AS builder 22:21:51 ---> 80b80a402674 22:21:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:21:51 ---> Running in b5c087b0ffea 22:21:52 Removing intermediate container b5c087b0ffea 22:21:52 ---> ae598be688d0 22:21:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:21:52 ---> Running in f1e53c6cc4ed 22:21:52 Removing intermediate container f1e53c6cc4ed 22:21:52 ---> 0bc3bdf1001f 22:21:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:21:53 ---> Running in bebe8d4fab91 22:21:53 Removing intermediate container bebe8d4fab91 22:21:53 ---> c9163889c791 22:21:53 Step 6/26 : WORKDIR /device-virtual-go 22:21:53 ---> Running in f26900aefe2c 22:21:53 Removing intermediate container f26900aefe2c 22:21:53 ---> e7774f49ffc8 22:21:53 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:53 ---> Running in 58662e9744dc 22:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:21:57 OK: 271 MiB in 56 packages 22:21:58 Removing intermediate container 58662e9744dc 22:21:58 ---> aa0ca0c7a5ba 22:21:58 Step 8/26 : COPY go.mod vendor* ./ 22:22:06 ---> 59410cece56b 22:22:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:06 ---> Running in 527d503bfb6c 22:22:07 skipping... 22:22:08 Removing intermediate container 527d503bfb6c 22:22:08 ---> 30fb7e2f1901 22:22:08 Step 10/26 : COPY . . 22:22:18 ---> 1d7fedb3f19d 22:22:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:18 ---> Running in a09794f61940 22:22:18 Removing intermediate container a09794f61940 22:22:18 ---> cdc85f881ecc 22:22:18 Step 12/26 : RUN $MAKE 22:22:18 ---> Running in 9cd014c5a61d 22:22:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:24:56 Removing intermediate container 9cd014c5a61d 22:24:56 ---> 124a9b390edb 22:24:56 Step 13/26 : FROM alpine:3.18 22:24:56 3.18: Pulling from library/alpine 22:24:56 579b34f0a95b: Pulling fs layer 22:24:56 579b34f0a95b: Download complete 22:24:56 579b34f0a95b: Pull complete 22:24:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:24:56 Status: Downloaded newer image for alpine:3.18 22:24:56 ---> 3cc203321400 22:24:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:24:56 ---> Running in f3ce5a4293ca 22:24:56 Removing intermediate container f3ce5a4293ca 22:24:56 ---> e30506e599af 22:24:56 Step 15/26 : RUN apk add --update --no-cache dumb-init 22:24:56 ---> Running in 1404f133eb69 22:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:24:56 (1/1) Installing dumb-init (1.2.5-r2) 22:24:57 Executing busybox-1.36.1-r2.trigger 22:24:57 OK: 8 MiB in 16 packages 22:24:58 Removing intermediate container 1404f133eb69 22:24:58 ---> 1f7ed496da65 22:24:58 Step 16/26 : RUN apk --no-cache upgrade 22:24:58 ---> Running in 358dac6957e5 22:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:25:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:25:01 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:25:01 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:25:01 Executing busybox-1.36.1-r5.post-upgrade 22:25:01 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:25:01 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:25:01 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:25:01 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:25:01 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:25:01 Executing busybox-1.36.1-r5.trigger 22:25:01 OK: 8 MiB in 16 packages 22:25:03 Removing intermediate container 358dac6957e5 22:25:03 ---> 1c7b4d45ca08 22:25:03 Step 17/26 : WORKDIR / 22:25:03 ---> Running in 87a5754d2671 22:25:03 Removing intermediate container 87a5754d2671 22:25:03 ---> ba81e1e61db9 22:25:03 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:25:04 ---> bfb6d28c7daa 22:25:04 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 22:25:05 ---> 79f3dc09fa36 22:25:05 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 22:25:07 ---> 3c09a792ffea 22:25:07 Step 21/26 : EXPOSE 59900 22:25:07 ---> Running in 1b97c10903e8 22:25:07 Removing intermediate container 1b97c10903e8 22:25:07 ---> 4dceeea90833 22:25:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 22:25:07 ---> Running in f3911bd42f4d 22:25:07 Removing intermediate container f3911bd42f4d 22:25:07 ---> 409dc50efdf3 22:25:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:25:07 ---> Running in 57035de7d048 22:25:08 Removing intermediate container 57035de7d048 22:25:08 ---> 6c3cfa773347 22:25:08 Step 24/26 : LABEL arch=arm64 22:25:08 ---> Running in a7f81fc98f75 22:25:09 Removing intermediate container a7f81fc98f75 22:25:09 ---> cd29ee025a13 22:25:09 Step 25/26 : LABEL git_sha=9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:25:09 ---> Running in db99df74de3e 22:25:09 Removing intermediate container db99df74de3e 22:25:09 ---> 1aef6cf1c6eb 22:25:09 Step 26/26 : LABEL version=3.1.0 22:25:09 ---> Running in 0e32bf497d16 22:25:10 Removing intermediate container 0e32bf497d16 22:25:10 ---> a5e7356fd899 22:25:10 [Warning] One or more build-args [ARCH] were not consumed 22:25:10 Successfully built a5e7356fd899 22:25:10 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:10 provisioning config files... 22:25:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config14906217199830878494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:11 ---> docker-login.sh 22:25:11 nexus3.edgexfoundry.org:10001 22:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:11 Configure a credential helper to remove this warning. See 22:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:11 22:25:11 Login Succeeded 22:25:11 nexus3.edgexfoundry.org:10002 22:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:12 Configure a credential helper to remove this warning. See 22:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:12 22:25:12 Login Succeeded 22:25:12 nexus3.edgexfoundry.org:10003 22:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:12 Configure a credential helper to remove this warning. See 22:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:12 22:25:12 Login Succeeded 22:25:12 nexus3.edgexfoundry.org:10004 22:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:12 Configure a credential helper to remove this warning. See 22:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:12 22:25:12 Login Succeeded 22:25:13 docker.io 22:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:13 Configure a credential helper to remove this warning. See 22:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:13 22:25:13 Login Succeeded 22:25:14 ---> docker-login.sh ends [Pipeline] } 22:25:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:25:14 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:25:14 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 22:25:14 9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:25:14 3.1.0 22:25:14 9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 22:25:14 napa 22:25:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:25:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:25:14 7aeba861c4f7: Preparing 22:25:14 063dc8cdf602: Preparing 22:25:14 6e7f2d2076d2: Preparing 22:25:14 18e6492a4280: Preparing 22:25:14 68fb78429cff: Preparing 22:25:14 5f4d9fc4d98d: Preparing 22:25:14 5f4d9fc4d98d: Waiting 22:25:15 6e7f2d2076d2: Pushed 22:25:15 063dc8cdf602: Pushed 22:25:15 68fb78429cff: Pushed 22:25:15 5f4d9fc4d98d: Layer already exists 22:25:17 18e6492a4280: Pushed 22:25:22 7aeba861c4f7: Pushed 22:25:22 9bb147b67aac0611742908cfcb90cbbe5085f9b5: digest: sha256:70e3bb5d2e4f1b043eb63fbe2c551171ee9622d5364e6a2cad49caf643005d54 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0 22:25:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:25:23 7aeba861c4f7: Preparing 22:25:23 063dc8cdf602: Preparing 22:25:23 6e7f2d2076d2: Preparing 22:25:23 18e6492a4280: Preparing 22:25:23 68fb78429cff: Preparing 22:25:23 5f4d9fc4d98d: Preparing 22:25:23 5f4d9fc4d98d: Waiting 22:25:23 6e7f2d2076d2: Layer already exists 22:25:23 063dc8cdf602: Layer already exists 22:25:23 68fb78429cff: Layer already exists 22:25:23 7aeba861c4f7: Layer already exists 22:25:23 18e6492a4280: Layer already exists 22:25:23 5f4d9fc4d98d: Layer already exists 22:25:23 3.1.0: digest: sha256:70e3bb5d2e4f1b043eb63fbe2c551171ee9622d5364e6a2cad49caf643005d54 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 22:25:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:25:24 7aeba861c4f7: Preparing 22:25:24 063dc8cdf602: Preparing 22:25:24 6e7f2d2076d2: Preparing 22:25:24 18e6492a4280: Preparing 22:25:24 68fb78429cff: Preparing 22:25:24 5f4d9fc4d98d: Preparing 22:25:24 5f4d9fc4d98d: Waiting 22:25:24 6e7f2d2076d2: Layer already exists 22:25:24 68fb78429cff: Layer already exists 22:25:24 7aeba861c4f7: Layer already exists 22:25:24 063dc8cdf602: Layer already exists 22:25:24 18e6492a4280: Layer already exists 22:25:24 5f4d9fc4d98d: Layer already exists 22:25:24 9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0: digest: sha256:70e3bb5d2e4f1b043eb63fbe2c551171ee9622d5364e6a2cad49caf643005d54 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:napa 22:25:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:25:25 7aeba861c4f7: Preparing 22:25:25 063dc8cdf602: Preparing 22:25:25 6e7f2d2076d2: Preparing 22:25:25 18e6492a4280: Preparing 22:25:25 68fb78429cff: Preparing 22:25:25 5f4d9fc4d98d: Preparing 22:25:25 5f4d9fc4d98d: Waiting 22:25:25 6e7f2d2076d2: Layer already exists 22:25:25 063dc8cdf602: Layer already exists 22:25:25 18e6492a4280: Layer already exists 22:25:25 7aeba861c4f7: Layer already exists 22:25:25 68fb78429cff: Layer already exists 22:25:25 5f4d9fc4d98d: Layer already exists 22:25:25 napa: digest: sha256:70e3bb5d2e4f1b043eb63fbe2c551171ee9622d5364e6a2cad49caf643005d54 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:25:25 ===================================================== [Pipeline] echo 22:25:25 taggedImages: 22:25:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bb147b67aac0611742908cfcb90cbbe5085f9b5 22:25:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0 22:25:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bb147b67aac0611742908cfcb90cbbe5085f9b5-3.1.0 22:25:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:25 22:25:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:26 arm64: Pulling from edgex-lftools-log-publisher 22:25:26 8998bd30e6a1: Pulling fs layer 22:25:26 04944245beec: Pulling fs layer 22:25:26 699f458cf7ca: Pulling fs layer 22:25:26 765212b225bb: Pulling fs layer 22:25:26 f23df028b6ca: Pulling fs layer 22:25:26 d65c8cfc05b1: Pulling fs layer 22:25:26 2437ff75d9bd: Pulling fs layer 22:25:26 765212b225bb: Waiting 22:25:26 f23df028b6ca: Waiting 22:25:26 d65c8cfc05b1: Waiting 22:25:26 2437ff75d9bd: Waiting 22:25:26 04944245beec: Verifying Checksum 22:25:26 04944245beec: Download complete 22:25:26 765212b225bb: Verifying Checksum 22:25:26 765212b225bb: Download complete 22:25:26 f23df028b6ca: Verifying Checksum 22:25:26 f23df028b6ca: Download complete 22:25:26 d65c8cfc05b1: Verifying Checksum 22:25:26 d65c8cfc05b1: Download complete 22:25:26 699f458cf7ca: Verifying Checksum 22:25:26 699f458cf7ca: Download complete 22:25:27 8998bd30e6a1: Verifying Checksum 22:25:27 8998bd30e6a1: Download complete 22:25:30 2437ff75d9bd: Verifying Checksum 22:25:30 2437ff75d9bd: Download complete 22:25:32 8998bd30e6a1: Pull complete 22:25:33 04944245beec: Pull complete 22:25:34 699f458cf7ca: Pull complete 22:25:35 765212b225bb: Pull complete 22:25:35 f23df028b6ca: Pull complete 22:25:35 d65c8cfc05b1: Pull complete 22:25:58 2437ff75d9bd: Pull complete 22:25:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:58 prd-ubuntu20.04-docker-arm64-4c-16g-18179 does not seem to be running inside a container 22:25:58 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:26:02 $ docker top 3dd904c655f8b5bf7afeda093b2885bacb53b1fe00fd58e586798c9131474fc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:03 ---> job-cost.sh 22:26:03 lf-activate-venv: SKIPPING 22:26:03 INFO: No Stack... 22:26:03 INFO: Retrieving Pricing Info for: v3-standard-4 22:26:04 INFO: Archiving Costs [Pipeline] sh 22:26:05 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 22:26:05 + cut -d, -f6 [Pipeline] lock 22:26:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] 22:26:05 Resource [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] did not exist. Created. 22:26:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:06 /w/workspace/device-virtual-go/2@tmp/durable-09a8c60f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:26:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:26:06 Warning: overwriting stash ‘stack-cost’ 22:26:07 Stashed 1 file(s) [Pipeline] } 22:26:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:26:07 $ docker stop --time=1 3dd904c655f8b5bf7afeda093b2885bacb53b1fe00fd58e586798c9131474fc5 22:26:09 $ docker rm -f --volumes 3dd904c655f8b5bf7afeda093b2885bacb53b1fe00fd58e586798c9131474fc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:26:09 provisioning config files... 22:26:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config15657276709411044105tmp [Pipeline] { [Pipeline] sh 22:26:09 + set +x 22:26:09 + curl -s https://codecov.io/bash 22:26:09 + bash -s -- 22:26:09 22:26:09 _____ _ 22:26:09 / ____| | | 22:26:09 | | ___ __| | ___ ___ _____ __ 22:26:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:26:09 | |___| (_) | (_| | __/ (_| (_) \ V / 22:26:09 \_____\___/ \__,_|\___|\___\___/ \_/ 22:26:09 Bash-1.0.6 22:26:09 22:26:09 22:26:09 ==> git version 2.25.1 found 22:26:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:26:09 Release-Date: 2020-01-08 22:26:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:26:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:26:09 ==> Jenkins CI detected. 22:26:09 current dir:  /w/workspace/exfoundry_device-virtual-go_napa 22:26:09 project root: . 22:26:09 --> token set from env 22:26:09 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 22:26:09 ==> Running gcov in . (disable via -X gcov) 22:26:09 ==> Python coveragepy not found 22:26:09 ==> Searching for coverage reports in: 22:26:09 + . 22:26:09 -> Found 1 reports 22:26:09 ==> Detecting git/mercurial file structure 22:26:10 ==> Reading reports 22:26:10 + ./coverage.out bytes=43063 22:26:10 ==> Appending adjustments 22:26:10 https://docs.codecov.io/docs/fixing-reports 22:26:10 + Found adjustments 22:26:10 ==> Gzipping contents 22:26:10 20K /tmp/codecov.ia79YZ.gz 22:26:10 ==> Uploading reports 22:26:10 url: https://codecov.io 22:26:10 query: branch=napa&commit=9bb147b67aac0611742908cfcb90cbbe5085f9b5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:26:10 -> Pinging Codecov 22:26:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=napa&commit=9bb147b67aac0611742908cfcb90cbbe5085f9b5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:26:10 -> Uploading to 22:26:10 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/5E52B4B073DB2E39498172D8E973AA87/9bb147b67aac0611742908cfcb90cbbe5085f9b5/f9286cbf-6840-40a3-a785-ec3322e50a58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T222610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e437b1807d1badc5e3f63d36b804ad73326895720dd889126e2274a9905f50a 22:26:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:26:10 Dload Upload Total Spent Left Speed 22:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16662 0 0 100 16662 0 65598 --:--:-- --:--:-- --:--:-- 65598 22:26:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] } 22:26:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:26:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:26:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:11 22:26:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:26:11 df9b9388f04a: Pulling fs layer 22:26:11 52dc419b0ee2: Pulling fs layer 22:26:11 25bc292e5bac: Pulling fs layer 22:26:11 114826534d7a: Pulling fs layer 22:26:11 4657fd5d0bcf: Pulling fs layer 22:26:11 6ad1cebc031e: Pulling fs layer 22:26:11 8a3aa393b2d8: Pulling fs layer 22:26:11 114826534d7a: Waiting 22:26:11 4657fd5d0bcf: Waiting 22:26:11 6ad1cebc031e: Waiting 22:26:11 25bc292e5bac: Download complete 22:26:11 52dc419b0ee2: Verifying Checksum 22:26:11 52dc419b0ee2: Download complete 22:26:11 4657fd5d0bcf: Download complete 22:26:11 df9b9388f04a: Verifying Checksum 22:26:11 df9b9388f04a: Download complete 22:26:11 6ad1cebc031e: Verifying Checksum 22:26:11 6ad1cebc031e: Download complete 22:26:11 df9b9388f04a: Pull complete 22:26:11 52dc419b0ee2: Pull complete 22:26:11 25bc292e5bac: Pull complete 22:26:12 114826534d7a: Verifying Checksum 22:26:12 114826534d7a: Download complete 22:26:12 8a3aa393b2d8: Verifying Checksum 22:26:12 8a3aa393b2d8: Download complete 22:26:15 114826534d7a: Pull complete 22:26:15 4657fd5d0bcf: Pull complete 22:26:15 6ad1cebc031e: Pull complete 22:26:18 8a3aa393b2d8: Pull complete 22:26:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:18 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:26:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:26:25 $ docker top 6e2ba2dd5ff5b161e20300715f0f7238590e7b63786bb22a15a0d6ae57b0722a -eo pid,comm [Pipeline] { [Pipeline] echo 22:26:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:napa' [Pipeline] sh 22:26:26 + set -o pipefail 22:26:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:napa' 22:26:28 22:26:28 Monitoring /w/workspace/exfoundry_device-virtual-go_napa (github.com/edgexfoundry/device-virtual-go)... 22:26:28 22:26:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/e16e2c7d-4dfe-4fd2-aff3-5c7da930a50e/history/66f710d7-cd3e-4d0d-9f45-d7dec4426352 22:26:28 22:26:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:26:28 22:26:28 22:26:28 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:26:28 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:26:28 More details here: https://snyk.co/ue1NS [Pipeline] } 22:26:28 $ docker stop --time=1 6e2ba2dd5ff5b161e20300715f0f7238590e7b63786bb22a15a0d6ae57b0722a 22:26:30 $ docker rm -f --volumes 6e2ba2dd5ff5b161e20300715f0f7238590e7b63786bb22a15a0d6ae57b0722a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:30 + git log --format=format:%s -1 9bb147b67aac0611742908cfcb90cbbe5085f9b5 [Pipeline] sh 22:26:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:31 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:26:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:31 $ docker top 7c89c0dd43eb9b6fae9ab3a9cca8359fb1545bf4479441528366400264ce1433 -eo pid,comm 22:26:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:26:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:31 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:32 + git semver [Pipeline] } 22:26:32 $ docker stop --time=1 7c89c0dd43eb9b6fae9ab3a9cca8359fb1545bf4479441528366400264ce1433 22:26:33 $ docker rm -f --volumes 7c89c0dd43eb9b6fae9ab3a9cca8359fb1545bf4479441528366400264ce1433 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:34 22:26:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:34 0.23.1-centos7: Pulling from edgex-lftools 22:26:34 ab5ef0e58194: Pulling fs layer 22:26:34 9712f1f96733: Pulling fs layer 22:26:34 63f879dbbcfc: Pulling fs layer 22:26:34 0d9ebad4ef96: Pulling fs layer 22:26:34 e9a5061849ea: Pulling fs layer 22:26:34 d747dcd14b5f: Pulling fs layer 22:26:34 2de7ff778b66: Pulling fs layer 22:26:34 e9a5061849ea: Waiting 22:26:34 d747dcd14b5f: Waiting 22:26:34 0d9ebad4ef96: Waiting 22:26:34 2de7ff778b66: Waiting 22:26:34 9712f1f96733: Verifying Checksum 22:26:34 63f879dbbcfc: Verifying Checksum 22:26:34 63f879dbbcfc: Download complete 22:26:35 e9a5061849ea: Verifying Checksum 22:26:35 e9a5061849ea: Download complete 22:26:35 ab5ef0e58194: Verifying Checksum 22:26:35 ab5ef0e58194: Download complete 22:26:35 d747dcd14b5f: Verifying Checksum 22:26:35 d747dcd14b5f: Download complete 22:26:35 0d9ebad4ef96: Verifying Checksum 22:26:35 0d9ebad4ef96: Download complete 22:26:35 2de7ff778b66: Verifying Checksum 22:26:35 2de7ff778b66: Download complete 22:26:37 ab5ef0e58194: Pull complete 22:26:37 9712f1f96733: Pull complete 22:26:38 63f879dbbcfc: Pull complete 22:26:42 0d9ebad4ef96: Pull complete 22:26:42 e9a5061849ea: Pull complete 22:26:42 d747dcd14b5f: Pull complete 22:26:42 2de7ff778b66: Pull complete 22:26:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:43 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:26:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:26:51 $ docker top ff187784ae549c942d3cc5a86dda41c80a49230c05a9b6bc3b218d91b709397e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:26:51 provisioning config files... 22:26:51 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config6417480034767274824tmp 22:26:51 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config328583555633300694tmp 22:26:51 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config3126698156094534366tmp [Pipeline] { [Pipeline] echo 22:26:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:26:51 ---> sigul-configuration.sh 22:26:51 gpg: directory `/root/.gnupg' created 22:26:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:26:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:26:51 gpg: keyring `/root/.gnupg/secring.gpg' created 22:26:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:26:51 gpg: CAST5 encrypted data 22:26:51 gpg: encrypted with 1 passphrase 22:26:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:26:52 + mkdir /home/jenkins 22:26:52 + mkdir /home/jenkins/sigul [Pipeline] sh 22:26:52 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:26:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:26:52 ---> sigul-install.sh 22:26:52 Sigul already installed; skipping installation. [Pipeline] sh 22:26:53 + git tag --list 22:26:53 v1.0.0 22:26:53 v1.1.0 22:26:53 v1.1.1 22:26:53 v1.2.1 22:26:53 v1.2.2 22:26:53 v1.2.3 22:26:53 v1.3.0 22:26:53 v1.3.1 22:26:53 v2.0.0 22:26:53 v2.1.0 22:26:53 v2.1.1 22:26:53 v2.2.0 22:26:53 v2.3.0 22:26:53 v3.0 22:26:53 v3.0.0 22:26:53 v3.1.0 22:26:53 v3.1.0-dev.1 22:26:53 v3.1.0-dev.10 22:26:53 v3.1.0-dev.11 22:26:53 v3.1.0-dev.12 22:26:53 v3.1.0-dev.13 22:26:53 v3.1.0-dev.14 22:26:53 v3.1.0-dev.15 22:26:53 v3.1.0-dev.16 22:26:53 v3.1.0-dev.17 22:26:53 v3.1.0-dev.18 22:26:53 v3.1.0-dev.19 22:26:53 v3.1.0-dev.2 22:26:53 v3.1.0-dev.20 22:26:53 v3.1.0-dev.21 22:26:53 v3.1.0-dev.22 22:26:53 v3.1.0-dev.23 22:26:53 v3.1.0-dev.24 22:26:53 v3.1.0-dev.25 22:26:53 v3.1.0-dev.26 22:26:53 v3.1.0-dev.27 22:26:53 v3.1.0-dev.28 22:26:53 v3.1.0-dev.29 22:26:53 v3.1.0-dev.3 22:26:53 v3.1.0-dev.30 22:26:53 v3.1.0-dev.4 22:26:53 v3.1.0-dev.5 22:26:53 v3.1.0-dev.6 22:26:53 v3.1.0-dev.7 22:26:53 v3.1.0-dev.8 22:26:53 v3.1.0-dev.9 [Pipeline] sh 22:26:53 + lftools sign git-tag v3.1.0 22:26:53 Signing Git tag with Sigul... 22:26:53 Signing v3.1.0 [Pipeline] echo 22:26:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:26:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:26:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:26:54 $ docker stop --time=1 ff187784ae549c942d3cc5a86dda41c80a49230c05a9b6bc3b218d91b709397e 22:26:55 $ docker rm -f --volumes ff187784ae549c942d3cc5a86dda41c80a49230c05a9b6bc3b218d91b709397e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:26:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:56 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:26:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:56 $ docker top 352b0c4bdf7b39dd89694a7b69475cf227b4e3e247620931b3e309983a12dce2 -eo pid,comm 22:26:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:26:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:56 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:57 + git semver [Pipeline] } 22:26:57 $ docker stop --time=1 352b0c4bdf7b39dd89694a7b69475cf227b4e3e247620931b3e309983a12dce2 22:26:58 $ docker rm -f --volumes 352b0c4bdf7b39dd89694a7b69475cf227b4e3e247620931b3e309983a12dce2 [Pipeline] // withDockerContainer [Pipeline] sh 22:26:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:59 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:59 $ docker top 0767bb57ca7fbde3bde3c81c568ebbe567f669df944c3d14e5a56839e54705a7 -eo pid,comm 22:26:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:26:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:59 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:27:00 + git semver [Pipeline] } 22:27:00 $ docker stop --time=1 0767bb57ca7fbde3bde3c81c568ebbe567f669df944c3d14e5a56839e54705a7 22:27:01 $ docker rm -f --volumes 0767bb57ca7fbde3bde3c81c568ebbe567f669df944c3d14e5a56839e54705a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:27:02 + [ -d /w/workspace/exfoundry_device-virtual-go_napa/archives ] 22:27:02 + ls -al /w/workspace/exfoundry_device-virtual-go_napa/archives 22:27:02 total 16 22:27:02 drwxr-xr-x 3 root root 4096 Nov 15 22:14 . 22:27:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:26 .. 22:27:02 drwxr-xr-x 2 root root 4096 Nov 15 22:14 cost 22:27:02 -rw-r--r-- 1 root root 87 Nov 15 22:14 cost.csv 22:27:02 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_napa/archives 22:27:02 + ls -al /w/workspace/exfoundry_device-virtual-go_napa/archives 22:27:02 total 16 22:27:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:14 . 22:27:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:26 .. 22:27:02 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:14 cost 22:27:02 -rw-r--r-- 1 jenkins jenkins 87 Nov 15 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:27:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:27:04 ---> package-listing.sh 22:27:04 ++ facter osfamily 22:27:04 ++ tr '[:upper:]' '[:lower:]' 22:27:04 + OS_FAMILY=debian 22:27:04 + workspace=/w/workspace/exfoundry_device-virtual-go_napa 22:27:04 + START_PACKAGES=/tmp/packages_start.txt 22:27:04 + END_PACKAGES=/tmp/packages_end.txt 22:27:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:27:04 + PACKAGES=/tmp/packages_start.txt 22:27:04 + '[' /w/workspace/exfoundry_device-virtual-go_napa ']' 22:27:04 + PACKAGES=/tmp/packages_end.txt 22:27:04 + case "${OS_FAMILY}" in 22:27:04 + dpkg -l 22:27:04 + grep '^ii' 22:27:04 + '[' -f /tmp/packages_start.txt ']' 22:27:04 + '[' -f /tmp/packages_end.txt ']' 22:27:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:27:04 + '[' /w/workspace/exfoundry_device-virtual-go_napa ']' 22:27:04 + mkdir -p /w/workspace/exfoundry_device-virtual-go_napa/archives/ 22:27:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_napa/archives/ [Pipeline] echo 22:27:04 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/exfoundry_device-virtual-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:27:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:05 prd-ubuntu20.04-docker-8c-8g-18175 does not seem to be running inside a container 22:27:05 $ 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/exfoundry_device-virtual-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_napa -v /w/workspace/exfoundry_device-virtual-go_napa:/w/workspace/exfoundry_device-virtual-go_napa:rw,z -v /w/workspace/exfoundry_device-virtual-go_napa@tmp:/w/workspace/exfoundry_device-virtual-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:27:05 $ docker top e46f763e9266da96789a12bda5eaa87827c62799a65455e81f794c1b7d8fb622 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:05 + touch /tmp/pre-build-complete [Pipeline] sh 22:27:06 + mkdir -p /var/log/sysstat [Pipeline] sh 22:27:06 + ls /var/log/sa-host 22:27:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:06 provisioning config files... 22:27:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config12228298552175093107tmp [Pipeline] { [Pipeline] echo 22:27:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:27:06 ---> create-netrc.sh [Pipeline] } 22:27:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:27:07 ---> python-tools-install.sh [Pipeline] echo 22:27:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:27:07 ---> sudo-logs.sh 22:27:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:27:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:27:07 ---> job-cost.sh 22:27:07 lf-activate-venv: SKIPPING 22:27:07 DEBUG: total: 0.2199999988079071 22:27:07 INFO: Retrieving Stack Cost... 22:27:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:27:08 INFO: Archiving Costs [Pipeline] echo 22:27:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:27:08 ---> logs-deploy.sh 22:27:08 lf-activate-venv: SKIPPING 22:27:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/napa/2 22:27:08 INFO: archiving workspace using pattern(s): 22:27:09 Archives upload complete. 22:27:09 INFO: archiving logs to Nexus