Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8293796536b0fdf8c12edad8c53cf3eb6594dc00 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-ssh14291108463160980456.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-ssh12368747516226518750.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-ssh9094738892247979207.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-ssh5705188975958795802.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-ssh4172640646179177874.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23027 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 8293796536b0fdf8c12edad8c53cf3eb6594dc00 (main) Commit message: "Merge pull request #497 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" > 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 8293796536b0fdf8c12edad8c53cf3eb6594dc00 # timeout=10 > git rev-list --no-walk 60f2b90224e592bb905f9b29e85d80ab0be60eaf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:54:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:54:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:54:14 ========================================================= 01:54:14 EdgeX Global Pipelines Version Info 01:54:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:54:15 ------------------- 01:54:15 stable info: 01:54:15 ------------------- 01:54:15 Commited By: Ginny Guan ginny@iotechsys.com 01:54:15 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 01:54:15 Message: update stable to v1.0.265 01:54:15 ------------------- 01:54:15 experimental info: 01:54:15 ------------------- 01:54:15 Commited By: Cherry Wang cherry@iotechsys.com 01:54:15 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:54:15 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:54:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:54:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:54:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8293796 [Pipeline] echo 01:54:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:16 provisioning config files... 01:54:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15572506769237216079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:17 ---> ****-login.sh 01:54:17 nexus3.edgexfoundry.org:10001 01:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:17 Configure a credential helper to remove this warning. See 01:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:17 01:54:17 Login Succeeded 01:54:17 nexus3.edgexfoundry.org:10002 01:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:17 Configure a credential helper to remove this warning. See 01:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:17 01:54:17 Login Succeeded 01:54:17 nexus3.edgexfoundry.org:10003 01:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:17 Configure a credential helper to remove this warning. See 01:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:17 01:54:17 Login Succeeded 01:54:17 nexus3.edgexfoundry.org:10004 01:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:17 Configure a credential helper to remove this warning. See 01:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:17 01:54:17 Login Succeeded 01:54:17 ****.io 01:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:18 Configure a credential helper to remove this warning. See 01:54:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:18 01:54:18 Login Succeeded 01:54:18 ---> ****-login.sh ends [Pipeline] } 01:54:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:54:18 + git rev-list -1 --merges 8293796536b0fdf8c12edad8c53cf3eb6594dc00~1..8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] echo 01:54:18 -----------> git rev-list -1 --merges 8293796536b0fdf8c12edad8c53cf3eb6594dc00~1..8293796536b0fdf8c12edad8c53cf3eb6594dc00 8293796536b0fdf8c12edad8c53cf3eb6594dc00 01:54:18 8293796536b0fdf8c12edad8c53cf3eb6594dc00 [false] [Pipeline] sh 01:54:18 + git log --format=format:%s -1 8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] echo 01:54:18 ========================================================= 01:54:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:54:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:54:19 + git log --format=format:%s -1 8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] echo 01:54:19 [semverPrep] GIT_COMMIT: 8293796536b0fdf8c12edad8c53cf3eb6594dc00, Commit Message: Merge pull request #497 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47 [Pipeline] echo 01:54:19 [semverPrep] This is not a build commit. [Pipeline] sh 01:54:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:54:19 + grep -v github /etc/ssh/ssh_known_hosts 01:54:19 + [ -e /tmp/ssh_known_hosts ] 01:54:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:54:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:54:19 + sudo tee -a /etc/ssh/ssh_known_hosts 01:54:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:54:19 01:54:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:54:20 0.1.4: Pulling from edgex-devops/py-git-semver 01:54:20 b85a868b505f: Pulling fs layer 01:54:20 e2be974225ed: Pulling fs layer 01:54:20 339a4e72a1f5: Pulling fs layer 01:54:20 988bab9f4d93: Pulling fs layer 01:54:20 1469e6f7b9e6: Pulling fs layer 01:54:20 eaf3925da568: Pulling fs layer 01:54:20 bab4dde63d76: Pulling fs layer 01:54:20 bde34c3a00c8: Pulling fs layer 01:54:20 b352a97aabf1: Pulling fs layer 01:54:20 4872d77fe225: Pulling fs layer 01:54:20 5851b861e8e6: Pulling fs layer 01:54:20 988bab9f4d93: Waiting 01:54:20 1469e6f7b9e6: Waiting 01:54:20 eaf3925da568: Waiting 01:54:20 4872d77fe225: Waiting 01:54:20 5851b861e8e6: Waiting 01:54:20 bab4dde63d76: Waiting 01:54:20 bde34c3a00c8: Waiting 01:54:20 e2be974225ed: Verifying Checksum 01:54:20 e2be974225ed: Download complete 01:54:20 988bab9f4d93: Download complete 01:54:20 1469e6f7b9e6: Verifying Checksum 01:54:20 1469e6f7b9e6: Download complete 01:54:20 eaf3925da568: Verifying Checksum 01:54:20 eaf3925da568: Download complete 01:54:20 339a4e72a1f5: Verifying Checksum 01:54:20 339a4e72a1f5: Download complete 01:54:20 bde34c3a00c8: Verifying Checksum 01:54:20 bde34c3a00c8: Download complete 01:54:20 b352a97aabf1: Verifying Checksum 01:54:20 b352a97aabf1: Download complete 01:54:20 4872d77fe225: Verifying Checksum 01:54:20 4872d77fe225: Download complete 01:54:20 5851b861e8e6: Download complete 01:54:20 b85a868b505f: Download complete 01:54:20 bab4dde63d76: Verifying Checksum 01:54:20 bab4dde63d76: Download complete 01:54:21 b85a868b505f: Pull complete 01:54:21 e2be974225ed: Pull complete 01:54:21 339a4e72a1f5: Pull complete 01:54:22 988bab9f4d93: Pull complete 01:54:22 1469e6f7b9e6: Pull complete 01:54:22 eaf3925da568: Pull complete 01:54:23 bab4dde63d76: Pull complete 01:54:23 bde34c3a00c8: Pull complete 01:54:24 b352a97aabf1: Pull complete 01:54:24 4872d77fe225: Pull complete 01:54:24 5851b861e8e6: Pull complete 01:54:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:54:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:54:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:24 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 01:54:24 $ 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 01:54:25 $ docker top a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb -eo pid,comm 01:54:25 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). 01:54:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:54:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:25 [ssh-agent] Looking for ssh-agent implementation... 01:54:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:25 $ docker exec a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb ssh-agent 01:54:25 SSH_AUTH_SOCK=/tmp/ssh-OHh2Yv3vy4DP/agent.33 01:54:25 SSH_AGENT_PID=39 01:54:25 Running ssh-add (command line suppressed) 01:54:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12051289279809941176.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12051289279809941176.key) 01:54:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:26 + git tag --points-at HEAD [Pipeline] } 01:54:26 $ docker exec --env ******** --env ******** a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb ssh-agent -k 01:54:26 unset SSH_AUTH_SOCK; 01:54:26 unset SSH_AGENT_PID; 01:54:26 echo Agent pid 39 killed; 01:54:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:54:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:26 [ssh-agent] Looking for ssh-agent implementation... 01:54:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:26 $ docker exec a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb ssh-agent 01:54:26 SSH_AUTH_SOCK=/tmp/ssh-8rbepIJdRDwc/agent.72 01:54:26 SSH_AGENT_PID=78 01:54:26 Running ssh-add (command line suppressed) 01:54:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16704844059553122714.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16704844059553122714.key) 01:54:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:26 + git semver init 01:54:27 2024-10-18 01:54:27,198 [run_init] DEBUG init version:0.0.0 force:False 01:54:27 2024-10-18 01:54:27,199 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 01:54:27 2024-10-18 01:54:27,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 01:54:27 2024-10-18 01:54:27,199 [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) 01:54:29 2024-10-18 01:54:29,062 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 01:54:29 2024-10-18 01:54:29,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 01:54:29 2024-10-18 01:54:29,063 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:54:29 2024-10-18 01:54:29,063 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:54:29 3.2.0-dev.28 [Pipeline] } 01:54:29 $ docker exec --env ******** --env ******** a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb ssh-agent -k 01:54:29 unset SSH_AUTH_SOCK; 01:54:29 unset SSH_AGENT_PID; 01:54:29 echo Agent pid 78 killed; 01:54:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:54:29 + git semver [Pipeline] } 01:54:29 $ docker stop --time=1 a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb 01:54:31 $ docker rm -f --volumes a3f030ded6104e3e3ca63dbd8b44d8a1ca2a1e0caaa56b69f54b0024f2f94fcb [Pipeline] // withDockerContainer [Pipeline] sh 01:54:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:54:31 Stashed 1 file(s) [Pipeline] echo 01:54:31 [edgeXSemver]: initialized semver on version 3.2.0-dev.28 [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 01:54:31 provisioning config files... 01:54:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5336452250148481499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:32 ---> ****-login.sh 01:54:32 nexus3.edgexfoundry.org:10001 01:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:32 Configure a credential helper to remove this warning. See 01:54:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:32 01:54:32 Login Succeeded 01:54:32 nexus3.edgexfoundry.org:10002 01:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:32 Configure a credential helper to remove this warning. See 01:54:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:32 01:54:32 Login Succeeded 01:54:32 nexus3.edgexfoundry.org:10003 01:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:32 Configure a credential helper to remove this warning. See 01:54:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:32 01:54:32 Login Succeeded 01:54:32 nexus3.edgexfoundry.org:10004 01:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:32 Configure a credential helper to remove this warning. See 01:54:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:32 01:54:32 Login Succeeded 01:54:32 ****.io 01:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:32 Configure a credential helper to remove this warning. See 01:54:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:32 01:54:32 Login Succeeded 01:54:32 ---> ****-login.sh ends [Pipeline] } 01:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:54:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:54:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:54:32 ========================================================= 01:54:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:54:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:33 + 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 . 01:54:33 Sending build context to Docker daemon 37.66MB 01:54:33 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:54:33 Step 2/12 : FROM ${BASE} AS builder 01:54:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:54:33 43c4264eed91: Pulling fs layer 01:54:33 4cc291be95ef: Pulling fs layer 01:54:33 2ac1f1163629: Pulling fs layer 01:54:33 5c3c966382ef: Pulling fs layer 01:54:33 4f4fb700ef54: Pulling fs layer 01:54:33 5d5c8e513c77: Pulling fs layer 01:54:33 9f66e0745190: Pulling fs layer 01:54:33 f49a43e4bbc0: Pulling fs layer 01:54:33 561ebcabdf7f: Pulling fs layer 01:54:33 5c3c966382ef: Waiting 01:54:33 4f4fb700ef54: Waiting 01:54:33 5d5c8e513c77: Waiting 01:54:33 9f66e0745190: Waiting 01:54:33 f49a43e4bbc0: Waiting 01:54:33 561ebcabdf7f: Waiting 01:54:33 4cc291be95ef: Verifying Checksum 01:54:33 4cc291be95ef: Download complete 01:54:33 5c3c966382ef: Download complete 01:54:33 4f4fb700ef54: Verifying Checksum 01:54:33 4f4fb700ef54: Download complete 01:54:33 5d5c8e513c77: Verifying Checksum 01:54:33 5d5c8e513c77: Download complete 01:54:33 43c4264eed91: Download complete 01:54:33 9f66e0745190: Verifying Checksum 01:54:33 9f66e0745190: Download complete 01:54:33 43c4264eed91: Pull complete 01:54:33 561ebcabdf7f: Verifying Checksum 01:54:33 561ebcabdf7f: Download complete 01:54:33 4cc291be95ef: Pull complete 01:54:33 2ac1f1163629: Download complete 01:54:34 f49a43e4bbc0: Verifying Checksum 01:54:34 f49a43e4bbc0: Download complete 01:54:37 2ac1f1163629: Pull complete 01:54:37 5c3c966382ef: Pull complete 01:54:37 4f4fb700ef54: Pull complete 01:54:37 5d5c8e513c77: Pull complete 01:54:37 9f66e0745190: Pull complete 01:54:39 f49a43e4bbc0: Pull complete 01:54:39 561ebcabdf7f: Pull complete 01:54:39 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 01:54:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:54:39 ---> 3a752c3f9dda 01:54:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:54:41 ---> Running in 034630d79357 01:54:41 Removing intermediate container 034630d79357 01:54:41 ---> 4f80d63e3a97 01:54:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:54:41 ---> Running in 1b02eb9589c6 01:54:41 Removing intermediate container 1b02eb9589c6 01:54:41 ---> 66fb0e7e3808 01:54:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:54:41 ---> Running in c16e6cf9f441 01:54:41 Removing intermediate container c16e6cf9f441 01:54:41 ---> a79014e55d27 01:54:41 Step 6/12 : WORKDIR /device-virtual-go 01:54:41 ---> Running in f18aa592c582 01:54:41 Removing intermediate container f18aa592c582 01:54:41 ---> 190deaec201e 01:54:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:41 ---> Running in b964333b3da6 01:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:54:41 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:54:41 (2/4) Installing libedit (20240517.3.1-r0) 01:54:41 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:54:41 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:54:41 Executing busybox-1.36.1-r29.trigger 01:54:41 OK: 250 MiB in 58 packages 01:54:42 Removing intermediate container b964333b3da6 01:54:42 ---> 0cb723b362c3 01:54:42 Step 8/12 : COPY go.mod vendor* ./ 01:54:42 ---> 4a206b04e2ae 01:54:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:42 ---> Running in 5021cc401028 01:54:46 Still waiting to schedule task 01:54:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23024’ 01:55:21 Removing intermediate container 5021cc401028 01:55:21 ---> 8fed8ef8143e 01:55:21 Step 10/12 : COPY . . 01:55:21 ---> 213ebacc96dc 01:55:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:21 ---> Running in 126bb0200088 01:55:21 Removing intermediate container 126bb0200088 01:55:21 ---> dfaaf82494ea 01:55:21 Step 12/12 : RUN $MAKE 01:55:21 ---> Running in 50be34387491 01:55:21 noop 01:55:21 Removing intermediate container 50be34387491 01:55:21 ---> c0c009eee043 01:55:21 Successfully built c0c009eee043 01:55:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:21 + docker inspect -f . ci-base-image-x86_64 01:55:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:21 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 01:55:21 $ 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 01:55:21 $ docker top 5203d189abeda3a620f252d3fdc6a0c8def45f59c416c22e195aaa6bdb895de0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:22 + go version 01:55:22 go version go1.23.2 linux/amd64 [Pipeline] } 01:55:22 $ docker stop --time=1 5203d189abeda3a620f252d3fdc6a0c8def45f59c416c22e195aaa6bdb895de0 01:55:23 $ docker rm -f --volumes 5203d189abeda3a620f252d3fdc6a0c8def45f59c416c22e195aaa6bdb895de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:23 + docker inspect -f . ci-base-image-x86_64 01:55:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:24 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 01:55:24 $ 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 01:55:24 $ docker top 7ffa2f4e862056bc0ce60bb6c5e79e49deaf43b7dec2fb3399ee69f46813a346 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:24 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 01:55:25 + make test 01:55:25 go test ./... -coverprofile=coverage.out 01:55:26 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:55:44 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 01:55:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 01:55:52 go vet ./... 01:55:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:57 ./bin/test-attribution-txt.sh [Pipeline] echo 01:55:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:55:57 $ docker stop --time=1 7ffa2f4e862056bc0ce60bb6c5e79e49deaf43b7dec2fb3399ee69f46813a346 01:55:59 $ docker rm -f --volumes 7ffa2f4e862056bc0ce60bb6c5e79e49deaf43b7dec2fb3399ee69f46813a346 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:56:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:56:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:56:01 + ls -al . 01:56:01 total 276 01:56:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 01:55 . 01:56:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 01:54 .. 01:56:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 01:55 .git 01:56:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:54 .github 01:56:01 -rw-rw-r-- 1 jenkins jenkins 272 Oct 18 01:54 .gitignore 01:56:01 -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 01:54 .golangci.yml 01:56:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 01:54 .semver 01:56:01 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 18 01:54 Attribution.txt 01:56:01 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 18 01:54 CHANGELOG.md 01:56:01 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 18 01:54 Dockerfile 01:56:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 01:54 GOVERNANCE.md 01:56:01 -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 01:54 Jenkinsfile 01:56:01 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 01:54 LICENSE 01:56:01 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 18 01:54 Makefile 01:56:01 -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 01:54 OWNERS.md 01:56:01 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 18 01:54 README.md 01:56:01 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 01:54 VERSION 01:56:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 01:54 bin 01:56:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:54 cmd 01:56:01 -rw-r--r-- 1 jenkins jenkins 43316 Oct 18 01:55 coverage.out 01:56:01 -rw-rw-r-- 1 jenkins jenkins 6895 Oct 18 01:54 go.mod 01:56:01 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 18 01:54 go.sum 01:56:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:54 internal 01:56:01 -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 01:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:01 + 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=8293796536b0fdf8c12edad8c53cf3eb6594dc00 --label arch=amd64 --label version=3.2.0-dev.28 . 01:56:01 Sending build context to Docker daemon 37.71MB 01:56:01 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:56:01 Step 2/26 : FROM ${BASE} AS builder 01:56:01 ---> c0c009eee043 01:56:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:56:01 ---> Running in 103a3fb095bf 01:56:01 Removing intermediate container 103a3fb095bf 01:56:01 ---> 3c6c48b00f2d 01:56:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:56:01 ---> Running in a175d031eb9c 01:56:01 Removing intermediate container a175d031eb9c 01:56:01 ---> e775c66ef291 01:56:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:56:02 ---> Running in c4230d19d6c4 01:56:02 Removing intermediate container c4230d19d6c4 01:56:02 ---> d375aa61aa49 01:56:02 Step 6/26 : WORKDIR /device-virtual-go 01:56:02 ---> Running in b042199f74d1 01:56:02 Removing intermediate container b042199f74d1 01:56:02 ---> e614f5e4394d 01:56:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:02 ---> Running in 3509db55c2d4 01:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:02 OK: 250 MiB in 58 packages 01:56:03 Removing intermediate container 3509db55c2d4 01:56:03 ---> 888a753545e1 01:56:03 Step 8/26 : COPY go.mod vendor* ./ 01:56:03 ---> 4498c1da471a 01:56:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:03 ---> Running in b6f6e666e231 01:56:04 Removing intermediate container b6f6e666e231 01:56:04 ---> 5054e401df1a 01:56:04 Step 10/26 : COPY . . 01:56:04 ---> 58c20e098885 01:56:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:56:04 ---> Running in dc3f753b7324 01:56:04 Removing intermediate container dc3f753b7324 01:56:04 ---> 5566465f1764 01:56:04 Step 12/26 : RUN $MAKE 01:56:04 ---> Running in a8ccebb4122e 01:56:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 01:56:31 Removing intermediate container a8ccebb4122e 01:56:31 ---> 1ad78bc7ea8d 01:56:31 Step 13/26 : FROM alpine:3.20 01:56:31 3.20: Pulling from library/alpine 01:56:31 43c4264eed91: Already exists 01:56:31 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 01:56:31 Status: Downloaded newer image for alpine:3.20 01:56:31 ---> 91ef0af61f39 01:56:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:56:31 ---> Running in fe62238a07a7 01:56:31 Removing intermediate container fe62238a07a7 01:56:31 ---> e98f6ba9e187 01:56:31 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:56:31 ---> Running in 2c80804e24b1 01:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:31 (1/1) Installing dumb-init (1.2.5-r3) 01:56:31 Executing busybox-1.36.1-r29.trigger 01:56:31 OK: 8 MiB in 15 packages 01:56:31 Removing intermediate container 2c80804e24b1 01:56:31 ---> f76e1ed2de69 01:56:31 Step 16/26 : RUN apk --no-cache upgrade 01:56:31 ---> Running in 946d80726145 01:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:32 Upgrading critical system libraries and apk-tools: 01:56:32 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:56:32 Executing busybox-1.36.1-r29.trigger 01:56:32 Continuing the upgrade transaction with new apk-tools: 01:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:32 OK: 8 MiB in 15 packages 01:56:33 Removing intermediate container 946d80726145 01:56:33 ---> e57bf521b590 01:56:33 Step 17/26 : WORKDIR / 01:56:33 ---> Running in cc6b94b5cd07 01:56:33 Removing intermediate container cc6b94b5cd07 01:56:33 ---> ec376963e026 01:56:33 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:56:33 ---> 47d941949ae3 01:56:33 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:56:33 ---> 98005370d53c 01:56:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:56:34 ---> 56d1a9f499a4 01:56:34 Step 21/26 : EXPOSE 59900 01:56:34 ---> Running in 9f2fb5af8b23 01:56:34 Removing intermediate container 9f2fb5af8b23 01:56:34 ---> 4a4dd90fda32 01:56:34 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:56:34 ---> Running in fa9d3ce00b24 01:56:34 Removing intermediate container fa9d3ce00b24 01:56:34 ---> 7b9ae11294eb 01:56:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:56:34 ---> Running in 04c0f4340a8b 01:56:34 Removing intermediate container 04c0f4340a8b 01:56:34 ---> 8b527dc51097 01:56:34 Step 24/26 : LABEL arch=amd64 01:56:34 ---> Running in ffd7b29086f6 01:56:34 Removing intermediate container ffd7b29086f6 01:56:34 ---> c1f816c212de 01:56:34 Step 25/26 : LABEL git_sha=8293796536b0fdf8c12edad8c53cf3eb6594dc00 01:56:34 ---> Running in 66b418332b4f 01:56:34 Removing intermediate container 66b418332b4f 01:56:34 ---> 61122fb7c2a1 01:56:34 Step 26/26 : LABEL version=3.2.0-dev.28 01:56:34 ---> Running in d70313c10116 01:56:34 Removing intermediate container d70313c10116 01:56:34 ---> 2e9139cef681 01:56:34 [Warning] One or more build-args [ARCH] were not consumed 01:56:34 Successfully built 2e9139cef681 01:56:34 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:34 provisioning config files... 01:56:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17618791741517741270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:34 ---> ****-login.sh 01:56:34 nexus3.edgexfoundry.org:10001 01:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:34 Configure a credential helper to remove this warning. See 01:56:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:34 01:56:34 Login Succeeded 01:56:34 nexus3.edgexfoundry.org:10002 01:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:34 Configure a credential helper to remove this warning. See 01:56:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:34 01:56:34 Login Succeeded 01:56:34 nexus3.edgexfoundry.org:10003 01:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:35 Configure a credential helper to remove this warning. See 01:56:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:35 01:56:35 Login Succeeded 01:56:35 nexus3.edgexfoundry.org:10004 01:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:35 Configure a credential helper to remove this warning. See 01:56:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:35 01:56:35 Login Succeeded 01:56:35 ****.io 01:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:35 Configure a credential helper to remove this warning. See 01:56:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:35 01:56:35 Login Succeeded 01:56:35 ---> ****-login.sh ends [Pipeline] } 01:56:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:35 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 01:56:35 8293796536b0fdf8c12edad8c53cf3eb6594dc00 01:56:35 latest 01:56:35 3.2.0-dev.28 01:56:35 8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 01:56:35 main 01:56:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8293796536b0fdf8c12edad8c53cf3eb6594dc00 01:56:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:36 4d0cbfe2af6c: Preparing 01:56:36 2d0f5d483475: Preparing 01:56:36 597fb1a8f1c7: Preparing 01:56:36 ed29f8c3c55c: Preparing 01:56:36 8b10789485f4: Preparing 01:56:36 63ca1fbb43ae: Preparing 01:56:36 63ca1fbb43ae: Waiting 01:56:36 2d0f5d483475: Pushed 01:56:36 597fb1a8f1c7: Pushed 01:56:36 63ca1fbb43ae: Layer already exists 01:56:36 ed29f8c3c55c: Pushed 01:56:36 8b10789485f4: Pushed 01:56:40 4d0cbfe2af6c: Pushed 01:56:40 8293796536b0fdf8c12edad8c53cf3eb6594dc00: digest: sha256:131e42065c1bf42d70fda092a1524acfece4304580f19c24df635be1baa7d1b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 01:56:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:41 4d0cbfe2af6c: Preparing 01:56:41 2d0f5d483475: Preparing 01:56:41 597fb1a8f1c7: Preparing 01:56:41 ed29f8c3c55c: Preparing 01:56:41 8b10789485f4: Preparing 01:56:41 63ca1fbb43ae: Preparing 01:56:41 63ca1fbb43ae: Waiting 01:56:41 8b10789485f4: Layer already exists 01:56:41 2d0f5d483475: Layer already exists 01:56:41 ed29f8c3c55c: Layer already exists 01:56:41 4d0cbfe2af6c: Layer already exists 01:56:41 597fb1a8f1c7: Layer already exists 01:56:41 63ca1fbb43ae: Layer already exists 01:56:41 latest: digest: sha256:131e42065c1bf42d70fda092a1524acfece4304580f19c24df635be1baa7d1b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.28 01:56:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:41 4d0cbfe2af6c: Preparing 01:56:41 2d0f5d483475: Preparing 01:56:41 597fb1a8f1c7: Preparing 01:56:41 ed29f8c3c55c: Preparing 01:56:41 8b10789485f4: Preparing 01:56:41 63ca1fbb43ae: Preparing 01:56:41 63ca1fbb43ae: Waiting 01:56:41 ed29f8c3c55c: Layer already exists 01:56:41 597fb1a8f1c7: Layer already exists 01:56:41 2d0f5d483475: Layer already exists 01:56:41 8b10789485f4: Layer already exists 01:56:41 4d0cbfe2af6c: Layer already exists 01:56:41 63ca1fbb43ae: Layer already exists 01:56:41 3.2.0-dev.28: digest: sha256:131e42065c1bf42d70fda092a1524acfece4304580f19c24df635be1baa7d1b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 01:56:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:42 4d0cbfe2af6c: Preparing 01:56:42 2d0f5d483475: Preparing 01:56:42 597fb1a8f1c7: Preparing 01:56:42 ed29f8c3c55c: Preparing 01:56:42 8b10789485f4: Preparing 01:56:42 63ca1fbb43ae: Preparing 01:56:42 597fb1a8f1c7: Layer already exists 01:56:42 ed29f8c3c55c: Layer already exists 01:56:42 2d0f5d483475: Layer already exists 01:56:42 4d0cbfe2af6c: Layer already exists 01:56:42 8b10789485f4: Layer already exists 01:56:42 63ca1fbb43ae: Layer already exists 01:56:42 8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28: digest: sha256:131e42065c1bf42d70fda092a1524acfece4304580f19c24df635be1baa7d1b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 01:56:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:43 4d0cbfe2af6c: Preparing 01:56:43 2d0f5d483475: Preparing 01:56:43 597fb1a8f1c7: Preparing 01:56:43 ed29f8c3c55c: Preparing 01:56:43 8b10789485f4: Preparing 01:56:43 63ca1fbb43ae: Preparing 01:56:43 597fb1a8f1c7: Layer already exists 01:56:43 ed29f8c3c55c: Layer already exists 01:56:43 8b10789485f4: Layer already exists 01:56:43 2d0f5d483475: Layer already exists 01:56:43 4d0cbfe2af6c: Layer already exists 01:56:43 63ca1fbb43ae: Layer already exists 01:56:43 main: digest: sha256:131e42065c1bf42d70fda092a1524acfece4304580f19c24df635be1baa7d1b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:43 ===================================================== [Pipeline] echo 01:56:43 taggedImages: 01:56:43 - nexus3.edgexfoundry.org:10004/device-virtual:8293796536b0fdf8c12edad8c53cf3eb6594dc00 01:56:43 - nexus3.edgexfoundry.org:10004/device-virtual:latest 01:56:43 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.28 01:56:43 - nexus3.edgexfoundry.org:10004/device-virtual:8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 01:56:43 - 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 01:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:43 01:56:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:43 latest: Pulling from edgex-lftools-log-publisher 01:56:43 5eb5b503b376: Pulling fs layer 01:56:43 5c69ac0246d0: Pulling fs layer 01:56:43 ec43610c2a17: Pulling fs layer 01:56:43 3a2ae6a8a46f: Pulling fs layer 01:56:43 33b1e0a273af: Pulling fs layer 01:56:43 5d3b04190fa2: Pulling fs layer 01:56:43 2f39f015ded8: Pulling fs layer 01:56:43 3a2ae6a8a46f: Waiting 01:56:43 33b1e0a273af: Waiting 01:56:43 5d3b04190fa2: Waiting 01:56:43 2f39f015ded8: Waiting 01:56:43 5c69ac0246d0: Verifying Checksum 01:56:43 5c69ac0246d0: Download complete 01:56:43 3a2ae6a8a46f: Download complete 01:56:43 ec43610c2a17: Verifying Checksum 01:56:43 ec43610c2a17: Download complete 01:56:43 33b1e0a273af: Verifying Checksum 01:56:43 33b1e0a273af: Download complete 01:56:43 5d3b04190fa2: Verifying Checksum 01:56:43 5d3b04190fa2: Download complete 01:56:44 5eb5b503b376: Verifying Checksum 01:56:44 5eb5b503b376: Download complete 01:56:45 5eb5b503b376: Pull complete 01:56:45 5c69ac0246d0: Pull complete 01:56:45 2f39f015ded8: Download complete 01:56:45 ec43610c2a17: Pull complete 01:56:45 3a2ae6a8a46f: Pull complete 01:56:45 33b1e0a273af: Pull complete 01:56:46 5d3b04190fa2: Pull complete 01:56:50 2f39f015ded8: Pull complete 01:56:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:56:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:50 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 01:56:50 $ 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 01:56:51 $ docker top 450c50dbe40eeeeddb941af22a0aba358d9b119afd37b9773ef17669def7617e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:52 ---> job-cost.sh 01:56:52 lf-activate-venv: SKIPPING 01:56:52 INFO: No Stack... 01:56:52 INFO: Retrieving Pricing Info for: v3-standard-8 01:56:52 INFO: Archiving Costs [Pipeline] sh 01:56:53 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 01:56:53 + cut -d, -f6 [Pipeline] lock 01:56:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] 01:56:53 Resource [jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] did not exist. Created. 01:56:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:56:53 + echo total: 0.2199999988079071 [Pipeline] stash 01:56:53 Stashed 1 file(s) [Pipeline] } 01:56:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 01:56:53 $ docker stop --time=1 450c50dbe40eeeeddb941af22a0aba358d9b119afd37b9773ef17669def7617e 01:56:54 $ docker rm -f --volumes 450c50dbe40eeeeddb941af22a0aba358d9b119afd37b9773ef17669def7617e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:57:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23032 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 01:57:09 Running in /w/workspace/device-virtual-go/184 [Pipeline] { [Pipeline] checkout 01:57:12 The recommended git tool is: git 01:57:18 using credential edgex-jenkins-ssh 01:57:18 Cloning the remote Git repository 01:57:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:57:18 > git init /w/workspace/device-virtual-go/184 # timeout=10 01:57:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:57:18 > git --version # timeout=10 01:57:18 > git --version # 'git version 2.25.1' 01:57:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:57:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:24 Avoid second fetch 01:57:24 Checking out Revision 8293796536b0fdf8c12edad8c53cf3eb6594dc00 (main) 01:57:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:57:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:24 > git config core.sparsecheckout # timeout=10 01:57:25 Commit message: "Merge pull request #497 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" 01:57:24 > git checkout -f 8293796536b0fdf8c12edad8c53cf3eb6594dc00 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:57:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:57:31 Dload Upload Total Spent Left Speed 01:57:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 96451 [Pipeline] sh 01:57:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:57:33 + sudo tee /etc/docker/daemon.new 01:57:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:57:33 { 01:57:33 "registry-mirrors": [ 01:57:33 "https://nexus3.edgexfoundry.org:10001" 01:57:33 ], 01:57:33 "bip": "10.250.0.254/24", 01:57:33 "hosts": [ 01:57:33 "tcp://0.0.0.0:5555", 01:57:33 "unix:///var/run/docker.sock" 01:57:33 ], 01:57:33 "mtu": 1458, 01:57:33 "selinux-enabled": true, 01:57:33 "seccomp-profile": "/etc/docker/seccomp.json" 01:57:33 } [Pipeline] sh 01:57:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:57:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:52 provisioning config files... 01:57:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/184@tmp/config11242162837606274087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:53 ---> ****-login.sh 01:57:53 nexus3.edgexfoundry.org:10001 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 nexus3.edgexfoundry.org:10002 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 nexus3.edgexfoundry.org:10003 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:55 Configure a credential helper to remove this warning. See 01:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:55 01:57:55 Login Succeeded 01:57:55 nexus3.edgexfoundry.org:10004 01:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:55 Configure a credential helper to remove this warning. See 01:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:55 01:57:55 Login Succeeded 01:57:55 ****.io 01:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:56 Configure a credential helper to remove this warning. See 01:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:56 01:57:56 Login Succeeded 01:57:56 ---> ****-login.sh ends [Pipeline] } 01:57:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:56 ========================================================= 01:57:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:57:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:57 + 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 . 01:57:57 Sending build context to Docker daemon 19.01MB 01:57:57 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:57:57 Step 2/12 : FROM ${BASE} AS builder 01:57:58 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:57:58 cf04c63912e1: Pulling fs layer 01:57:58 55b35a11ae5e: Pulling fs layer 01:57:58 a37a00ec5f00: Pulling fs layer 01:57:58 50b3750afda1: Pulling fs layer 01:57:58 4f4fb700ef54: Pulling fs layer 01:57:58 80978eb59214: Pulling fs layer 01:57:58 c9f46d7d2bd2: Pulling fs layer 01:57:58 c5a475d317c9: Pulling fs layer 01:57:58 4f4fb700ef54: Waiting 01:57:58 80978eb59214: Waiting 01:57:58 c9f46d7d2bd2: Waiting 01:57:58 c5a475d317c9: Waiting 01:57:58 50b3750afda1: Waiting 01:57:58 55b35a11ae5e: Verifying Checksum 01:57:58 55b35a11ae5e: Download complete 01:57:58 50b3750afda1: Verifying Checksum 01:57:58 50b3750afda1: Download complete 01:57:58 4f4fb700ef54: Verifying Checksum 01:57:58 4f4fb700ef54: Download complete 01:57:58 80978eb59214: Verifying Checksum 01:57:58 80978eb59214: Download complete 01:57:58 cf04c63912e1: Verifying Checksum 01:57:58 cf04c63912e1: Download complete 01:57:59 c5a475d317c9: Verifying Checksum 01:57:59 c5a475d317c9: Download complete 01:57:59 cf04c63912e1: Pull complete 01:58:00 55b35a11ae5e: Pull complete 01:58:00 a37a00ec5f00: Download complete 01:58:01 c9f46d7d2bd2: Verifying Checksum 01:58:01 c9f46d7d2bd2: Download complete 01:58:16 a37a00ec5f00: Pull complete 01:58:16 50b3750afda1: Pull complete 01:58:16 4f4fb700ef54: Pull complete 01:58:16 80978eb59214: Pull complete 01:58:24 c9f46d7d2bd2: Pull complete 01:58:26 c5a475d317c9: Pull complete 01:58:26 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 01:58:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:58:26 ---> be29e6b0f0d4 01:58:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:58:28 ---> Running in 346e49128bc9 01:58:28 Removing intermediate container 346e49128bc9 01:58:28 ---> 633a91b325d3 01:58:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:58:28 ---> Running in 56d3c3594f11 01:58:28 Removing intermediate container 56d3c3594f11 01:58:28 ---> bfff200629d0 01:58:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:58:28 ---> Running in c86db4acbcd1 01:58:29 Removing intermediate container c86db4acbcd1 01:58:29 ---> bdf3ffa9c335 01:58:29 Step 6/12 : WORKDIR /device-virtual-go 01:58:29 ---> Running in 4f7c77b0e5fd 01:58:29 Removing intermediate container 4f7c77b0e5fd 01:58:29 ---> a90fb725b852 01:58:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:58:29 ---> Running in 52386798662a 01:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:58:33 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:58:33 (2/4) Installing libedit (20240517.3.1-r0) 01:58:33 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:58:33 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:58:33 Executing busybox-1.36.1-r29.trigger 01:58:33 OK: 242 MiB in 58 packages 01:58:34 Removing intermediate container 52386798662a 01:58:34 ---> 80e8c1872b51 01:58:34 Step 8/12 : COPY go.mod vendor* ./ 01:58:35 ---> 27aebd30204c 01:58:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:35 ---> Running in a286b68d08dd 02:00:42 Removing intermediate container a286b68d08dd 02:00:42 ---> 21e82a2a9e11 02:00:42 Step 10/12 : COPY . . 02:00:42 ---> 4a41f7e048d4 02:00:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:42 ---> Running in 11da0cd60225 02:00:42 Removing intermediate container 11da0cd60225 02:00:42 ---> 2b09d5722206 02:00:42 Step 12/12 : RUN $MAKE 02:00:42 ---> Running in 4afa872cb9c2 02:00:42 noop 02:00:42 Removing intermediate container 4afa872cb9c2 02:00:42 ---> 773771e22daf 02:00:42 Successfully built 773771e22daf 02:00:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:42 + docker inspect -f . ci-base-image-arm64 02:00:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:42 prd-ubuntu20.04-docker-arm64-4c-16g-23032 does not seem to be running inside a container 02:00:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/184 -v /w/workspace/device-virtual-go/184:/w/workspace/device-virtual-go/184:rw,z -v /w/workspace/device-virtual-go/184@tmp:/w/workspace/device-virtual-go/184@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 02:00:44 $ docker top 36ce5539e2d96b310a12499d5c29c72235b4a4b37c73a52b5f019ae4d3144c76 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:45 + go version 02:00:45 go version go1.23.2 linux/arm64 [Pipeline] } 02:00:45 $ docker stop --time=1 36ce5539e2d96b310a12499d5c29c72235b4a4b37c73a52b5f019ae4d3144c76 02:00:51 $ docker rm -f --volumes 36ce5539e2d96b310a12499d5c29c72235b4a4b37c73a52b5f019ae4d3144c76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:01 + docker inspect -f . ci-base-image-arm64 02:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:01 prd-ubuntu20.04-docker-arm64-4c-16g-23032 does not seem to be running inside a container 02:01:02 $ 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/184 -v /w/workspace/device-virtual-go/184:/w/workspace/device-virtual-go/184:rw,z -v /w/workspace/device-virtual-go/184@tmp:/w/workspace/device-virtual-go/184@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 02:01:05 $ docker top c924e34c07a7e47671b2adb5ffc0be7893ce90240acfc71323019b40edc81d09 -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:06 + git config --global --add safe.directory /w/workspace/device-virtual-go/184 [Pipeline] fileExists [Pipeline] sh 02:01:11 + make test 02:01:11 go test ./... -coverprofile=coverage.out 02:01:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:05:40 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 02:05:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.089s coverage: 58.3% of statements 02:05:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:05:40 go vet ./... 02:06:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:49 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:06:49 $ docker stop --time=1 c924e34c07a7e47671b2adb5ffc0be7893ce90240acfc71323019b40edc81d09 02:06:51 $ docker rm -f --volumes c924e34c07a7e47671b2adb5ffc0be7893ce90240acfc71323019b40edc81d09 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:53 Warning: overwriting stash ‘coverage-report’ 02:06:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:06:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:06:55 + ls -al . 02:06:55 total 272 02:06:55 drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 02:01 . 02:06:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 01:57 .. 02:06:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 01:57 .git 02:06:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:57 .github 02:06:55 -rw-rw-r-- 1 jenkins jenkins 272 Oct 18 01:57 .gitignore 02:06:55 -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 01:57 .golangci.yml 02:06:55 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 18 01:57 Attribution.txt 02:06:55 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 18 01:57 CHANGELOG.md 02:06:55 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 18 01:57 Dockerfile 02:06:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 01:57 GOVERNANCE.md 02:06:55 -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 01:57 Jenkinsfile 02:06:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 01:57 LICENSE 02:06:55 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 18 01:57 Makefile 02:06:55 -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 01:57 OWNERS.md 02:06:55 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 18 01:57 README.md 02:06:55 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 01:54 VERSION 02:06:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 01:57 bin 02:06:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:57 cmd 02:06:55 -rw-r--r-- 1 jenkins jenkins 43316 Oct 18 02:05 coverage.out 02:06:55 -rw-rw-r-- 1 jenkins jenkins 6895 Oct 18 01:57 go.mod 02:06:55 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 18 01:57 go.sum 02:06:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:57 internal 02:06:55 -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:55 + 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=8293796536b0fdf8c12edad8c53cf3eb6594dc00 --label arch=arm64 --label version=3.2.0-dev.28 . 02:06:56 Sending build context to Docker daemon 19.06MB 02:06:56 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:06:56 Step 2/26 : FROM ${BASE} AS builder 02:06:56 ---> 773771e22daf 02:06:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:56 ---> Running in 886c599e479c 02:06:57 Removing intermediate container 886c599e479c 02:06:57 ---> 3749dc9f3b58 02:06:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:06:57 ---> Running in 381e18456e4d 02:06:57 Removing intermediate container 381e18456e4d 02:06:57 ---> 8e9a5ffbd20d 02:06:57 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:06:57 ---> Running in c24ec184fc64 02:06:58 Removing intermediate container c24ec184fc64 02:06:58 ---> 981ffa965bd2 02:06:58 Step 6/26 : WORKDIR /device-virtual-go 02:06:58 ---> Running in 54649c1b4302 02:06:58 Removing intermediate container 54649c1b4302 02:06:58 ---> edbdc94f87c2 02:06:58 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:58 ---> Running in b2a584eb1abf 02:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:07:03 OK: 242 MiB in 58 packages 02:07:03 Removing intermediate container b2a584eb1abf 02:07:03 ---> b39c14fcb378 02:07:03 Step 8/26 : COPY go.mod vendor* ./ 02:07:04 ---> c24915614ffb 02:07:04 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:07:04 ---> Running in 8833840c18f2 02:07:08 Removing intermediate container 8833840c18f2 02:07:08 ---> 5fa729defca2 02:07:08 Step 10/26 : COPY . . 02:07:09 ---> e1b35cf8d018 02:07:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:07:09 ---> Running in 4e8b73d7e668 02:07:09 Removing intermediate container 4e8b73d7e668 02:07:09 ---> e8cafef53902 02:07:09 Step 12/26 : RUN $MAKE 02:07:10 ---> Running in cc7bc4a829ee 02:07:11 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 02:11:48 Removing intermediate container cc7bc4a829ee 02:11:48 ---> b45d493b79bf 02:11:48 Step 13/26 : FROM alpine:3.20 02:11:48 3.20: Pulling from library/alpine 02:11:48 cf04c63912e1: Already exists 02:11:48 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:11:48 Status: Downloaded newer image for alpine:3.20 02:11:48 ---> c157a85ed455 02:11:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:11:48 ---> Running in 78a8c609f1a7 02:11:48 Removing intermediate container 78a8c609f1a7 02:11:48 ---> a1f737abbb17 02:11:48 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:11:48 ---> Running in 75cf91009f46 02:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:11:48 (1/1) Installing dumb-init (1.2.5-r3) 02:11:48 Executing busybox-1.36.1-r29.trigger 02:11:48 OK: 9 MiB in 15 packages 02:11:48 Removing intermediate container 75cf91009f46 02:11:48 ---> 8908952bea94 02:11:48 Step 16/26 : RUN apk --no-cache upgrade 02:11:48 ---> Running in 51ab2d9e7090 02:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:11:48 Upgrading critical system libraries and apk-tools: 02:11:48 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:11:48 Executing busybox-1.36.1-r29.trigger 02:11:48 Continuing the upgrade transaction with new apk-tools: 02:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:11:49 OK: 9 MiB in 15 packages 02:11:51 Removing intermediate container 51ab2d9e7090 02:11:51 ---> 1db9b08f5cba 02:11:51 Step 17/26 : WORKDIR / 02:11:51 ---> Running in b50be7bec9c9 02:11:51 Removing intermediate container b50be7bec9c9 02:11:51 ---> 13c02223849b 02:11:51 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:11:52 ---> 6e61d72783e9 02:11:52 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:11:53 ---> 19be87376b57 02:11:53 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:11:55 ---> 82eae8ed9541 02:11:55 Step 21/26 : EXPOSE 59900 02:11:55 ---> Running in a838fe00c5fd 02:11:56 Removing intermediate container a838fe00c5fd 02:11:56 ---> 3abc4c0d6922 02:11:56 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:11:56 ---> Running in bd57df494f81 02:11:56 Removing intermediate container bd57df494f81 02:11:56 ---> 57c1302f3321 02:11:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:11:56 ---> Running in a81b72f2cdd4 02:11:57 Removing intermediate container a81b72f2cdd4 02:11:57 ---> d41f37c718c6 02:11:57 Step 24/26 : LABEL arch=arm64 02:11:57 ---> Running in e553f2c57eeb 02:11:57 Removing intermediate container e553f2c57eeb 02:11:57 ---> e444cb27dbc0 02:11:57 Step 25/26 : LABEL git_sha=8293796536b0fdf8c12edad8c53cf3eb6594dc00 02:11:57 ---> Running in 1113993aab42 02:11:58 Removing intermediate container 1113993aab42 02:11:58 ---> ab17f72ef4b0 02:11:58 Step 26/26 : LABEL version=3.2.0-dev.28 02:11:58 ---> Running in 5496d70779ec 02:11:58 Removing intermediate container 5496d70779ec 02:11:58 ---> 48004ada6434 02:11:58 [Warning] One or more build-args [ARCH] were not consumed 02:11:58 Successfully built 48004ada6434 02:11:58 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 02:11:59 provisioning config files... 02:11:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/184@tmp/config3159864263753729913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:59 ---> ****-login.sh 02:11:59 nexus3.edgexfoundry.org:10001 02:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:11:59 Configure a credential helper to remove this warning. See 02:11:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:11:59 02:11:59 Login Succeeded 02:11:59 nexus3.edgexfoundry.org:10002 02:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:00 Configure a credential helper to remove this warning. See 02:12:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:00 02:12:00 Login Succeeded 02:12:00 nexus3.edgexfoundry.org:10003 02:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:00 Configure a credential helper to remove this warning. See 02:12:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:00 02:12:00 Login Succeeded 02:12:00 nexus3.edgexfoundry.org:10004 02:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:01 Configure a credential helper to remove this warning. See 02:12:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:01 02:12:01 Login Succeeded 02:12:01 ****.io 02:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:01 Configure a credential helper to remove this warning. See 02:12:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:01 02:12:01 Login Succeeded 02:12:01 ---> ****-login.sh ends [Pipeline] } 02:12:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:12:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:12:01 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:12:01 8293796536b0fdf8c12edad8c53cf3eb6594dc00 02:12:01 latest 02:12:01 3.2.0-dev.28 02:12:01 8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 02:12:01 main 02:12:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8293796536b0fdf8c12edad8c53cf3eb6594dc00 02:12:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:12:02 0c3275ecfe7d: Preparing 02:12:02 32342a7acee8: Preparing 02:12:02 44a396148dae: Preparing 02:12:02 a9998fcff56c: Preparing 02:12:02 2ced06ff4e02: Preparing 02:12:02 16113d51b718: Preparing 02:12:02 16113d51b718: Waiting 02:12:02 32342a7acee8: Pushed 02:12:02 2ced06ff4e02: Pushed 02:12:02 44a396148dae: Pushed 02:12:02 16113d51b718: Layer already exists 02:12:02 a9998fcff56c: Pushed 02:12:15 0c3275ecfe7d: Pushed 02:12:15 8293796536b0fdf8c12edad8c53cf3eb6594dc00: digest: sha256:8fca80f92125062b80d8ea7e36b099e3456e993ba01faae97269896d83a8e51d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:12:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:12:16 0c3275ecfe7d: Preparing 02:12:16 32342a7acee8: Preparing 02:12:16 44a396148dae: Preparing 02:12:16 a9998fcff56c: Preparing 02:12:16 2ced06ff4e02: Preparing 02:12:16 16113d51b718: Preparing 02:12:16 16113d51b718: Waiting 02:12:16 44a396148dae: Layer already exists 02:12:16 2ced06ff4e02: Layer already exists 02:12:16 a9998fcff56c: Layer already exists 02:12:16 0c3275ecfe7d: Layer already exists 02:12:16 32342a7acee8: Layer already exists 02:12:16 16113d51b718: Layer already exists 02:12:16 latest: digest: sha256:8fca80f92125062b80d8ea7e36b099e3456e993ba01faae97269896d83a8e51d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.28 02:12:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:12:17 0c3275ecfe7d: Preparing 02:12:17 32342a7acee8: Preparing 02:12:17 44a396148dae: Preparing 02:12:17 a9998fcff56c: Preparing 02:12:17 2ced06ff4e02: Preparing 02:12:17 16113d51b718: Preparing 02:12:17 16113d51b718: Waiting 02:12:17 32342a7acee8: Layer already exists 02:12:17 2ced06ff4e02: Layer already exists 02:12:17 0c3275ecfe7d: Layer already exists 02:12:17 44a396148dae: Layer already exists 02:12:17 a9998fcff56c: Layer already exists 02:12:17 16113d51b718: Layer already exists 02:12:17 3.2.0-dev.28: digest: sha256:8fca80f92125062b80d8ea7e36b099e3456e993ba01faae97269896d83a8e51d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 02:12:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:12:18 0c3275ecfe7d: Preparing 02:12:18 32342a7acee8: Preparing 02:12:18 44a396148dae: Preparing 02:12:18 a9998fcff56c: Preparing 02:12:18 2ced06ff4e02: Preparing 02:12:18 16113d51b718: Preparing 02:12:18 16113d51b718: Waiting 02:12:18 32342a7acee8: Layer already exists 02:12:18 0c3275ecfe7d: Layer already exists 02:12:18 44a396148dae: Layer already exists 02:12:18 2ced06ff4e02: Layer already exists 02:12:18 a9998fcff56c: Layer already exists 02:12:18 16113d51b718: Layer already exists 02:12:18 8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28: digest: sha256:8fca80f92125062b80d8ea7e36b099e3456e993ba01faae97269896d83a8e51d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:12:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:12:19 0c3275ecfe7d: Preparing 02:12:19 32342a7acee8: Preparing 02:12:19 44a396148dae: Preparing 02:12:19 a9998fcff56c: Preparing 02:12:19 2ced06ff4e02: Preparing 02:12:19 16113d51b718: Preparing 02:12:19 16113d51b718: Waiting 02:12:19 2ced06ff4e02: Layer already exists 02:12:19 44a396148dae: Layer already exists 02:12:19 0c3275ecfe7d: Layer already exists 02:12:19 a9998fcff56c: Layer already exists 02:12:19 32342a7acee8: Layer already exists 02:12:19 16113d51b718: Layer already exists 02:12:19 main: digest: sha256:8fca80f92125062b80d8ea7e36b099e3456e993ba01faae97269896d83a8e51d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:12:19 ===================================================== [Pipeline] echo 02:12:19 taggedImages: 02:12:19 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8293796536b0fdf8c12edad8c53cf3eb6594dc00 02:12:19 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:12:19 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.28 02:12:19 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8293796536b0fdf8c12edad8c53cf3eb6594dc00-3.2.0-dev.28 02:12:19 - 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 02:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:20 02:12:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:20 arm64: Pulling from edgex-lftools-log-publisher 02:12:20 8998bd30e6a1: Pulling fs layer 02:12:20 04944245beec: Pulling fs layer 02:12:20 699f458cf7ca: Pulling fs layer 02:12:20 765212b225bb: Pulling fs layer 02:12:20 f23df028b6ca: Pulling fs layer 02:12:20 d65c8cfc05b1: Pulling fs layer 02:12:20 2437ff75d9bd: Pulling fs layer 02:12:20 765212b225bb: Waiting 02:12:20 f23df028b6ca: Waiting 02:12:20 d65c8cfc05b1: Waiting 02:12:20 2437ff75d9bd: Waiting 02:12:20 04944245beec: Verifying Checksum 02:12:20 04944245beec: Download complete 02:12:20 765212b225bb: Verifying Checksum 02:12:20 765212b225bb: Download complete 02:12:20 f23df028b6ca: Verifying Checksum 02:12:21 d65c8cfc05b1: Verifying Checksum 02:12:21 d65c8cfc05b1: Download complete 02:12:21 699f458cf7ca: Verifying Checksum 02:12:21 699f458cf7ca: Download complete 02:12:21 8998bd30e6a1: Verifying Checksum 02:12:21 8998bd30e6a1: Download complete 02:12:24 2437ff75d9bd: Verifying Checksum 02:12:24 2437ff75d9bd: Download complete 02:12:26 8998bd30e6a1: Pull complete 02:12:27 04944245beec: Pull complete 02:12:29 699f458cf7ca: Pull complete 02:12:29 765212b225bb: Pull complete 02:12:30 f23df028b6ca: Pull complete 02:12:31 d65c8cfc05b1: Pull complete 02:12:49 2437ff75d9bd: Pull complete 02:12:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:12:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:49 prd-ubuntu20.04-docker-arm64-4c-16g-23032 does not seem to be running inside a container 02:12:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/184 -v /w/workspace/device-virtual-go/184:/w/workspace/device-virtual-go/184:rw,z -v /w/workspace/device-virtual-go/184@tmp:/w/workspace/device-virtual-go/184@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 02:12:53 $ docker top 05e208d12cb0828a7af29da0efea620fa435bad19748f74c95f9f69b2976b524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:54 ---> job-cost.sh 02:12:54 lf-activate-venv: SKIPPING 02:12:54 INFO: No Stack... 02:12:55 INFO: Retrieving Pricing Info for: v3-standard-4 02:12:56 INFO: Archiving Costs [Pipeline] sh 02:12:56 + cat /w/workspace/device-virtual-go/184/archives/cost.csv 02:12:56 + cut -d, -f6 [Pipeline] lock 02:12:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] 02:12:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] did not exist. Created. 02:12:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:12:57 /w/workspace/device-virtual-go/184@tmp/durable-5fe3ef7b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:12:58 + echo total: 0.10999999940395355 [Pipeline] stash 02:12:58 Warning: overwriting stash ‘stack-cost’ 02:12:58 Stashed 1 file(s) [Pipeline] } 02:12:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 02:12:58 $ docker stop --time=1 05e208d12cb0828a7af29da0efea620fa435bad19748f74c95f9f69b2976b524 02:13:00 $ docker rm -f --volumes 05e208d12cb0828a7af29da0efea620fa435bad19748f74c95f9f69b2976b524 [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 02:13:00 provisioning config files... 02:13:00 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8474104552918210532tmp [Pipeline] { [Pipeline] sh 02:13:00 + set +x 02:13:00 + curl -s https://codecov.io/bash+ 02:13:00 bash -s -- 02:13:00 02:13:00 _____ _ 02:13:00 / ____| | | 02:13:00 | | ___ __| | ___ ___ _____ __ 02:13:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:00 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:00 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:00 Bash-1.0.6 02:13:00 02:13:00 02:13:00 ==> git version 2.25.1 found 02:13:00 ==> 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 02:13:00 Release-Date: 2020-01-08 02:13:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:13:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:00 ==> Jenkins CI detected. 02:13:00 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:13:00 project root: . 02:13:00 --> token set from env 02:13:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:00 ==> Running gcov in . (disable via -X gcov) 02:13:00 ==> Python coveragepy not found 02:13:00 ==> Searching for coverage reports in: 02:13:00 + . 02:13:00 -> Found 1 reports 02:13:00 ==> Detecting git/mercurial file structure 02:13:00 ==> Reading reports 02:13:00 + ./coverage.out bytes=43316 02:13:00 ==> Appending adjustments 02:13:00 https://docs.codecov.io/docs/fixing-reports 02:13:01 + Found adjustments 02:13:01 ==> Gzipping contents 02:13:01 8.0K /tmp/codecov.nQZDAq.gz 02:13:01 ==> Uploading reports 02:13:01 url: https://codecov.io 02:13:01 query: branch=main&commit=8293796536b0fdf8c12edad8c53cf3eb6594dc00&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:13:01 -> Pinging Codecov 02:13:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8293796536b0fdf8c12edad8c53cf3eb6594dc00&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:13:01 -> Uploading to 02:13:01 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/8293796536b0fdf8c12edad8c53cf3eb6594dc00/7192e59d-238b-41ae-bda1-eae7463a0b6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T021301Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4c608e31007939a2e06458c3c4689a9ed19c3bacd2d2069b726bfd3e0fbad307 02:13:01 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:01 Dload Upload Total Spent Left Speed 02:13:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 20000 --:--:-- --:--:-- --:--:-- 20000 02:13:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] } 02:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:13:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:13:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:13:02 02:13:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:13:02 latest: Pulling from edgex-devops/edgex-snyk-go 02:13:02 43c4264eed91: Already exists 02:13:02 4cc291be95ef: Already exists 02:13:02 2ac1f1163629: Already exists 02:13:02 5c3c966382ef: Already exists 02:13:02 4f4fb700ef54: Already exists 02:13:02 d9c7d2e4e75e: Pulling fs layer 02:13:02 9c3e1370e548: Pulling fs layer 02:13:02 d9c7d2e4e75e: Verifying Checksum 02:13:02 d9c7d2e4e75e: Download complete 02:13:02 d9c7d2e4e75e: Pull complete 02:13:03 9c3e1370e548: Verifying Checksum 02:13:03 9c3e1370e548: Download complete 02:13:06 9c3e1370e548: Pull complete 02:13:06 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:13:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:06 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 02:13:06 $ 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 02:13:07 $ docker top 39a0fc4b85ffe024f12c323fd5e05b3ab2614349466fd6070e493666ec974e2d -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:07 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 02:13:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 02:13:08 + set -o pipefail 02:13:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 02:13:14 02:13:14 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:13:14 02:13:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/b448b555-18ff-461e-95ee-b67ca903f00d 02:13:14 02:13:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:13:14 02:13:15 02:13:15 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:13:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:13:16 $ docker stop --time=1 39a0fc4b85ffe024f12c323fd5e05b3ab2614349466fd6070e493666ec974e2d 02:13:18 $ docker rm -f --volumes 39a0fc4b85ffe024f12c323fd5e05b3ab2614349466fd6070e493666ec974e2d [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 02:13:19 + git log --format=format:%s -1 8293796536b0fdf8c12edad8c53cf3eb6594dc00 [Pipeline] sh 02:13:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:13:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:19 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 02:13:19 $ 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 02:13:20 $ docker top de98b5175cb42a0924e288271885ad41ac2a24b7c0131d399ca9ee83aecccbe5 -eo pid,comm 02:13:20 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). 02:13:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:20 [ssh-agent] Looking for ssh-agent implementation... 02:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:20 $ docker exec de98b5175cb42a0924e288271885ad41ac2a24b7c0131d399ca9ee83aecccbe5 ssh-agent 02:13:20 SSH_AUTH_SOCK=/tmp/ssh-u7nye6JFd5lK/agent.32 02:13:20 SSH_AGENT_PID=38 02:13:20 Running ssh-add (command line suppressed) 02:13:20 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8444405163886616411.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8444405163886616411.key) 02:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:20 + git semver tag 02:13:21 2024-10-18 02:13:20,995 [run_tag] DEBUG tag force:False 02:13:21 2024-10-18 02:13:20,996 [check_head_tag] DEBUG check head tag 02:13:21 2024-10-18 02:13:20,997 [execute] INFO git cat-file --batch-check 02:13:21 2024-10-18 02:13:20,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:13:21 2024-10-18 02:13:21,000 [execute] INFO git cat-file --batch 02:13:21 2024-10-18 02:13:21,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:13:21 2024-10-18 02:13:21,026 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:21 2024-10-18 02:13:21,026 [execute] INFO git tag -a v3.2.0-dev.28 -m v3.2.0-dev.28 02:13:21 2024-10-18 02:13:21,027 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.28', '-m', 'v3.2.0-dev.28'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 02:13:21 2024-10-18 02:13:21,030 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:21 3.2.0-dev.28 [Pipeline] } 02:13:21 $ docker exec --env ******** --env ******** de98b5175cb42a0924e288271885ad41ac2a24b7c0131d399ca9ee83aecccbe5 ssh-agent -k 02:13:21 unset SSH_AUTH_SOCK; 02:13:21 unset SSH_AGENT_PID; 02:13:21 echo Agent pid 38 killed; 02:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:21 + git semver [Pipeline] } 02:13:21 $ docker stop --time=1 de98b5175cb42a0924e288271885ad41ac2a24b7c0131d399ca9ee83aecccbe5 02:13:23 $ docker rm -f --volumes de98b5175cb42a0924e288271885ad41ac2a24b7c0131d399ca9ee83aecccbe5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:13:23 02:13:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:13:23 0.23.1-centos7: Pulling from edgex-lftools 02:13:23 ab5ef0e58194: Pulling fs layer 02:13:23 9712f1f96733: Pulling fs layer 02:13:23 63f879dbbcfc: Pulling fs layer 02:13:23 0d9ebad4ef96: Pulling fs layer 02:13:23 e9a5061849ea: Pulling fs layer 02:13:23 d747dcd14b5f: Pulling fs layer 02:13:23 2de7ff778b66: Pulling fs layer 02:13:23 d747dcd14b5f: Waiting 02:13:23 e9a5061849ea: Waiting 02:13:23 0d9ebad4ef96: Waiting 02:13:23 9712f1f96733: Verifying Checksum 02:13:23 9712f1f96733: Download complete 02:13:24 63f879dbbcfc: Verifying Checksum 02:13:24 63f879dbbcfc: Download complete 02:13:24 e9a5061849ea: Verifying Checksum 02:13:24 e9a5061849ea: Download complete 02:13:24 d747dcd14b5f: Download complete 02:13:24 0d9ebad4ef96: Verifying Checksum 02:13:24 0d9ebad4ef96: Download complete 02:13:24 ab5ef0e58194: Verifying Checksum 02:13:24 ab5ef0e58194: Download complete 02:13:24 2de7ff778b66: Verifying Checksum 02:13:24 2de7ff778b66: Download complete 02:13:26 ab5ef0e58194: Pull complete 02:13:26 9712f1f96733: Pull complete 02:13:27 63f879dbbcfc: Pull complete 02:13:30 0d9ebad4ef96: Pull complete 02:13:30 e9a5061849ea: Pull complete 02:13:30 d747dcd14b5f: Pull complete 02:13:31 2de7ff778b66: Pull complete 02:13:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:13:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:31 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 02:13:31 $ 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 02:13:33 $ docker top b1c561b18fde12b96952a789949e495f23a1ee1881a89b520bad5fe5dc9bed59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:13:33 provisioning config files... 02:13:33 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3488777180391746560tmp 02:13:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2024571798864247549tmp 02:13:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11575620237007043264tmp [Pipeline] { [Pipeline] echo 02:13:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:13:33 ---> sigul-configuration.sh 02:13:33 gpg: directory `/root/.gnupg' created 02:13:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:13:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:13:33 gpg: keyring `/root/.gnupg/secring.gpg' created 02:13:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:13:33 gpg: CAST5 encrypted data 02:13:33 gpg: encrypted with 1 passphrase 02:13:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:13:34 + mkdir /home/jenkins 02:13:34 + mkdir /home/jenkins/sigul [Pipeline] sh 02:13:34 + 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 02:13:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:13:34 ---> sigul-install.sh 02:13:34 Sigul already installed; skipping installation. [Pipeline] sh 02:13:34 + git tag --list 02:13:34 v1.0.0 02:13:34 v1.1.0 02:13:34 v1.1.1 02:13:34 v1.2.1 02:13:34 v1.2.2 02:13:34 v1.2.3 02:13:34 v1.3.0 02:13:34 v1.3.1 02:13:34 v2.0.0 02:13:34 v2.1.0 02:13:34 v2.1.1 02:13:34 v2.2.0 02:13:34 v2.3.0 02:13:34 v3.0 02:13:34 v3.0.0 02:13:34 v3.1 02:13:34 v3.1.0 02:13:34 v3.1.0-dev.1 02:13:34 v3.1.0-dev.10 02:13:34 v3.1.0-dev.11 02:13:34 v3.1.0-dev.12 02:13:34 v3.1.0-dev.13 02:13:34 v3.1.0-dev.14 02:13:34 v3.1.0-dev.15 02:13:34 v3.1.0-dev.16 02:13:34 v3.1.0-dev.17 02:13:34 v3.1.0-dev.18 02:13:34 v3.1.0-dev.19 02:13:34 v3.1.0-dev.2 02:13:34 v3.1.0-dev.20 02:13:34 v3.1.0-dev.21 02:13:34 v3.1.0-dev.22 02:13:34 v3.1.0-dev.23 02:13:34 v3.1.0-dev.24 02:13:34 v3.1.0-dev.25 02:13:34 v3.1.0-dev.26 02:13:34 v3.1.0-dev.27 02:13:34 v3.1.0-dev.28 02:13:34 v3.1.0-dev.29 02:13:34 v3.1.0-dev.3 02:13:34 v3.1.0-dev.30 02:13:34 v3.1.0-dev.4 02:13:34 v3.1.0-dev.5 02:13:34 v3.1.0-dev.6 02:13:34 v3.1.0-dev.7 02:13:34 v3.1.0-dev.8 02:13:34 v3.1.0-dev.9 02:13:34 v3.1.1 02:13:34 v3.1.1-dev.1 02:13:34 v3.2.0-dev.1 02:13:34 v3.2.0-dev.10 02:13:34 v3.2.0-dev.11 02:13:34 v3.2.0-dev.12 02:13:34 v3.2.0-dev.13 02:13:34 v3.2.0-dev.14 02:13:34 v3.2.0-dev.15 02:13:34 v3.2.0-dev.16 02:13:34 v3.2.0-dev.17 02:13:34 v3.2.0-dev.18 02:13:34 v3.2.0-dev.19 02:13:34 v3.2.0-dev.2 02:13:34 v3.2.0-dev.20 02:13:34 v3.2.0-dev.21 02:13:34 v3.2.0-dev.22 02:13:34 v3.2.0-dev.23 02:13:34 v3.2.0-dev.24 02:13:34 v3.2.0-dev.25 02:13:34 v3.2.0-dev.26 02:13:34 v3.2.0-dev.27 02:13:34 v3.2.0-dev.28 02:13:34 v3.2.0-dev.3 02:13:34 v3.2.0-dev.4 02:13:34 v3.2.0-dev.5 02:13:34 v3.2.0-dev.6 02:13:34 v3.2.0-dev.7 02:13:34 v3.2.0-dev.8 02:13:34 v3.2.0-dev.9 [Pipeline] sh 02:13:35 + lftools sign git-tag v3.2.0-dev.28 02:13:35 Signing Git tag with Sigul... 02:13:35 Signing v3.2.0-dev.28 [Pipeline] echo 02:13:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:13:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:13:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:13:36 $ docker stop --time=1 b1c561b18fde12b96952a789949e495f23a1ee1881a89b520bad5fe5dc9bed59 02:13:37 $ docker rm -f --volumes b1c561b18fde12b96952a789949e495f23a1ee1881a89b520bad5fe5dc9bed59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:13:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:13:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:38 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 02:13:38 $ 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 02:13:38 $ docker top 1e1a7e743def9b4d31aebea5f84d36a6e61dd74ea3260ac5fc1983b6a7ec0967 -eo pid,comm 02:13:38 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). 02:13:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:39 [ssh-agent] Looking for ssh-agent implementation... 02:13:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:39 $ docker exec 1e1a7e743def9b4d31aebea5f84d36a6e61dd74ea3260ac5fc1983b6a7ec0967 ssh-agent 02:13:39 SSH_AUTH_SOCK=/tmp/ssh-X6VIWoXe1ALW/agent.32 02:13:39 SSH_AGENT_PID=38 02:13:39 Running ssh-add (command line suppressed) 02:13:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_476230678409340570.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_476230678409340570.key) 02:13:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:39 + git semver bump pre 02:13:39 2024-10-18 02:13:39,882 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:39 2024-10-18 02:13:39,882 [bump_version] DEBUG bumping version:3.2.0-dev.28 on axis:pre with prefix:dev 02:13:39 2024-10-18 02:13:39,882 [bump_version] DEBUG bumped version:3.2.0-dev.29 02:13:39 2024-10-18 02:13:39,882 [write_version] DEBUG write version:3.2.0-dev.29 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 02:13:39 2024-10-18 02:13:39,882 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:39 2024-10-18 02:13:39,882 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:39 2024-10-18 02:13:39,884 [execute] INFO git cat-file --batch-check 02:13:39 2024-10-18 02:13:39,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:13:39 2024-10-18 02:13:39,890 [execute] INFO git cat-file --batch 02:13:39 2024-10-18 02:13:39,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:13:39 2024-10-18 02:13:39,895 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:39 3.2.0-dev.29 [Pipeline] } 02:13:39 $ docker exec --env ******** --env ******** 1e1a7e743def9b4d31aebea5f84d36a6e61dd74ea3260ac5fc1983b6a7ec0967 ssh-agent -k 02:13:40 unset SSH_AUTH_SOCK; 02:13:40 unset SSH_AGENT_PID; 02:13:40 echo Agent pid 38 killed; 02:13:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:40 + git semver [Pipeline] } 02:13:40 $ docker stop --time=1 1e1a7e743def9b4d31aebea5f84d36a6e61dd74ea3260ac5fc1983b6a7ec0967 02:13:41 $ docker rm -f --volumes 1e1a7e743def9b4d31aebea5f84d36a6e61dd74ea3260ac5fc1983b6a7ec0967 [Pipeline] // withDockerContainer [Pipeline] sh 02:13:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:13:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:42 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 02:13:42 $ 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 02:13:43 $ docker top a8872f89885f3f8386e998254008b80c4a8bf42984f6880ef31842e137f3aa04 -eo pid,comm 02:13:43 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). 02:13:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:43 [ssh-agent] Looking for ssh-agent implementation... 02:13:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:43 $ docker exec a8872f89885f3f8386e998254008b80c4a8bf42984f6880ef31842e137f3aa04 ssh-agent 02:13:43 SSH_AUTH_SOCK=/tmp/ssh-KVcBLdOqsktg/agent.31 02:13:43 SSH_AGENT_PID=37 02:13:43 Running ssh-add (command line suppressed) 02:13:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15449290751961212733.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15449290751961212733.key) 02:13:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:43 + git semver push 02:13:44 2024-10-18 02:13:43,942 [run_push] DEBUG push 02:13:44 2024-10-18 02:13:43,943 [execute] INFO git cat-file --batch-check 02:13:44 2024-10-18 02:13:43,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:13:44 2024-10-18 02:13:43,947 [execute] INFO git rev-list 6fff3611c87205e812f56c99872b3ff3ef9be5d8 -- 02:13:44 2024-10-18 02:13:43,948 [execute] DEBUG Popen(['git', 'rev-list', '6fff3611c87205e812f56c99872b3ff3ef9be5d8', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:13:44 2024-10-18 02:13:43,958 [execute] INFO git fetch -v origin 02:13:44 2024-10-18 02:13:43,958 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:13:44 2024-10-18 02:13:44,414 [run_push] DEBUG no remote changes detected 02:13:44 2024-10-18 02:13:44,415 [execute] INFO git push origin semver 02:13:44 2024-10-18 02:13:44,415 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:13:45 2024-10-18 02:13:45,084 [run_push] DEBUG push all version tags 02:13:45 2024-10-18 02:13:45,084 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:13:45 2024-10-18 02:13:45,085 [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) 02:13:45 2024-10-18 02:13:45,702 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:13:45 3.2.0-dev.29 [Pipeline] } 02:13:45 $ docker exec --env ******** --env ******** a8872f89885f3f8386e998254008b80c4a8bf42984f6880ef31842e137f3aa04 ssh-agent -k 02:13:45 unset SSH_AUTH_SOCK; 02:13:45 unset SSH_AGENT_PID; 02:13:45 echo Agent pid 37 killed; 02:13:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:46 + git semver [Pipeline] } 02:13:46 $ docker stop --time=1 a8872f89885f3f8386e998254008b80c4a8bf42984f6880ef31842e137f3aa04 02:13:47 $ docker rm -f --volumes a8872f89885f3f8386e998254008b80c4a8bf42984f6880ef31842e137f3aa04 [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 02:13:48 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:13:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:13:48 total 16 02:13:48 drwxr-xr-x 3 root root 4096 Oct 18 01:56 . 02:13:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 02:13 .. 02:13:48 drwxr-xr-x 2 root root 4096 Oct 18 01:56 cost 02:13:48 -rw-r--r-- 1 root root 89 Oct 18 01:56 cost.csv 02:13:48 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:13:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:13:48 total 16 02:13:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 01:56 . 02:13:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 02:13 .. 02:13:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 01:56 cost 02:13:48 -rw-r--r-- 1 jenkins jenkins 89 Oct 18 01:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:13:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:13:49 ---> package-listing.sh 02:13:49 ++ facter osfamily 02:13:49 ++ tr '[:upper:]' '[:lower:]' 02:13:49 + OS_FAMILY=debian 02:13:49 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:13:49 + START_PACKAGES=/tmp/packages_start.txt 02:13:49 + END_PACKAGES=/tmp/packages_end.txt 02:13:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:13:49 + PACKAGES=/tmp/packages_start.txt 02:13:49 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:13:49 + PACKAGES=/tmp/packages_end.txt 02:13:49 + case "${OS_FAMILY}" in 02:13:49 + dpkg -l 02:13:49 + grep '^ii' 02:13:49 + '[' -f /tmp/packages_start.txt ']' 02:13:49 + '[' -f /tmp/packages_end.txt ']' 02:13:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:13:49 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:13:49 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:13:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:13:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:13:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:50 prd-ubuntu20.04-docker-8c-8g-23027 does not seem to be running inside a container 02:13:50 $ 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 02:13:50 $ docker top 58f07d8a0e64421754907f94e394cfb812b83ae10d98c9edfdff9a4e2ff972fa -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:13:51 + mkdir -p /var/log/sysstat [Pipeline] sh 02:13:51 + ls /var/log/sa-host 02:13:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:51 provisioning config files... 02:13:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3676994145039391991tmp [Pipeline] { [Pipeline] echo 02:13:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:13:52 ---> create-netrc.sh [Pipeline] } 02:13:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:13:52 ---> python-tools-install.sh [Pipeline] echo 02:13:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:13:52 ---> sudo-logs.sh 02:13:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:13:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:13:53 ---> job-cost.sh 02:13:53 lf-activate-venv: SKIPPING 02:13:53 DEBUG: total: 0.2199999988079071 02:13:53 INFO: Retrieving Stack Cost... 02:13:53 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:53 INFO: Archiving Costs [Pipeline] echo 02:13:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:13:53 ---> logs-deploy.sh 02:13:53 lf-activate-venv: SKIPPING 02:13:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/184 02:13:53 INFO: archiving workspace using pattern(s): 02:13:54 Archives upload complete. 02:13:54 INFO: archiving logs to Nexus