Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 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-ssh11160936010561973431.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh8901583900439271394.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8696827292497360089.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh97036255762992001.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12998266227707503014.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26995’ Running on prd-ubuntu20.04-docker-8c-8g-26997 in /w/workspace/exfoundry_device-virtual-go_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 (main) Commit message: "Merge pull request #506 from judehung/issue-789-branch" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 # timeout=10 > git rev-list --no-walk 0d6ab1fb206186d5c3e15ce2aad10aa7c35bbc7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:01:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:01:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:01:49 ========================================================= 08:01:49 EdgeX Global Pipelines Version Info 08:01:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:01:50 ------------------- 08:01:50 stable info: 08:01:50 ------------------- 08:01:50 Commited By: Ginny Guan ginny@iotechsys.com 08:01:50 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:01:50 Message: update stable to v1.0.265 08:01:51 ------------------- 08:01:51 experimental info: 08:01:51 ------------------- 08:01:51 Commited By: Cherry Wang cherry@iotechsys.com 08:01:51 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:01:51 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0958a92 [Pipeline] echo 08:01:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:52 provisioning config files... 08:01:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1135066994644695397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:52 ---> ****-login.sh 08:01:52 nexus3.edgexfoundry.org:10001 08:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:01:52 Configure a credential helper to remove this warning. See 08:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:01:52 08:01:52 Login Succeeded 08:01:52 nexus3.edgexfoundry.org:10002 08:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:01:52 Configure a credential helper to remove this warning. See 08:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:01:52 08:01:52 Login Succeeded 08:01:52 nexus3.edgexfoundry.org:10003 08:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:01:52 Configure a credential helper to remove this warning. See 08:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:01:52 08:01:52 Login Succeeded 08:01:52 nexus3.edgexfoundry.org:10004 08:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:01:52 Configure a credential helper to remove this warning. See 08:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:01:52 08:01:52 Login Succeeded 08:01:52 ****.io 08:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:01:53 Configure a credential helper to remove this warning. See 08:01:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:01:53 08:01:53 Login Succeeded 08:01:53 ---> ****-login.sh ends [Pipeline] } 08:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:01:53 + git rev-list -1 --merges 0958a92fd6cf87aba84d220ca8c29fa54c7ca139~1..0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] echo 08:01:53 -----------> git rev-list -1 --merges 0958a92fd6cf87aba84d220ca8c29fa54c7ca139~1..0958a92fd6cf87aba84d220ca8c29fa54c7ca139 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:01:53 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [false] [Pipeline] sh 08:01:53 + git log --format=format:%s -1 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] echo 08:01:53 ========================================================= 08:01:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:01:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:54 + git log --format=format:%s -1 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] echo 08:01:54 [semverPrep] GIT_COMMIT: 0958a92fd6cf87aba84d220ca8c29fa54c7ca139, Commit Message: Merge pull request #506 from judehung/issue-789-branch [Pipeline] echo 08:01:54 [semverPrep] This is not a build commit. [Pipeline] sh 08:01:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:01:54 + grep -v github /etc/ssh/ssh_known_hosts 08:01:54 + [ -e /tmp/ssh_known_hosts ] 08:01:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:01:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:01:54 + sudo tee -a /etc/ssh/ssh_known_hosts 08:01:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:54 08:01:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:55 0.1.4: Pulling from edgex-devops/py-git-semver 08:01:55 b85a868b505f: Pulling fs layer 08:01:55 e2be974225ed: Pulling fs layer 08:01:55 339a4e72a1f5: Pulling fs layer 08:01:55 988bab9f4d93: Pulling fs layer 08:01:55 1469e6f7b9e6: Pulling fs layer 08:01:55 eaf3925da568: Pulling fs layer 08:01:55 bab4dde63d76: Pulling fs layer 08:01:55 bde34c3a00c8: Pulling fs layer 08:01:55 b352a97aabf1: Pulling fs layer 08:01:55 4872d77fe225: Pulling fs layer 08:01:55 5851b861e8e6: Pulling fs layer 08:01:55 bab4dde63d76: Waiting 08:01:55 bde34c3a00c8: Waiting 08:01:55 b352a97aabf1: Waiting 08:01:55 4872d77fe225: Waiting 08:01:55 5851b861e8e6: Waiting 08:01:55 1469e6f7b9e6: Waiting 08:01:55 988bab9f4d93: Waiting 08:01:55 eaf3925da568: Waiting 08:01:55 e2be974225ed: Verifying Checksum 08:01:55 e2be974225ed: Download complete 08:01:55 988bab9f4d93: Verifying Checksum 08:01:55 988bab9f4d93: Download complete 08:01:55 1469e6f7b9e6: Verifying Checksum 08:01:55 1469e6f7b9e6: Download complete 08:01:55 339a4e72a1f5: Verifying Checksum 08:01:55 339a4e72a1f5: Download complete 08:01:55 eaf3925da568: Verifying Checksum 08:01:55 eaf3925da568: Download complete 08:01:55 bde34c3a00c8: Download complete 08:01:55 b352a97aabf1: Verifying Checksum 08:01:55 b352a97aabf1: Download complete 08:01:55 4872d77fe225: Verifying Checksum 08:01:55 4872d77fe225: Download complete 08:01:55 5851b861e8e6: Verifying Checksum 08:01:55 5851b861e8e6: Download complete 08:01:55 b85a868b505f: Verifying Checksum 08:01:55 b85a868b505f: Download complete 08:01:55 bab4dde63d76: Verifying Checksum 08:01:55 bab4dde63d76: Download complete 08:01:56 b85a868b505f: Pull complete 08:01:56 e2be974225ed: Pull complete 08:01:57 339a4e72a1f5: Pull complete 08:01:57 988bab9f4d93: Pull complete 08:01:57 1469e6f7b9e6: Pull complete 08:01:57 eaf3925da568: Pull complete 08:01:59 bab4dde63d76: Pull complete 08:01:59 bde34c3a00c8: Pull complete 08:01:59 b352a97aabf1: Pull complete 08:01:59 4872d77fe225: Pull complete 08:01:59 5851b861e8e6: Pull complete 08:01:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:01:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:59 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:01:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:02:02 $ docker top c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 -eo pid,comm 08:02:02 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). 08:02:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:02:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:02:02 [ssh-agent] Looking for ssh-agent implementation... 08:02:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:02:02 $ docker exec c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 ssh-agent 08:02:02 SSH_AUTH_SOCK=/tmp/ssh-721cYdadHwMA/agent.33 08:02:02 SSH_AGENT_PID=39 08:02:02 Running ssh-add (command line suppressed) 08:02:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8016721875260929997.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8016721875260929997.key) 08:02:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:02:03 + git tag --points-at HEAD [Pipeline] } 08:02:03 $ docker exec --env ******** --env ******** c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 ssh-agent -k 08:02:03 unset SSH_AUTH_SOCK; 08:02:03 unset SSH_AGENT_PID; 08:02:03 echo Agent pid 39 killed; 08:02:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:02:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:02:03 [ssh-agent] Looking for ssh-agent implementation... 08:02:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:02:03 $ docker exec c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 ssh-agent 08:02:03 SSH_AUTH_SOCK=/tmp/ssh-lWeIrGbyGLyv/agent.72 08:02:03 SSH_AGENT_PID=78 08:02:03 Running ssh-add (command line suppressed) 08:02:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14294039111193247961.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14294039111193247961.key) 08:02:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:02:04 + git semver init 08:02:04 2024-11-19 08:02:04,320 [run_init] DEBUG init version:0.0.0 force:False 08:02:04 2024-11-19 08:02:04,321 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 08:02:04 2024-11-19 08:02:04,321 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 08:02:04 2024-11-19 08:02:04,321 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:02:06 2024-11-19 08:02:06,306 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 08:02:06 2024-11-19 08:02:06,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 08:02:06 2024-11-19 08:02:06,307 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:02:06 2024-11-19 08:02:06,307 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:02:06 4.0.0-dev.6 [Pipeline] } 08:02:06 $ docker exec --env ******** --env ******** c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 ssh-agent -k 08:02:06 unset SSH_AUTH_SOCK; 08:02:06 unset SSH_AGENT_PID; 08:02:06 echo Agent pid 78 killed; 08:02:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:02:07 + git semver [Pipeline] } 08:02:07 $ docker stop --time=1 c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 08:02:08 $ docker rm -f --volumes c8780536ba883edd900e6105d194a4724b77216bf3304dd60c51c8f173d68681 [Pipeline] // withDockerContainer [Pipeline] sh 08:02:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:02:09 Stashed 1 file(s) [Pipeline] echo 08:02:09 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:09 provisioning config files... 08:02:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13764351731456200040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:02:09 ---> ****-login.sh 08:02:09 nexus3.edgexfoundry.org:10001 08:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:02:09 Configure a credential helper to remove this warning. See 08:02:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:02:09 08:02:09 Login Succeeded 08:02:09 nexus3.edgexfoundry.org:10002 08:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:02:09 Configure a credential helper to remove this warning. See 08:02:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:02:09 08:02:09 Login Succeeded 08:02:09 nexus3.edgexfoundry.org:10003 08:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:02:10 Configure a credential helper to remove this warning. See 08:02:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:02:10 08:02:10 Login Succeeded 08:02:10 nexus3.edgexfoundry.org:10004 08:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:02:10 Configure a credential helper to remove this warning. See 08:02:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:02:10 08:02:10 Login Succeeded 08:02:10 ****.io 08:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:02:10 Configure a credential helper to remove this warning. See 08:02:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:02:10 08:02:10 Login Succeeded 08:02:10 ---> ****-login.sh ends [Pipeline] } 08:02:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:02:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:02:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:02:10 ========================================================= 08:02:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:02:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 08:02:10 Sending build context to Docker daemon 37.73MB 08:02:10 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:02:10 Step 2/12 : FROM ${BASE} AS builder 08:02:11 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:02:11 43c4264eed91: Pulling fs layer 08:02:11 4cc291be95ef: Pulling fs layer 08:02:11 2ac1f1163629: Pulling fs layer 08:02:11 5c3c966382ef: Pulling fs layer 08:02:11 4f4fb700ef54: Pulling fs layer 08:02:11 5d5c8e513c77: Pulling fs layer 08:02:11 9f66e0745190: Pulling fs layer 08:02:11 f49a43e4bbc0: Pulling fs layer 08:02:11 561ebcabdf7f: Pulling fs layer 08:02:11 4f4fb700ef54: Waiting 08:02:11 5d5c8e513c77: Waiting 08:02:11 f49a43e4bbc0: Waiting 08:02:11 9f66e0745190: Waiting 08:02:11 4cc291be95ef: Verifying Checksum 08:02:11 4cc291be95ef: Download complete 08:02:11 5c3c966382ef: Verifying Checksum 08:02:11 5c3c966382ef: Download complete 08:02:11 4f4fb700ef54: Verifying Checksum 08:02:11 4f4fb700ef54: Download complete 08:02:11 5d5c8e513c77: Verifying Checksum 08:02:11 5d5c8e513c77: Download complete 08:02:11 43c4264eed91: Verifying Checksum 08:02:11 43c4264eed91: Download complete 08:02:11 9f66e0745190: Verifying Checksum 08:02:11 9f66e0745190: Download complete 08:02:11 43c4264eed91: Pull complete 08:02:11 561ebcabdf7f: Verifying Checksum 08:02:11 561ebcabdf7f: Download complete 08:02:11 4cc291be95ef: Pull complete 08:02:11 2ac1f1163629: Verifying Checksum 08:02:11 2ac1f1163629: Download complete 08:02:11 f49a43e4bbc0: Verifying Checksum 08:02:11 f49a43e4bbc0: Download complete 08:02:15 2ac1f1163629: Pull complete 08:02:15 5c3c966382ef: Pull complete 08:02:15 4f4fb700ef54: Pull complete 08:02:15 5d5c8e513c77: Pull complete 08:02:15 9f66e0745190: Pull complete 08:02:16 f49a43e4bbc0: Pull complete 08:02:17 561ebcabdf7f: Pull complete 08:02:17 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:02:17 ---> 3a752c3f9dda 08:02:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:02:21 ---> Running in dcf5b5cd4baa 08:02:21 Removing intermediate container dcf5b5cd4baa 08:02:21 ---> de26fcdf4a08 08:02:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:02:21 ---> Running in 8d600a9f20f7 08:02:21 Removing intermediate container 8d600a9f20f7 08:02:21 ---> 6e34f5955574 08:02:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:02:21 ---> Running in 1a9dc769f7b6 08:02:21 Removing intermediate container 1a9dc769f7b6 08:02:21 ---> ac570e5271ab 08:02:21 Step 6/12 : WORKDIR /device-virtual-go 08:02:21 ---> Running in 17475f6c3be8 08:02:21 Removing intermediate container 17475f6c3be8 08:02:21 ---> 1ad9a9bf5315 08:02:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:02:21 ---> Running in a8cf86d57117 08:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:02:22 (1/4) Installing openssh-keygen (9.7_p1-r4) 08:02:22 (2/4) Installing libedit (20240517.3.1-r0) 08:02:22 (3/4) Installing openssh-client-common (9.7_p1-r4) 08:02:22 (4/4) Installing openssh-client-default (9.7_p1-r4) 08:02:22 Executing busybox-1.36.1-r29.trigger 08:02:22 OK: 250 MiB in 58 packages 08:02:22 Removing intermediate container a8cf86d57117 08:02:22 ---> 328c00fadc66 08:02:22 Step 8/12 : COPY go.mod vendor* ./ 08:02:22 ---> 809fd032ce9c 08:02:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:02:22 ---> Running in eb0e1f392d37 08:02:24 Still waiting to schedule task 08:02:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26996’ 08:03:01 Removing intermediate container eb0e1f392d37 08:03:01 ---> 8d96a71f91cd 08:03:01 Step 10/12 : COPY . . 08:03:02 ---> e55294c5c9a9 08:03:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:03:02 ---> Running in 654a59422bc6 08:03:02 Removing intermediate container 654a59422bc6 08:03:02 ---> 4936b0eeb846 08:03:02 Step 12/12 : RUN $MAKE 08:03:02 ---> Running in 2dd251598d12 08:03:02 noop 08:03:02 Removing intermediate container 2dd251598d12 08:03:02 ---> 62d0dde37d7d 08:03:02 Successfully built 62d0dde37d7d 08:03:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:03 + docker inspect -f . ci-base-image-x86_64 08:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:03:03 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:03:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:03:03 $ docker top e1771840fbeded18dc9d850cd6aec3bc9dcacce59f736f91087aed5c8c6dc31b -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:04 + go version 08:03:04 go version go1.23.2 linux/amd64 [Pipeline] } 08:03:04 $ docker stop --time=1 e1771840fbeded18dc9d850cd6aec3bc9dcacce59f736f91087aed5c8c6dc31b 08:03:05 $ docker rm -f --volumes e1771840fbeded18dc9d850cd6aec3bc9dcacce59f736f91087aed5c8c6dc31b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:05 + docker inspect -f . ci-base-image-x86_64 08:03:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:03:05 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:03:05 $ 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_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:03:06 $ docker top 60f6671ce5bf1bdea14b7379ff4b3ae2e972c7ff246a9903d186879415b4daa7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:06 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 08:03:06 + make test 08:03:06 go test ./... -coverprofile=coverage.out 08:03:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:03:30 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 08:03:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.4% of statements 08:03:38 go vet ./... 08:03:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:03:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:03:44 ./bin/test-attribution-txt.sh [Pipeline] echo 08:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:03:44 $ docker stop --time=1 60f6671ce5bf1bdea14b7379ff4b3ae2e972c7ff246a9903d186879415b4daa7 08:03:48 $ docker rm -f --volumes 60f6671ce5bf1bdea14b7379ff4b3ae2e972c7ff246a9903d186879415b4daa7 [Pipeline] // withDockerContainer [Pipeline] sh 08:03:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:03:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:03:49 + ls -al . 08:03:49 total 264 08:03:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:03 . 08:03:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:01 .. 08:03:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:03 .git 08:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:01 .github 08:03:49 -rw-rw-r-- 1 jenkins jenkins 272 Nov 19 08:01 .gitignore 08:03:49 -rw-rw-r-- 1 jenkins jenkins 199 Nov 19 08:01 .golangci.yml 08:03:49 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 08:02 .semver 08:03:49 -rw-rw-r-- 1 jenkins jenkins 18321 Nov 19 08:01 Attribution.txt 08:03:49 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 19 08:01 CHANGELOG.md 08:03:49 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 19 08:01 Dockerfile 08:03:49 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 08:01 GOVERNANCE.md 08:03:49 -rw-rw-r-- 1 jenkins jenkins 660 Nov 19 08:01 Jenkinsfile 08:03:49 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 19 08:01 LICENSE 08:03:49 -rw-rw-r-- 1 jenkins jenkins 2652 Nov 19 08:01 Makefile 08:03:49 -rw-rw-r-- 1 jenkins jenkins 623 Nov 19 08:01 OWNERS.md 08:03:49 -rw-rw-r-- 1 jenkins jenkins 4473 Nov 19 08:01 README.md 08:03:49 -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 08:02 VERSION 08:03:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 08:01 bin 08:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:01 cmd 08:03:49 -rw-r--r-- 1 jenkins jenkins 43316 Nov 19 08:03 coverage.out 08:03:49 -rw-rw-r-- 1 jenkins jenkins 6179 Nov 19 08:01 go.mod 08:03:49 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 19 08:01 go.sum 08:03:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:01 internal 08:03:49 -rw-rw-r-- 1 jenkins jenkins 235 Nov 19 08:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:50 + 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=0958a92fd6cf87aba84d220ca8c29fa54c7ca139 --label arch=amd64 --label version=4.0.0-dev.6 . 08:03:50 Sending build context to Docker daemon 37.77MB 08:03:50 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:03:50 Step 2/26 : FROM ${BASE} AS builder 08:03:50 ---> 62d0dde37d7d 08:03:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:03:50 ---> Running in 9aa51c6cc7a4 08:03:50 Removing intermediate container 9aa51c6cc7a4 08:03:50 ---> d68c1d8d3de1 08:03:50 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:03:50 ---> Running in 9e0a2c42ecd9 08:03:50 Removing intermediate container 9e0a2c42ecd9 08:03:50 ---> fe10f7d886f5 08:03:50 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:03:50 ---> Running in 871252e69fe9 08:03:50 Removing intermediate container 871252e69fe9 08:03:50 ---> a5d53a7d1ec8 08:03:50 Step 6/26 : WORKDIR /device-virtual-go 08:03:50 ---> Running in 8c9caf2abebc 08:03:50 Removing intermediate container 8c9caf2abebc 08:03:50 ---> eae770cf9fa8 08:03:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:03:50 ---> Running in 82fb2512c7eb 08:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:03:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:03:51 OK: 250 MiB in 58 packages 08:03:51 Removing intermediate container 82fb2512c7eb 08:03:51 ---> b182ae02add4 08:03:51 Step 8/26 : COPY go.mod vendor* ./ 08:03:51 ---> 7b7672c04158 08:03:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:51 ---> Running in 56460eec81ad 08:03:52 Removing intermediate container 56460eec81ad 08:03:52 ---> f22f47d2d6d8 08:03:52 Step 10/26 : COPY . . 08:03:53 ---> e328aa06e3da 08:03:53 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:03:53 ---> Running in bb1a988cfac0 08:03:53 Removing intermediate container bb1a988cfac0 08:03:53 ---> 3e9069c7054d 08:03:53 Step 12/26 : RUN $MAKE 08:03:53 ---> Running in 2a597dfb8e5d 08:03:53 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 08:04:33 Removing intermediate container 2a597dfb8e5d 08:04:33 ---> 13b9d5fa57e0 08:04:33 Step 13/26 : FROM alpine:3.20 08:04:33 3.20: Pulling from library/alpine 08:04:33 da9db072f522: Pulling fs layer 08:04:33 da9db072f522: Verifying Checksum 08:04:33 da9db072f522: Download complete 08:04:33 da9db072f522: Pull complete 08:04:33 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 08:04:33 Status: Downloaded newer image for alpine:3.20 08:04:33 ---> 63b790fccc90 08:04:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:04:33 ---> Running in dd97f849c03f 08:04:33 Removing intermediate container dd97f849c03f 08:04:33 ---> cefe8daa0283 08:04:33 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:04:33 ---> Running in e43bbd80fc16 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:04:33 (1/1) Installing dumb-init (1.2.5-r3) 08:04:33 Executing busybox-1.36.1-r29.trigger 08:04:33 OK: 8 MiB in 15 packages 08:04:33 Removing intermediate container e43bbd80fc16 08:04:33 ---> 1f8cbda3fd93 08:04:33 Step 16/26 : RUN apk --no-cache upgrade 08:04:33 ---> Running in ef33efb1166f 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:04:33 Upgrading critical system libraries and apk-tools: 08:04:33 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:04:33 Executing busybox-1.36.1-r29.trigger 08:04:33 Continuing the upgrade transaction with new apk-tools: 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:04:33 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 08:04:33 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 08:04:33 OK: 8 MiB in 15 packages 08:04:33 Removing intermediate container ef33efb1166f 08:04:33 ---> dfbdafb30eb2 08:04:33 Step 17/26 : WORKDIR / 08:04:33 ---> Running in e4b4c9a308e7 08:04:33 Removing intermediate container e4b4c9a308e7 08:04:33 ---> 3a37f0d016a0 08:04:33 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:04:33 ---> dc45c108b167 08:04:33 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:04:33 ---> cb9b6e7e05e1 08:04:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:04:33 ---> b362f1c28689 08:04:33 Step 21/26 : EXPOSE 59900 08:04:33 ---> Running in ef1b8d022daf 08:04:33 Removing intermediate container ef1b8d022daf 08:04:33 ---> adc815aa431d 08:04:33 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:04:33 ---> Running in ce7a0cdda2e2 08:04:33 Removing intermediate container ce7a0cdda2e2 08:04:33 ---> db8cfd1503bd 08:04:33 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:04:33 ---> Running in 6fec96292fdb 08:04:33 Removing intermediate container 6fec96292fdb 08:04:33 ---> f75c5bf1c391 08:04:33 Step 24/26 : LABEL arch=amd64 08:04:33 ---> Running in 91a3ba681bb7 08:04:33 Removing intermediate container 91a3ba681bb7 08:04:33 ---> 2d1f001741b2 08:04:33 Step 25/26 : LABEL git_sha=0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:04:33 ---> Running in 12761a7b6dd3 08:04:33 Removing intermediate container 12761a7b6dd3 08:04:33 ---> 5a8403f2d0fe 08:04:33 Step 26/26 : LABEL version=4.0.0-dev.6 08:04:33 ---> Running in c24ab4e90bea 08:04:33 Removing intermediate container c24ab4e90bea 08:04:33 ---> c1d64326333e 08:04:33 [Warning] One or more build-args [ARCH] were not consumed 08:04:33 Successfully built c1d64326333e 08:04:33 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:33 provisioning config files... 08:04:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11589622711931563978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:33 ---> ****-login.sh 08:04:33 nexus3.edgexfoundry.org:10001 08:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:33 Configure a credential helper to remove this warning. See 08:04:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:33 08:04:33 Login Succeeded 08:04:33 nexus3.edgexfoundry.org:10002 08:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:33 Configure a credential helper to remove this warning. See 08:04:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:33 08:04:33 Login Succeeded 08:04:33 nexus3.edgexfoundry.org:10003 08:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:34 Configure a credential helper to remove this warning. See 08:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:34 08:04:34 Login Succeeded 08:04:34 nexus3.edgexfoundry.org:10004 08:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:34 Configure a credential helper to remove this warning. See 08:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:34 08:04:34 Login Succeeded 08:04:34 ****.io 08:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:34 Configure a credential helper to remove this warning. See 08:04:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:34 08:04:34 Login Succeeded 08:04:34 ---> ****-login.sh ends [Pipeline] } 08:04:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:04:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:04:34 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:04:34 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:04:34 latest 08:04:34 4.0.0-dev.6 08:04:34 0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 08:04:34 main 08:04:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:04:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:04:35 51f2c6d72c1a: Preparing 08:04:35 76ccd616fe33: Preparing 08:04:35 819cd758f288: Preparing 08:04:35 f465cbbe11ef: Preparing 08:04:35 6fe12ecb7265: Preparing 08:04:35 75654b8eeebd: Preparing 08:04:35 75654b8eeebd: Waiting 08:04:35 6fe12ecb7265: Pushed 08:04:35 76ccd616fe33: Pushed 08:04:35 819cd758f288: Pushed 08:04:35 75654b8eeebd: Layer already exists 08:04:35 f465cbbe11ef: Pushed 08:04:38 51f2c6d72c1a: Pushed 08:04:38 0958a92fd6cf87aba84d220ca8c29fa54c7ca139: digest: sha256:ab1c8c4897eb6bb3d9a36a9e08ffc7e0232b9bbeed178ff544f47d0ec6714fd0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:04:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:04:39 51f2c6d72c1a: Preparing 08:04:39 76ccd616fe33: Preparing 08:04:39 819cd758f288: Preparing 08:04:39 f465cbbe11ef: Preparing 08:04:39 6fe12ecb7265: Preparing 08:04:39 75654b8eeebd: Preparing 08:04:39 75654b8eeebd: Waiting 08:04:39 f465cbbe11ef: Layer already exists 08:04:39 819cd758f288: Layer already exists 08:04:39 51f2c6d72c1a: Layer already exists 08:04:39 76ccd616fe33: Layer already exists 08:04:39 6fe12ecb7265: Layer already exists 08:04:39 75654b8eeebd: Layer already exists 08:04:39 latest: digest: sha256:ab1c8c4897eb6bb3d9a36a9e08ffc7e0232b9bbeed178ff544f47d0ec6714fd0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.6 08:04:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:04:39 51f2c6d72c1a: Preparing 08:04:39 76ccd616fe33: Preparing 08:04:39 819cd758f288: Preparing 08:04:39 f465cbbe11ef: Preparing 08:04:39 6fe12ecb7265: Preparing 08:04:39 75654b8eeebd: Preparing 08:04:39 75654b8eeebd: Waiting 08:04:39 51f2c6d72c1a: Layer already exists 08:04:39 6fe12ecb7265: Layer already exists 08:04:39 f465cbbe11ef: Layer already exists 08:04:39 76ccd616fe33: Layer already exists 08:04:39 819cd758f288: Layer already exists 08:04:39 75654b8eeebd: Layer already exists 08:04:39 4.0.0-dev.6: digest: sha256:ab1c8c4897eb6bb3d9a36a9e08ffc7e0232b9bbeed178ff544f47d0ec6714fd0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 08:04:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:04:40 51f2c6d72c1a: Preparing 08:04:40 76ccd616fe33: Preparing 08:04:40 819cd758f288: Preparing 08:04:40 f465cbbe11ef: Preparing 08:04:40 6fe12ecb7265: Preparing 08:04:40 75654b8eeebd: Preparing 08:04:40 75654b8eeebd: Waiting 08:04:40 51f2c6d72c1a: Layer already exists 08:04:40 819cd758f288: Layer already exists 08:04:40 76ccd616fe33: Layer already exists 08:04:40 f465cbbe11ef: Layer already exists 08:04:40 6fe12ecb7265: Layer already exists 08:04:40 75654b8eeebd: Layer already exists 08:04:40 0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6: digest: sha256:ab1c8c4897eb6bb3d9a36a9e08ffc7e0232b9bbeed178ff544f47d0ec6714fd0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 08:04:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:04:41 51f2c6d72c1a: Preparing 08:04:41 76ccd616fe33: Preparing 08:04:41 819cd758f288: Preparing 08:04:41 f465cbbe11ef: Preparing 08:04:41 6fe12ecb7265: Preparing 08:04:41 75654b8eeebd: Preparing 08:04:41 75654b8eeebd: Waiting 08:04:41 51f2c6d72c1a: Layer already exists 08:04:41 819cd758f288: Layer already exists 08:04:41 f465cbbe11ef: Layer already exists 08:04:41 6fe12ecb7265: Layer already exists 08:04:41 76ccd616fe33: Layer already exists 08:04:41 75654b8eeebd: Layer already exists 08:04:41 main: digest: sha256:ab1c8c4897eb6bb3d9a36a9e08ffc7e0232b9bbeed178ff544f47d0ec6714fd0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:04:41 ===================================================== [Pipeline] echo 08:04:41 taggedImages: 08:04:41 - nexus3.edgexfoundry.org:10004/device-virtual:0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:04:41 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:04:41 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.6 08:04:41 - nexus3.edgexfoundry.org:10004/device-virtual:0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 08:04:41 - nexus3.edgexfoundry.org:10004/device-virtual:main [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 08:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:41 08:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:41 latest: Pulling from edgex-lftools-log-publisher 08:04:41 5eb5b503b376: Pulling fs layer 08:04:41 5c69ac0246d0: Pulling fs layer 08:04:41 ec43610c2a17: Pulling fs layer 08:04:41 3a2ae6a8a46f: Pulling fs layer 08:04:41 33b1e0a273af: Pulling fs layer 08:04:41 5d3b04190fa2: Pulling fs layer 08:04:41 2f39f015ded8: Pulling fs layer 08:04:41 33b1e0a273af: Waiting 08:04:41 5d3b04190fa2: Waiting 08:04:41 2f39f015ded8: Waiting 08:04:41 3a2ae6a8a46f: Waiting 08:04:41 5c69ac0246d0: Verifying Checksum 08:04:41 5c69ac0246d0: Download complete 08:04:41 3a2ae6a8a46f: Verifying Checksum 08:04:41 3a2ae6a8a46f: Download complete 08:04:41 33b1e0a273af: Verifying Checksum 08:04:41 5d3b04190fa2: Verifying Checksum 08:04:41 5d3b04190fa2: Download complete 08:04:41 ec43610c2a17: Verifying Checksum 08:04:41 ec43610c2a17: Download complete 08:04:42 5eb5b503b376: Verifying Checksum 08:04:42 5eb5b503b376: Download complete 08:04:42 2f39f015ded8: Download complete 08:04:43 5eb5b503b376: Pull complete 08:04:43 5c69ac0246d0: Pull complete 08:04:43 ec43610c2a17: Pull complete 08:04:44 3a2ae6a8a46f: Pull complete 08:04:44 33b1e0a273af: Pull complete 08:04:44 5d3b04190fa2: Pull complete 08:04:49 2f39f015ded8: Pull complete 08:04:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:49 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:04: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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:04:53 $ docker top 2a0940e97bbce65dc0d8be530dc316eab61d6f9cfe810309a535b71b3456cb73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:54 ---> job-cost.sh 08:04:54 lf-activate-venv: SKIPPING 08:04:54 INFO: No Stack... 08:04:54 INFO: Retrieving Pricing Info for: v3-standard-8 08:04:54 INFO: Archiving Costs [Pipeline] sh 08:04:54 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 08:04:54 + cut -d, -f6 [Pipeline] lock 08:04:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] 08:04:54 Resource [jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] did not exist. Created. 08:04:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:04:55 + echo total: 0.2199999988079071 [Pipeline] stash 08:04:55 Stashed 1 file(s) [Pipeline] } 08:04:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] [Pipeline] // lock [Pipeline] } 08:04:55 $ docker stop --time=1 2a0940e97bbce65dc0d8be530dc316eab61d6f9cfe810309a535b71b3456cb73 08:04:56 $ docker rm -f --volumes 2a0940e97bbce65dc0d8be530dc316eab61d6f9cfe810309a535b71b3456cb73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:05:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27001 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:05:04 Running in /w/workspace/device-virtual-go/190 [Pipeline] { [Pipeline] checkout 08:05:07 The recommended git tool is: git 08:05:22 using credential edgex-jenkins-ssh 08:05:22 Cloning the remote Git repository 08:05:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:05:22 > git init /w/workspace/device-virtual-go/190 # timeout=10 08:05:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:05:22 > git --version # timeout=10 08:05:22 > git --version # 'git version 2.25.1' 08:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:05:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:05:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:05:29 Avoid second fetch 08:05:29 Checking out Revision 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 (main) 08:05:29 > git config core.sparsecheckout # timeout=10 08:05:29 > git checkout -f 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 # timeout=10 08:05:30 Commit message: "Merge pull request #506 from judehung/issue-789-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:05:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:05:35 % Total % Received % Xferd Average Speed Time Time Time Current 08:05:35 Dload Upload Total Spent Left Speed 08:05:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 73302 0 --:--:-- --:--:-- --:--:-- 73724 [Pipeline] sh 08:05:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:05:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:05:35 + sudo tee /etc/docker/daemon.new 08:05:35 { 08:05:35 "registry-mirrors": [ 08:05:35 "https://nexus3.edgexfoundry.org:10001" 08:05:35 ], 08:05:35 "bip": "10.250.0.254/24", 08:05:35 "hosts": [ 08:05:35 "tcp://0.0.0.0:5555", 08:05:35 "unix:///var/run/docker.sock" 08:05:35 ], 08:05:35 "mtu": 1458, 08:05:35 "selinux-enabled": true, 08:05:35 "seccomp-profile": "/etc/docker/seccomp.json" 08:05:35 } [Pipeline] sh 08:05:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:05:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:54 provisioning config files... 08:05:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/190@tmp/config12149103888964987741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:55 ---> ****-login.sh 08:05:55 nexus3.edgexfoundry.org:10001 08:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:56 Configure a credential helper to remove this warning. See 08:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:56 08:05:56 Login Succeeded 08:05:56 nexus3.edgexfoundry.org:10002 08:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:56 Configure a credential helper to remove this warning. See 08:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:56 08:05:56 Login Succeeded 08:05:56 nexus3.edgexfoundry.org:10003 08:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:56 Configure a credential helper to remove this warning. See 08:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:56 08:05:56 Login Succeeded 08:05:56 nexus3.edgexfoundry.org:10004 08:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:57 Configure a credential helper to remove this warning. See 08:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:57 08:05:57 Login Succeeded 08:05:57 ****.io 08:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:57 Configure a credential helper to remove this warning. See 08:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:57 08:05:57 Login Succeeded 08:05:57 ---> ****-login.sh ends [Pipeline] } 08:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:05:58 ========================================================= 08:05:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:05:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 08:05:58 Sending build context to Docker daemon 19.05MB 08:05:58 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:05:58 Step 2/12 : FROM ${BASE} AS builder 08:05:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:05:59 cf04c63912e1: Pulling fs layer 08:05:59 55b35a11ae5e: Pulling fs layer 08:05:59 a37a00ec5f00: Pulling fs layer 08:05:59 50b3750afda1: Pulling fs layer 08:05:59 4f4fb700ef54: Pulling fs layer 08:05:59 80978eb59214: Pulling fs layer 08:05:59 c9f46d7d2bd2: Pulling fs layer 08:05:59 c5a475d317c9: Pulling fs layer 08:05:59 80978eb59214: Waiting 08:05:59 c9f46d7d2bd2: Waiting 08:05:59 c5a475d317c9: Waiting 08:05:59 50b3750afda1: Waiting 08:05:59 4f4fb700ef54: Waiting 08:05:59 55b35a11ae5e: Download complete 08:05:59 50b3750afda1: Verifying Checksum 08:05:59 50b3750afda1: Download complete 08:05:59 4f4fb700ef54: Verifying Checksum 08:05:59 4f4fb700ef54: Download complete 08:05:59 cf04c63912e1: Download complete 08:05:59 80978eb59214: Verifying Checksum 08:05:59 80978eb59214: Download complete 08:05:59 c5a475d317c9: Verifying Checksum 08:05:59 c5a475d317c9: Download complete 08:06:00 cf04c63912e1: Pull complete 08:06:00 55b35a11ae5e: Pull complete 08:06:01 a37a00ec5f00: Verifying Checksum 08:06:01 a37a00ec5f00: Download complete 08:06:02 c9f46d7d2bd2: Verifying Checksum 08:06:02 c9f46d7d2bd2: Download complete 08:06:17 a37a00ec5f00: Pull complete 08:06:17 50b3750afda1: Pull complete 08:06:17 4f4fb700ef54: Pull complete 08:06:17 80978eb59214: Pull complete 08:06:27 c9f46d7d2bd2: Pull complete 08:06:27 c5a475d317c9: Pull complete 08:06:27 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:06:27 ---> be29e6b0f0d4 08:06:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:06:28 ---> Running in 6aa1315fd28d 08:06:28 Removing intermediate container 6aa1315fd28d 08:06:28 ---> 97ef44a9da8e 08:06:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:06:28 ---> Running in a27db4eba06f 08:06:29 Removing intermediate container a27db4eba06f 08:06:29 ---> 57e94a939ddd 08:06:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:06:29 ---> Running in a7e36ac69686 08:06:29 Removing intermediate container a7e36ac69686 08:06:29 ---> 8f1927a2aa78 08:06:29 Step 6/12 : WORKDIR /device-virtual-go 08:06:29 ---> Running in 21d302909552 08:06:29 Removing intermediate container 21d302909552 08:06:29 ---> 1285890b6076 08:06:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:06:30 ---> Running in b438af1d7517 08:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:06:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:06:33 (1/4) Installing openssh-keygen (9.7_p1-r4) 08:06:33 (2/4) Installing libedit (20240517.3.1-r0) 08:06:33 (3/4) Installing openssh-client-common (9.7_p1-r4) 08:06:33 (4/4) Installing openssh-client-default (9.7_p1-r4) 08:06:33 Executing busybox-1.36.1-r29.trigger 08:06:33 OK: 242 MiB in 58 packages 08:06:34 Removing intermediate container b438af1d7517 08:06:34 ---> adea749186ae 08:06:34 Step 8/12 : COPY go.mod vendor* ./ 08:06:34 ---> 97e53d33f7a8 08:06:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:06:34 ---> Running in efdf8e0387a1 08:08:41 Removing intermediate container efdf8e0387a1 08:08:41 ---> 9e913fa5adc0 08:08:41 Step 10/12 : COPY . . 08:08:41 ---> 1477dbb73821 08:08:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:08:41 ---> Running in 0354805774e4 08:08:41 Removing intermediate container 0354805774e4 08:08:41 ---> c895f8129f12 08:08:41 Step 12/12 : RUN $MAKE 08:08:41 ---> Running in cf2e06e992ad 08:08:41 noop 08:08:41 Removing intermediate container cf2e06e992ad 08:08:41 ---> 6f13294df7df 08:08:41 Successfully built 6f13294df7df 08:08:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:42 + docker inspect -f . ci-base-image-arm64 08:08:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:42 prd-ubuntu20.04-docker-arm64-4c-16g-27001 does not seem to be running inside a container 08:08:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/190 -v /w/workspace/device-virtual-go/190:/w/workspace/device-virtual-go/190:rw,z -v /w/workspace/device-virtual-go/190@tmp:/w/workspace/device-virtual-go/190@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 08:08:45 $ docker top 9c8c16f4066a70923629d5f38a1787512d3e526c13d5783c05107612b9678d05 -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:46 + go version 08:08:46 go version go1.23.2 linux/arm64 [Pipeline] } 08:08:46 $ docker stop --time=1 9c8c16f4066a70923629d5f38a1787512d3e526c13d5783c05107612b9678d05 08:08:47 $ docker rm -f --volumes 9c8c16f4066a70923629d5f38a1787512d3e526c13d5783c05107612b9678d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:48 + docker inspect -f . ci-base-image-arm64 08:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:48 prd-ubuntu20.04-docker-arm64-4c-16g-27001 does not seem to be running inside a container 08:08:48 $ 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/190 -v /w/workspace/device-virtual-go/190:/w/workspace/device-virtual-go/190:rw,z -v /w/workspace/device-virtual-go/190@tmp:/w/workspace/device-virtual-go/190@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 08:08:50 $ docker top f3b23e2c45d6ff349383de8dddcc460411727aa05428f03dbcac64166675de89 -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:50 + git config --global --add safe.directory /w/workspace/device-virtual-go/190 [Pipeline] fileExists [Pipeline] sh 08:08:51 + make test 08:08:51 go test ./... -coverprofile=coverage.out 08:08:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:12:36 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 08:12:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.070s coverage: 58.3% of statements 08:12:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:12:36 go vet ./... 08:13:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:13:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:13:25 ./bin/test-attribution-txt.sh [Pipeline] echo 08:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:13:25 $ docker stop --time=1 f3b23e2c45d6ff349383de8dddcc460411727aa05428f03dbcac64166675de89 08:13:27 $ docker rm -f --volumes f3b23e2c45d6ff349383de8dddcc460411727aa05428f03dbcac64166675de89 [Pipeline] // withDockerContainer [Pipeline] sh 08:13:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:13:28 Warning: overwriting stash ‘coverage-report’ 08:13:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:13:30 + ls -al . 08:13:30 total 260 08:13:30 drwxrwxr-x 7 jenkins jenkins 4096 Nov 19 08:08 . 08:13:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:05 .. 08:13:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:05 .git 08:13:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:05 .github 08:13:30 -rw-rw-r-- 1 jenkins jenkins 272 Nov 19 08:05 .gitignore 08:13:30 -rw-rw-r-- 1 jenkins jenkins 199 Nov 19 08:05 .golangci.yml 08:13:30 -rw-rw-r-- 1 jenkins jenkins 18321 Nov 19 08:05 Attribution.txt 08:13:30 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 19 08:05 CHANGELOG.md 08:13:30 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 19 08:05 Dockerfile 08:13:30 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 08:05 GOVERNANCE.md 08:13:30 -rw-rw-r-- 1 jenkins jenkins 660 Nov 19 08:05 Jenkinsfile 08:13:30 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 19 08:05 LICENSE 08:13:30 -rw-rw-r-- 1 jenkins jenkins 2652 Nov 19 08:05 Makefile 08:13:30 -rw-rw-r-- 1 jenkins jenkins 623 Nov 19 08:05 OWNERS.md 08:13:30 -rw-rw-r-- 1 jenkins jenkins 4473 Nov 19 08:05 README.md 08:13:30 -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 08:02 VERSION 08:13:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 08:05 bin 08:13:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:05 cmd 08:13:30 -rw-r--r-- 1 jenkins jenkins 43316 Nov 19 08:12 coverage.out 08:13:30 -rw-rw-r-- 1 jenkins jenkins 6179 Nov 19 08:05 go.mod 08:13:30 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 19 08:05 go.sum 08:13:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:05 internal 08:13:30 -rw-rw-r-- 1 jenkins jenkins 235 Nov 19 08:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:30 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0958a92fd6cf87aba84d220ca8c29fa54c7ca139 --label arch=arm64 --label version=4.0.0-dev.6 . 08:13:31 Sending build context to Docker daemon 19.09MB 08:13:31 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:13:31 Step 2/26 : FROM ${BASE} AS builder 08:13:31 ---> 6f13294df7df 08:13:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:13:31 ---> Running in 50aeeb1aec81 08:13:31 Removing intermediate container 50aeeb1aec81 08:13:31 ---> 7217e7f8f84d 08:13:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:13:32 ---> Running in 99349036e6c2 08:13:32 Removing intermediate container 99349036e6c2 08:13:32 ---> 88c7b196627f 08:13:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:13:32 ---> Running in 0267927b61ef 08:13:32 Removing intermediate container 0267927b61ef 08:13:32 ---> 985122a52909 08:13:32 Step 6/26 : WORKDIR /device-virtual-go 08:13:32 ---> Running in 298ea0e6310d 08:13:33 Removing intermediate container 298ea0e6310d 08:13:33 ---> 29530c73dea4 08:13:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:13:33 ---> Running in 2975415f0b98 08:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:13:36 OK: 242 MiB in 58 packages 08:13:37 Removing intermediate container 2975415f0b98 08:13:37 ---> 83636f42fb15 08:13:37 Step 8/26 : COPY go.mod vendor* ./ 08:13:37 ---> e280c62cf66d 08:13:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:13:37 ---> Running in 9ed49a05e31e 08:13:40 Removing intermediate container 9ed49a05e31e 08:13:40 ---> 1aaaa714af87 08:13:40 Step 10/26 : COPY . . 08:13:42 ---> d49546206e43 08:13:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:13:42 ---> Running in e66a4230b325 08:13:42 Removing intermediate container e66a4230b325 08:13:42 ---> e20c4806029a 08:13:42 Step 12/26 : RUN $MAKE 08:13:42 ---> Running in 034bdf7bb744 08:13:43 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 08:17:20 Removing intermediate container 034bdf7bb744 08:17:20 ---> 04d1726687e0 08:17:20 Step 13/26 : FROM alpine:3.20 08:17:20 3.20: Pulling from library/alpine 08:17:20 9986a736f7d3: Pulling fs layer 08:17:20 9986a736f7d3: Verifying Checksum 08:17:20 9986a736f7d3: Download complete 08:17:20 9986a736f7d3: Pull complete 08:17:20 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 08:17:20 Status: Downloaded newer image for alpine:3.20 08:17:20 ---> 511a44083d3a 08:17:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:17:20 ---> Running in 345bfbe7ba14 08:17:20 Removing intermediate container 345bfbe7ba14 08:17:20 ---> 188cae99d662 08:17:20 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:17:20 ---> Running in 67ab7cc31d75 08:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:17:24 (1/1) Installing dumb-init (1.2.5-r3) 08:17:24 Executing busybox-1.36.1-r29.trigger 08:17:24 OK: 9 MiB in 15 packages 08:17:25 Removing intermediate container 67ab7cc31d75 08:17:25 ---> 324cfdd3e017 08:17:25 Step 16/26 : RUN apk --no-cache upgrade 08:17:25 ---> Running in 613f28b226c8 08:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:17:28 Upgrading critical system libraries and apk-tools: 08:17:28 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:17:28 Executing busybox-1.36.1-r29.trigger 08:17:28 Continuing the upgrade transaction with new apk-tools: 08:17:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:17:30 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 08:17:30 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 08:17:30 OK: 9 MiB in 15 packages 08:17:31 Removing intermediate container 613f28b226c8 08:17:31 ---> f2a56a7047a3 08:17:31 Step 17/26 : WORKDIR / 08:17:32 ---> Running in f444e1c38bb7 08:17:32 Removing intermediate container f444e1c38bb7 08:17:32 ---> 7cfb3f4484b0 08:17:32 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:17:32 ---> fb3104199793 08:17:32 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:17:33 ---> aacb1e99c93e 08:17:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:17:35 ---> 89659d9e14d9 08:17:35 Step 21/26 : EXPOSE 59900 08:17:35 ---> Running in 88d30b1451a0 08:17:35 Removing intermediate container 88d30b1451a0 08:17:35 ---> a0c2ca7d956d 08:17:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:17:35 ---> Running in 7ba1547c9c73 08:17:36 Removing intermediate container 7ba1547c9c73 08:17:36 ---> a441a7b09c5c 08:17:36 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:17:36 ---> Running in 69bb6381e8a3 08:17:36 Removing intermediate container 69bb6381e8a3 08:17:36 ---> ea1e31b6c817 08:17:36 Step 24/26 : LABEL arch=arm64 08:17:36 ---> Running in e94cd204a6e7 08:17:36 Removing intermediate container e94cd204a6e7 08:17:36 ---> 567258ae79aa 08:17:36 Step 25/26 : LABEL git_sha=0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:17:37 ---> Running in 6dfa5fbb3b6e 08:17:37 Removing intermediate container 6dfa5fbb3b6e 08:17:37 ---> 080baac6f5d1 08:17:37 Step 26/26 : LABEL version=4.0.0-dev.6 08:17:37 ---> Running in 859d94e123e2 08:17:37 Removing intermediate container 859d94e123e2 08:17:37 ---> 5b5538fdb88f 08:17:37 [Warning] One or more build-args [ARCH] were not consumed 08:17:37 Successfully built 5b5538fdb88f 08:17:37 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 08:17:38 provisioning config files... 08:17:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/190@tmp/config9459916941017907769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:38 ---> ****-login.sh 08:17:38 nexus3.edgexfoundry.org:10001 08:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:17:38 Configure a credential helper to remove this warning. See 08:17:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:17:38 08:17:38 Login Succeeded 08:17:38 nexus3.edgexfoundry.org:10002 08:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:17:39 Configure a credential helper to remove this warning. See 08:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:17:39 08:17:39 Login Succeeded 08:17:39 nexus3.edgexfoundry.org:10003 08:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:17:39 Configure a credential helper to remove this warning. See 08:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:17:39 08:17:39 Login Succeeded 08:17:39 nexus3.edgexfoundry.org:10004 08:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:17:39 Configure a credential helper to remove this warning. See 08:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:17:39 08:17:39 Login Succeeded 08:17:39 ****.io 08:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:17:40 Configure a credential helper to remove this warning. See 08:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:17:40 08:17:40 Login Succeeded 08:17:40 ---> ****-login.sh ends [Pipeline] } 08:17:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:17:40 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 08:17:40 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:17:40 latest 08:17:40 4.0.0-dev.6 08:17:40 0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 08:17:40 main 08:17:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:17:41 8725af29102c: Preparing 08:17:41 e98c4a1b64cd: Preparing 08:17:41 b4ecd5150f1b: Preparing 08:17:41 0f044a54a012: Preparing 08:17:41 45fad109bafa: Preparing 08:17:41 651d9022c234: Preparing 08:17:41 651d9022c234: Waiting 08:17:41 e98c4a1b64cd: Pushed 08:17:41 45fad109bafa: Pushed 08:17:41 b4ecd5150f1b: Pushed 08:17:41 651d9022c234: Layer already exists 08:17:43 0f044a54a012: Pushed 08:17:47 8725af29102c: Pushed 08:17:47 0958a92fd6cf87aba84d220ca8c29fa54c7ca139: digest: sha256:679aac3c0557c2c4b81bbb6ca541089728e98e0e35dcf3b006c96fe61f5476bf size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:17:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:17:48 8725af29102c: Preparing 08:17:48 e98c4a1b64cd: Preparing 08:17:48 b4ecd5150f1b: Preparing 08:17:48 0f044a54a012: Preparing 08:17:48 45fad109bafa: Preparing 08:17:48 651d9022c234: Preparing 08:17:48 651d9022c234: Waiting 08:17:48 b4ecd5150f1b: Layer already exists 08:17:48 e98c4a1b64cd: Layer already exists 08:17:48 45fad109bafa: Layer already exists 08:17:48 8725af29102c: Layer already exists 08:17:48 0f044a54a012: Layer already exists 08:17:48 651d9022c234: Layer already exists 08:17:48 latest: digest: sha256:679aac3c0557c2c4b81bbb6ca541089728e98e0e35dcf3b006c96fe61f5476bf size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.6 08:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:17:49 8725af29102c: Preparing 08:17:49 e98c4a1b64cd: Preparing 08:17:49 b4ecd5150f1b: Preparing 08:17:49 0f044a54a012: Preparing 08:17:49 45fad109bafa: Preparing 08:17:49 651d9022c234: Preparing 08:17:49 651d9022c234: Waiting 08:17:49 b4ecd5150f1b: Layer already exists 08:17:49 0f044a54a012: Layer already exists 08:17:49 e98c4a1b64cd: Layer already exists 08:17:49 8725af29102c: Layer already exists 08:17:49 45fad109bafa: Layer already exists 08:17:49 651d9022c234: Layer already exists 08:17:49 4.0.0-dev.6: digest: sha256:679aac3c0557c2c4b81bbb6ca541089728e98e0e35dcf3b006c96fe61f5476bf size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 08:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:17:50 8725af29102c: Preparing 08:17:50 e98c4a1b64cd: Preparing 08:17:50 b4ecd5150f1b: Preparing 08:17:50 0f044a54a012: Preparing 08:17:50 45fad109bafa: Preparing 08:17:50 651d9022c234: Preparing 08:17:50 651d9022c234: Waiting 08:17:50 b4ecd5150f1b: Layer already exists 08:17:50 0f044a54a012: Layer already exists 08:17:50 45fad109bafa: Layer already exists 08:17:50 8725af29102c: Layer already exists 08:17:50 e98c4a1b64cd: Layer already exists 08:17:50 651d9022c234: Layer already exists 08:17:50 0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6: digest: sha256:679aac3c0557c2c4b81bbb6ca541089728e98e0e35dcf3b006c96fe61f5476bf size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 08:17:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:17:51 8725af29102c: Preparing 08:17:51 e98c4a1b64cd: Preparing 08:17:51 b4ecd5150f1b: Preparing 08:17:51 0f044a54a012: Preparing 08:17:51 45fad109bafa: Preparing 08:17:51 651d9022c234: Preparing 08:17:51 b4ecd5150f1b: Layer already exists 08:17:51 45fad109bafa: Layer already exists 08:17:51 0f044a54a012: Layer already exists 08:17:51 e98c4a1b64cd: Layer already exists 08:17:51 8725af29102c: Layer already exists 08:17:51 651d9022c234: Layer already exists 08:17:51 main: digest: sha256:679aac3c0557c2c4b81bbb6ca541089728e98e0e35dcf3b006c96fe61f5476bf size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:17:51 ===================================================== [Pipeline] echo 08:17:51 taggedImages: 08:17:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0958a92fd6cf87aba84d220ca8c29fa54c7ca139 08:17:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:17:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.6 08:17:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0958a92fd6cf87aba84d220ca8c29fa54c7ca139-4.0.0-dev.6 08:17:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:52 08:17:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:53 arm64: Pulling from edgex-lftools-log-publisher 08:17:53 8998bd30e6a1: Pulling fs layer 08:17:53 04944245beec: Pulling fs layer 08:17:53 699f458cf7ca: Pulling fs layer 08:17:53 765212b225bb: Pulling fs layer 08:17:53 f23df028b6ca: Pulling fs layer 08:17:53 d65c8cfc05b1: Pulling fs layer 08:17:53 2437ff75d9bd: Pulling fs layer 08:17:53 f23df028b6ca: Waiting 08:17:53 d65c8cfc05b1: Waiting 08:17:53 2437ff75d9bd: Waiting 08:17:53 765212b225bb: Waiting 08:17:53 04944245beec: Verifying Checksum 08:17:53 04944245beec: Download complete 08:17:53 765212b225bb: Verifying Checksum 08:17:53 765212b225bb: Download complete 08:17:53 f23df028b6ca: Verifying Checksum 08:17:53 f23df028b6ca: Download complete 08:17:53 d65c8cfc05b1: Verifying Checksum 08:17:53 d65c8cfc05b1: Download complete 08:17:53 699f458cf7ca: Verifying Checksum 08:17:53 699f458cf7ca: Download complete 08:17:54 8998bd30e6a1: Verifying Checksum 08:17:54 8998bd30e6a1: Download complete 08:17:56 2437ff75d9bd: Verifying Checksum 08:17:56 2437ff75d9bd: Download complete 08:17:58 8998bd30e6a1: Pull complete 08:17:59 04944245beec: Pull complete 08:18:01 699f458cf7ca: Pull complete 08:18:01 765212b225bb: Pull complete 08:18:02 f23df028b6ca: Pull complete 08:18:02 d65c8cfc05b1: Pull complete 08:18:20 2437ff75d9bd: Pull complete 08:18:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:18:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:21 prd-ubuntu20.04-docker-arm64-4c-16g-27001 does not seem to be running inside a container 08:18:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/190 -v /w/workspace/device-virtual-go/190:/w/workspace/device-virtual-go/190:rw,z -v /w/workspace/device-virtual-go/190@tmp:/w/workspace/device-virtual-go/190@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 08:18:24 $ docker top 2544560432f96e83b0f4854a0c2c4efc211daa3ef402a1f514ae22bcb65af6bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:25 ---> job-cost.sh 08:18:25 lf-activate-venv: SKIPPING 08:18:25 INFO: No Stack... 08:18:25 INFO: Retrieving Pricing Info for: v3-standard-4 08:18:26 INFO: Archiving Costs [Pipeline] sh 08:18:27 + cat /w/workspace/device-virtual-go/190/archives/cost.csv 08:18:27 + cut -d, -f6 [Pipeline] lock 08:18:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] 08:18:27 Resource [jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] did not exist. Created. 08:18:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:18:28 /w/workspace/device-virtual-go/190@tmp/durable-e63a8ad3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:18:28 + echo total: 0.10999999940395355 [Pipeline] stash 08:18:28 Warning: overwriting stash ‘stack-cost’ 08:18:28 Stashed 1 file(s) [Pipeline] } 08:18:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-190-stack-cost] [Pipeline] // lock [Pipeline] } 08:18:28 $ docker stop --time=1 2544560432f96e83b0f4854a0c2c4efc211daa3ef402a1f514ae22bcb65af6bb 08:18:30 $ docker rm -f --volumes 2544560432f96e83b0f4854a0c2c4efc211daa3ef402a1f514ae22bcb65af6bb [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 08:18:30 provisioning config files... 08:18:30 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15563971250591432019tmp [Pipeline] { [Pipeline] sh 08:18:31 + set +x 08:18:31 + curl -s https://codecov.io/bash 08:18:31 + bash -s -- 08:18:31 08:18:31 _____ _ 08:18:31 / ____| | | 08:18:31 | | ___ __| | ___ ___ _____ __ 08:18:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:18:31 | |___| (_) | (_| | __/ (_| (_) \ V / 08:18:31 \_____\___/ \__,_|\___|\___\___/ \_/ 08:18:31 Bash-1.0.6 08:18:31 08:18:31 08:18:31 ==> git version 2.25.1 found 08:18:31 ==> 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 08:18:31 Release-Date: 2020-01-08 08:18:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:18:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:18:31 ==> Jenkins CI detected. 08:18:31 current dir:  /w/workspace/exfoundry_device-virtual-go_main 08:18:31 project root: . 08:18:31 --> token set from env 08:18:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:18:31 ==> Running gcov in . (disable via -X gcov) 08:18:31 ==> Python coveragepy not found 08:18:31 ==> Searching for coverage reports in: 08:18:31 + . 08:18:31 -> Found 1 reports 08:18:31 ==> Detecting git/mercurial file structure 08:18:31 ==> Reading reports 08:18:31 + ./coverage.out bytes=43316 08:18:31 ==> Appending adjustments 08:18:31 https://docs.codecov.io/docs/fixing-reports 08:18:31 + Found adjustments 08:18:31 ==> Gzipping contents 08:18:31 8.0K /tmp/codecov.lU0g1R.gz 08:18:31 ==> Uploading reports 08:18:31 url: https://codecov.io 08:18:31 query: branch=main&commit=0958a92fd6cf87aba84d220ca8c29fa54c7ca139&build=190&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F190%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:18:31 -> Pinging Codecov 08:18:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0958a92fd6cf87aba84d220ca8c29fa54c7ca139&build=190&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F190%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:18:31 -> Uploading to 08:18:31 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/0958a92fd6cf87aba84d220ca8c29fa54c7ca139/22a82f23-86f9-421f-8153-a8e8749abc9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241119%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241119T081831Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2e1f8313ae4205f156112c3c15085e05af39c796f209ca405ed01fc7de69d728 08:18:31 % Total % Received % Xferd Average Speed Time Time Time Current 08:18:31 Dload Upload Total Spent Left Speed 08:18:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 21630 --:--:-- --:--:-- --:--:-- 21630 08:18:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] } 08:18:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:18:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:18:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:18:32 08:18:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:18:32 latest: Pulling from edgex-devops/edgex-snyk-go 08:18:32 43c4264eed91: Already exists 08:18:32 4cc291be95ef: Already exists 08:18:32 2ac1f1163629: Already exists 08:18:32 5c3c966382ef: Already exists 08:18:32 4f4fb700ef54: Already exists 08:18:32 d9c7d2e4e75e: Pulling fs layer 08:18:32 9c3e1370e548: Pulling fs layer 08:18:33 d9c7d2e4e75e: Verifying Checksum 08:18:33 d9c7d2e4e75e: Download complete 08:18:33 d9c7d2e4e75e: Pull complete 08:18:33 9c3e1370e548: Verifying Checksum 08:18:33 9c3e1370e548: Download complete 08:18:37 9c3e1370e548: Pull complete 08:18:37 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:18:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:37 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:18:37 $ 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_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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:latest cat 08:18:39 $ docker top 14a80cb48978783e9755e0c3fa2abb7433c017ee2cc7c28db80abb3067cfcd37 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:39 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 08:18:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 08:18:39 + set -o pipefail 08:18:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 08:18:48 08:18:48 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 08:18:48 08:18:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/e64b9322-ec0f-4224-a77d-9934a872a1a6 08:18:48 08:18:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:18:48 08:18:48 08:18:48 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:18:48 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:18:48 $ docker stop --time=1 14a80cb48978783e9755e0c3fa2abb7433c017ee2cc7c28db80abb3067cfcd37 08:18:52 $ docker rm -f --volumes 14a80cb48978783e9755e0c3fa2abb7433c017ee2cc7c28db80abb3067cfcd37 [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 08:18:53 + git log --format=format:%s -1 0958a92fd6cf87aba84d220ca8c29fa54c7ca139 [Pipeline] sh 08:18:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:18:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:18:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:54 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:18:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:18:55 $ docker top b72f2769353cb939855622100dbc8fa93f60eacf96000a219c6cbb7943483d5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:18:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:18:55 [ssh-agent] Looking for ssh-agent implementation... 08:18:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:18:55 $ docker exec b72f2769353cb939855622100dbc8fa93f60eacf96000a219c6cbb7943483d5e ssh-agent 08:18:55 SSH_AUTH_SOCK=/tmp/ssh-jAPH3lhMi3Dj/agent.33 08:18:55 SSH_AGENT_PID=39 08:18:55 Running ssh-add (command line suppressed) 08:18:55 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9818147770364188235.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9818147770364188235.key) 08:18:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:18:55 + git semver tag 08:18:56 2024-11-19 08:18:56,011 [run_tag] DEBUG tag force:False 08:18:56 2024-11-19 08:18:56,011 [check_head_tag] DEBUG check head tag 08:18:56 2024-11-19 08:18:56,012 [execute] INFO git cat-file --batch-check 08:18:56 2024-11-19 08:18:56,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:18:56 2024-11-19 08:18:56,016 [execute] INFO git cat-file --batch 08:18:56 2024-11-19 08:18:56,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:18:56 2024-11-19 08:18:56,037 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:18:56 2024-11-19 08:18:56,037 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 08:18:56 2024-11-19 08:18:56,037 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:18:56 2024-11-19 08:18:56,042 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:18:56 4.0.0-dev.6 [Pipeline] } 08:18:56 $ docker exec --env ******** --env ******** b72f2769353cb939855622100dbc8fa93f60eacf96000a219c6cbb7943483d5e ssh-agent -k 08:18:56 unset SSH_AUTH_SOCK; 08:18:56 unset SSH_AGENT_PID; 08:18:56 echo Agent pid 39 killed; 08:18:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:18:56 + git semver [Pipeline] } 08:18:56 $ docker stop --time=1 b72f2769353cb939855622100dbc8fa93f60eacf96000a219c6cbb7943483d5e 08:18:58 $ docker rm -f --volumes b72f2769353cb939855622100dbc8fa93f60eacf96000a219c6cbb7943483d5e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:18:58 08:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:18:58 0.23.1-centos7: Pulling from edgex-lftools 08:18:58 ab5ef0e58194: Pulling fs layer 08:18:58 9712f1f96733: Pulling fs layer 08:18:58 63f879dbbcfc: Pulling fs layer 08:18:58 0d9ebad4ef96: Pulling fs layer 08:18:58 e9a5061849ea: Pulling fs layer 08:18:58 d747dcd14b5f: Pulling fs layer 08:18:58 2de7ff778b66: Pulling fs layer 08:18:58 2de7ff778b66: Waiting 08:18:58 e9a5061849ea: Waiting 08:18:58 0d9ebad4ef96: Waiting 08:18:58 d747dcd14b5f: Waiting 08:18:58 9712f1f96733: Verifying Checksum 08:18:58 9712f1f96733: Download complete 08:18:59 63f879dbbcfc: Verifying Checksum 08:18:59 63f879dbbcfc: Download complete 08:18:59 e9a5061849ea: Verifying Checksum 08:18:59 e9a5061849ea: Download complete 08:18:59 d747dcd14b5f: Download complete 08:18:59 0d9ebad4ef96: Download complete 08:18:59 ab5ef0e58194: Verifying Checksum 08:18:59 ab5ef0e58194: Download complete 08:18:59 2de7ff778b66: Verifying Checksum 08:18:59 2de7ff778b66: Download complete 08:19:02 ab5ef0e58194: Pull complete 08:19:02 9712f1f96733: Pull complete 08:19:03 63f879dbbcfc: Pull complete 08:19:07 0d9ebad4ef96: Pull complete 08:19:07 e9a5061849ea: Pull complete 08:19:07 d747dcd14b5f: Pull complete 08:19:09 2de7ff778b66: Pull complete 08:19:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:19:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:09 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:19:12 $ docker top 26d2a4005b216824c2dc48591f258825b44aedc7cbf066e4ee2b7adfbceec692 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:19:12 provisioning config files... 08:19:12 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14619456950303626060tmp 08:19:12 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11130764027339770378tmp 08:19:12 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config63804361118984709tmp [Pipeline] { [Pipeline] echo 08:19:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:19:13 ---> sigul-configuration.sh 08:19:13 gpg: directory `/root/.gnupg' created 08:19:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:19:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:19:13 gpg: keyring `/root/.gnupg/secring.gpg' created 08:19:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:19:13 gpg: CAST5 encrypted data 08:19:13 gpg: encrypted with 1 passphrase 08:19:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:19:13 + mkdir /home/jenkins 08:19:13 + mkdir /home/jenkins/sigul [Pipeline] sh 08:19:13 + 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 08:19:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:19:14 ---> sigul-install.sh 08:19:14 Sigul already installed; skipping installation. [Pipeline] sh 08:19:14 + git tag --list 08:19:14 v1.0.0 08:19:14 v1.1.0 08:19:14 v1.1.1 08:19:14 v1.2.1 08:19:14 v1.2.2 08:19:14 v1.2.3 08:19:14 v1.3.0 08:19:14 v1.3.1 08:19:14 v2.0.0 08:19:14 v2.1.0 08:19:14 v2.1.1 08:19:14 v2.2.0 08:19:14 v2.3.0 08:19:14 v3.0 08:19:14 v3.0.0 08:19:14 v3.1 08:19:14 v3.1.0 08:19:14 v3.1.0-dev.1 08:19:14 v3.1.0-dev.10 08:19:14 v3.1.0-dev.11 08:19:14 v3.1.0-dev.12 08:19:14 v3.1.0-dev.13 08:19:14 v3.1.0-dev.14 08:19:14 v3.1.0-dev.15 08:19:14 v3.1.0-dev.16 08:19:14 v3.1.0-dev.17 08:19:14 v3.1.0-dev.18 08:19:14 v3.1.0-dev.19 08:19:14 v3.1.0-dev.2 08:19:14 v3.1.0-dev.20 08:19:14 v3.1.0-dev.21 08:19:14 v3.1.0-dev.22 08:19:14 v3.1.0-dev.23 08:19:14 v3.1.0-dev.24 08:19:14 v3.1.0-dev.25 08:19:14 v3.1.0-dev.26 08:19:14 v3.1.0-dev.27 08:19:14 v3.1.0-dev.28 08:19:14 v3.1.0-dev.29 08:19:14 v3.1.0-dev.3 08:19:14 v3.1.0-dev.30 08:19:14 v3.1.0-dev.4 08:19:14 v3.1.0-dev.5 08:19:14 v3.1.0-dev.6 08:19:14 v3.1.0-dev.7 08:19:14 v3.1.0-dev.8 08:19:14 v3.1.0-dev.9 08:19:14 v3.1.1 08:19:14 v3.1.1-dev.1 08:19:14 v3.2.0-dev.1 08:19:14 v3.2.0-dev.10 08:19:14 v3.2.0-dev.11 08:19:14 v3.2.0-dev.12 08:19:14 v3.2.0-dev.13 08:19:14 v3.2.0-dev.14 08:19:14 v3.2.0-dev.15 08:19:14 v3.2.0-dev.16 08:19:14 v3.2.0-dev.17 08:19:14 v3.2.0-dev.18 08:19:14 v3.2.0-dev.19 08:19:14 v3.2.0-dev.2 08:19:14 v3.2.0-dev.20 08:19:14 v3.2.0-dev.21 08:19:14 v3.2.0-dev.22 08:19:14 v3.2.0-dev.23 08:19:14 v3.2.0-dev.24 08:19:14 v3.2.0-dev.25 08:19:14 v3.2.0-dev.26 08:19:14 v3.2.0-dev.27 08:19:14 v3.2.0-dev.28 08:19:14 v3.2.0-dev.3 08:19:14 v3.2.0-dev.4 08:19:14 v3.2.0-dev.5 08:19:14 v3.2.0-dev.6 08:19:14 v3.2.0-dev.7 08:19:14 v3.2.0-dev.8 08:19:14 v3.2.0-dev.9 08:19:14 v4.0.0-dev.1 08:19:14 v4.0.0-dev.2 08:19:14 v4.0.0-dev.3 08:19:14 v4.0.0-dev.4 08:19:14 v4.0.0-dev.5 08:19:14 v4.0.0-dev.6 [Pipeline] sh 08:19:14 + lftools sign git-tag v4.0.0-dev.6 08:19:15 Signing Git tag with Sigul... 08:19:15 Signing v4.0.0-dev.6 [Pipeline] echo 08:19:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:19:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:19:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:19:16 $ docker stop --time=1 26d2a4005b216824c2dc48591f258825b44aedc7cbf066e4ee2b7adfbceec692 08:19:17 $ docker rm -f --volumes 26d2a4005b216824c2dc48591f258825b44aedc7cbf066e4ee2b7adfbceec692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:19:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:19:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:19:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:18 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:19:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:19:18 $ docker top 7820e1c9fce823b366625009f69427dfc0ad0ed4d587d0a3543307b18ffa4977 -eo pid,comm 08:19:18 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). 08:19:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:19:18 [ssh-agent] Looking for ssh-agent implementation... 08:19:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:19:19 $ docker exec 7820e1c9fce823b366625009f69427dfc0ad0ed4d587d0a3543307b18ffa4977 ssh-agent 08:19:19 SSH_AUTH_SOCK=/tmp/ssh-NLM5z3mgMnJb/agent.32 08:19:19 SSH_AGENT_PID=38 08:19:19 Running ssh-add (command line suppressed) 08:19:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_988492979686645524.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_988492979686645524.key) 08:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:19:19 + git semver bump pre 08:19:19 2024-11-19 08:19:19,827 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:19:19 2024-11-19 08:19:19,827 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 08:19:19 2024-11-19 08:19:19,827 [bump_version] DEBUG bumped version:4.0.0-dev.7 08:19:19 2024-11-19 08:19:19,827 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 08:19:19 2024-11-19 08:19:19,827 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:19:19 2024-11-19 08:19:19,828 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:19:19 2024-11-19 08:19:19,829 [execute] INFO git cat-file --batch-check 08:19:19 2024-11-19 08:19:19,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:19:19 2024-11-19 08:19:19,835 [execute] INFO git cat-file --batch 08:19:19 2024-11-19 08:19:19,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:19:19 2024-11-19 08:19:19,841 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:19:19 4.0.0-dev.7 [Pipeline] } 08:19:19 $ docker exec --env ******** --env ******** 7820e1c9fce823b366625009f69427dfc0ad0ed4d587d0a3543307b18ffa4977 ssh-agent -k 08:19:20 unset SSH_AUTH_SOCK; 08:19:20 unset SSH_AGENT_PID; 08:19:20 echo Agent pid 38 killed; 08:19:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:19:20 + git semver [Pipeline] } 08:19:20 $ docker stop --time=1 7820e1c9fce823b366625009f69427dfc0ad0ed4d587d0a3543307b18ffa4977 08:19:21 $ docker rm -f --volumes 7820e1c9fce823b366625009f69427dfc0ad0ed4d587d0a3543307b18ffa4977 [Pipeline] // withDockerContainer [Pipeline] sh 08:19:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:19:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:19:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:22 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:19:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:19:23 $ docker top 2a83a3c846c801088ecb13fa879eed71fda46f67da03007289e1bd8e16dd957c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:19:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:19:23 [ssh-agent] Looking for ssh-agent implementation... 08:19:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:19:23 $ docker exec 2a83a3c846c801088ecb13fa879eed71fda46f67da03007289e1bd8e16dd957c ssh-agent 08:19:23 SSH_AUTH_SOCK=/tmp/ssh-TBZz6rHIswN2/agent.32 08:19:23 SSH_AGENT_PID=38 08:19:23 Running ssh-add (command line suppressed) 08:19:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12483936493555057325.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12483936493555057325.key) 08:19:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:19:23 + git semver push 08:19:24 2024-11-19 08:19:24,060 [run_push] DEBUG push 08:19:24 2024-11-19 08:19:24,060 [execute] INFO git cat-file --batch-check 08:19:24 2024-11-19 08:19:24,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:19:24 2024-11-19 08:19:24,065 [execute] INFO git rev-list a247e2455b43585769ce80178c0ace2b69d3c8ef -- 08:19:24 2024-11-19 08:19:24,065 [execute] DEBUG Popen(['git', 'rev-list', 'a247e2455b43585769ce80178c0ace2b69d3c8ef', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:19:24 2024-11-19 08:19:24,076 [execute] INFO git fetch -v origin 08:19:24 2024-11-19 08:19:24,077 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:19:24 2024-11-19 08:19:24,529 [run_push] DEBUG no remote changes detected 08:19:24 2024-11-19 08:19:24,529 [execute] INFO git push origin semver 08:19:24 2024-11-19 08:19:24,530 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:19:25 2024-11-19 08:19:25,172 [run_push] DEBUG push all version tags 08:19:25 2024-11-19 08:19:25,172 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:19:25 2024-11-19 08:19:25,173 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:19:25 2024-11-19 08:19:25,798 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:19:25 4.0.0-dev.7 [Pipeline] } 08:19:25 $ docker exec --env ******** --env ******** 2a83a3c846c801088ecb13fa879eed71fda46f67da03007289e1bd8e16dd957c ssh-agent -k 08:19:25 unset SSH_AUTH_SOCK; 08:19:25 unset SSH_AGENT_PID; 08:19:25 echo Agent pid 38 killed; 08:19:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:19:26 + git semver [Pipeline] } 08:19:26 $ docker stop --time=1 2a83a3c846c801088ecb13fa879eed71fda46f67da03007289e1bd8e16dd957c 08:19:27 $ docker rm -f --volumes 2a83a3c846c801088ecb13fa879eed71fda46f67da03007289e1bd8e16dd957c [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 08:19:28 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 08:19:28 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:19:28 total 16 08:19:28 drwxr-xr-x 3 root root 4096 Nov 19 08:04 . 08:19:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 08:19 .. 08:19:28 drwxr-xr-x 2 root root 4096 Nov 19 08:04 cost 08:19:28 -rw-r--r-- 1 root root 89 Nov 19 08:04 cost.csv 08:19:28 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 08:19:28 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:19:28 total 16 08:19:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 08:04 . 08:19:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 08:19 .. 08:19:28 drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 08:04 cost 08:19:28 -rw-r--r-- 1 jenkins jenkins 89 Nov 19 08:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:19:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:19:29 ---> package-listing.sh 08:19:29 ++ facter osfamily 08:19:29 ++ tr '[:upper:]' '[:lower:]' 08:19:29 + OS_FAMILY=debian 08:19:29 + workspace=/w/workspace/exfoundry_device-virtual-go_main 08:19:29 + START_PACKAGES=/tmp/packages_start.txt 08:19:29 + END_PACKAGES=/tmp/packages_end.txt 08:19:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:19:29 + PACKAGES=/tmp/packages_start.txt 08:19:29 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:19:29 + PACKAGES=/tmp/packages_end.txt 08:19:29 + case "${OS_FAMILY}" in 08:19:29 + dpkg -l 08:19:29 + grep '^ii' 08:19:29 + '[' -f /tmp/packages_start.txt ']' 08:19:29 + '[' -f /tmp/packages_end.txt ']' 08:19:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:19:29 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:19:29 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 08:19:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 08:19:29 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:19:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:30 prd-ubuntu20.04-docker-8c-8g-26997 does not seem to be running inside a container 08:19:30 $ 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_main/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_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 08:19:31 $ docker top ae6b09435054f7670dda6ed17215d7d892dd581ccb7f2d828e9d02d897d1c06d -eo pid,comm [Pipeline] { [Pipeline] sh 08:19:31 + touch /tmp/pre-build-complete [Pipeline] sh 08:19:31 + mkdir -p /var/log/sysstat [Pipeline] sh 08:19:31 + ls /var/log/sa-host 08:19:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:19:32 provisioning config files... 08:19:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15415821365257229530tmp [Pipeline] { [Pipeline] echo 08:19:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:19:32 ---> create-netrc.sh [Pipeline] } 08:19:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:19:32 ---> python-tools-install.sh [Pipeline] echo 08:19:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:19:33 ---> sudo-logs.sh 08:19:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:19:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:19:33 ---> job-cost.sh 08:19:33 lf-activate-venv: SKIPPING 08:19:33 DEBUG: total: 0.2199999988079071 08:19:33 INFO: Retrieving Stack Cost... 08:19:33 INFO: Retrieving Pricing Info for: v3-standard-8 08:19:34 INFO: Archiving Costs [Pipeline] echo 08:19:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:19:34 ---> logs-deploy.sh 08:19:34 lf-activate-venv: SKIPPING 08:19:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/190 08:19:34 INFO: archiving workspace using pattern(s): 08:19:35 Archives upload complete. 08:19:35 INFO: archiving logs to Nexus