Started by upstream project "edgexfoundry/cd-management/release-lts" build number 67 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 f42d90908bc8095ab91062c2dcb5992d5c652f43 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-ssh8574806420428008395.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-ssh14450495290851821089.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-ssh364985791823108194.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-ssh9157945854333694242.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-ssh2772579489079801026.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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-218 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 > 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 Avoid second fetch Checking out Revision f42d90908bc8095ab91062c2dcb5992d5c652f43 (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @5757315" > git config core.sparsecheckout # timeout=10 > git checkout -f f42d90908bc8095ab91062c2dcb5992d5c652f43 # timeout=10 > git rev-list --no-walk f42d90908bc8095ab91062c2dcb5992d5c652f43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:15:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:15:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:15:36 ========================================================= 07:15:36 EdgeX Global Pipelines Version Info 07:15:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:15:36 ------------------- 07:15:36 stable info: 07:15:36 ------------------- 07:15:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:15:36 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:15:36 Message: update stable to v1.0.258 07:15:37 ------------------- 07:15:37 experimental info: 07:15:37 ------------------- 07:15:37 Commited By: **** collab-it+edgex@linuxfoundation.org 07:15:37 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:15:37 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f42d909 [Pipeline] echo 07:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:38 provisioning config files... 07:15:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config6691617591468135590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:38 ---> ****-login.sh 07:15:38 nexus3.edgexfoundry.org:10001 07:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:39 Configure a credential helper to remove this warning. See 07:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:39 07:15:39 Login Succeeded 07:15:39 nexus3.edgexfoundry.org:10002 07:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:39 Configure a credential helper to remove this warning. See 07:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:39 07:15:39 Login Succeeded 07:15:39 nexus3.edgexfoundry.org:10003 07:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:39 Configure a credential helper to remove this warning. See 07:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:39 07:15:39 Login Succeeded 07:15:39 nexus3.edgexfoundry.org:10004 07:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:39 Configure a credential helper to remove this warning. See 07:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:39 07:15:39 Login Succeeded 07:15:39 ****.io 07:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:39 Configure a credential helper to remove this warning. See 07:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:39 07:15:39 Login Succeeded 07:15:39 ---> ****-login.sh ends [Pipeline] } 07:15:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:15:40 + git rev-list -1 --merges f42d90908bc8095ab91062c2dcb5992d5c652f43~1..f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] echo 07:15:40 -----------> git rev-list -1 --merges f42d90908bc8095ab91062c2dcb5992d5c652f43~1..f42d90908bc8095ab91062c2dcb5992d5c652f43 f42d90908bc8095ab91062c2dcb5992d5c652f43 [false] [Pipeline] sh 07:15:40 + git log --format=format:%s -1 f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] echo 07:15:40 ========================================================= 07:15:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:15:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:40 + git log --format=format:%s -1 f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] echo 07:15:40 [semverPrep] GIT_COMMIT: f42d90908bc8095ab91062c2dcb5992d5c652f43, Commit Message: ci(lts-release): LTS release v3.1.1 @5757315 [Pipeline] echo 07:15:40 [semverPrep] This is not a build commit. [Pipeline] sh 07:15:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:41 + grep -v github /etc/ssh/ssh_known_hosts 07:15:41 + [ -e /tmp/ssh_known_hosts ] 07:15:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:15:41 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 07:15:41 -a /etc/ssh/ssh_known_hosts 07:15:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:41 07:15:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:41 0.1.4: Pulling from edgex-devops/py-git-semver 07:15:41 b85a868b505f: Pulling fs layer 07:15:41 e2be974225ed: Pulling fs layer 07:15:41 339a4e72a1f5: Pulling fs layer 07:15:41 988bab9f4d93: Pulling fs layer 07:15:41 1469e6f7b9e6: Pulling fs layer 07:15:41 eaf3925da568: Pulling fs layer 07:15:41 bab4dde63d76: Pulling fs layer 07:15:41 bde34c3a00c8: Pulling fs layer 07:15:41 b352a97aabf1: Pulling fs layer 07:15:41 4872d77fe225: Pulling fs layer 07:15:41 5851b861e8e6: Pulling fs layer 07:15:41 4872d77fe225: Waiting 07:15:41 5851b861e8e6: Waiting 07:15:41 bab4dde63d76: Waiting 07:15:41 b352a97aabf1: Waiting 07:15:41 bde34c3a00c8: Waiting 07:15:41 988bab9f4d93: Waiting 07:15:41 1469e6f7b9e6: Waiting 07:15:41 eaf3925da568: Waiting 07:15:41 e2be974225ed: Download complete 07:15:41 988bab9f4d93: Download complete 07:15:41 1469e6f7b9e6: Verifying Checksum 07:15:41 1469e6f7b9e6: Download complete 07:15:41 339a4e72a1f5: Verifying Checksum 07:15:41 339a4e72a1f5: Download complete 07:15:41 eaf3925da568: Download complete 07:15:41 bde34c3a00c8: Download complete 07:15:42 b352a97aabf1: Verifying Checksum 07:15:42 b352a97aabf1: Download complete 07:15:42 4872d77fe225: Download complete 07:15:42 5851b861e8e6: Verifying Checksum 07:15:42 5851b861e8e6: Download complete 07:15:42 b85a868b505f: Verifying Checksum 07:15:42 b85a868b505f: Download complete 07:15:42 bab4dde63d76: Verifying Checksum 07:15:42 bab4dde63d76: Download complete 07:15:43 b85a868b505f: Pull complete 07:15:43 e2be974225ed: Pull complete 07:15:44 339a4e72a1f5: Pull complete 07:15:44 988bab9f4d93: Pull complete 07:15:44 1469e6f7b9e6: Pull complete 07:15:44 eaf3925da568: Pull complete 07:15:46 bab4dde63d76: Pull complete 07:15:46 bde34c3a00c8: Pull complete 07:15:46 b352a97aabf1: Pull complete 07:15:46 4872d77fe225: Pull complete 07:15:46 5851b861e8e6: Pull complete 07:15:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:46 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:15:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:49 $ docker top 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf -eo pid,comm 07:15:49 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). 07:15:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:49 [ssh-agent] Looking for ssh-agent implementation... 07:15:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:50 $ docker exec 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf ssh-agent 07:15:50 SSH_AUTH_SOCK=/tmp/ssh-DkZT1pKsDD5F/agent.33 07:15:50 SSH_AGENT_PID=39 07:15:50 Running ssh-add (command line suppressed) 07:15:50 Identity added: /w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_15044697914362459126.key (/w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_15044697914362459126.key) 07:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:50 + git tag --points-at f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] } 07:15:50 $ docker exec --env ******** --env ******** 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf ssh-agent -k 07:15:50 unset SSH_AUTH_SOCK; 07:15:50 unset SSH_AGENT_PID; 07:15:50 echo Agent pid 39 killed; 07:15:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:15:50 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 07:15:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:50 [ssh-agent] Looking for ssh-agent implementation... 07:15:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:50 $ docker exec 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf ssh-agent 07:15:50 SSH_AUTH_SOCK=/tmp/ssh-jFYX6JkaVd6s/agent.72 07:15:50 SSH_AGENT_PID=78 07:15:50 Running ssh-add (command line suppressed) 07:15:51 Identity added: /w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_2992734092861821437.key (/w/workspace/exfoundry_device-virtual-go_napa@tmp/private_key_2992734092861821437.key) 07:15:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:51 + git semver init 07:15:51 2024-05-15 07:15:51,481 [run_init] DEBUG init version:0.0.0 force:False 07:15:51 2024-05-15 07:15:51,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_napa/.semver 07:15:51 2024-05-15 07:15:51,482 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_napa/.semver 07:15:51 2024-05-15 07:15:51,482 [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) 07:15:53 2024-05-15 07:15:53,133 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_napa/.git/info/exclude 07:15:53 2024-05-15 07:15:53,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_napa/.semver/napa with force:False 07:15:53 2024-05-15 07:15:53,134 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_napa/.semver/napa 07:15:53 2024-05-15 07:15:53,134 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_napa/.semver/napa 07:15:53 3.1.1 [Pipeline] } 07:15:53 $ docker exec --env ******** --env ******** 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf ssh-agent -k 07:15:53 unset SSH_AUTH_SOCK; 07:15:53 unset SSH_AGENT_PID; 07:15:53 echo Agent pid 78 killed; 07:15:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:53 + git semver [Pipeline] } 07:15:54 $ docker stop --time=1 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf 07:15:55 $ docker rm -f --volumes 6d659ffef41ebe5ee1f18445e8763ee12478f41cfd92a338884fbace6e9351bf [Pipeline] // withDockerContainer [Pipeline] sh 07:15:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:56 Stashed 1 file(s) [Pipeline] echo 07:15:56 [edgeXSemver]: initialized semver on version 3.1.1 [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 07:15:56 + git checkout f42d90908bc8095ab91062c2dcb5992d5c652f43 07:15:56 HEAD is now at f42d909 ci(lts-release): LTS release v3.1.1 @5757315 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:56 provisioning config files... 07:15:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config5250050641041559946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:56 ---> ****-login.sh 07:15:56 nexus3.edgexfoundry.org:10001 07:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:56 Configure a credential helper to remove this warning. See 07:15:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:56 07:15:56 Login Succeeded 07:15:56 nexus3.edgexfoundry.org:10002 07:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:56 Configure a credential helper to remove this warning. See 07:15:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:56 07:15:56 Login Succeeded 07:15:56 nexus3.edgexfoundry.org:10003 07:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:57 Configure a credential helper to remove this warning. See 07:15:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:57 07:15:57 Login Succeeded 07:15:57 nexus3.edgexfoundry.org:10004 07:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:57 Configure a credential helper to remove this warning. See 07:15:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:57 07:15:57 Login Succeeded 07:15:57 ****.io 07:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:57 Configure a credential helper to remove this warning. See 07:15:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:57 07:15:57 Login Succeeded 07:15:57 ---> ****-login.sh ends [Pipeline] } 07:15:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:57 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:15:57 + grep ^go [0-9].[0-9]* go.mod 07:15:57 + cut -d -f 2 [Pipeline] echo 07:15:57 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:15:57 ========================================================= 07:15:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 07:15:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:58 + 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 . 07:15:58 Sending build context to Docker daemon 64.81MB 07:15:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:15:58 Step 2/12 : FROM ${BASE} AS builder 07:15:58 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:15:58 619be1103602: Pulling fs layer 07:15:58 7862e08f4a3e: Pulling fs layer 07:15:58 5df492c9dc93: Pulling fs layer 07:15:58 7629e6793208: Pulling fs layer 07:15:58 4f4fb700ef54: Pulling fs layer 07:15:58 8de7f028bff5: Pulling fs layer 07:15:58 44042ff1420b: Pulling fs layer 07:15:58 5cdaf54b7214: Pulling fs layer 07:15:58 38f3e5a9071a: Pulling fs layer 07:15:58 8de7f028bff5: Waiting 07:15:58 4f4fb700ef54: Waiting 07:15:58 38f3e5a9071a: Waiting 07:15:58 5cdaf54b7214: Waiting 07:15:58 7862e08f4a3e: Verifying Checksum 07:15:58 7862e08f4a3e: Download complete 07:15:58 7629e6793208: Verifying Checksum 07:15:58 7629e6793208: Download complete 07:15:58 4f4fb700ef54: Verifying Checksum 07:15:58 4f4fb700ef54: Download complete 07:15:58 8de7f028bff5: Download complete 07:15:58 619be1103602: Verifying Checksum 07:15:58 619be1103602: Download complete 07:15:58 44042ff1420b: Verifying Checksum 07:15:58 44042ff1420b: Download complete 07:15:58 619be1103602: Pull complete 07:15:58 38f3e5a9071a: Verifying Checksum 07:15:58 38f3e5a9071a: Download complete 07:15:58 7862e08f4a3e: Pull complete 07:15:59 5df492c9dc93: Verifying Checksum 07:15:59 5df492c9dc93: Download complete 07:15:59 5cdaf54b7214: Verifying Checksum 07:15:59 5cdaf54b7214: Download complete 07:16:02 5df492c9dc93: Pull complete 07:16:02 7629e6793208: Pull complete 07:16:02 4f4fb700ef54: Pull complete 07:16:02 8de7f028bff5: Pull complete 07:16:02 44042ff1420b: Pull complete 07:16:04 5cdaf54b7214: Pull complete 07:16:05 38f3e5a9071a: Pull complete 07:16:05 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 07:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 07:16:05 ---> 60b93f829570 07:16:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:16:09 ---> Running in cd007560153b 07:16:09 Removing intermediate container cd007560153b 07:16:09 ---> 6dc0e0e6ec5d 07:16:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:16:09 ---> Running in c0e0354ab368 07:16:09 Removing intermediate container c0e0354ab368 07:16:09 ---> 91cf351cdd88 07:16:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:16:09 ---> Running in b2035f8924eb 07:16:09 Removing intermediate container b2035f8924eb 07:16:09 ---> 4ff441916fe6 07:16:09 Step 6/12 : WORKDIR /device-virtual-go 07:16:09 ---> Running in d357da78f804 07:16:09 Removing intermediate container d357da78f804 07:16:09 ---> 663a2ecfad05 07:16:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:09 ---> Running in 1ebe1e297eac 07:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:16:11 Still waiting to schedule task 07:16:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:16:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:16:12 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:16:12 (2/4) Installing libedit (20221030.3.1-r1) 07:16:12 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:16:12 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:16:12 Executing busybox-1.36.1-r5.trigger 07:16:12 OK: 268 MiB in 56 packages 07:16:13 Removing intermediate container 1ebe1e297eac 07:16:13 ---> fb265ba2cdad 07:16:13 Step 8/12 : COPY go.mod vendor* ./ 07:16:15 ---> 0d640065f9d8 07:16:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:15 ---> Running in c0532d96c0ba 07:16:41 Removing intermediate container c0532d96c0ba 07:16:41 ---> e26c9e03145e 07:16:41 Step 10/12 : COPY . . 07:16:41 ---> 8b9d77f1a072 07:16:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:16:41 ---> Running in fbf367da5975 07:16:41 Removing intermediate container fbf367da5975 07:16:41 ---> b25912ae457b 07:16:41 Step 12/12 : RUN $MAKE 07:16:41 ---> Running in b90c9cdb4d2d 07:16:41 noop 07:16:41 Removing intermediate container b90c9cdb4d2d 07:16:41 ---> 81fa468ac436 07:16:41 Successfully built 81fa468ac436 07:16:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:42 + docker inspect -f . ci-base-image-x86_64 07:16:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:42 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:16:42 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:16:42 $ docker top 7b33b67ccc2a7c18d05c221414e44a678f5ce3253847288da3f2c6c3d1ab3453 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:43 + go version 07:16:43 go version go1.21.9 linux/amd64 [Pipeline] } 07:16:43 $ docker stop --time=1 7b33b67ccc2a7c18d05c221414e44a678f5ce3253847288da3f2c6c3d1ab3453 07:16:44 $ docker rm -f --volumes 7b33b67ccc2a7c18d05c221414e44a678f5ce3253847288da3f2c6c3d1ab3453 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:44 + docker inspect -f . ci-base-image-x86_64 07:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:44 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:16:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:16:45 $ docker top 69d9d88ebf63fa17287f78dee42804d4b78249a733777c9b05a5b21bf35fcfb7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:45 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_napa [Pipeline] fileExists [Pipeline] sh 07:16:45 + make test 07:16:45 go test ./... -coverprofile=coverage.out 07:16:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:16:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:16:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 07:17:03 go vet ./... 07:17:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:17:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:17:07 ./bin/test-attribution-txt.sh [Pipeline] echo 07:17:07 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:17:07 + go mod tidy [Pipeline] } 07:17:08 $ docker stop --time=1 69d9d88ebf63fa17287f78dee42804d4b78249a733777c9b05a5b21bf35fcfb7 07:17:11 $ docker rm -f --volumes 69d9d88ebf63fa17287f78dee42804d4b78249a733777c9b05a5b21bf35fcfb7 [Pipeline] // withDockerContainer [Pipeline] sh 07:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:17:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:17:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:17:12 + ls -al . 07:17:12 total 204 07:17:12 drwxrwxr-x 9 jenkins jenkins 4096 May 15 07:16 . 07:17:12 drwxrwxr-x 4 jenkins jenkins 4096 May 15 07:15 .. 07:17:12 drwxrwxr-x 8 jenkins jenkins 4096 May 15 07:16 .git 07:17:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:15 .github 07:17:12 -rw-rw-r-- 1 jenkins jenkins 264 May 15 07:15 .gitignore 07:17:12 -rw-rw-r-- 1 jenkins jenkins 41 May 15 07:15 .golangci.yml 07:17:12 drwxr-xr-x 3 jenkins jenkins 4096 May 15 07:15 .semver 07:17:12 -rw-rw-r-- 1 jenkins jenkins 9619 May 15 07:15 Attribution.txt 07:17:12 -rw-rw-r-- 1 jenkins jenkins 15941 May 15 07:15 CHANGELOG.md 07:17:12 -rw-rw-r-- 1 jenkins jenkins 1755 May 15 07:15 Dockerfile 07:17:12 -rw-rw-r-- 1 jenkins jenkins 677 May 15 07:15 GOVERNANCE.md 07:17:12 -rw-rw-r-- 1 jenkins jenkins 660 May 15 07:15 Jenkinsfile 07:17:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 15 07:15 LICENSE 07:17:12 -rw-rw-r-- 1 jenkins jenkins 1947 May 15 07:15 Makefile 07:17:12 -rw-rw-r-- 1 jenkins jenkins 623 May 15 07:15 OWNERS.md 07:17:12 -rw-rw-r-- 1 jenkins jenkins 4103 May 15 07:15 README.md 07:17:12 -rw-rw-r-- 1 jenkins jenkins 5 May 15 07:15 VERSION 07:17:12 drwxrwxr-x 2 jenkins jenkins 4096 May 15 07:15 bin 07:17:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:15 cmd 07:17:12 -rw-r--r-- 1 jenkins jenkins 43063 May 15 07:16 coverage.out 07:17:12 -rw-rw-r-- 1 jenkins jenkins 3561 May 15 07:15 go.mod 07:17:12 -rw-rw-r-- 1 jenkins jenkins 33591 May 15 07:15 go.sum 07:17:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:15 internal 07:17:12 drwxrwxr-x 6 jenkins jenkins 4096 May 15 07:15 vendor 07:17:12 -rw-rw-r-- 1 jenkins jenkins 235 May 15 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:13 + 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=f42d90908bc8095ab91062c2dcb5992d5c652f43 --label arch=amd64 --label version=3.1.1 . 07:17:13 Sending build context to Docker daemon 64.85MB 07:17:13 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 07:17:13 Step 2/26 : FROM ${BASE} AS builder 07:17:13 ---> 81fa468ac436 07:17:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:17:14 ---> Running in fc961efa52f2 07:17:14 Removing intermediate container fc961efa52f2 07:17:14 ---> 5ead31514221 07:17:14 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:17:14 ---> Running in 30461c655ef3 07:17:14 Removing intermediate container 30461c655ef3 07:17:14 ---> c081506a63ff 07:17:14 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:17:14 ---> Running in 4c81da3e3f82 07:17:14 Removing intermediate container 4c81da3e3f82 07:17:14 ---> 1caedf507f56 07:17:14 Step 6/26 : WORKDIR /device-virtual-go 07:17:14 ---> Running in a6222c9c947c 07:17:14 Removing intermediate container a6222c9c947c 07:17:14 ---> 340588a84b96 07:17:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:17:14 ---> Running in 52a15965e292 07:17:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:17:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:17:15 OK: 268 MiB in 56 packages 07:17:15 Removing intermediate container 52a15965e292 07:17:15 ---> fbbbce8c14a4 07:17:15 Step 8/26 : COPY go.mod vendor* ./ 07:17:17 ---> 9419a3042bf7 07:17:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:17 ---> Running in 19d303f467df 07:17:17 skipping... 07:17:18 Removing intermediate container 19d303f467df 07:17:18 ---> a1396962bed3 07:17:18 Step 10/26 : COPY . . 07:17:20 ---> bc5bf5d67479 07:17:20 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:17:20 ---> Running in 76093bdd0263 07:17:20 Removing intermediate container 76093bdd0263 07:17:20 ---> 46ff9e43b6db 07:17:20 Step 12/26 : RUN $MAKE 07:17:20 ---> Running in 32c986fecbb5 07:17:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:17:42 Removing intermediate container 32c986fecbb5 07:17:42 ---> 16fb347e13fa 07:17:42 Step 13/26 : FROM alpine:3.18 07:17:42 3.18: Pulling from library/alpine 07:17:42 619be1103602: Already exists 07:17:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:17:42 Status: Downloaded newer image for alpine:3.18 07:17:42 ---> d3782b16ccc9 07:17:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:17:42 ---> Running in 5ee6219ba477 07:17:42 Removing intermediate container 5ee6219ba477 07:17:42 ---> 2a7b2f438c43 07:17:42 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:17:42 ---> Running in b4a0d1a2f774 07:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:17:42 (1/1) Installing dumb-init (1.2.5-r2) 07:17:42 Executing busybox-1.36.1-r5.trigger 07:17:42 OK: 7 MiB in 16 packages 07:17:42 Removing intermediate container b4a0d1a2f774 07:17:42 ---> bbb690468604 07:17:42 Step 16/26 : RUN apk --no-cache upgrade 07:17:42 ---> Running in f1eda9ec5714 07:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:17:42 Upgrading critical system libraries and apk-tools: 07:17:42 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:17:42 Executing busybox-1.36.1-r5.trigger 07:17:42 Continuing the upgrade transaction with new apk-tools: 07:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:17:42 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:17:42 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 07:17:42 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 07:17:42 OK: 7 MiB in 16 packages 07:17:42 Removing intermediate container f1eda9ec5714 07:17:42 ---> 192613a79386 07:17:42 Step 17/26 : WORKDIR / 07:17:42 ---> Running in 685898964fd3 07:17:42 Removing intermediate container 685898964fd3 07:17:42 ---> 892ef65e7ca8 07:17:42 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:17:42 ---> cdc14d11772d 07:17:42 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:17:42 ---> d44eb4f88aee 07:17:42 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:17:43 ---> fa27471aca39 07:17:43 Step 21/26 : EXPOSE 59900 07:17:43 ---> Running in 759ebbbfa03c 07:17:43 Removing intermediate container 759ebbbfa03c 07:17:43 ---> 98a79e942335 07:17:43 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:17:43 ---> Running in 33c0c142c22b 07:17:43 Removing intermediate container 33c0c142c22b 07:17:43 ---> dbe3b2f017c0 07:17:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:17:43 ---> Running in 330b9645dfee 07:17:44 Removing intermediate container 330b9645dfee 07:17:44 ---> 3e3cf73de3a9 07:17:44 Step 24/26 : LABEL arch=amd64 07:17:44 ---> Running in 53160bcb92bf 07:17:44 Removing intermediate container 53160bcb92bf 07:17:44 ---> aa666289e645 07:17:44 Step 25/26 : LABEL git_sha=f42d90908bc8095ab91062c2dcb5992d5c652f43 07:17:44 ---> Running in 66725394d1e2 07:17:44 Removing intermediate container 66725394d1e2 07:17:44 ---> 1bf6037f6e7f 07:17:44 Step 26/26 : LABEL version=3.1.1 07:17:44 ---> Running in c38ce20e56eb 07:17:44 Removing intermediate container c38ce20e56eb 07:17:44 ---> 94344c48a587 07:17:44 [Warning] One or more build-args [ARCH] were not consumed 07:17:44 Successfully built 94344c48a587 07:17:44 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:44 provisioning config files... 07:17:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config247713996347679519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:44 ---> ****-login.sh 07:17:44 nexus3.edgexfoundry.org:10001 07:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:44 Configure a credential helper to remove this warning. See 07:17:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:44 07:17:44 Login Succeeded 07:17:44 nexus3.edgexfoundry.org:10002 07:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:44 Configure a credential helper to remove this warning. See 07:17:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:44 07:17:44 Login Succeeded 07:17:44 nexus3.edgexfoundry.org:10003 07:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:45 Configure a credential helper to remove this warning. See 07:17:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:45 07:17:45 Login Succeeded 07:17:45 nexus3.edgexfoundry.org:10004 07:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:45 Configure a credential helper to remove this warning. See 07:17:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:45 07:17:45 Login Succeeded 07:17:45 ****.io 07:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:45 Configure a credential helper to remove this warning. See 07:17:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:45 07:17:45 Login Succeeded 07:17:45 ---> ****-login.sh ends [Pipeline] } 07:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:17:45 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:17:45 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 07:17:45 f42d90908bc8095ab91062c2dcb5992d5c652f43 07:17:45 3.1.1 07:17:45 f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 07:17:45 napa 07:17:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f42d90908bc8095ab91062c2dcb5992d5c652f43 07:17:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:17:46 52579eff3c2b: Preparing 07:17:46 75f1979aad2d: Preparing 07:17:46 849d07d04a04: Preparing 07:17:46 51a9a84bffb7: Preparing 07:17:46 f5f988d55f24: Preparing 07:17:46 aedc3bda2944: Preparing 07:17:46 aedc3bda2944: Waiting 07:17:46 849d07d04a04: Pushed 07:17:46 f5f988d55f24: Pushed 07:17:46 75f1979aad2d: Pushed 07:17:46 aedc3bda2944: Layer already exists 07:17:46 51a9a84bffb7: Pushed 07:17:48 52579eff3c2b: Pushed 07:17:48 f42d90908bc8095ab91062c2dcb5992d5c652f43: digest: sha256:beaf227d8a4d3f5a19ef79b14ce3cede5ac10b68e8bd0b0ee8910e227aea38d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.1 07:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:17:49 52579eff3c2b: Preparing 07:17:49 75f1979aad2d: Preparing 07:17:49 849d07d04a04: Preparing 07:17:49 51a9a84bffb7: Preparing 07:17:49 f5f988d55f24: Preparing 07:17:49 aedc3bda2944: Preparing 07:17:49 aedc3bda2944: Waiting 07:17:49 f5f988d55f24: Layer already exists 07:17:49 52579eff3c2b: Layer already exists 07:17:49 75f1979aad2d: Layer already exists 07:17:49 51a9a84bffb7: Layer already exists 07:17:49 849d07d04a04: Layer already exists 07:17:49 aedc3bda2944: Layer already exists 07:17:49 3.1.1: digest: sha256:beaf227d8a4d3f5a19ef79b14ce3cede5ac10b68e8bd0b0ee8910e227aea38d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 07:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:17:50 52579eff3c2b: Preparing 07:17:50 75f1979aad2d: Preparing 07:17:50 849d07d04a04: Preparing 07:17:50 51a9a84bffb7: Preparing 07:17:50 f5f988d55f24: Preparing 07:17:50 aedc3bda2944: Preparing 07:17:50 aedc3bda2944: Waiting 07:17:50 52579eff3c2b: Layer already exists 07:17:50 75f1979aad2d: Layer already exists 07:17:50 51a9a84bffb7: Layer already exists 07:17:50 849d07d04a04: Layer already exists 07:17:50 f5f988d55f24: Layer already exists 07:17:50 aedc3bda2944: Layer already exists 07:17:50 f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1: digest: sha256:beaf227d8a4d3f5a19ef79b14ce3cede5ac10b68e8bd0b0ee8910e227aea38d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:napa 07:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:17:50 52579eff3c2b: Preparing 07:17:50 75f1979aad2d: Preparing 07:17:50 849d07d04a04: Preparing 07:17:50 51a9a84bffb7: Preparing 07:17:50 f5f988d55f24: Preparing 07:17:50 aedc3bda2944: Preparing 07:17:50 aedc3bda2944: Waiting 07:17:50 849d07d04a04: Layer already exists 07:17:50 75f1979aad2d: Layer already exists 07:17:50 52579eff3c2b: Layer already exists 07:17:50 51a9a84bffb7: Layer already exists 07:17:50 f5f988d55f24: Layer already exists 07:17:50 aedc3bda2944: Layer already exists 07:17:50 napa: digest: sha256:beaf227d8a4d3f5a19ef79b14ce3cede5ac10b68e8bd0b0ee8910e227aea38d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:17:50 ===================================================== [Pipeline] echo 07:17:50 taggedImages: 07:17:50 - nexus3.edgexfoundry.org:10004/device-virtual:f42d90908bc8095ab91062c2dcb5992d5c652f43 07:17:50 - nexus3.edgexfoundry.org:10004/device-virtual:3.1.1 07:17:50 - nexus3.edgexfoundry.org:10004/device-virtual:f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 07:17:50 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:51 07:17:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:51 latest: Pulling from edgex-lftools-log-publisher 07:17:51 5eb5b503b376: Pulling fs layer 07:17:51 5c69ac0246d0: Pulling fs layer 07:17:51 ec43610c2a17: Pulling fs layer 07:17:51 3a2ae6a8a46f: Pulling fs layer 07:17:51 33b1e0a273af: Pulling fs layer 07:17:51 5d3b04190fa2: Pulling fs layer 07:17:51 2f39f015ded8: Pulling fs layer 07:17:51 3a2ae6a8a46f: Waiting 07:17:51 5d3b04190fa2: Waiting 07:17:51 33b1e0a273af: Waiting 07:17:51 2f39f015ded8: Waiting 07:17:51 5c69ac0246d0: Verifying Checksum 07:17:51 5c69ac0246d0: Download complete 07:17:51 3a2ae6a8a46f: Verifying Checksum 07:17:51 3a2ae6a8a46f: Download complete 07:17:51 33b1e0a273af: Verifying Checksum 07:17:51 33b1e0a273af: Download complete 07:17:51 ec43610c2a17: Verifying Checksum 07:17:51 ec43610c2a17: Download complete 07:17:51 5d3b04190fa2: Verifying Checksum 07:17:51 5d3b04190fa2: Download complete 07:17:51 5eb5b503b376: Verifying Checksum 07:17:51 5eb5b503b376: Download complete 07:17:52 2f39f015ded8: Download complete 07:17:53 5eb5b503b376: Pull complete 07:17:53 5c69ac0246d0: Pull complete 07:17:53 ec43610c2a17: Pull complete 07:17:53 3a2ae6a8a46f: Pull complete 07:17:53 33b1e0a273af: Pull complete 07:17:53 5d3b04190fa2: Pull complete 07:17:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-220 in /w/workspace/exfoundry_device-virtual-go_napa [Pipeline] { [Pipeline] ws 07:17:54 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 07:17:57 2f39f015ded8: Pull complete 07:17:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 07:17:57 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:57 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:17:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:18:00 $ docker top cd001d1a448e1335c115f03f9189d1d28b32d7a7c8ebc75b09a9cfac8e1a8085 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:01 ---> job-cost.sh 07:18:01 lf-activate-venv: SKIPPING 07:18:01 INFO: No Stack... 07:18:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:18:02 using credential edgex-jenkins-ssh 07:18:02 Cloning the remote Git repository 07:18:03 INFO: Archiving Costs [Pipeline] sh 07:18:03 + cat /w/workspace/exfoundry_device-virtual-go_napa/archives/cost.csv 07:18:03 + cut -d, -f6 [Pipeline] lock 07:18:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] 07:18:03 Resource [jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] did not exist. Created. 07:18:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash 07:18:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:18:02 > git init /w/workspace/device-virtual-go/5 # timeout=10 07:18:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:18:02 > git --version # timeout=10 07:18:02 > git --version # 'git version 2.25.1' 07:18:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 07:18:03 + echo total: 0.2199999988079071 [Pipeline] stash 07:18:04 Stashed 1 file(s) [Pipeline] } 07:18:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:18:04 $ docker stop --time=1 cd001d1a448e1335c115f03f9189d1d28b32d7a7c8ebc75b09a9cfac8e1a8085 07:18:05 $ docker rm -f --volumes cd001d1a448e1335c115f03f9189d1d28b32d7a7c8ebc75b09a9cfac8e1a8085 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:18:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:18:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:06 Avoid second fetch 07:18:06 Checking out Revision f42d90908bc8095ab91062c2dcb5992d5c652f43 (napa) 07:18:06 > git config core.sparsecheckout # timeout=10 07:18:06 > git checkout -f f42d90908bc8095ab91062c2dcb5992d5c652f43 # timeout=10 07:18:08 Commit message: "ci(lts-release): LTS release v3.1.1 @5757315" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:18:12 % Total % Received % Xferd Average Speed Time Time Time Current 07:18:12 Dload Upload Total Spent Left Speed 07:18:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80175 0 --:--:-- --:--:-- --:--:-- 80175 [Pipeline] sh 07:18:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:18:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:18:13 + sudo tee /etc/docker/daemon.new 07:18:13 { 07:18:13 "registry-mirrors": [ 07:18:13 "https://nexus3.edgexfoundry.org:10001" 07:18:13 ], 07:18:13 "bip": "10.250.0.254/24", 07:18:13 "hosts": [ 07:18:13 "tcp://0.0.0.0:5555", 07:18:13 "unix:///var/run/docker.sock" 07:18:13 ], 07:18:13 "mtu": 1458, 07:18:13 "selinux-enabled": true, 07:18:13 "seccomp-profile": "/etc/docker/seccomp.json" 07:18:13 } [Pipeline] sh 07:18:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:18:14 + sudo service docker restart [Pipeline] sh 07:18:32 + git checkout f42d90908bc8095ab91062c2dcb5992d5c652f43 07:18:33 HEAD is now at f42d909 ci(lts-release): LTS release v3.1.1 @5757315 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:33 provisioning config files... 07:18:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config5270442783029372646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:33 ---> ****-login.sh 07:18:33 nexus3.edgexfoundry.org:10001 07:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:18:34 Configure a credential helper to remove this warning. See 07:18:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:18:34 07:18:34 Login Succeeded 07:18:34 nexus3.edgexfoundry.org:10002 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 nexus3.edgexfoundry.org:10003 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 nexus3.edgexfoundry.org:10004 07:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:18:35 Configure a credential helper to remove this warning. See 07:18:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:18:35 07:18:35 Login Succeeded 07:18:35 ****.io 07:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:18:36 Configure a credential helper to remove this warning. See 07:18:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:18:36 07:18:36 Login Succeeded 07:18:36 ---> ****-login.sh ends [Pipeline] } 07:18:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:36 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:18:37 + grep ^go [0-9].[0-9]* go.mod 07:18:37 + cut -d -f 2 [Pipeline] echo 07:18:37 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:18:37 ========================================================= 07:18:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 07:18:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:37 + 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 . 07:18:40 Sending build context to Docker daemon 46.16MB 07:18:40 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:18:40 Step 2/12 : FROM ${BASE} AS builder 07:18:40 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:18:40 c6b39de5b339: Pulling fs layer 07:18:40 a69c41024577: Pulling fs layer 07:18:40 d6de4b400683: Pulling fs layer 07:18:40 35cb2a7552d0: Pulling fs layer 07:18:40 4f4fb700ef54: Pulling fs layer 07:18:40 9e011611b7f5: Pulling fs layer 07:18:40 3bd174042beb: Pulling fs layer 07:18:40 4476f39b5e91: Pulling fs layer 07:18:40 4f4fb700ef54: Waiting 07:18:40 9e011611b7f5: Waiting 07:18:40 3bd174042beb: Waiting 07:18:40 4476f39b5e91: Waiting 07:18:40 35cb2a7552d0: Waiting 07:18:40 a69c41024577: Verifying Checksum 07:18:40 a69c41024577: Download complete 07:18:40 35cb2a7552d0: Verifying Checksum 07:18:40 35cb2a7552d0: Download complete 07:18:40 c6b39de5b339: Download complete 07:18:40 4f4fb700ef54: Verifying Checksum 07:18:40 4f4fb700ef54: Download complete 07:18:40 9e011611b7f5: Verifying Checksum 07:18:40 9e011611b7f5: Download complete 07:18:40 4476f39b5e91: Verifying Checksum 07:18:40 4476f39b5e91: Download complete 07:18:41 c6b39de5b339: Pull complete 07:18:41 a69c41024577: Pull complete 07:18:42 d6de4b400683: Verifying Checksum 07:18:42 d6de4b400683: Download complete 07:18:43 3bd174042beb: Verifying Checksum 07:18:43 3bd174042beb: Download complete 07:18:55 d6de4b400683: Pull complete 07:18:56 35cb2a7552d0: Pull complete 07:18:56 4f4fb700ef54: Pull complete 07:18:56 9e011611b7f5: Pull complete 07:19:06 3bd174042beb: Pull complete 07:19:06 4476f39b5e91: Pull complete 07:19:07 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 07:19:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 07:19:07 ---> 981a0608b64a 07:19:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:19:09 ---> Running in fe7df2851f66 07:19:09 Removing intermediate container fe7df2851f66 07:19:09 ---> ef87afb9f5b3 07:19:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:19:09 ---> Running in 7fdb59948cec 07:19:09 Removing intermediate container 7fdb59948cec 07:19:09 ---> acb620792bf7 07:19:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:19:09 ---> Running in 09371e159025 07:19:10 Removing intermediate container 09371e159025 07:19:10 ---> bc9f5a67d9e9 07:19:10 Step 6/12 : WORKDIR /device-virtual-go 07:19:10 ---> Running in f46e106bc354 07:19:10 Removing intermediate container f46e106bc354 07:19:10 ---> 30b186ce5429 07:19:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:10 ---> Running in f91ecafda7bf 07:19:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:19:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:19:13 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:19:13 (2/4) Installing libedit (20221030.3.1-r1) 07:19:13 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:19:13 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:19:13 Executing busybox-1.36.1-r5.trigger 07:19:13 OK: 271 MiB in 56 packages 07:19:14 Removing intermediate container f91ecafda7bf 07:19:14 ---> 322fc019ff32 07:19:14 Step 8/12 : COPY go.mod vendor* ./ 07:19:21 ---> a2faf8ac4466 07:19:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:21 ---> Running in 3199fb3f64d3 07:20:17 Removing intermediate container 3199fb3f64d3 07:20:17 ---> 2ceb63ef0a5f 07:20:17 Step 10/12 : COPY . . 07:20:21 ---> 0cc8b29485b3 07:20:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:21 ---> Running in bc93576970b9 07:20:21 Removing intermediate container bc93576970b9 07:20:21 ---> f85454d1e2e5 07:20:21 Step 12/12 : RUN $MAKE 07:20:21 ---> Running in ddbd2b4c7de0 07:20:22 noop 07:20:23 Removing intermediate container ddbd2b4c7de0 07:20:23 ---> 3052b2081543 07:20:23 Successfully built 3052b2081543 07:20:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:24 + docker inspect -f . ci-base-image-arm64 07:20:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:24 prd-ubuntu20.04-docker-arm64-4c-16g-220 does not seem to be running inside a container 07:20:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 07:20:25 $ docker top 83925045b8300ec322025578774c1079ab2c0943fcc78c27885d8cef5ef6bc86 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:26 + go version 07:20:26 go version go1.21.9 linux/arm64 [Pipeline] } 07:20:26 $ docker stop --time=1 83925045b8300ec322025578774c1079ab2c0943fcc78c27885d8cef5ef6bc86 07:20:28 $ docker rm -f --volumes 83925045b8300ec322025578774c1079ab2c0943fcc78c27885d8cef5ef6bc86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:28 + docker inspect -f . ci-base-image-arm64 07:20:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:28 prd-ubuntu20.04-docker-arm64-4c-16g-220 does not seem to be running inside a container 07:20:28 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 07:20:30 $ docker top 47f2372ab7faa4da9bc89d2abd38d2dbdbfec3c8d8fe047f9f9c3e8d769c6859 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:30 + git config --global --add safe.directory /w/workspace/device-virtual-go/5 [Pipeline] fileExists [Pipeline] sh 07:20:31 + make test 07:20:31 go test ./... -coverprofile=coverage.out 07:20:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:22:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:22:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.093s coverage: 58.4% of statements 07:22:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:22:40 go vet ./... 07:23:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:23:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:23:03 ./bin/test-attribution-txt.sh [Pipeline] echo 07:23:03 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:23:03 + go mod tidy [Pipeline] } 07:23:07 $ docker stop --time=1 47f2372ab7faa4da9bc89d2abd38d2dbdbfec3c8d8fe047f9f9c3e8d769c6859 07:23:09 $ docker rm -f --volumes 47f2372ab7faa4da9bc89d2abd38d2dbdbfec3c8d8fe047f9f9c3e8d769c6859 [Pipeline] // withDockerContainer [Pipeline] sh 07:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:23:10 Warning: overwriting stash ‘coverage-report’ 07:23:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:23:12 + ls -al . 07:23:12 total 200 07:23:12 drwxrwxr-x 8 jenkins jenkins 4096 May 15 07:20 . 07:23:12 drwxrwxr-x 4 jenkins jenkins 4096 May 15 07:18 .. 07:23:12 drwxrwxr-x 8 jenkins jenkins 4096 May 15 07:18 .git 07:23:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:18 .github 07:23:12 -rw-rw-r-- 1 jenkins jenkins 264 May 15 07:18 .gitignore 07:23:12 -rw-rw-r-- 1 jenkins jenkins 41 May 15 07:18 .golangci.yml 07:23:12 -rw-rw-r-- 1 jenkins jenkins 9619 May 15 07:18 Attribution.txt 07:23:12 -rw-rw-r-- 1 jenkins jenkins 15941 May 15 07:18 CHANGELOG.md 07:23:12 -rw-rw-r-- 1 jenkins jenkins 1755 May 15 07:18 Dockerfile 07:23:12 -rw-rw-r-- 1 jenkins jenkins 677 May 15 07:18 GOVERNANCE.md 07:23:12 -rw-rw-r-- 1 jenkins jenkins 660 May 15 07:18 Jenkinsfile 07:23:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 15 07:18 LICENSE 07:23:12 -rw-rw-r-- 1 jenkins jenkins 1947 May 15 07:18 Makefile 07:23:12 -rw-rw-r-- 1 jenkins jenkins 623 May 15 07:18 OWNERS.md 07:23:12 -rw-rw-r-- 1 jenkins jenkins 4103 May 15 07:18 README.md 07:23:12 -rw-rw-r-- 1 jenkins jenkins 5 May 15 07:15 VERSION 07:23:12 drwxrwxr-x 2 jenkins jenkins 4096 May 15 07:18 bin 07:23:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:18 cmd 07:23:12 -rw-r--r-- 1 jenkins jenkins 43063 May 15 07:22 coverage.out 07:23:12 -rw-rw-r-- 1 jenkins jenkins 3561 May 15 07:18 go.mod 07:23:12 -rw-rw-r-- 1 jenkins jenkins 33591 May 15 07:18 go.sum 07:23:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:18 internal 07:23:12 drwxrwxr-x 6 jenkins jenkins 4096 May 15 07:18 vendor 07:23:12 -rw-rw-r-- 1 jenkins jenkins 235 May 15 07:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:12 + 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=f42d90908bc8095ab91062c2dcb5992d5c652f43 --label arch=arm64 --label version=3.1.1 . 07:23:15 Sending build context to Docker daemon 46.21MB 07:23:15 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 07:23:15 Step 2/26 : FROM ${BASE} AS builder 07:23:15 ---> 3052b2081543 07:23:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:23:15 ---> Running in 81f5baee8730 07:23:15 Removing intermediate container 81f5baee8730 07:23:15 ---> 7b53b751a298 07:23:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:23:15 ---> Running in 4fc61d95e517 07:23:16 Removing intermediate container 4fc61d95e517 07:23:16 ---> 3ec223f61dd9 07:23:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:23:16 ---> Running in 78145fe27770 07:23:16 Removing intermediate container 78145fe27770 07:23:16 ---> 2f756122f9d0 07:23:16 Step 6/26 : WORKDIR /device-virtual-go 07:23:16 ---> Running in e24724035fc8 07:23:16 Removing intermediate container e24724035fc8 07:23:16 ---> df64dfe5f63f 07:23:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:17 ---> Running in b1f129bc0205 07:23:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:23:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:23:19 OK: 271 MiB in 56 packages 07:23:20 Removing intermediate container b1f129bc0205 07:23:20 ---> 5b54cb51d1cd 07:23:20 Step 8/26 : COPY go.mod vendor* ./ 07:23:28 ---> c98c05fe2b1a 07:23:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:28 ---> Running in 16aa195fcde5 07:23:28 skipping... 07:23:29 Removing intermediate container 16aa195fcde5 07:23:29 ---> 205ba3a1349d 07:23:29 Step 10/26 : COPY . . 07:23:37 ---> c4339352a886 07:23:37 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:23:37 ---> Running in 98e88265fe94 07:23:37 Removing intermediate container 98e88265fe94 07:23:37 ---> ede658d3e09c 07:23:37 Step 12/26 : RUN $MAKE 07:23:37 ---> Running in f10eb71b8706 07:23:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:25:59 Removing intermediate container f10eb71b8706 07:25:59 ---> 62bd00d28449 07:25:59 Step 13/26 : FROM alpine:3.18 07:25:59 3.18: Pulling from library/alpine 07:25:59 c6b39de5b339: Already exists 07:25:59 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:25:59 Status: Downloaded newer image for alpine:3.18 07:25:59 ---> 33abbf032149 07:25:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:25:59 ---> Running in 99f5a67f57cc 07:25:59 Removing intermediate container 99f5a67f57cc 07:25:59 ---> c1c7bc765f9d 07:25:59 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:25:59 ---> Running in 911a386dd0fc 07:25:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:25:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:25:59 (1/1) Installing dumb-init (1.2.5-r2) 07:25:59 Executing busybox-1.36.1-r5.trigger 07:25:59 OK: 8 MiB in 16 packages 07:25:59 Removing intermediate container 911a386dd0fc 07:25:59 ---> 9f6fe49096a4 07:25:59 Step 16/26 : RUN apk --no-cache upgrade 07:25:59 ---> Running in efffd7706e84 07:25:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:25:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:26:01 Upgrading critical system libraries and apk-tools: 07:26:01 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:26:01 Executing busybox-1.36.1-r5.trigger 07:26:01 Continuing the upgrade transaction with new apk-tools: 07:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:26:02 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:26:02 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 07:26:02 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 07:26:03 OK: 8 MiB in 16 packages 07:26:04 Removing intermediate container efffd7706e84 07:26:04 ---> c9927b3599fb 07:26:04 Step 17/26 : WORKDIR / 07:26:04 ---> Running in 38d54b5b473c 07:26:04 Removing intermediate container 38d54b5b473c 07:26:04 ---> a332e2e975db 07:26:04 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:26:04 ---> a92805d052b7 07:26:04 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:26:05 ---> a0b38e057b99 07:26:05 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:26:07 ---> a524122b6b6f 07:26:07 Step 21/26 : EXPOSE 59900 07:26:07 ---> Running in 42702f2cb79a 07:26:07 Removing intermediate container 42702f2cb79a 07:26:07 ---> 18d7ffc4e24c 07:26:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:26:07 ---> Running in 17fc9c1bb0ff 07:26:07 Removing intermediate container 17fc9c1bb0ff 07:26:07 ---> babb54e79100 07:26:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:26:08 ---> Running in d14a1e198731 07:26:08 Removing intermediate container d14a1e198731 07:26:08 ---> 6b21ccb3dd9c 07:26:08 Step 24/26 : LABEL arch=arm64 07:26:08 ---> Running in e48c7077a1c7 07:26:08 Removing intermediate container e48c7077a1c7 07:26:08 ---> 7af9033e121f 07:26:08 Step 25/26 : LABEL git_sha=f42d90908bc8095ab91062c2dcb5992d5c652f43 07:26:08 ---> Running in dc0fd0ec3163 07:26:09 Removing intermediate container dc0fd0ec3163 07:26:09 ---> a1ebe71d4ec9 07:26:09 Step 26/26 : LABEL version=3.1.1 07:26:09 ---> Running in 4080dd52ecd3 07:26:09 Removing intermediate container 4080dd52ecd3 07:26:09 ---> 6755be840b72 07:26:09 [Warning] One or more build-args [ARCH] were not consumed 07:26:09 Successfully built 6755be840b72 07:26:09 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 07:26:10 provisioning config files... 07:26:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config17928931141648434461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:10 ---> ****-login.sh 07:26:10 nexus3.edgexfoundry.org:10001 07:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:26:10 Configure a credential helper to remove this warning. See 07:26:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:26:10 07:26:10 Login Succeeded 07:26:10 nexus3.edgexfoundry.org:10002 07:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:26:11 Configure a credential helper to remove this warning. See 07:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:26:11 07:26:11 Login Succeeded 07:26:11 nexus3.edgexfoundry.org:10003 07:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:26:11 Configure a credential helper to remove this warning. See 07:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:26:11 07:26:11 Login Succeeded 07:26:11 nexus3.edgexfoundry.org:10004 07:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:26:11 Configure a credential helper to remove this warning. See 07:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:26:11 07:26:11 Login Succeeded 07:26:11 ****.io 07:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:26:12 Configure a credential helper to remove this warning. See 07:26:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:26:12 07:26:12 Login Succeeded 07:26:12 ---> ****-login.sh ends [Pipeline] } 07:26:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:26:12 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:26:12 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 07:26:12 f42d90908bc8095ab91062c2dcb5992d5c652f43 07:26:12 3.1.1 07:26:12 f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 07:26:12 napa 07:26:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f42d90908bc8095ab91062c2dcb5992d5c652f43 07:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:26:13 be3f1e5e7184: Preparing 07:26:13 aaf458c7e6ed: Preparing 07:26:13 ded97fd58417: Preparing 07:26:13 caadee408db6: Preparing 07:26:13 995e20299140: Preparing 07:26:13 7c504f21be85: Preparing 07:26:13 7c504f21be85: Waiting 07:26:13 aaf458c7e6ed: Pushed 07:26:13 995e20299140: Pushed 07:26:13 ded97fd58417: Pushed 07:26:13 7c504f21be85: Layer already exists 07:26:14 caadee408db6: Pushed 07:26:18 be3f1e5e7184: Pushed 07:26:18 f42d90908bc8095ab91062c2dcb5992d5c652f43: digest: sha256:21de8eeacacfc6a0b2148cc22974d4324744746cb218e899978aa2a583907920 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.1 07:26:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:26:19 be3f1e5e7184: Preparing 07:26:19 aaf458c7e6ed: Preparing 07:26:19 ded97fd58417: Preparing 07:26:19 caadee408db6: Preparing 07:26:19 995e20299140: Preparing 07:26:19 7c504f21be85: Preparing 07:26:19 7c504f21be85: Waiting 07:26:19 995e20299140: Layer already exists 07:26:19 caadee408db6: Layer already exists 07:26:19 ded97fd58417: Layer already exists 07:26:19 be3f1e5e7184: Layer already exists 07:26:19 aaf458c7e6ed: Layer already exists 07:26:19 7c504f21be85: Layer already exists 07:26:19 3.1.1: digest: sha256:21de8eeacacfc6a0b2148cc22974d4324744746cb218e899978aa2a583907920 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 07:26:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:26:20 be3f1e5e7184: Preparing 07:26:20 aaf458c7e6ed: Preparing 07:26:20 ded97fd58417: Preparing 07:26:20 caadee408db6: Preparing 07:26:20 995e20299140: Preparing 07:26:20 7c504f21be85: Preparing 07:26:20 7c504f21be85: Waiting 07:26:20 ded97fd58417: Layer already exists 07:26:20 caadee408db6: Layer already exists 07:26:20 995e20299140: Layer already exists 07:26:20 aaf458c7e6ed: Layer already exists 07:26:20 be3f1e5e7184: Layer already exists 07:26:20 7c504f21be85: Layer already exists 07:26:20 f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1: digest: sha256:21de8eeacacfc6a0b2148cc22974d4324744746cb218e899978aa2a583907920 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:napa 07:26:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:26:21 be3f1e5e7184: Preparing 07:26:21 aaf458c7e6ed: Preparing 07:26:21 ded97fd58417: Preparing 07:26:21 caadee408db6: Preparing 07:26:21 995e20299140: Preparing 07:26:21 7c504f21be85: Preparing 07:26:21 caadee408db6: Layer already exists 07:26:21 aaf458c7e6ed: Layer already exists 07:26:21 ded97fd58417: Layer already exists 07:26:21 be3f1e5e7184: Layer already exists 07:26:21 995e20299140: Layer already exists 07:26:21 7c504f21be85: Layer already exists 07:26:21 napa: digest: sha256:21de8eeacacfc6a0b2148cc22974d4324744746cb218e899978aa2a583907920 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:26:21 ===================================================== [Pipeline] echo 07:26:21 taggedImages: 07:26:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f42d90908bc8095ab91062c2dcb5992d5c652f43 07:26:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.1 07:26:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f42d90908bc8095ab91062c2dcb5992d5c652f43-3.1.1 07:26:21 - 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 07:26:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:22 07:26:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:22 arm64: Pulling from edgex-lftools-log-publisher 07:26:22 8998bd30e6a1: Pulling fs layer 07:26:22 04944245beec: Pulling fs layer 07:26:22 699f458cf7ca: Pulling fs layer 07:26:22 765212b225bb: Pulling fs layer 07:26:22 f23df028b6ca: Pulling fs layer 07:26:22 d65c8cfc05b1: Pulling fs layer 07:26:22 2437ff75d9bd: Pulling fs layer 07:26:22 f23df028b6ca: Waiting 07:26:22 d65c8cfc05b1: Waiting 07:26:22 2437ff75d9bd: Waiting 07:26:22 765212b225bb: Waiting 07:26:22 04944245beec: Verifying Checksum 07:26:22 04944245beec: Download complete 07:26:22 765212b225bb: Verifying Checksum 07:26:22 765212b225bb: Download complete 07:26:22 f23df028b6ca: Verifying Checksum 07:26:22 f23df028b6ca: Download complete 07:26:22 d65c8cfc05b1: Verifying Checksum 07:26:22 d65c8cfc05b1: Download complete 07:26:23 699f458cf7ca: Verifying Checksum 07:26:23 699f458cf7ca: Download complete 07:26:23 8998bd30e6a1: Verifying Checksum 07:26:23 8998bd30e6a1: Download complete 07:26:25 2437ff75d9bd: Verifying Checksum 07:26:25 2437ff75d9bd: Download complete 07:26:28 8998bd30e6a1: Pull complete 07:26:28 04944245beec: Pull complete 07:26:30 699f458cf7ca: Pull complete 07:26:30 765212b225bb: Pull complete 07:26:31 f23df028b6ca: Pull complete 07:26:31 d65c8cfc05b1: Pull complete 07:26:49 2437ff75d9bd: Pull complete 07:26:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:26:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:49 prd-ubuntu20.04-docker-arm64-4c-16g-220 does not seem to be running inside a container 07:26:49 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 07:26:52 $ docker top d63490a662a100bf8db317396b9417de4bc229a59b82328e492c72c19ebb8671 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:53 ---> job-cost.sh 07:26:53 lf-activate-venv: SKIPPING 07:26:53 INFO: No Stack... 07:26:53 INFO: Retrieving Pricing Info for: v3-standard-4 07:26:54 INFO: Archiving Costs [Pipeline] sh 07:26:55 + cat /w/workspace/device-virtual-go/5/archives/cost.csv 07:26:55 + cut -d, -f6 [Pipeline] lock 07:26:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] 07:26:55 Resource [jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] did not exist. Created. 07:26:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:26:55 /w/workspace/device-virtual-go/5@tmp/durable-cdc2f0c1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:26:56 + echo total: 0.10999999940395355 [Pipeline] stash 07:26:56 Warning: overwriting stash ‘stack-cost’ 07:26:57 Stashed 1 file(s) [Pipeline] } 07:26:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:26:57 $ docker stop --time=1 d63490a662a100bf8db317396b9417de4bc229a59b82328e492c72c19ebb8671 07:26:58 $ docker rm -f --volumes d63490a662a100bf8db317396b9417de4bc229a59b82328e492c72c19ebb8671 [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 07:26:59 provisioning config files... 07:26:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config15984726720427595319tmp [Pipeline] { [Pipeline] sh 07:26:59 + set +x 07:26:59 + curl -s https://codecov.io/bash 07:26:59 + bash -s -- 07:26:59 07:26:59 _____ _ 07:26:59 / ____| | | 07:26:59 | | ___ __| | ___ ___ _____ __ 07:26:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:26:59 | |___| (_) | (_| | __/ (_| (_) \ V / 07:26:59 \_____\___/ \__,_|\___|\___\___/ \_/ 07:26:59 Bash-1.0.6 07:26:59 07:26:59 07:26:59 ==> git version 2.25.1 found 07:26:59 ==> 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 07:26:59 Release-Date: 2020-01-08 07:26:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:26:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:26:59 ==> Jenkins CI detected. 07:26:59 current dir:  /w/workspace/exfoundry_device-virtual-go_napa 07:26:59 project root: . 07:26:59 --> token set from env 07:26:59 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 07:26:59 ==> Running gcov in . (disable via -X gcov) 07:26:59 ==> Python coveragepy not found 07:26:59 ==> Searching for coverage reports in: 07:26:59 + . 07:26:59 -> Found 1 reports 07:26:59 ==> Detecting git/mercurial file structure 07:26:59 ==> Reading reports 07:26:59 + ./coverage.out bytes=43063 07:26:59 ==> Appending adjustments 07:26:59 https://docs.codecov.io/docs/fixing-reports 07:26:59 + Found adjustments 07:26:59 ==> Gzipping contents 07:26:59 20K /tmp/codecov.hPKAex.gz 07:26:59 ==> Uploading reports 07:26:59 url: https://codecov.io 07:26:59 query: branch=napa&commit=f42d90908bc8095ab91062c2dcb5992d5c652f43&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:26:59 -> Pinging Codecov 07:26:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=f42d90908bc8095ab91062c2dcb5992d5c652f43&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:27:00 -> Uploading to 07:27:00 https://storage.googleapis.com/codecov/v4/raw/2024-05-15/5E52B4B073DB2E39498172D8E973AA87/f42d90908bc8095ab91062c2dcb5992d5c652f43/90015058-a767-47b6-92fc-70a3fa9e2a6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240515%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240515T072659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f22b18c2d35c306c44cc030f11a9c6d8394f512eebb598e50a6bbe8faa72fd8c 07:27:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:27:00 Dload Upload Total Spent Left Speed 07:27:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16539 0 0 100 16539 0 65114 --:--:-- --:--:-- --:--:-- 65114 07:27:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] } 07:27:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:27:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:27:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:27:00 07:27:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:27:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:27:01 df9b9388f04a: Pulling fs layer 07:27:01 52dc419b0ee2: Pulling fs layer 07:27:01 25bc292e5bac: Pulling fs layer 07:27:01 114826534d7a: Pulling fs layer 07:27:01 4657fd5d0bcf: Pulling fs layer 07:27:01 6ad1cebc031e: Pulling fs layer 07:27:01 8a3aa393b2d8: Pulling fs layer 07:27:01 114826534d7a: Waiting 07:27:01 4657fd5d0bcf: Waiting 07:27:01 6ad1cebc031e: Waiting 07:27:01 8a3aa393b2d8: Waiting 07:27:01 25bc292e5bac: Verifying Checksum 07:27:01 25bc292e5bac: Download complete 07:27:01 52dc419b0ee2: Download complete 07:27:01 4657fd5d0bcf: Download complete 07:27:01 df9b9388f04a: Download complete 07:27:01 df9b9388f04a: Pull complete 07:27:01 6ad1cebc031e: Verifying Checksum 07:27:01 6ad1cebc031e: Download complete 07:27:01 52dc419b0ee2: Pull complete 07:27:01 25bc292e5bac: Pull complete 07:27:02 114826534d7a: Verifying Checksum 07:27:02 114826534d7a: Download complete 07:27:02 8a3aa393b2d8: Verifying Checksum 07:27:02 8a3aa393b2d8: Download complete 07:27:05 114826534d7a: Pull complete 07:27:05 4657fd5d0bcf: Pull complete 07:27:05 6ad1cebc031e: Pull complete 07:27:08 8a3aa393b2d8: Pull complete 07:27:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:27:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:27:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:09 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:27:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:27:12 $ docker top ef8a18202548a658422d250fc56b0d001145e9a8e9239af083de6f710cc0e945 -eo pid,comm [Pipeline] { [Pipeline] echo 07:27:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:napa' [Pipeline] sh 07:27:13 + set -o pipefail 07:27:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:napa' 07:27:15 07:27:15 Monitoring /w/workspace/exfoundry_device-virtual-go_napa (github.com/edgexfoundry/device-virtual-go)... 07:27:15 07:27:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/e16e2c7d-4dfe-4fd2-aff3-5c7da930a50e/history/7a2b55c3-1d93-440f-a72f-64e1edc27877 07:27:15 07:27:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:27:15 07:27:15 07:27:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:27:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:27:15 More details here: https://snyk.co/ue1NS 07:27:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:27:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:27:15 $ docker stop --time=1 ef8a18202548a658422d250fc56b0d001145e9a8e9239af083de6f710cc0e945 07:27:17 $ docker rm -f --volumes ef8a18202548a658422d250fc56b0d001145e9a8e9239af083de6f710cc0e945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:27:17 + git log --format=format:%s -1 f42d90908bc8095ab91062c2dcb5992d5c652f43 [Pipeline] sh 07:27:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:27:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:27:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:18 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:27:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:27:18 $ docker top 2f84e04b1bf16766911d1225a8be372b724731982516ddabf5af9a30f35e7e59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:27:18 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:19 + git semver [Pipeline] } 07:27:19 $ docker stop --time=1 2f84e04b1bf16766911d1225a8be372b724731982516ddabf5af9a30f35e7e59 07:27:20 $ docker rm -f --volumes 2f84e04b1bf16766911d1225a8be372b724731982516ddabf5af9a30f35e7e59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:27:21 07:27:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:27:21 0.23.1-centos7: Pulling from edgex-lftools 07:27:21 ab5ef0e58194: Pulling fs layer 07:27:21 9712f1f96733: Pulling fs layer 07:27:21 63f879dbbcfc: Pulling fs layer 07:27:21 0d9ebad4ef96: Pulling fs layer 07:27:21 e9a5061849ea: Pulling fs layer 07:27:21 d747dcd14b5f: Pulling fs layer 07:27:21 2de7ff778b66: Pulling fs layer 07:27:21 e9a5061849ea: Waiting 07:27:21 d747dcd14b5f: Waiting 07:27:21 2de7ff778b66: Waiting 07:27:21 0d9ebad4ef96: Waiting 07:27:21 9712f1f96733: Verifying Checksum 07:27:21 9712f1f96733: Download complete 07:27:21 63f879dbbcfc: Verifying Checksum 07:27:21 63f879dbbcfc: Download complete 07:27:21 e9a5061849ea: Verifying Checksum 07:27:21 e9a5061849ea: Download complete 07:27:21 d747dcd14b5f: Download complete 07:27:21 0d9ebad4ef96: Download complete 07:27:21 ab5ef0e58194: Verifying Checksum 07:27:21 ab5ef0e58194: Download complete 07:27:21 2de7ff778b66: Verifying Checksum 07:27:21 2de7ff778b66: Download complete 07:27:25 ab5ef0e58194: Pull complete 07:27:25 9712f1f96733: Pull complete 07:27:25 63f879dbbcfc: Pull complete 07:27:29 0d9ebad4ef96: Pull complete 07:27:29 e9a5061849ea: Pull complete 07:27:29 d747dcd14b5f: Pull complete 07:27:30 2de7ff778b66: Pull complete 07:27:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:27:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:27:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:30 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:27:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:27:36 $ docker top 7e6517d74714a3ab029b51a0a48b68dc116105891db96bf11f1cee8cb3259cea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:27:36 provisioning config files... 07:27:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config10521144209976978848tmp 07:27:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config7990604140636875620tmp 07:27:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config18159994106242912254tmp [Pipeline] { [Pipeline] echo 07:27:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:27:36 ---> sigul-configuration.sh 07:27:36 gpg: directory `/root/.gnupg' created 07:27:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:27:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:27:36 gpg: keyring `/root/.gnupg/secring.gpg' created 07:27:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:27:36 gpg: CAST5 encrypted data 07:27:36 gpg: encrypted with 1 passphrase 07:27:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:27:36 + mkdir /home/jenkins 07:27:36 + mkdir /home/jenkins/sigul [Pipeline] sh 07:27:37 + 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 07:27:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:27:37 ---> sigul-install.sh 07:27:37 Sigul already installed; skipping installation. [Pipeline] sh 07:27:37 + git tag --list 07:27:37 v1.0.0 07:27:37 v1.1.0 07:27:37 v1.1.1 07:27:37 v1.2.1 07:27:37 v1.2.2 07:27:37 v1.2.3 07:27:37 v1.3.0 07:27:37 v1.3.1 07:27:37 v2.0.0 07:27:37 v2.1.0 07:27:37 v2.1.1 07:27:37 v2.2.0 07:27:37 v2.3.0 07:27:37 v3.0 07:27:37 v3.0.0 07:27:37 v3.1 07:27:37 v3.1.0 07:27:37 v3.1.0-dev.1 07:27:37 v3.1.0-dev.10 07:27:37 v3.1.0-dev.11 07:27:37 v3.1.0-dev.12 07:27:37 v3.1.0-dev.13 07:27:37 v3.1.0-dev.14 07:27:37 v3.1.0-dev.15 07:27:37 v3.1.0-dev.16 07:27:37 v3.1.0-dev.17 07:27:37 v3.1.0-dev.18 07:27:37 v3.1.0-dev.19 07:27:37 v3.1.0-dev.2 07:27:37 v3.1.0-dev.20 07:27:37 v3.1.0-dev.21 07:27:37 v3.1.0-dev.22 07:27:37 v3.1.0-dev.23 07:27:37 v3.1.0-dev.24 07:27:37 v3.1.0-dev.25 07:27:37 v3.1.0-dev.26 07:27:37 v3.1.0-dev.27 07:27:37 v3.1.0-dev.28 07:27:37 v3.1.0-dev.29 07:27:37 v3.1.0-dev.3 07:27:37 v3.1.0-dev.30 07:27:37 v3.1.0-dev.4 07:27:37 v3.1.0-dev.5 07:27:37 v3.1.0-dev.6 07:27:37 v3.1.0-dev.7 07:27:37 v3.1.0-dev.8 07:27:37 v3.1.0-dev.9 07:27:37 v3.1.1 07:27:37 v3.1.1-dev.1 07:27:37 v3.2.0-dev.1 07:27:37 v3.2.0-dev.10 07:27:37 v3.2.0-dev.11 07:27:37 v3.2.0-dev.2 07:27:37 v3.2.0-dev.3 07:27:37 v3.2.0-dev.4 07:27:37 v3.2.0-dev.5 07:27:37 v3.2.0-dev.6 07:27:37 v3.2.0-dev.7 07:27:37 v3.2.0-dev.8 07:27:37 v3.2.0-dev.9 [Pipeline] sh 07:27:38 + lftools sign git-tag v3.1.1 07:27:38 Signing Git tag with Sigul... 07:27:38 Signing v3.1.1 [Pipeline] echo 07:27:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:27:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:27:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:27:39 $ docker stop --time=1 7e6517d74714a3ab029b51a0a48b68dc116105891db96bf11f1cee8cb3259cea 07:27:40 $ docker rm -f --volumes 7e6517d74714a3ab029b51a0a48b68dc116105891db96bf11f1cee8cb3259cea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:27:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:27:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:27:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:41 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:27:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:27:41 $ docker top 4a927597ce10da1419fae01c32a4094eb5b8f899305837fa2a43c11fbad6fa2f -eo pid,comm 07:27:42 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). 07:27:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:27:42 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:42 + git semver [Pipeline] } 07:27:42 $ docker stop --time=1 4a927597ce10da1419fae01c32a4094eb5b8f899305837fa2a43c11fbad6fa2f 07:27:43 $ docker rm -f --volumes 4a927597ce10da1419fae01c32a4094eb5b8f899305837fa2a43c11fbad6fa2f [Pipeline] // withDockerContainer [Pipeline] sh 07:27:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:27:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:27:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:44 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:27:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:27:45 $ docker top 55d2b3c635a377c73fe8e68731eb840a8b5a7944593115656ed7b0791ed4008b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:27:45 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:45 + git semver [Pipeline] } 07:27:45 $ docker stop --time=1 55d2b3c635a377c73fe8e68731eb840a8b5a7944593115656ed7b0791ed4008b 07:27:46 $ docker rm -f --volumes 55d2b3c635a377c73fe8e68731eb840a8b5a7944593115656ed7b0791ed4008b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:27:47 + [ -d /w/workspace/exfoundry_device-virtual-go_napa/archives ] 07:27:47 + ls -al /w/workspace/exfoundry_device-virtual-go_napa/archives 07:27:47 total 16 07:27:47 drwxr-xr-x 3 root root 4096 May 15 07:18 . 07:27:47 drwxrwxr-x 10 jenkins jenkins 4096 May 15 07:27 .. 07:27:47 drwxr-xr-x 2 root root 4096 May 15 07:18 cost 07:27:47 -rw-r--r-- 1 root root 87 May 15 07:18 cost.csv 07:27:47 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_napa/archives 07:27:47 + ls -al /w/workspace/exfoundry_device-virtual-go_napa/archives 07:27:47 total 16 07:27:47 drwxr-xr-x 3 jenkins jenkins 4096 May 15 07:18 . 07:27:47 drwxrwxr-x 10 jenkins jenkins 4096 May 15 07:27 .. 07:27:47 drwxr-xr-x 2 jenkins jenkins 4096 May 15 07:18 cost 07:27:47 -rw-r--r-- 1 jenkins jenkins 87 May 15 07:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:27:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:27:48 ---> package-listing.sh 07:27:48 ++ facter osfamily 07:27:48 ++ tr '[:upper:]' '[:lower:]' 07:27:49 + OS_FAMILY=debian 07:27:49 + workspace=/w/workspace/exfoundry_device-virtual-go_napa 07:27:49 + START_PACKAGES=/tmp/packages_start.txt 07:27:49 + END_PACKAGES=/tmp/packages_end.txt 07:27:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:27:49 + PACKAGES=/tmp/packages_start.txt 07:27:49 + '[' /w/workspace/exfoundry_device-virtual-go_napa ']' 07:27:49 + PACKAGES=/tmp/packages_end.txt 07:27:49 + case "${OS_FAMILY}" in 07:27:49 + dpkg -l 07:27:49 + grep '^ii' 07:27:49 + '[' -f /tmp/packages_start.txt ']' 07:27:49 + '[' -f /tmp/packages_end.txt ']' 07:27:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:27:49 + '[' /w/workspace/exfoundry_device-virtual-go_napa ']' 07:27:49 + mkdir -p /w/workspace/exfoundry_device-virtual-go_napa/archives/ 07:27:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_napa/archives/ [Pipeline] echo 07:27:49 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 07:27:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:49 prd-ubuntu20.04-docker-8c-8g-218 does not seem to be running inside a container 07:27:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:27:50 $ docker top 41c8fee2323acd7499fea8914deb58b6420d282a79913ce481fbc631b8cd316e -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:50 + touch /tmp/pre-build-complete [Pipeline] sh 07:27:50 + mkdir -p /var/log/sysstat [Pipeline] sh 07:27:51 + ls /var/log/sa-host 07:27:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:51 provisioning config files... 07:27:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_napa@tmp/config13999553471132013690tmp [Pipeline] { [Pipeline] echo 07:27:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:27:51 ---> create-netrc.sh [Pipeline] } 07:27:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:27:51 ---> python-tools-install.sh [Pipeline] echo 07:27:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:27:52 ---> sudo-logs.sh 07:27:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:27:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:27:52 ---> job-cost.sh 07:27:52 lf-activate-venv: SKIPPING 07:27:52 DEBUG: total: 0.2199999988079071 07:27:52 INFO: Retrieving Stack Cost... 07:27:53 INFO: Retrieving Pricing Info for: v3-standard-8 07:27:53 INFO: Archiving Costs [Pipeline] echo 07:27:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:27:53 ---> logs-deploy.sh 07:27:53 lf-activate-venv: SKIPPING 07:27:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/napa/5 07:27:53 INFO: archiving workspace using pattern(s): 07:27:54 Archives upload complete. 07:27:54 INFO: archiving logs to Nexus