Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1169a0b026d294e3363d8ba6faebbcac303608ef 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-ssh3543410211665460272.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-ssh8738030334121128730.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-ssh593773123898681427.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-ssh3508196829292997517.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-ssh13675246657706236215.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24002 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 1169a0b026d294e3363d8ba6faebbcac303608ef (main) > 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 1169a0b026d294e3363d8ba6faebbcac303608ef # timeout=10 Commit message: "Merge pull request #499 from weichou1229/v4-module" > git rev-list --no-walk 8293796536b0fdf8c12edad8c53cf3eb6594dc00 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:22:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:22:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:22:03 ========================================================= 02:22:03 EdgeX Global Pipelines Version Info 02:22:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:22:03 ------------------- 02:22:03 stable info: 02:22:03 ------------------- 02:22:03 Commited By: Ginny Guan ginny@iotechsys.com 02:22:03 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 02:22:03 Message: update stable to v1.0.265 02:22:04 ------------------- 02:22:04 experimental info: 02:22:04 ------------------- 02:22:04 Commited By: Cherry Wang cherry@iotechsys.com 02:22:04 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:22:04 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:22:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1169a0b [Pipeline] echo 02:22:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:05 provisioning config files... 02:22:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11569183880799206905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:05 ---> ****-login.sh 02:22:05 nexus3.edgexfoundry.org:10001 02:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:06 Configure a credential helper to remove this warning. See 02:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:06 02:22:06 Login Succeeded 02:22:06 nexus3.edgexfoundry.org:10002 02:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:06 Configure a credential helper to remove this warning. See 02:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:06 02:22:06 Login Succeeded 02:22:06 nexus3.edgexfoundry.org:10003 02:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:06 Configure a credential helper to remove this warning. See 02:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:06 02:22:06 Login Succeeded 02:22:06 nexus3.edgexfoundry.org:10004 02:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:06 Configure a credential helper to remove this warning. See 02:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:06 02:22:06 Login Succeeded 02:22:06 ****.io 02:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:06 Configure a credential helper to remove this warning. See 02:22:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:06 02:22:06 Login Succeeded 02:22:06 ---> ****-login.sh ends [Pipeline] } 02:22:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:22:07 + git rev-list -1 --merges 1169a0b026d294e3363d8ba6faebbcac303608ef~1..1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] echo 02:22:07 -----------> git rev-list -1 --merges 1169a0b026d294e3363d8ba6faebbcac303608ef~1..1169a0b026d294e3363d8ba6faebbcac303608ef 1169a0b026d294e3363d8ba6faebbcac303608ef 02:22:07 1169a0b026d294e3363d8ba6faebbcac303608ef [false] [Pipeline] sh 02:22:07 + git log --format=format:%s -1 1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] echo 02:22:07 ========================================================= 02:22:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:22:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:22:08 + git log --format=format:%s -1 1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] echo 02:22:08 [semverPrep] GIT_COMMIT: 1169a0b026d294e3363d8ba6faebbcac303608ef, Commit Message: Merge pull request #499 from weichou1229/v4-module [Pipeline] echo 02:22:08 [semverPrep] This is not a build commit. [Pipeline] sh 02:22:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:22:08 + grep -v github /etc/ssh/ssh_known_hosts 02:22:08 + [ -e /tmp/ssh_known_hosts ] 02:22:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:22:08 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:22:08 sudo tee -a /etc/ssh/ssh_known_hosts 02:22:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:22:08 02:22:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:22:09 0.1.4: Pulling from edgex-devops/py-git-semver 02:22:09 b85a868b505f: Pulling fs layer 02:22:09 e2be974225ed: Pulling fs layer 02:22:09 339a4e72a1f5: Pulling fs layer 02:22:09 988bab9f4d93: Pulling fs layer 02:22:09 1469e6f7b9e6: Pulling fs layer 02:22:09 eaf3925da568: Pulling fs layer 02:22:09 bab4dde63d76: Pulling fs layer 02:22:09 bde34c3a00c8: Pulling fs layer 02:22:09 b352a97aabf1: Pulling fs layer 02:22:09 4872d77fe225: Pulling fs layer 02:22:09 5851b861e8e6: Pulling fs layer 02:22:09 bde34c3a00c8: Waiting 02:22:09 b352a97aabf1: Waiting 02:22:09 4872d77fe225: Waiting 02:22:09 5851b861e8e6: Waiting 02:22:09 988bab9f4d93: Waiting 02:22:09 1469e6f7b9e6: Waiting 02:22:09 eaf3925da568: Waiting 02:22:09 bab4dde63d76: Waiting 02:22:09 e2be974225ed: Download complete 02:22:09 988bab9f4d93: Verifying Checksum 02:22:09 988bab9f4d93: Download complete 02:22:09 1469e6f7b9e6: Verifying Checksum 02:22:09 1469e6f7b9e6: Download complete 02:22:09 eaf3925da568: Verifying Checksum 02:22:09 eaf3925da568: Download complete 02:22:09 339a4e72a1f5: Verifying Checksum 02:22:09 339a4e72a1f5: Download complete 02:22:09 bde34c3a00c8: Download complete 02:22:09 b352a97aabf1: Download complete 02:22:09 4872d77fe225: Verifying Checksum 02:22:09 4872d77fe225: Download complete 02:22:09 5851b861e8e6: Verifying Checksum 02:22:09 5851b861e8e6: Download complete 02:22:09 b85a868b505f: Verifying Checksum 02:22:09 b85a868b505f: Download complete 02:22:10 bab4dde63d76: Verifying Checksum 02:22:10 bab4dde63d76: Download complete 02:22:11 b85a868b505f: Pull complete 02:22:13 e2be974225ed: Pull complete 02:22:13 339a4e72a1f5: Pull complete 02:22:14 988bab9f4d93: Pull complete 02:22:15 1469e6f7b9e6: Pull complete 02:22:16 eaf3925da568: Pull complete 02:22:18 bab4dde63d76: Pull complete 02:22:19 bde34c3a00c8: Pull complete 02:22:20 b352a97aabf1: Pull complete 02:22:20 4872d77fe225: Pull complete 02:22:21 5851b861e8e6: Pull complete 02:22:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:22:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:22:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:22 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:22:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:22:40 $ docker top e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 -eo pid,comm 02:22:40 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:22:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:22:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:22:40 [ssh-agent] Looking for ssh-agent implementation... 02:22:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:22:40 $ docker exec e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 ssh-agent 02:22:41 SSH_AUTH_SOCK=/tmp/ssh-g3bBXHpi388M/agent.14 02:22:41 SSH_AGENT_PID=20 02:22:41 Running ssh-add (command line suppressed) 02:22:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4535481674975392957.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4535481674975392957.key) 02:22:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:22:41 + git tag --points-at HEAD [Pipeline] } 02:22:41 $ docker exec --env ******** --env ******** e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 ssh-agent -k 02:22:41 unset SSH_AUTH_SOCK; 02:22:41 unset SSH_AGENT_PID; 02:22:41 echo Agent pid 20 killed; 02:22:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:22:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:22:41 [ssh-agent] Looking for ssh-agent implementation... 02:22:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:22:41 $ docker exec e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 ssh-agent 02:22:41 SSH_AUTH_SOCK=/tmp/ssh-Qb6Io1T6oyD1/agent.71 02:22:41 SSH_AGENT_PID=77 02:22:41 Running ssh-add (command line suppressed) 02:22:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1247726366026910036.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1247726366026910036.key) 02:22:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:22:42 + git semver init 02:22:42 2024-10-30 02:22:42,576 [run_init] DEBUG init version:0.0.0 force:False 02:22:42 2024-10-30 02:22:42,576 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 02:22:42 2024-10-30 02:22:42,577 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 02:22:42 2024-10-30 02:22:42,577 [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) 02:22:45 2024-10-30 02:22:44,708 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 02:22:45 2024-10-30 02:22:44,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 02:22:45 2024-10-30 02:22:44,709 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:22:45 2024-10-30 02:22:44,709 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:22:45 4.0.0-dev.1 [Pipeline] } 02:22:45 $ docker exec --env ******** --env ******** e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 ssh-agent -k 02:22:45 unset SSH_AUTH_SOCK; 02:22:45 unset SSH_AGENT_PID; 02:22:45 echo Agent pid 77 killed; 02:22:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:22:45 + git semver [Pipeline] } 02:22:45 $ docker stop --time=1 e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 02:22:47 $ docker rm -f --volumes e2c87ca08513fb4e634e26589a7bf24d0a3a80d6aca3f7ca512dbdb83fb28047 [Pipeline] // withDockerContainer [Pipeline] sh 02:22:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:22:47 Stashed 1 file(s) [Pipeline] echo 02:22:48 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:48 provisioning config files... 02:22:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6231485570458646757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:48 ---> ****-login.sh 02:22:48 nexus3.edgexfoundry.org:10001 02:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:48 Configure a credential helper to remove this warning. See 02:22:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:48 02:22:48 Login Succeeded 02:22:48 nexus3.edgexfoundry.org:10002 02:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:48 Configure a credential helper to remove this warning. See 02:22:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:48 02:22:48 Login Succeeded 02:22:48 nexus3.edgexfoundry.org:10003 02:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:48 Configure a credential helper to remove this warning. See 02:22:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:48 02:22:48 Login Succeeded 02:22:48 nexus3.edgexfoundry.org:10004 02:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:48 Configure a credential helper to remove this warning. See 02:22:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:48 02:22:48 Login Succeeded 02:22:48 ****.io 02:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:22:49 Configure a credential helper to remove this warning. See 02:22:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:22:49 02:22:49 Login Succeeded 02:22:49 ---> ****-login.sh ends [Pipeline] } 02:22:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:22:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:22:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:22:49 ========================================================= 02:22:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:22:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:49 + 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 . 02:22:49 Sending build context to Docker daemon 37.69MB 02:22:49 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:22:49 Step 2/12 : FROM ${BASE} AS builder 02:22:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:22:49 43c4264eed91: Pulling fs layer 02:22:49 4cc291be95ef: Pulling fs layer 02:22:49 2ac1f1163629: Pulling fs layer 02:22:49 5c3c966382ef: Pulling fs layer 02:22:49 4f4fb700ef54: Pulling fs layer 02:22:49 5d5c8e513c77: Pulling fs layer 02:22:49 9f66e0745190: Pulling fs layer 02:22:49 f49a43e4bbc0: Pulling fs layer 02:22:49 561ebcabdf7f: Pulling fs layer 02:22:49 5c3c966382ef: Waiting 02:22:49 4f4fb700ef54: Waiting 02:22:49 5d5c8e513c77: Waiting 02:22:49 9f66e0745190: Waiting 02:22:49 561ebcabdf7f: Waiting 02:22:49 4cc291be95ef: Verifying Checksum 02:22:49 4cc291be95ef: Download complete 02:22:49 5c3c966382ef: Verifying Checksum 02:22:49 5c3c966382ef: Download complete 02:22:49 4f4fb700ef54: Download complete 02:22:49 5d5c8e513c77: Verifying Checksum 02:22:49 5d5c8e513c77: Download complete 02:22:49 43c4264eed91: Download complete 02:22:49 9f66e0745190: Download complete 02:22:50 43c4264eed91: Pull complete 02:22:50 561ebcabdf7f: Download complete 02:22:50 4cc291be95ef: Pull complete 02:22:50 2ac1f1163629: Verifying Checksum 02:22:50 2ac1f1163629: Download complete 02:22:50 f49a43e4bbc0: Verifying Checksum 02:22:50 f49a43e4bbc0: Download complete 02:22:53 2ac1f1163629: Pull complete 02:22:53 5c3c966382ef: Pull complete 02:22:54 4f4fb700ef54: Pull complete 02:22:54 5d5c8e513c77: Pull complete 02:22:54 9f66e0745190: Pull complete 02:22:56 f49a43e4bbc0: Pull complete 02:22:56 561ebcabdf7f: Pull complete 02:22:56 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 02:22:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:22:56 ---> 3a752c3f9dda 02:22:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:23:03 Still waiting to schedule task 02:23:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:23:05 ---> Running in d8dde9e90404 02:23:05 Removing intermediate container d8dde9e90404 02:23:05 ---> 807ccad8376d 02:23:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:23:05 ---> Running in ce94f9c09942 02:23:05 Removing intermediate container ce94f9c09942 02:23:05 ---> 6c0ebb25d0f4 02:23:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:23:05 ---> Running in df4fbe4d4ac7 02:23:05 Removing intermediate container df4fbe4d4ac7 02:23:05 ---> 9e9bf6782269 02:23:05 Step 6/12 : WORKDIR /device-virtual-go 02:23:05 ---> Running in 454ff9313a55 02:23:05 Removing intermediate container 454ff9313a55 02:23:05 ---> 5e21c7de200f 02:23:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:23:05 ---> Running in fa4f64184d00 02:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:23:05 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:23:05 (2/4) Installing libedit (20240517.3.1-r0) 02:23:05 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:23:05 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:23:05 Executing busybox-1.36.1-r29.trigger 02:23:05 OK: 250 MiB in 58 packages 02:23:06 Removing intermediate container fa4f64184d00 02:23:06 ---> d47b04e21091 02:23:06 Step 8/12 : COPY go.mod vendor* ./ 02:23:06 ---> d1a2426d7a44 02:23:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:23:06 ---> Running in 3c86804d9dfe 02:23:53 Removing intermediate container 3c86804d9dfe 02:23:53 ---> 97c09c52873a 02:23:53 Step 10/12 : COPY . . 02:23:54 ---> ec40aea1ff0a 02:23:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:23:54 ---> Running in ad1bde15822a 02:23:54 Removing intermediate container ad1bde15822a 02:23:54 ---> 376dfbda88db 02:23:54 Step 12/12 : RUN $MAKE 02:23:54 ---> Running in 706e3535639f 02:23:54 noop 02:23:55 Removing intermediate container 706e3535639f 02:23:55 ---> e25db1895c75 02:23:55 Successfully built e25db1895c75 02:23:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:55 + docker inspect -f . ci-base-image-x86_64 02:23:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:55 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:23:55 $ 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 02:23:56 $ docker top 4fa47b3b80ee47df4162a8994914aa2ade35be5b8606b706e177f682ca890906 -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:56 + go version 02:23:56 go version go1.23.2 linux/amd64 [Pipeline] } 02:23:56 $ docker stop --time=1 4fa47b3b80ee47df4162a8994914aa2ade35be5b8606b706e177f682ca890906 02:23:57 $ docker rm -f --volumes 4fa47b3b80ee47df4162a8994914aa2ade35be5b8606b706e177f682ca890906 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:58 + docker inspect -f . ci-base-image-x86_64 02:23:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:16 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:24:16 $ 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 02:24:16 $ docker top c5adb61ffc466f52489f49c93ed4348d4d662f90e9133f24e9f94006182d8ba4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:16 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 02:24:17 + make test 02:24:17 go test ./... -coverprofile=coverage.out 02:24:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:24:38 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 02:24:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 02:24:48 go vet ./... 02:24:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:24:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:24:53 ./bin/test-attribution-txt.sh [Pipeline] echo 02:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:24:54 $ docker stop --time=1 c5adb61ffc466f52489f49c93ed4348d4d662f90e9133f24e9f94006182d8ba4 02:24:56 $ docker rm -f --volumes c5adb61ffc466f52489f49c93ed4348d4d662f90e9133f24e9f94006182d8ba4 [Pipeline] // withDockerContainer [Pipeline] sh 02:24:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:24:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:24:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:24:57 + ls -al . 02:24:57 total 276 02:24:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 02:24 . 02:24:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 02:21 .. 02:24:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 02:24 .git 02:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 02:21 .github 02:24:57 -rw-rw-r-- 1 jenkins jenkins 272 Oct 30 02:21 .gitignore 02:24:57 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 02:21 .golangci.yml 02:24:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 02:22 .semver 02:24:57 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 30 02:21 Attribution.txt 02:24:57 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 30 02:21 CHANGELOG.md 02:24:57 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 30 02:21 Dockerfile 02:24:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 02:21 GOVERNANCE.md 02:24:57 -rw-rw-r-- 1 jenkins jenkins 660 Oct 30 02:21 Jenkinsfile 02:24:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 02:21 LICENSE 02:24:57 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 30 02:21 Makefile 02:24:57 -rw-rw-r-- 1 jenkins jenkins 623 Oct 30 02:21 OWNERS.md 02:24:57 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 30 02:21 README.md 02:24:57 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 02:22 VERSION 02:24:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 02:21 bin 02:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 02:21 cmd 02:24:57 -rw-r--r-- 1 jenkins jenkins 43316 Oct 30 02:24 coverage.out 02:24:57 -rw-rw-r-- 1 jenkins jenkins 6888 Oct 30 02:21 go.mod 02:24:57 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 02:21 go.sum 02:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 02:21 internal 02:24:57 -rw-rw-r-- 1 jenkins jenkins 235 Oct 30 02:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:58 + 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=1169a0b026d294e3363d8ba6faebbcac303608ef --label arch=amd64 --label version=4.0.0-dev.1 . 02:24:58 Sending build context to Docker daemon 37.74MB 02:24:58 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:24:58 Step 2/26 : FROM ${BASE} AS builder 02:24:58 ---> e25db1895c75 02:24:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:24:58 ---> Running in ed3571381bac 02:24:58 Removing intermediate container ed3571381bac 02:24:58 ---> 2e62b8a5951a 02:24:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:24:58 ---> Running in 5ed70164d1d6 02:24:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24003 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 02:24:58 Running in /w/workspace/device-virtual-go/185 [Pipeline] { [Pipeline] checkout 02:24:58 Removing intermediate container 5ed70164d1d6 02:24:58 ---> be528dc5edc5 02:24:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:24:58 ---> Running in 7e57929f9cb3 02:24:58 Removing intermediate container 7e57929f9cb3 02:24:58 ---> e8a2a0906c58 02:24:58 Step 6/26 : WORKDIR /device-virtual-go 02:24:58 ---> Running in fa45053ddcb6 02:24:58 Removing intermediate container fa45053ddcb6 02:24:58 ---> bf274a62a20d 02:24:58 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:24:58 ---> Running in 21ab49c7ab7d 02:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:25:01 The recommended git tool is: git 02:25:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:25:02 OK: 250 MiB in 58 packages 02:25:02 Removing intermediate container 21ab49c7ab7d 02:25:02 ---> 83dd1596eea8 02:25:02 Step 8/26 : COPY go.mod vendor* ./ 02:25:02 ---> 2a0a7e05d131 02:25:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:25:02 ---> Running in 24b2ac33a44e 02:25:03 Removing intermediate container 24b2ac33a44e 02:25:03 ---> f63775fb4936 02:25:03 Step 10/26 : COPY . . 02:25:04 ---> 9f5d34b7463d 02:25:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:25:04 ---> Running in 9efbe5c62570 02:25:04 Removing intermediate container 9efbe5c62570 02:25:04 ---> f832f7192db8 02:25:04 Step 12/26 : RUN $MAKE 02:25:04 ---> Running in a44b744baeac 02:25:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 02:25:08 using credential edgex-jenkins-ssh 02:25:08 Cloning the remote Git repository 02:25:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:25:09 > git init /w/workspace/device-virtual-go/185 # timeout=10 02:25:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:25:09 > git --version # timeout=10 02:25:09 > git --version # 'git version 2.25.1' 02:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:25:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:25:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:25:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:25:14 Avoid second fetch 02:25:14 Checking out Revision 1169a0b026d294e3363d8ba6faebbcac303608ef (main) 02:25:14 > git config core.sparsecheckout # timeout=10 02:25:14 > git checkout -f 1169a0b026d294e3363d8ba6faebbcac303608ef # timeout=10 02:25:15 Commit message: "Merge pull request #499 from weichou1229/v4-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:25:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:25:21 % Total % Received % Xferd Average Speed Time Time Time Current 02:25:21 Dload Upload Total Spent Left Speed 02:25:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 12828 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 54587 0 --:--:-- --:--:-- --:--:-- 54355 [Pipeline] sh 02:25:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:25:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:25:22 + sudo tee /etc/docker/daemon.new 02:25:22 { 02:25:22 "registry-mirrors": [ 02:25:22 "https://nexus3.edgexfoundry.org:10001" 02:25:22 ], 02:25:22 "bip": "10.250.0.254/24", 02:25:22 "hosts": [ 02:25:22 "tcp://0.0.0.0:5555", 02:25:22 "unix:///var/run/docker.sock" 02:25:22 ], 02:25:22 "mtu": 1458, 02:25:22 "selinux-enabled": true, 02:25:22 "seccomp-profile": "/etc/docker/seccomp.json" 02:25:22 } [Pipeline] sh 02:25:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:25:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:25:42 provisioning config files... 02:25:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/185@tmp/config12391858528809065606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:42 ---> ****-login.sh 02:25:42 nexus3.edgexfoundry.org:10001 02:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:43 Configure a credential helper to remove this warning. See 02:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:43 02:25:43 Login Succeeded 02:25:43 nexus3.edgexfoundry.org:10002 02:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:43 Configure a credential helper to remove this warning. See 02:25:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:43 02:25:43 Login Succeeded 02:25:43 nexus3.edgexfoundry.org:10003 02:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:44 Configure a credential helper to remove this warning. See 02:25:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:44 02:25:44 Login Succeeded 02:25:44 nexus3.edgexfoundry.org:10004 02:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:44 Configure a credential helper to remove this warning. See 02:25:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:44 02:25:44 Login Succeeded 02:25:44 ****.io 02:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:44 Configure a credential helper to remove this warning. See 02:25:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:44 02:25:44 Login Succeeded 02:25:44 ---> ****-login.sh ends 02:25:44 Removing intermediate container a44b744baeac 02:25:44 ---> 0cebb099f656 02:25:44 Step 13/26 : FROM alpine:3.20 02:25:44 3.20: Pulling from library/alpine 02:25:44 43c4264eed91: Already exists 02:25:44 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:25:44 Status: Downloaded newer image for alpine:3.20 02:25:44 ---> 91ef0af61f39 02:25:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:25:44 ---> Running in 146f779fc954 02:25:44 Removing intermediate container 146f779fc954 02:25:44 ---> e801102fe2c1 02:25:44 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:25:44 ---> Running in 4754b94fdc89 02:25:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:25:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:25:44 (1/1) Installing dumb-init (1.2.5-r3) [Pipeline] } 02:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:25:45 Executing busybox-1.36.1-r29.trigger 02:25:45 OK: 8 MiB in 15 packages 02:25:45 Removing intermediate container 4754b94fdc89 02:25:45 ---> 1b9c8f4b1764 02:25:45 Step 16/26 : RUN apk --no-cache upgrade 02:25:45 ---> Running in 45cb046412c9 [Pipeline] echo 02:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:25:45 ========================================================= 02:25:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:25:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:25:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:25:45 + 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 . 02:25:46 Upgrading critical system libraries and apk-tools: 02:25:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:25:46 Executing busybox-1.36.1-r29.trigger 02:25:46 Continuing the upgrade transaction with new apk-tools: 02:25:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:25:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:25:46 Sending build context to Docker daemon 19.03MB 02:25:46 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:25:46 Step 2/12 : FROM ${BASE} AS builder 02:25:46 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 02:25:46 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 02:25:46 OK: 8 MiB in 15 packages 02:25:46 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:25:46 cf04c63912e1: Pulling fs layer 02:25:46 55b35a11ae5e: Pulling fs layer 02:25:46 a37a00ec5f00: Pulling fs layer 02:25:46 50b3750afda1: Pulling fs layer 02:25:46 4f4fb700ef54: Pulling fs layer 02:25:46 80978eb59214: Pulling fs layer 02:25:46 c9f46d7d2bd2: Pulling fs layer 02:25:46 c5a475d317c9: Pulling fs layer 02:25:46 4f4fb700ef54: Waiting 02:25:46 80978eb59214: Waiting 02:25:46 c9f46d7d2bd2: Waiting 02:25:46 55b35a11ae5e: Verifying Checksum 02:25:46 55b35a11ae5e: Download complete 02:25:46 50b3750afda1: Verifying Checksum 02:25:46 50b3750afda1: Download complete 02:25:46 4f4fb700ef54: Verifying Checksum 02:25:46 4f4fb700ef54: Download complete 02:25:46 80978eb59214: Verifying Checksum 02:25:46 80978eb59214: Download complete 02:25:46 cf04c63912e1: Verifying Checksum 02:25:46 cf04c63912e1: Download complete 02:25:47 Removing intermediate container 45cb046412c9 02:25:47 ---> 0e8fa0c7620c 02:25:47 Step 17/26 : WORKDIR / 02:25:47 ---> Running in f49f87c9e959 02:25:47 Removing intermediate container f49f87c9e959 02:25:47 ---> 58f6057e214f 02:25:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:25:47 ---> 1de17f55b95f 02:25:47 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:25:47 ---> ea9904cbbdfe 02:25:47 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:25:47 c5a475d317c9: Verifying Checksum 02:25:47 c5a475d317c9: Download complete 02:25:47 cf04c63912e1: Pull complete 02:25:48 ---> c3d126eaab87 02:25:48 Step 21/26 : EXPOSE 59900 02:25:48 ---> Running in 159f711b7419 02:25:48 Removing intermediate container 159f711b7419 02:25:48 ---> 3c1744a3251c 02:25:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:25:48 ---> Running in 5b087f8b6c6e 02:25:48 Removing intermediate container 5b087f8b6c6e 02:25:48 ---> 3280dfbbb878 02:25:48 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:25:48 ---> Running in 7e88692f7967 02:25:48 Removing intermediate container 7e88692f7967 02:25:48 ---> 0f5973fffb33 02:25:48 Step 24/26 : LABEL arch=amd64 02:25:48 ---> Running in 855a4d763cae 02:25:48 Removing intermediate container 855a4d763cae 02:25:48 ---> 006472422982 02:25:48 Step 25/26 : LABEL git_sha=1169a0b026d294e3363d8ba6faebbcac303608ef 02:25:48 ---> Running in c947f3531340 02:25:48 Removing intermediate container c947f3531340 02:25:48 ---> 303a794c70e4 02:25:48 Step 26/26 : LABEL version=4.0.0-dev.1 02:25:48 ---> Running in b9a0cc682129 02:25:48 Removing intermediate container b9a0cc682129 02:25:48 ---> c94f2256e577 02:25:48 [Warning] One or more build-args [ARCH] were not consumed 02:25:48 Successfully built c94f2256e577 02:25:48 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { 02:25:48 55b35a11ae5e: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:25:48 provisioning config files... 02:25:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14486630475551153531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:49 a37a00ec5f00: Verifying Checksum 02:25:49 a37a00ec5f00: Download complete 02:25:49 ---> ****-login.sh 02:25:49 nexus3.edgexfoundry.org:10001 02:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:49 Configure a credential helper to remove this warning. See 02:25:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:49 02:25:49 Login Succeeded 02:25:49 nexus3.edgexfoundry.org:10002 02:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:49 Configure a credential helper to remove this warning. See 02:25:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:49 02:25:49 Login Succeeded 02:25:49 nexus3.edgexfoundry.org:10003 02:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:49 Configure a credential helper to remove this warning. See 02:25:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:49 02:25:49 Login Succeeded 02:25:49 nexus3.edgexfoundry.org:10004 02:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:49 Configure a credential helper to remove this warning. See 02:25:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:49 02:25:49 Login Succeeded 02:25:49 ****.io 02:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:25:49 Configure a credential helper to remove this warning. See 02:25:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:25:49 02:25:49 Login Succeeded 02:25:49 ---> ****-login.sh ends [Pipeline] } 02:25:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:25:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:25:49 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:25:49 1169a0b026d294e3363d8ba6faebbcac303608ef 02:25:49 latest 02:25:49 4.0.0-dev.1 02:25:49 1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 02:25:49 main 02:25:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:50 c9f46d7d2bd2: Verifying Checksum 02:25:50 c9f46d7d2bd2: Download complete 02:25:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1169a0b026d294e3363d8ba6faebbcac303608ef 02:25:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:25:50 5fe8df05f7a6: Preparing 02:25:50 00dbeae146fb: Preparing 02:25:50 9a0441449ac1: Preparing 02:25:50 fa702ce1f571: Preparing 02:25:50 eafe40f03f86: Preparing 02:25:50 63ca1fbb43ae: Preparing 02:25:50 9a0441449ac1: Pushed 02:25:50 00dbeae146fb: Pushed 02:25:50 eafe40f03f86: Pushed 02:25:50 63ca1fbb43ae: Layer already exists 02:25:51 fa702ce1f571: Pushed 02:25:55 5fe8df05f7a6: Pushed 02:25:55 1169a0b026d294e3363d8ba6faebbcac303608ef: digest: sha256:23d6411b1f936a1654d28aab2e6c161c5e19fc69761da143dff4087d27476997 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:25:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:25:55 5fe8df05f7a6: Preparing 02:25:55 00dbeae146fb: Preparing 02:25:55 9a0441449ac1: Preparing 02:25:55 fa702ce1f571: Preparing 02:25:55 eafe40f03f86: Preparing 02:25:55 63ca1fbb43ae: Preparing 02:25:55 63ca1fbb43ae: Waiting 02:25:55 9a0441449ac1: Layer already exists 02:25:55 fa702ce1f571: Layer already exists 02:25:55 5fe8df05f7a6: Layer already exists 02:25:55 eafe40f03f86: Layer already exists 02:25:55 00dbeae146fb: Layer already exists 02:25:55 63ca1fbb43ae: Layer already exists 02:25:55 latest: digest: sha256:23d6411b1f936a1654d28aab2e6c161c5e19fc69761da143dff4087d27476997 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.1 02:25:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:25:56 5fe8df05f7a6: Preparing 02:25:56 00dbeae146fb: Preparing 02:25:56 9a0441449ac1: Preparing 02:25:56 fa702ce1f571: Preparing 02:25:56 eafe40f03f86: Preparing 02:25:56 63ca1fbb43ae: Preparing 02:25:56 00dbeae146fb: Layer already exists 02:25:56 fa702ce1f571: Layer already exists 02:25:56 5fe8df05f7a6: Layer already exists 02:25:56 9a0441449ac1: Layer already exists 02:25:56 eafe40f03f86: Layer already exists 02:25:56 63ca1fbb43ae: Layer already exists 02:25:56 4.0.0-dev.1: digest: sha256:23d6411b1f936a1654d28aab2e6c161c5e19fc69761da143dff4087d27476997 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 02:25:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:25:57 5fe8df05f7a6: Preparing 02:25:57 00dbeae146fb: Preparing 02:25:57 9a0441449ac1: Preparing 02:25:57 fa702ce1f571: Preparing 02:25:57 eafe40f03f86: Preparing 02:25:57 63ca1fbb43ae: Preparing 02:25:57 63ca1fbb43ae: Waiting 02:25:57 00dbeae146fb: Layer already exists 02:25:57 5fe8df05f7a6: Layer already exists 02:25:57 eafe40f03f86: Layer already exists 02:25:57 fa702ce1f571: Layer already exists 02:25:57 9a0441449ac1: Layer already exists 02:25:57 63ca1fbb43ae: Layer already exists 02:25:57 1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1: digest: sha256:23d6411b1f936a1654d28aab2e6c161c5e19fc69761da143dff4087d27476997 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:25:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:25:58 5fe8df05f7a6: Preparing 02:25:58 00dbeae146fb: Preparing 02:25:58 9a0441449ac1: Preparing 02:25:58 fa702ce1f571: Preparing 02:25:58 eafe40f03f86: Preparing 02:25:58 63ca1fbb43ae: Preparing 02:25:58 63ca1fbb43ae: Waiting 02:25:58 eafe40f03f86: Layer already exists 02:25:58 9a0441449ac1: Layer already exists 02:25:58 5fe8df05f7a6: Layer already exists 02:25:58 fa702ce1f571: Layer already exists 02:25:58 00dbeae146fb: Layer already exists 02:25:58 63ca1fbb43ae: Layer already exists 02:25:58 main: digest: sha256:23d6411b1f936a1654d28aab2e6c161c5e19fc69761da143dff4087d27476997 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:25:58 ===================================================== [Pipeline] echo 02:25:58 taggedImages: 02:25:58 - nexus3.edgexfoundry.org:10004/device-virtual:1169a0b026d294e3363d8ba6faebbcac303608ef 02:25:58 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:25:58 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.1 02:25:58 - nexus3.edgexfoundry.org:10004/device-virtual:1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 02:25:58 - 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 02:25:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:58 02:25:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:58 latest: Pulling from edgex-lftools-log-publisher 02:25:58 5eb5b503b376: Pulling fs layer 02:25:58 5c69ac0246d0: Pulling fs layer 02:25:58 ec43610c2a17: Pulling fs layer 02:25:58 3a2ae6a8a46f: Pulling fs layer 02:25:58 33b1e0a273af: Pulling fs layer 02:25:58 5d3b04190fa2: Pulling fs layer 02:25:58 2f39f015ded8: Pulling fs layer 02:25:58 3a2ae6a8a46f: Waiting 02:25:58 33b1e0a273af: Waiting 02:25:58 5d3b04190fa2: Waiting 02:25:58 2f39f015ded8: Waiting 02:25:58 5c69ac0246d0: Verifying Checksum 02:25:58 5c69ac0246d0: Download complete 02:25:58 3a2ae6a8a46f: Verifying Checksum 02:25:58 3a2ae6a8a46f: Download complete 02:25:58 33b1e0a273af: Verifying Checksum 02:25:58 33b1e0a273af: Download complete 02:25:58 5d3b04190fa2: Verifying Checksum 02:25:58 5d3b04190fa2: Download complete 02:25:58 ec43610c2a17: Verifying Checksum 02:25:58 ec43610c2a17: Download complete 02:25:59 5eb5b503b376: Verifying Checksum 02:25:59 5eb5b503b376: Download complete 02:25:59 2f39f015ded8: Download complete 02:26:00 5eb5b503b376: Pull complete 02:26:00 5c69ac0246d0: Pull complete 02:26:00 ec43610c2a17: Pull complete 02:26:00 3a2ae6a8a46f: Pull complete 02:26:00 33b1e0a273af: Pull complete 02:26:00 5d3b04190fa2: Pull complete 02:26:04 2f39f015ded8: Pull complete 02:26:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:26:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:05 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:26:05 $ 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 02:26:05 a37a00ec5f00: Pull complete 02:26:05 50b3750afda1: Pull complete 02:26:05 4f4fb700ef54: Pull complete 02:26:05 80978eb59214: Pull complete 02:26:06 $ docker top de812a707c1f01a3dcf0d0bb56a42704a3c5642ae3bd6b76400c2ee4d5c1338f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:06 ---> job-cost.sh 02:26:06 lf-activate-venv: SKIPPING 02:26:06 INFO: No Stack... 02:26:07 INFO: Retrieving Pricing Info for: v3-standard-8 02:26:07 INFO: Archiving Costs [Pipeline] sh 02:26:07 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:26:07 + cut -d, -f6 [Pipeline] lock 02:26:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] 02:26:07 Resource [jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] did not exist. Created. 02:26:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:26:08 + echo total: 0.2199999988079071 [Pipeline] stash 02:26:08 Stashed 1 file(s) [Pipeline] } 02:26:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] [Pipeline] // lock [Pipeline] } 02:26:08 $ docker stop --time=1 de812a707c1f01a3dcf0d0bb56a42704a3c5642ae3bd6b76400c2ee4d5c1338f 02:26:09 $ docker rm -f --volumes de812a707c1f01a3dcf0d0bb56a42704a3c5642ae3bd6b76400c2ee4d5c1338f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:26:13 c9f46d7d2bd2: Pull complete 02:26:15 c5a475d317c9: Pull complete 02:26:15 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 02:26:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:26:15 ---> be29e6b0f0d4 02:26:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:26:16 ---> Running in b5ed49c2ef4f 02:26:16 Removing intermediate container b5ed49c2ef4f 02:26:16 ---> 31353f262961 02:26:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:26:16 ---> Running in 904817e593e8 02:26:17 Removing intermediate container 904817e593e8 02:26:17 ---> feecf90f34ec 02:26:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:26:17 ---> Running in d9b1f8c5de31 02:26:17 Removing intermediate container d9b1f8c5de31 02:26:17 ---> 6e0fc962d5a1 02:26:17 Step 6/12 : WORKDIR /device-virtual-go 02:26:17 ---> Running in 268100d63313 02:26:17 Removing intermediate container 268100d63313 02:26:17 ---> a6e15d74afb7 02:26:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:26:17 ---> Running in 0533f148695c 02:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:26:20 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:26:20 (2/4) Installing libedit (20240517.3.1-r0) 02:26:20 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:26:20 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:26:21 Executing busybox-1.36.1-r29.trigger 02:26:21 OK: 242 MiB in 58 packages 02:26:21 Removing intermediate container 0533f148695c 02:26:21 ---> 17e4d2c457b5 02:26:21 Step 8/12 : COPY go.mod vendor* ./ 02:26:22 ---> b9d3a80205fa 02:26:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:26:22 ---> Running in b2e6c2b6146a 02:28:14 Removing intermediate container b2e6c2b6146a 02:28:14 ---> 4efbea4177c6 02:28:14 Step 10/12 : COPY . . 02:28:14 ---> 8f302bdd6574 02:28:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:28:14 ---> Running in 4d468b5690ef 02:28:14 Removing intermediate container 4d468b5690ef 02:28:14 ---> 8753ec595db0 02:28:14 Step 12/12 : RUN $MAKE 02:28:15 ---> Running in 0ac21438c358 02:28:16 noop 02:28:16 Removing intermediate container 0ac21438c358 02:28:16 ---> 0b09f50f2bc3 02:28:16 Successfully built 0b09f50f2bc3 02:28:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:17 + docker inspect -f . ci-base-image-arm64 02:28:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:17 prd-ubuntu20.04-docker-arm64-4c-16g-24003 does not seem to be running inside a container 02:28:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/185 -v /w/workspace/device-virtual-go/185:/w/workspace/device-virtual-go/185:rw,z -v /w/workspace/device-virtual-go/185@tmp:/w/workspace/device-virtual-go/185@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:28:18 $ docker top 52e6aa8fbc6c1b19f4aac45095412fb666294249a639c5dcc92dc71541bea921 -eo pid,comm [Pipeline] { [Pipeline] sh 02:28:19 + go version 02:28:19 go version go1.23.2 linux/arm64 [Pipeline] } 02:28:19 $ docker stop --time=1 52e6aa8fbc6c1b19f4aac45095412fb666294249a639c5dcc92dc71541bea921 02:28:21 $ docker rm -f --volumes 52e6aa8fbc6c1b19f4aac45095412fb666294249a639c5dcc92dc71541bea921 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:21 + docker inspect -f . ci-base-image-arm64 02:28:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:22 prd-ubuntu20.04-docker-arm64-4c-16g-24003 does not seem to be running inside a container 02:28:22 $ 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/185 -v /w/workspace/device-virtual-go/185:/w/workspace/device-virtual-go/185:rw,z -v /w/workspace/device-virtual-go/185@tmp:/w/workspace/device-virtual-go/185@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:28:23 $ docker top b1f23fdc26ef05d57fbd303a9e2acc0c2e821ffddb276fa2ecb54b1c3b91a7e7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:28:24 + git config --global --add safe.directory /w/workspace/device-virtual-go/185 [Pipeline] fileExists [Pipeline] sh 02:28:24 + make test 02:28:24 go test ./... -coverprofile=coverage.out 02:28:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:31:55 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 02:31:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.3% of statements 02:31:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:31:55 go vet ./... 02:32:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:51 ./bin/test-attribution-txt.sh [Pipeline] echo 02:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:32:51 $ docker stop --time=1 b1f23fdc26ef05d57fbd303a9e2acc0c2e821ffddb276fa2ecb54b1c3b91a7e7 02:32:53 $ docker rm -f --volumes b1f23fdc26ef05d57fbd303a9e2acc0c2e821ffddb276fa2ecb54b1c3b91a7e7 [Pipeline] // withDockerContainer [Pipeline] sh 02:32:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:32:55 Warning: overwriting stash ‘coverage-report’ 02:32:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:56 + ls -al . 02:32:56 total 272 02:32:56 drwxrwxr-x 7 jenkins jenkins 4096 Oct 30 02:28 . 02:32:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 02:25 .. 02:32:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 02:25 .git 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 02:25 .github 02:32:56 -rw-rw-r-- 1 jenkins jenkins 272 Oct 30 02:25 .gitignore 02:32:56 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 02:25 .golangci.yml 02:32:56 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 30 02:25 Attribution.txt 02:32:56 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 30 02:25 CHANGELOG.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 30 02:25 Dockerfile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 02:25 GOVERNANCE.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 660 Oct 30 02:25 Jenkinsfile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 02:25 LICENSE 02:32:56 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 30 02:25 Makefile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 623 Oct 30 02:25 OWNERS.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 30 02:25 README.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 02:22 VERSION 02:32:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 02:25 bin 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 02:25 cmd 02:32:56 -rw-r--r-- 1 jenkins jenkins 43316 Oct 30 02:31 coverage.out 02:32:56 -rw-rw-r-- 1 jenkins jenkins 6888 Oct 30 02:25 go.mod 02:32:56 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 02:25 go.sum 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 02:25 internal 02:32:56 -rw-rw-r-- 1 jenkins jenkins 235 Oct 30 02:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:57 + 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=1169a0b026d294e3363d8ba6faebbcac303608ef --label arch=arm64 --label version=4.0.0-dev.1 . 02:32:57 Sending build context to Docker daemon 19.08MB 02:32:57 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:32:57 Step 2/26 : FROM ${BASE} AS builder 02:32:57 ---> 0b09f50f2bc3 02:32:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:32:57 ---> Running in 760fae912e91 02:32:57 Removing intermediate container 760fae912e91 02:32:57 ---> 0d88fe005448 02:32:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:32:58 ---> Running in 792186f1c227 02:32:58 Removing intermediate container 792186f1c227 02:32:58 ---> fc23bd07ad05 02:32:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:32:58 ---> Running in 2f6c3c53ffba 02:32:58 Removing intermediate container 2f6c3c53ffba 02:32:58 ---> 3284d6d0cd67 02:32:58 Step 6/26 : WORKDIR /device-virtual-go 02:32:58 ---> Running in 825b3f4f5b07 02:32:59 Removing intermediate container 825b3f4f5b07 02:32:59 ---> c16579fd43c2 02:32:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:59 ---> Running in 61ff87027afd 02:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:33:01 OK: 242 MiB in 58 packages 02:33:02 Removing intermediate container 61ff87027afd 02:33:02 ---> be85a77ef358 02:33:02 Step 8/26 : COPY go.mod vendor* ./ 02:33:03 ---> a5f14c36f5d2 02:33:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:03 ---> Running in 6c103cfded04 02:33:05 Removing intermediate container 6c103cfded04 02:33:05 ---> 32d2f3c300c9 02:33:05 Step 10/26 : COPY . . 02:33:07 ---> 71c6f1e9c0d4 02:33:07 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:07 ---> Running in 8e23273a2f40 02:33:07 Removing intermediate container 8e23273a2f40 02:33:07 ---> cc9d9ba96ce2 02:33:07 Step 12/26 : RUN $MAKE 02:33:07 ---> Running in 04afd7fa5a9f 02:33:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 02:36:45 Removing intermediate container 04afd7fa5a9f 02:36:45 ---> 0db557eda373 02:36:45 Step 13/26 : FROM alpine:3.20 02:36:45 3.20: Pulling from library/alpine 02:36:45 cf04c63912e1: Already exists 02:36:45 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:36:45 Status: Downloaded newer image for alpine:3.20 02:36:45 ---> c157a85ed455 02:36:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:36:45 ---> Running in 401d0fc2f19d 02:36:45 Removing intermediate container 401d0fc2f19d 02:36:45 ---> 692ece47c535 02:36:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:36:45 ---> Running in e2caf7f67679 02:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:45 (1/1) Installing dumb-init (1.2.5-r3) 02:36:45 Executing busybox-1.36.1-r29.trigger 02:36:45 OK: 9 MiB in 15 packages 02:36:45 Removing intermediate container e2caf7f67679 02:36:45 ---> 5da42c7b99a9 02:36:45 Step 16/26 : RUN apk --no-cache upgrade 02:36:45 ---> Running in 32279ca52664 02:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:46 Upgrading critical system libraries and apk-tools: 02:36:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:36:46 Executing busybox-1.36.1-r29.trigger 02:36:46 Continuing the upgrade transaction with new apk-tools: 02:36:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:48 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 02:36:48 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 02:36:48 OK: 9 MiB in 15 packages 02:36:49 Removing intermediate container 32279ca52664 02:36:49 ---> 61cec37e3d70 02:36:49 Step 17/26 : WORKDIR / 02:36:49 ---> Running in 3da96c1197af 02:36:50 Removing intermediate container 3da96c1197af 02:36:50 ---> 372a7c63897c 02:36:50 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:36:50 ---> a5324f62eaf0 02:36:50 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:36:50 ---> 67325fa00ae0 02:36:50 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:36:53 ---> 09f3230088c9 02:36:53 Step 21/26 : EXPOSE 59900 02:36:53 ---> Running in c6d708bd015d 02:36:53 Removing intermediate container c6d708bd015d 02:36:53 ---> 7953d2937edf 02:36:53 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:36:53 ---> Running in 16592e2e97a6 02:36:54 Removing intermediate container 16592e2e97a6 02:36:54 ---> 4298509a2379 02:36:54 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:36:54 ---> Running in 0364bde184db 02:36:54 Removing intermediate container 0364bde184db 02:36:54 ---> 3983d1c230bc 02:36:54 Step 24/26 : LABEL arch=arm64 02:36:54 ---> Running in c32a4f196ecb 02:36:54 Removing intermediate container c32a4f196ecb 02:36:54 ---> ff7a3f1f599b 02:36:54 Step 25/26 : LABEL git_sha=1169a0b026d294e3363d8ba6faebbcac303608ef 02:36:55 ---> Running in f08290eeb3f9 02:36:55 Removing intermediate container f08290eeb3f9 02:36:55 ---> e886c9e6efda 02:36:55 Step 26/26 : LABEL version=4.0.0-dev.1 02:36:55 ---> Running in b5d2391f88f5 02:36:55 Removing intermediate container b5d2391f88f5 02:36:55 ---> 7e43e1e0b9c6 02:36:55 [Warning] One or more build-args [ARCH] were not consumed 02:36:55 Successfully built 7e43e1e0b9c6 02:36:55 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:36:55 provisioning config files... 02:36:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/185@tmp/config9610784369237407981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:56 ---> ****-login.sh 02:36:56 nexus3.edgexfoundry.org:10001 02:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:56 Configure a credential helper to remove this warning. See 02:36:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:56 02:36:56 Login Succeeded 02:36:56 nexus3.edgexfoundry.org:10002 02:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:56 Configure a credential helper to remove this warning. See 02:36:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:56 02:36:56 Login Succeeded 02:36:56 nexus3.edgexfoundry.org:10003 02:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:57 Configure a credential helper to remove this warning. See 02:36:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:57 02:36:57 Login Succeeded 02:36:57 nexus3.edgexfoundry.org:10004 02:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:57 Configure a credential helper to remove this warning. See 02:36:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:57 02:36:57 Login Succeeded 02:36:57 ****.io 02:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:58 Configure a credential helper to remove this warning. See 02:36:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:58 02:36:58 Login Succeeded 02:36:58 ---> ****-login.sh ends [Pipeline] } 02:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:36:58 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:36:58 1169a0b026d294e3363d8ba6faebbcac303608ef 02:36:58 latest 02:36:58 4.0.0-dev.1 02:36:58 1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 02:36:58 main 02:36:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1169a0b026d294e3363d8ba6faebbcac303608ef 02:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:36:58 005055c82c8e: Preparing 02:36:58 0177b60f8809: Preparing 02:36:58 ca5c3999242d: Preparing 02:36:58 ad952ac4dd71: Preparing 02:36:58 093a87c412e1: Preparing 02:36:58 16113d51b718: Preparing 02:36:58 16113d51b718: Waiting 02:36:59 0177b60f8809: Pushed 02:36:59 ca5c3999242d: Pushed 02:36:59 093a87c412e1: Pushed 02:36:59 16113d51b718: Layer already exists 02:37:00 ad952ac4dd71: Pushed 02:37:11 005055c82c8e: Pushed 02:37:11 1169a0b026d294e3363d8ba6faebbcac303608ef: digest: sha256:0be6a94c3b1a8c982973ffbcb850b0f42926f7c4bb43da5b7e3ceffd10dab275 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:37:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:37:12 005055c82c8e: Preparing 02:37:12 0177b60f8809: Preparing 02:37:12 ca5c3999242d: Preparing 02:37:12 ad952ac4dd71: Preparing 02:37:12 093a87c412e1: Preparing 02:37:12 16113d51b718: Preparing 02:37:12 16113d51b718: Waiting 02:37:12 0177b60f8809: Layer already exists 02:37:12 093a87c412e1: Layer already exists 02:37:12 ca5c3999242d: Layer already exists 02:37:12 005055c82c8e: Layer already exists 02:37:12 ad952ac4dd71: Layer already exists 02:37:12 16113d51b718: Layer already exists 02:37:12 latest: digest: sha256:0be6a94c3b1a8c982973ffbcb850b0f42926f7c4bb43da5b7e3ceffd10dab275 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.1 02:37:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:37:13 005055c82c8e: Preparing 02:37:13 0177b60f8809: Preparing 02:37:13 ca5c3999242d: Preparing 02:37:13 ad952ac4dd71: Preparing 02:37:13 093a87c412e1: Preparing 02:37:13 16113d51b718: Preparing 02:37:13 16113d51b718: Waiting 02:37:13 0177b60f8809: Layer already exists 02:37:13 005055c82c8e: Layer already exists 02:37:13 093a87c412e1: Layer already exists 02:37:13 ca5c3999242d: Layer already exists 02:37:13 ad952ac4dd71: Layer already exists 02:37:13 16113d51b718: Layer already exists 02:37:14 4.0.0-dev.1: digest: sha256:0be6a94c3b1a8c982973ffbcb850b0f42926f7c4bb43da5b7e3ceffd10dab275 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 02:37:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:37:15 005055c82c8e: Preparing 02:37:15 0177b60f8809: Preparing 02:37:15 ca5c3999242d: Preparing 02:37:15 ad952ac4dd71: Preparing 02:37:15 093a87c412e1: Preparing 02:37:15 16113d51b718: Preparing 02:37:15 16113d51b718: Waiting 02:37:15 0177b60f8809: Layer already exists 02:37:15 ca5c3999242d: Layer already exists 02:37:15 093a87c412e1: Layer already exists 02:37:15 ad952ac4dd71: Layer already exists 02:37:15 005055c82c8e: Layer already exists 02:37:15 16113d51b718: Layer already exists 02:37:15 1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1: digest: sha256:0be6a94c3b1a8c982973ffbcb850b0f42926f7c4bb43da5b7e3ceffd10dab275 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:37:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:37:16 005055c82c8e: Preparing 02:37:16 0177b60f8809: Preparing 02:37:16 ca5c3999242d: Preparing 02:37:16 ad952ac4dd71: Preparing 02:37:16 093a87c412e1: Preparing 02:37:16 16113d51b718: Preparing 02:37:16 16113d51b718: Waiting 02:37:16 ca5c3999242d: Layer already exists 02:37:16 093a87c412e1: Layer already exists 02:37:16 0177b60f8809: Layer already exists 02:37:16 005055c82c8e: Layer already exists 02:37:16 ad952ac4dd71: Layer already exists 02:37:16 16113d51b718: Layer already exists 02:37:17 main: digest: sha256:0be6a94c3b1a8c982973ffbcb850b0f42926f7c4bb43da5b7e3ceffd10dab275 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:17 ===================================================== [Pipeline] echo 02:37:17 taggedImages: 02:37:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1169a0b026d294e3363d8ba6faebbcac303608ef 02:37:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:37:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.1 02:37:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1169a0b026d294e3363d8ba6faebbcac303608ef-4.0.0-dev.1 02:37:17 - 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:37:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:17 02:37:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:19 arm64: Pulling from edgex-lftools-log-publisher 02:37:19 8998bd30e6a1: Pulling fs layer 02:37:19 04944245beec: Pulling fs layer 02:37:19 699f458cf7ca: Pulling fs layer 02:37:19 765212b225bb: Pulling fs layer 02:37:19 f23df028b6ca: Pulling fs layer 02:37:19 d65c8cfc05b1: Pulling fs layer 02:37:19 2437ff75d9bd: Pulling fs layer 02:37:19 f23df028b6ca: Waiting 02:37:19 d65c8cfc05b1: Waiting 02:37:19 2437ff75d9bd: Waiting 02:37:19 765212b225bb: Waiting 02:37:19 04944245beec: Verifying Checksum 02:37:19 04944245beec: Download complete 02:37:19 765212b225bb: Verifying Checksum 02:37:19 765212b225bb: Download complete 02:37:19 f23df028b6ca: Verifying Checksum 02:37:19 f23df028b6ca: Download complete 02:37:19 d65c8cfc05b1: Verifying Checksum 02:37:19 d65c8cfc05b1: Download complete 02:37:19 699f458cf7ca: Verifying Checksum 02:37:19 699f458cf7ca: Download complete 02:37:20 8998bd30e6a1: Download complete 02:37:22 2437ff75d9bd: Verifying Checksum 02:37:22 2437ff75d9bd: Download complete 02:37:24 8998bd30e6a1: Pull complete 02:37:25 04944245beec: Pull complete 02:37:27 699f458cf7ca: Pull complete 02:37:27 765212b225bb: Pull complete 02:37:28 f23df028b6ca: Pull complete 02:37:28 d65c8cfc05b1: Pull complete 02:37:46 2437ff75d9bd: Pull complete 02:37:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:37:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:46 prd-ubuntu20.04-docker-arm64-4c-16g-24003 does not seem to be running inside a container 02:37:46 $ 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/185 -v /w/workspace/device-virtual-go/185:/w/workspace/device-virtual-go/185:rw,z -v /w/workspace/device-virtual-go/185@tmp:/w/workspace/device-virtual-go/185@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:37:49 $ docker top 4d5fb95400eb25859020c03ad630f8e10af26b97eec6ba223a0a3f0f2ad69548 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:50 ---> job-cost.sh 02:37:50 lf-activate-venv: SKIPPING 02:37:50 INFO: No Stack... 02:37:50 INFO: Retrieving Pricing Info for: v3-standard-4 02:37:51 INFO: Archiving Costs [Pipeline] sh 02:37:52 + cat /w/workspace/device-virtual-go/185/archives/cost.csv 02:37:52 + cut -d, -f6 [Pipeline] lock 02:37:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] 02:37:52 Resource [jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] did not exist. Created. 02:37:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:52 /w/workspace/device-virtual-go/185@tmp/durable-d976a23b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:37:53 + echo total: 0.10999999940395355 [Pipeline] stash 02:37:53 Warning: overwriting stash ‘stack-cost’ 02:37:53 Stashed 1 file(s) [Pipeline] } 02:37:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-185-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:53 $ docker stop --time=1 4d5fb95400eb25859020c03ad630f8e10af26b97eec6ba223a0a3f0f2ad69548 02:37:55 $ docker rm -f --volumes 4d5fb95400eb25859020c03ad630f8e10af26b97eec6ba223a0a3f0f2ad69548 [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:37:55 provisioning config files... 02:37:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5067427359498702437tmp [Pipeline] { [Pipeline] sh 02:37:55 + set +x 02:37:55 + curl -s https://codecov.io/bash 02:37:55 + bash -s -- 02:37:55 02:37:55 _____ _ 02:37:55 / ____| | | 02:37:55 | | ___ __| | ___ ___ _____ __ 02:37:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:37:55 | |___| (_) | (_| | __/ (_| (_) \ V / 02:37:55 \_____\___/ \__,_|\___|\___\___/ \_/ 02:37:55 Bash-1.0.6 02:37:55 02:37:55 02:37:55 ==> git version 2.25.1 found 02:37:55 ==> 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:37:55 Release-Date: 2020-01-08 02:37:55 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:37:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:37:55 ==> Jenkins CI detected. 02:37:55 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:37:55 project root: . 02:37:55 --> token set from env 02:37:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:37:55 ==> Running gcov in . (disable via -X gcov) 02:37:55 ==> Python coveragepy not found 02:37:55 ==> Searching for coverage reports in: 02:37:55 + . 02:37:55 -> Found 1 reports 02:37:55 ==> Detecting git/mercurial file structure 02:37:56 ==> Reading reports 02:37:56 + ./coverage.out bytes=43316 02:37:56 ==> Appending adjustments 02:37:56 https://docs.codecov.io/docs/fixing-reports 02:37:56 + Found adjustments 02:37:56 ==> Gzipping contents 02:37:56 8.0K /tmp/codecov.5xIMal.gz 02:37:56 ==> Uploading reports 02:37:56 url: https://codecov.io 02:37:56 query: branch=main&commit=1169a0b026d294e3363d8ba6faebbcac303608ef&build=185&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F185%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:56 -> Pinging Codecov 02:37:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=1169a0b026d294e3363d8ba6faebbcac303608ef&build=185&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F185%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:56 -> Uploading to 02:37:56 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/1169a0b026d294e3363d8ba6faebbcac303608ef/63682a5e-7732-41da-8f8e-9dd71a3aec2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T023756Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=180348d84243f76d8745aebe2d70a610f792f09f1d86d7a2045e5d902b1e3cf5 02:37:56 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:56 Dload Upload Total Spent Left Speed 02:37:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 24230 --:--:-- --:--:-- --:--:-- 24114 100 5040 0 0 100 5040 0 21630 --:--:-- --:--:-- --:--:-- 21538 02:37:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] } 02:37:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:37:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:37:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:37:57 02:37:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:37:57 latest: Pulling from edgex-devops/edgex-snyk-go 02:37:57 43c4264eed91: Already exists 02:37:57 4cc291be95ef: Already exists 02:37:57 2ac1f1163629: Already exists 02:37:57 5c3c966382ef: Already exists 02:37:57 4f4fb700ef54: Already exists 02:37:57 d9c7d2e4e75e: Pulling fs layer 02:37:57 9c3e1370e548: Pulling fs layer 02:37:57 d9c7d2e4e75e: Verifying Checksum 02:37:57 d9c7d2e4e75e: Download complete 02:37:58 d9c7d2e4e75e: Pull complete 02:37:58 9c3e1370e548: Download complete 02:38:02 9c3e1370e548: Pull complete 02:38:02 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:38:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:38:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:02 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:38:02 $ 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:38:06 $ docker top 08ab4fe5fcbb925a181f9073eb82c682133bb66c4d7851676e233ad8596a6ee0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:06 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 02:38:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 02:38:07 + set -o pipefail 02:38:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 02:38:15 02:38:15 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:38:15 02:38:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/92c394e5-af0a-451b-ae86-d26c8a427d99 02:38:15 02:38:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:38:15 [Pipeline] } 02:38:15 $ docker stop --time=1 08ab4fe5fcbb925a181f9073eb82c682133bb66c4d7851676e233ad8596a6ee0 02:38:24 $ docker rm -f --volumes 08ab4fe5fcbb925a181f9073eb82c682133bb66c4d7851676e233ad8596a6ee0 [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:38:25 + git log --format=format:%s -1 1169a0b026d294e3363d8ba6faebbcac303608ef [Pipeline] sh 02:38:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:25 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:38:26 $ 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:38:26 $ docker top 674d30a85c4836f9e3846949eab37f202e7557e2fc6a7ecdabf024c53fca5380 -eo pid,comm 02:38:26 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:38:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:26 [ssh-agent] Looking for ssh-agent implementation... 02:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:27 $ docker exec 674d30a85c4836f9e3846949eab37f202e7557e2fc6a7ecdabf024c53fca5380 ssh-agent 02:38:27 SSH_AUTH_SOCK=/tmp/ssh-qEPQStkteXOa/agent.21 02:38:27 SSH_AGENT_PID=28 02:38:27 Running ssh-add (command line suppressed) 02:38:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2647003419108750803.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2647003419108750803.key) 02:38:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:27 + git semver tag 02:38:27 2024-10-30 02:38:27,814 [run_tag] DEBUG tag force:False 02:38:27 2024-10-30 02:38:27,815 [check_head_tag] DEBUG check head tag 02:38:27 2024-10-30 02:38:27,816 [execute] INFO git cat-file --batch-check 02:38:27 2024-10-30 02:38:27,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:38:27 2024-10-30 02:38:27,821 [execute] INFO git cat-file --batch 02:38:27 2024-10-30 02:38:27,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:38:27 2024-10-30 02:38:27,845 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:27 2024-10-30 02:38:27,845 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 02:38:27 2024-10-30 02:38:27,845 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 02:38:27 2024-10-30 02:38:27,850 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:28 4.0.0-dev.1 [Pipeline] } 02:38:28 $ docker exec --env ******** --env ******** 674d30a85c4836f9e3846949eab37f202e7557e2fc6a7ecdabf024c53fca5380 ssh-agent -k 02:38:28 unset SSH_AUTH_SOCK; 02:38:28 unset SSH_AGENT_PID; 02:38:28 echo Agent pid 28 killed; 02:38:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:28 + git semver [Pipeline] } 02:38:28 $ docker stop --time=1 674d30a85c4836f9e3846949eab37f202e7557e2fc6a7ecdabf024c53fca5380 02:38:30 $ docker rm -f --volumes 674d30a85c4836f9e3846949eab37f202e7557e2fc6a7ecdabf024c53fca5380 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:30 02:38:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:30 0.23.1-centos7: Pulling from edgex-lftools 02:38:30 ab5ef0e58194: Pulling fs layer 02:38:30 9712f1f96733: Pulling fs layer 02:38:30 63f879dbbcfc: Pulling fs layer 02:38:30 0d9ebad4ef96: Pulling fs layer 02:38:30 e9a5061849ea: Pulling fs layer 02:38:30 d747dcd14b5f: Pulling fs layer 02:38:30 2de7ff778b66: Pulling fs layer 02:38:30 e9a5061849ea: Waiting 02:38:30 d747dcd14b5f: Waiting 02:38:30 2de7ff778b66: Waiting 02:38:30 0d9ebad4ef96: Waiting 02:38:30 9712f1f96733: Verifying Checksum 02:38:30 9712f1f96733: Download complete 02:38:31 63f879dbbcfc: Verifying Checksum 02:38:31 63f879dbbcfc: Download complete 02:38:31 e9a5061849ea: Verifying Checksum 02:38:31 e9a5061849ea: Download complete 02:38:31 d747dcd14b5f: Download complete 02:38:31 0d9ebad4ef96: Verifying Checksum 02:38:31 0d9ebad4ef96: Download complete 02:38:31 ab5ef0e58194: Verifying Checksum 02:38:31 ab5ef0e58194: Download complete 02:38:31 2de7ff778b66: Verifying Checksum 02:38:31 2de7ff778b66: Download complete 02:38:34 ab5ef0e58194: Pull complete 02:38:34 9712f1f96733: Pull complete 02:38:35 63f879dbbcfc: Pull complete 02:38:38 0d9ebad4ef96: Pull complete 02:38:39 e9a5061849ea: Pull complete 02:38:39 d747dcd14b5f: Pull complete 02:38:40 2de7ff778b66: Pull complete 02:38:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:40 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:38:40 $ 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:38:46 $ docker top 0708fd15c5d2e7414a719cc2a5299c24501af985aba41f125e784d4476459807 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:38:46 provisioning config files... 02:38:46 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11887860103929510229tmp 02:38:46 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15617646348937661600tmp 02:38:46 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1025890817736931984tmp [Pipeline] { [Pipeline] echo 02:38:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:38:47 ---> sigul-configuration.sh 02:38:47 gpg: directory `/root/.gnupg' created 02:38:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:38:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:38:47 gpg: keyring `/root/.gnupg/secring.gpg' created 02:38:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:38:47 gpg: CAST5 encrypted data 02:38:47 gpg: encrypted with 1 passphrase 02:38:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:38:47 + mkdir /home/jenkins 02:38:47 + mkdir /home/jenkins/sigul [Pipeline] sh 02:38:47 + 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:38:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:38:48 ---> sigul-install.sh 02:38:48 Sigul already installed; skipping installation. [Pipeline] sh 02:38:48 + git tag --list 02:38:48 v1.0.0 02:38:48 v1.1.0 02:38:48 v1.1.1 02:38:48 v1.2.1 02:38:48 v1.2.2 02:38:48 v1.2.3 02:38:48 v1.3.0 02:38:48 v1.3.1 02:38:48 v2.0.0 02:38:48 v2.1.0 02:38:48 v2.1.1 02:38:48 v2.2.0 02:38:48 v2.3.0 02:38:48 v3.0 02:38:48 v3.0.0 02:38:48 v3.1 02:38:48 v3.1.0 02:38:48 v3.1.0-dev.1 02:38:48 v3.1.0-dev.10 02:38:48 v3.1.0-dev.11 02:38:48 v3.1.0-dev.12 02:38:48 v3.1.0-dev.13 02:38:48 v3.1.0-dev.14 02:38:48 v3.1.0-dev.15 02:38:48 v3.1.0-dev.16 02:38:48 v3.1.0-dev.17 02:38:48 v3.1.0-dev.18 02:38:48 v3.1.0-dev.19 02:38:48 v3.1.0-dev.2 02:38:48 v3.1.0-dev.20 02:38:48 v3.1.0-dev.21 02:38:48 v3.1.0-dev.22 02:38:48 v3.1.0-dev.23 02:38:48 v3.1.0-dev.24 02:38:48 v3.1.0-dev.25 02:38:48 v3.1.0-dev.26 02:38:48 v3.1.0-dev.27 02:38:48 v3.1.0-dev.28 02:38:48 v3.1.0-dev.29 02:38:48 v3.1.0-dev.3 02:38:48 v3.1.0-dev.30 02:38:48 v3.1.0-dev.4 02:38:48 v3.1.0-dev.5 02:38:48 v3.1.0-dev.6 02:38:48 v3.1.0-dev.7 02:38:48 v3.1.0-dev.8 02:38:48 v3.1.0-dev.9 02:38:48 v3.1.1 02:38:48 v3.1.1-dev.1 02:38:48 v3.2.0-dev.1 02:38:48 v3.2.0-dev.10 02:38:48 v3.2.0-dev.11 02:38:48 v3.2.0-dev.12 02:38:48 v3.2.0-dev.13 02:38:48 v3.2.0-dev.14 02:38:48 v3.2.0-dev.15 02:38:48 v3.2.0-dev.16 02:38:48 v3.2.0-dev.17 02:38:48 v3.2.0-dev.18 02:38:48 v3.2.0-dev.19 02:38:48 v3.2.0-dev.2 02:38:48 v3.2.0-dev.20 02:38:48 v3.2.0-dev.21 02:38:48 v3.2.0-dev.22 02:38:48 v3.2.0-dev.23 02:38:48 v3.2.0-dev.24 02:38:48 v3.2.0-dev.25 02:38:48 v3.2.0-dev.26 02:38:48 v3.2.0-dev.27 02:38:48 v3.2.0-dev.28 02:38:48 v3.2.0-dev.3 02:38:48 v3.2.0-dev.4 02:38:48 v3.2.0-dev.5 02:38:48 v3.2.0-dev.6 02:38:48 v3.2.0-dev.7 02:38:48 v3.2.0-dev.8 02:38:48 v3.2.0-dev.9 02:38:48 v4.0.0-dev.1 [Pipeline] sh 02:38:48 + lftools sign git-tag v4.0.0-dev.1 02:38:49 Signing Git tag with Sigul... 02:38:49 Signing v4.0.0-dev.1 [Pipeline] echo 02:38:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:38:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:38:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:38:49 $ docker stop --time=1 0708fd15c5d2e7414a719cc2a5299c24501af985aba41f125e784d4476459807 02:38:51 $ docker rm -f --volumes 0708fd15c5d2e7414a719cc2a5299c24501af985aba41f125e784d4476459807 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:38:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:52 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:38:52 $ 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:38:52 $ docker top 63dc41f4aaf3957da60cde2ca3dc3b34eef2481b5df2d5101d9546b04536d6f2 -eo pid,comm 02:38:52 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:38:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:52 [ssh-agent] Looking for ssh-agent implementation... 02:38:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:52 $ docker exec 63dc41f4aaf3957da60cde2ca3dc3b34eef2481b5df2d5101d9546b04536d6f2 ssh-agent 02:38:52 SSH_AUTH_SOCK=/tmp/ssh-Swcuvaz9cqWV/agent.34 02:38:52 SSH_AGENT_PID=40 02:38:52 Running ssh-add (command line suppressed) 02:38:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11655146720483652443.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11655146720483652443.key) 02:38:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:53 + git semver bump pre 02:38:53 2024-10-30 02:38:53,416 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:53 2024-10-30 02:38:53,416 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 02:38:53 2024-10-30 02:38:53,417 [bump_version] DEBUG bumped version:4.0.0-dev.2 02:38:53 2024-10-30 02:38:53,417 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 02:38:53 2024-10-30 02:38:53,417 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:53 2024-10-30 02:38:53,417 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:53 2024-10-30 02:38:53,419 [execute] INFO git cat-file --batch-check 02:38:53 2024-10-30 02:38:53,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:38:53 2024-10-30 02:38:53,425 [execute] INFO git cat-file --batch 02:38:53 2024-10-30 02:38:53,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:38:53 2024-10-30 02:38:53,431 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:53 4.0.0-dev.2 [Pipeline] } 02:38:53 $ docker exec --env ******** --env ******** 63dc41f4aaf3957da60cde2ca3dc3b34eef2481b5df2d5101d9546b04536d6f2 ssh-agent -k 02:38:53 unset SSH_AUTH_SOCK; 02:38:53 unset SSH_AGENT_PID; 02:38:53 echo Agent pid 40 killed; 02:38:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:53 + git semver [Pipeline] } 02:38:54 $ docker stop --time=1 63dc41f4aaf3957da60cde2ca3dc3b34eef2481b5df2d5101d9546b04536d6f2 02:38:55 $ docker rm -f --volumes 63dc41f4aaf3957da60cde2ca3dc3b34eef2481b5df2d5101d9546b04536d6f2 [Pipeline] // withDockerContainer [Pipeline] sh 02:38:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:56 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:38:56 $ 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:38:56 $ docker top 25917d724ee9108183c054117aeadd896fa91108f5ee6f91d7213d081d09e590 -eo pid,comm 02:38:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:38:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:56 [ssh-agent] Looking for ssh-agent implementation... 02:38:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:56 $ docker exec 25917d724ee9108183c054117aeadd896fa91108f5ee6f91d7213d081d09e590 ssh-agent 02:38:57 SSH_AUTH_SOCK=/tmp/ssh-L0ovh0bIEU7k/agent.32 02:38:57 SSH_AGENT_PID=38 02:38:57 Running ssh-add (command line suppressed) 02:38:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6308517911761169.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6308517911761169.key) 02:38:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:57 + git semver push 02:38:57 2024-10-30 02:38:57,604 [run_push] DEBUG push 02:38:57 2024-10-30 02:38:57,605 [execute] INFO git cat-file --batch-check 02:38:57 2024-10-30 02:38:57,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:38:57 2024-10-30 02:38:57,608 [execute] INFO git rev-list ab591df6be29b8c645945e0cbd13d9897751a5e5 -- 02:38:57 2024-10-30 02:38:57,609 [execute] DEBUG Popen(['git', 'rev-list', 'ab591df6be29b8c645945e0cbd13d9897751a5e5', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:38:57 2024-10-30 02:38:57,618 [execute] INFO git fetch -v origin 02:38:57 2024-10-30 02:38:57,618 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:38:58 2024-10-30 02:38:58,062 [run_push] DEBUG no remote changes detected 02:38:58 2024-10-30 02:38:58,062 [execute] INFO git push origin semver 02:38:58 2024-10-30 02:38:58,062 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:38:58 2024-10-30 02:38:58,718 [run_push] DEBUG push all version tags 02:38:58 2024-10-30 02:38:58,719 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:38:58 2024-10-30 02:38:58,719 [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:38:59 2024-10-30 02:38:59,430 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:38:59 4.0.0-dev.2 [Pipeline] } 02:38:59 $ docker exec --env ******** --env ******** 25917d724ee9108183c054117aeadd896fa91108f5ee6f91d7213d081d09e590 ssh-agent -k 02:38:59 unset SSH_AUTH_SOCK; 02:38:59 unset SSH_AGENT_PID; 02:38:59 echo Agent pid 38 killed; 02:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:00 + git semver [Pipeline] } 02:39:00 $ docker stop --time=1 25917d724ee9108183c054117aeadd896fa91108f5ee6f91d7213d081d09e590 02:39:01 $ docker rm -f --volumes 25917d724ee9108183c054117aeadd896fa91108f5ee6f91d7213d081d09e590 [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:39:02 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:39:02 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:39:02 total 16 02:39:02 drwxr-xr-x 3 root root 4096 Oct 30 02:26 . 02:39:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 02:38 .. 02:39:02 drwxr-xr-x 2 root root 4096 Oct 30 02:26 cost 02:39:02 -rw-r--r-- 1 root root 89 Oct 30 02:26 cost.csv 02:39:02 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:39:02 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:39:02 total 16 02:39:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 02:26 . 02:39:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 02:38 .. 02:39:02 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 02:26 cost 02:39:02 -rw-r--r-- 1 jenkins jenkins 89 Oct 30 02:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:39:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:39:03 ---> package-listing.sh 02:39:03 ++ facter osfamily 02:39:03 ++ tr '[:upper:]' '[:lower:]' 02:39:03 + OS_FAMILY=debian 02:39:03 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:39:03 + START_PACKAGES=/tmp/packages_start.txt 02:39:03 + END_PACKAGES=/tmp/packages_end.txt 02:39:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:39:03 + PACKAGES=/tmp/packages_start.txt 02:39:03 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:39:03 + PACKAGES=/tmp/packages_end.txt 02:39:03 + case "${OS_FAMILY}" in 02:39:03 + dpkg -l 02:39:03 + grep '^ii' 02:39:03 + '[' -f /tmp/packages_start.txt ']' 02:39:03 + '[' -f /tmp/packages_end.txt ']' 02:39:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:39:03 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:39:03 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:39:03 + 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:39:03 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:39:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:04 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 02:39:04 $ 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:39:05 $ docker top 201360b6790a2d2a7dc410743ef74d14c458190f2ffe34568e4a7a7468543c8c -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:05 + touch /tmp/pre-build-complete [Pipeline] sh 02:39:05 + mkdir -p /var/log/sysstat [Pipeline] sh 02:39:06 + ls /var/log/sa-host 02:39:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:06 provisioning config files... 02:39:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7099327543920704008tmp [Pipeline] { [Pipeline] echo 02:39:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:39:06 ---> create-netrc.sh [Pipeline] } 02:39:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:39:06 ---> python-tools-install.sh [Pipeline] echo 02:39:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:39:07 ---> sudo-logs.sh 02:39:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:39:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:39:07 ---> job-cost.sh 02:39:07 lf-activate-venv: SKIPPING 02:39:07 DEBUG: total: 0.2199999988079071 02:39:07 INFO: Retrieving Stack Cost... 02:39:08 INFO: Retrieving Pricing Info for: v3-standard-8 02:39:08 INFO: Archiving Costs [Pipeline] echo 02:39:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:39:08 ---> logs-deploy.sh 02:39:08 lf-activate-venv: SKIPPING 02:39:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/185 02:39:08 INFO: archiving workspace using pattern(s): 02:39:09 Archives upload complete. 02:39:09 INFO: archiving logs to Nexus