Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bd221175a2feb80dc354132039af34741a0a595 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-ssh4035140021379804902.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-ssh11714655827007595246.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-ssh8295736103302167542.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-ssh14545762607546664017.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-ssh11814515665765407928.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 ‘prd-ubuntu20.04-docker-8c-8g-24218’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24220 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 2bd221175a2feb80dc354132039af34741a0a595 (main) Commit message: "Merge pull request #500 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" > 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 2bd221175a2feb80dc354132039af34741a0a595 # timeout=10 > git rev-list --no-walk 1169a0b026d294e3363d8ba6faebbcac303608ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:37:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:37:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:37:20 ========================================================= 11:37:20 EdgeX Global Pipelines Version Info 11:37:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:37:20 ------------------- 11:37:20 stable info: 11:37:20 ------------------- 11:37:20 Commited By: Ginny Guan ginny@iotechsys.com 11:37:20 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 11:37:20 Message: update stable to v1.0.265 11:37:21 ------------------- 11:37:21 experimental info: 11:37:21 ------------------- 11:37:21 Commited By: Cherry Wang cherry@iotechsys.com 11:37:21 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 11:37:21 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:37:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bd2211 [Pipeline] echo 11:37:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:37:22 provisioning config files... 11:37:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17718169674811590981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:37:22 ---> ****-login.sh 11:37:22 nexus3.edgexfoundry.org:10001 11:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:23 Configure a credential helper to remove this warning. See 11:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:23 11:37:23 Login Succeeded 11:37:23 nexus3.edgexfoundry.org:10002 11:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:23 Configure a credential helper to remove this warning. See 11:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:23 11:37:23 Login Succeeded 11:37:23 nexus3.edgexfoundry.org:10003 11:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:23 Configure a credential helper to remove this warning. See 11:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:23 11:37:23 Login Succeeded 11:37:23 nexus3.edgexfoundry.org:10004 11:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:23 Configure a credential helper to remove this warning. See 11:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:23 11:37:23 Login Succeeded 11:37:23 ****.io 11:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:23 Configure a credential helper to remove this warning. See 11:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:23 11:37:23 Login Succeeded 11:37:23 ---> ****-login.sh ends [Pipeline] } 11:37:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:37:24 + git rev-list -1 --merges 2bd221175a2feb80dc354132039af34741a0a595~1..2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] echo 11:37:24 -----------> git rev-list -1 --merges 2bd221175a2feb80dc354132039af34741a0a595~1..2bd221175a2feb80dc354132039af34741a0a595 2bd221175a2feb80dc354132039af34741a0a595 11:37:24 2bd221175a2feb80dc354132039af34741a0a595 [false] [Pipeline] sh 11:37:24 + git log --format=format:%s -1 2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] echo 11:37:24 ========================================================= 11:37:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:37:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:37:24 + git log --format=format:%s -1 2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] echo 11:37:24 [semverPrep] GIT_COMMIT: 2bd221175a2feb80dc354132039af34741a0a595, Commit Message: Merge pull request #500 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2 [Pipeline] echo 11:37:24 [semverPrep] This is not a build commit. [Pipeline] sh 11:37:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:37:25 + grep -v github /etc/ssh/ssh_known_hosts 11:37:25 + [ -e /tmp/ssh_known_hosts ] 11:37:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:37:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:37:25 + sudo tee -a /etc/ssh/ssh_known_hosts 11:37:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:37:25 11:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:37:25 0.1.4: Pulling from edgex-devops/py-git-semver 11:37:25 b85a868b505f: Pulling fs layer 11:37:25 e2be974225ed: Pulling fs layer 11:37:25 339a4e72a1f5: Pulling fs layer 11:37:25 988bab9f4d93: Pulling fs layer 11:37:25 1469e6f7b9e6: Pulling fs layer 11:37:25 eaf3925da568: Pulling fs layer 11:37:25 bab4dde63d76: Pulling fs layer 11:37:25 bde34c3a00c8: Pulling fs layer 11:37:25 b352a97aabf1: Pulling fs layer 11:37:25 4872d77fe225: Pulling fs layer 11:37:25 5851b861e8e6: Pulling fs layer 11:37:25 b352a97aabf1: Waiting 11:37:25 1469e6f7b9e6: Waiting 11:37:25 eaf3925da568: Waiting 11:37:25 5851b861e8e6: Waiting 11:37:25 4872d77fe225: Waiting 11:37:25 988bab9f4d93: Waiting 11:37:25 bde34c3a00c8: Waiting 11:37:25 bab4dde63d76: Waiting 11:37:25 988bab9f4d93: Verifying Checksum 11:37:25 988bab9f4d93: Download complete 11:37:25 1469e6f7b9e6: Verifying Checksum 11:37:25 1469e6f7b9e6: Download complete 11:37:25 eaf3925da568: Verifying Checksum 11:37:25 eaf3925da568: Download complete 11:37:25 339a4e72a1f5: Verifying Checksum 11:37:25 339a4e72a1f5: Download complete 11:37:26 bde34c3a00c8: Verifying Checksum 11:37:26 bde34c3a00c8: Download complete 11:37:26 b352a97aabf1: Verifying Checksum 11:37:26 b352a97aabf1: Download complete 11:37:26 4872d77fe225: Verifying Checksum 11:37:26 4872d77fe225: Download complete 11:37:26 5851b861e8e6: Verifying Checksum 11:37:26 5851b861e8e6: Download complete 11:37:26 b85a868b505f: Download complete 11:37:26 bab4dde63d76: Verifying Checksum 11:37:26 bab4dde63d76: Download complete 11:37:27 b85a868b505f: Pull complete 11:37:27 e2be974225ed: Pull complete 11:37:28 339a4e72a1f5: Pull complete 11:37:28 988bab9f4d93: Pull complete 11:37:28 1469e6f7b9e6: Pull complete 11:37:28 eaf3925da568: Pull complete 11:37:29 bab4dde63d76: Pull complete 11:37:29 bde34c3a00c8: Pull complete 11:37:29 b352a97aabf1: Pull complete 11:37:29 4872d77fe225: Pull complete 11:37:30 5851b861e8e6: Pull complete 11:37:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:37:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:37:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:37:30 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:37:30 $ 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 11:37:34 $ docker top 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e -eo pid,comm 11:37:34 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). 11:37:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:37:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:37:34 [ssh-agent] Looking for ssh-agent implementation... 11:37:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:37:34 $ docker exec 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e ssh-agent 11:37:34 SSH_AUTH_SOCK=/tmp/ssh-sqtyeDyCPL7f/agent.32 11:37:34 SSH_AGENT_PID=39 11:37:35 Running ssh-add (command line suppressed) 11:37:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4483116496798901215.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4483116496798901215.key) 11:37:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:37:35 + git tag --points-at HEAD [Pipeline] } 11:37:35 $ docker exec --env ******** --env ******** 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e ssh-agent -k 11:37:35 unset SSH_AUTH_SOCK; 11:37:35 unset SSH_AGENT_PID; 11:37:35 echo Agent pid 39 killed; 11:37:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:37:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:37:35 [ssh-agent] Looking for ssh-agent implementation... 11:37:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:37:35 $ docker exec 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e ssh-agent 11:37:35 SSH_AUTH_SOCK=/tmp/ssh-essZBVURRE2n/agent.72 11:37:35 SSH_AGENT_PID=78 11:37:35 Running ssh-add (command line suppressed) 11:37:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11850387943704189261.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11850387943704189261.key) 11:37:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:37:36 + git semver init 11:37:36 2024-10-31 11:37:36,331 [run_init] DEBUG init version:0.0.0 force:False 11:37:36 2024-10-31 11:37:36,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 11:37:36 2024-10-31 11:37:36,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 11:37:36 2024-10-31 11:37:36,333 [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) 11:37:38 2024-10-31 11:37:38,273 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 11:37:38 2024-10-31 11:37:38,274 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 11:37:38 2024-10-31 11:37:38,274 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:37:38 2024-10-31 11:37:38,274 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:37:38 4.0.0-dev.2 [Pipeline] } 11:37:38 $ docker exec --env ******** --env ******** 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e ssh-agent -k 11:37:38 unset SSH_AUTH_SOCK; 11:37:38 unset SSH_AGENT_PID; 11:37:38 echo Agent pid 78 killed; 11:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:37:38 + git semver [Pipeline] } 11:37:39 $ docker stop --time=1 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e 11:37:40 $ docker rm -f --volumes 468e28ea3bd0fc57c92106188e6ea4b0ab8a6764108811a436d0aa0f922d4f0e [Pipeline] // withDockerContainer [Pipeline] sh 11:37:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:37:40 Stashed 1 file(s) [Pipeline] echo 11:37:40 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [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 11:37:41 provisioning config files... 11:37:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1180781230716836799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:37:41 ---> ****-login.sh 11:37:41 nexus3.edgexfoundry.org:10001 11:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:41 Configure a credential helper to remove this warning. See 11:37:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:41 11:37:41 Login Succeeded 11:37:41 nexus3.edgexfoundry.org:10002 11:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:41 Configure a credential helper to remove this warning. See 11:37:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:41 11:37:41 Login Succeeded 11:37:41 nexus3.edgexfoundry.org:10003 11:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:41 Configure a credential helper to remove this warning. See 11:37:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:41 11:37:41 Login Succeeded 11:37:41 nexus3.edgexfoundry.org:10004 11:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:41 Configure a credential helper to remove this warning. See 11:37:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:41 11:37:41 Login Succeeded 11:37:41 ****.io 11:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:37:42 Configure a credential helper to remove this warning. See 11:37:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:37:42 11:37:42 Login Succeeded 11:37:42 ---> ****-login.sh ends [Pipeline] } 11:37:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:37:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:37:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:37:42 ========================================================= 11:37:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 11:37:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:42 + 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 . 11:37:42 Sending build context to Docker daemon 37.69MB 11:37:42 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:37:42 Step 2/12 : FROM ${BASE} AS builder 11:37:42 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 11:37:42 43c4264eed91: Pulling fs layer 11:37:42 4cc291be95ef: Pulling fs layer 11:37:42 2ac1f1163629: Pulling fs layer 11:37:42 5c3c966382ef: Pulling fs layer 11:37:42 4f4fb700ef54: Pulling fs layer 11:37:42 5d5c8e513c77: Pulling fs layer 11:37:42 9f66e0745190: Pulling fs layer 11:37:42 f49a43e4bbc0: Pulling fs layer 11:37:42 5d5c8e513c77: Waiting 11:37:42 5c3c966382ef: Waiting 11:37:42 9f66e0745190: Waiting 11:37:42 4f4fb700ef54: Waiting 11:37:42 561ebcabdf7f: Pulling fs layer 11:37:42 561ebcabdf7f: Waiting 11:37:42 4cc291be95ef: Download complete 11:37:42 5c3c966382ef: Download complete 11:37:42 4f4fb700ef54: Verifying Checksum 11:37:42 4f4fb700ef54: Download complete 11:37:42 5d5c8e513c77: Verifying Checksum 11:37:42 5d5c8e513c77: Download complete 11:37:42 43c4264eed91: Download complete 11:37:42 9f66e0745190: Verifying Checksum 11:37:42 9f66e0745190: Download complete 11:37:42 43c4264eed91: Pull complete 11:37:43 4cc291be95ef: Pull complete 11:37:43 561ebcabdf7f: Download complete 11:37:43 2ac1f1163629: Verifying Checksum 11:37:43 2ac1f1163629: Download complete 11:37:43 f49a43e4bbc0: Verifying Checksum 11:37:43 f49a43e4bbc0: Download complete 11:37:47 2ac1f1163629: Pull complete 11:37:47 5c3c966382ef: Pull complete 11:37:47 4f4fb700ef54: Pull complete 11:37:47 5d5c8e513c77: Pull complete 11:37:47 9f66e0745190: Pull complete 11:37:48 f49a43e4bbc0: Pull complete 11:37:49 561ebcabdf7f: Pull complete 11:37:49 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 11:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 11:37:49 ---> 3a752c3f9dda 11:37:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:37:54 ---> Running in 549abaa97067 11:37:54 Removing intermediate container 549abaa97067 11:37:54 ---> 233df99719aa 11:37:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:37:54 ---> Running in b7a5bd1801ae 11:37:54 Removing intermediate container b7a5bd1801ae 11:37:54 ---> ea5a4c41d467 11:37:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:37:54 ---> Running in 944e37baf186 11:37:54 Removing intermediate container 944e37baf186 11:37:54 ---> b740979d2df3 11:37:54 Step 6/12 : WORKDIR /device-virtual-go 11:37:54 ---> Running in ae4926dffcd2 11:37:54 Removing intermediate container ae4926dffcd2 11:37:54 ---> 622fa94fa89e 11:37:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:37:54 ---> Running in 7e1b856ab2a8 11:37:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:37:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:37:54 (1/4) Installing openssh-keygen (9.7_p1-r4) 11:37:54 (2/4) Installing libedit (20240517.3.1-r0) 11:37:54 (3/4) Installing openssh-client-common (9.7_p1-r4) 11:37:54 (4/4) Installing openssh-client-default (9.7_p1-r4) 11:37:54 Executing busybox-1.36.1-r29.trigger 11:37:54 OK: 250 MiB in 58 packages 11:37:55 Removing intermediate container 7e1b856ab2a8 11:37:55 ---> e1d1a8e61f6f 11:37:55 Step 8/12 : COPY go.mod vendor* ./ 11:37:55 ---> 4863e074c4db 11:37:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:37:55 ---> Running in 940a6345ce79 11:37:56 Still waiting to schedule task 11:37:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24219’ is offline 11:38:51 Removing intermediate container 940a6345ce79 11:38:51 ---> 0bce0f141693 11:38:51 Step 10/12 : COPY . . 11:38:51 ---> df15aa7a8bb0 11:38:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:38:51 ---> Running in 4483430b24d7 11:38:51 Removing intermediate container 4483430b24d7 11:38:51 ---> 544508f6a697 11:38:51 Step 12/12 : RUN $MAKE 11:38:51 ---> Running in dac1fbffba07 11:38:51 noop 11:38:51 Removing intermediate container dac1fbffba07 11:38:51 ---> 52f93fefb744 11:38:51 Successfully built 52f93fefb744 11:38:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:52 + docker inspect -f . ci-base-image-x86_64 11:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:52 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:38:52 $ 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 11:38:52 $ docker top b04fb401579567107e972a9e1dae46d8486b17a70d339be98e1a06eb6b81476d -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:53 + go version 11:38:53 go version go1.23.2 linux/amd64 [Pipeline] } 11:38:53 $ docker stop --time=1 b04fb401579567107e972a9e1dae46d8486b17a70d339be98e1a06eb6b81476d 11:38:54 $ docker rm -f --volumes b04fb401579567107e972a9e1dae46d8486b17a70d339be98e1a06eb6b81476d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:54 + docker inspect -f . ci-base-image-x86_64 11:38:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:54 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:38:54 $ 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 11:38:55 $ docker top e363de963a0612698ec07424de1653422d8b210a6c79e5622bb434c1d1eb7016 -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:55 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 11:38:55 + make test 11:38:55 go test ./... -coverprofile=coverage.out 11:38:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:39:15 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 11:39:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements 11:39:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24222 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:39:25 Running in /w/workspace/device-virtual-go/186 [Pipeline] { [Pipeline] checkout 11:39:25 The recommended git tool is: git 11:39:28 go vet ./... 11:39:30 using credential edgex-jenkins-ssh 11:39:30 Cloning the remote Git repository 11:39:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:39:30 > git init /w/workspace/device-virtual-go/186 # timeout=10 11:39:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:39:30 > git --version # timeout=10 11:39:30 > git --version # 'git version 2.25.1' 11:39:30 using GIT_SSH to set credentials SSH Credentials for GitHub 11:39:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:39:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:39:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:39:33 ./bin/test-attribution-txt.sh [Pipeline] echo 11:39:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:39:33 $ docker stop --time=1 e363de963a0612698ec07424de1653422d8b210a6c79e5622bb434c1d1eb7016 11:39:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:39:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:39:35 Avoid second fetch 11:39:35 Checking out Revision 2bd221175a2feb80dc354132039af34741a0a595 (main) 11:39:35 > git config core.sparsecheckout # timeout=10 11:39:35 > git checkout -f 2bd221175a2feb80dc354132039af34741a0a595 # timeout=10 11:39:36 Commit message: "Merge pull request #500 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" 11:39:39 $ docker rm -f --volumes e363de963a0612698ec07424de1653422d8b210a6c79e5622bb434c1d1eb7016 [Pipeline] // withDockerContainer [Pipeline] sh 11:39:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:39:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:39:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:39:40 + ls -al . 11:39:40 total 264 11:39:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 11:38 . 11:39:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 11:37 .. 11:39:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 11:39 .git 11:39:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 11:37 .github 11:39:40 -rw-rw-r-- 1 jenkins jenkins 272 Oct 31 11:37 .gitignore 11:39:40 -rw-rw-r-- 1 jenkins jenkins 199 Oct 31 11:37 .golangci.yml 11:39:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 11:37 .semver 11:39:40 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 31 11:37 Attribution.txt 11:39:40 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 31 11:37 CHANGELOG.md 11:39:40 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 31 11:37 Dockerfile 11:39:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 11:37 GOVERNANCE.md 11:39:40 -rw-rw-r-- 1 jenkins jenkins 660 Oct 31 11:37 Jenkinsfile 11:39:40 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 11:37 LICENSE 11:39:40 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 31 11:37 Makefile 11:39:40 -rw-rw-r-- 1 jenkins jenkins 623 Oct 31 11:37 OWNERS.md 11:39:40 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 31 11:37 README.md 11:39:40 -rw-rw-r-- 1 jenkins jenkins 11 Oct 31 11:37 VERSION 11:39:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 11:37 bin 11:39:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 11:37 cmd 11:39:40 -rw-r--r-- 1 jenkins jenkins 43316 Oct 31 11:39 coverage.out 11:39:40 -rw-rw-r-- 1 jenkins jenkins 6228 Oct 31 11:37 go.mod 11:39:40 -rw-rw-r-- 1 jenkins jenkins 88084 Oct 31 11:37 go.sum 11:39:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 11:37 internal 11:39:40 -rw-rw-r-- 1 jenkins jenkins 235 Oct 31 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:39:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:39:41 Dload Upload Total Spent Left Speed 11:39:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 63504 0 --:--:-- --:--:-- --:--:-- 63820 [Pipeline] sh 11:39:41 + 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=2bd221175a2feb80dc354132039af34741a0a595 --label arch=amd64 --label version=4.0.0-dev.2 . 11:39:41 Sending build context to Docker daemon 37.74MB 11:39:41 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 11:39:41 Step 2/26 : FROM ${BASE} AS builder 11:39:41 ---> 52f93fefb744 11:39:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:39:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:39:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:39:41 + sudo tee /etc/docker/daemon.new 11:39:41 { 11:39:41 "registry-mirrors": [ 11:39:41 "https://nexus3.edgexfoundry.org:10001" 11:39:41 ], 11:39:41 "bip": "10.250.0.254/24", 11:39:41 "hosts": [ 11:39:41 "tcp://0.0.0.0:5555", 11:39:41 "unix:///var/run/docker.sock" 11:39:41 ], 11:39:41 "mtu": 1458, 11:39:41 "selinux-enabled": true, 11:39:41 "seccomp-profile": "/etc/docker/seccomp.json" 11:39:41 } [Pipeline] sh 11:39:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:39:42 ---> Running in ba1ef6e04b09 11:39:42 Removing intermediate container ba1ef6e04b09 11:39:42 ---> 4b7ed314d43f 11:39:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:39:42 ---> Running in cc385c45fc6f 11:39:42 Removing intermediate container cc385c45fc6f 11:39:42 ---> fcf8e4011681 11:39:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:39:42 ---> Running in 6d8e681d7cf6 11:39:42 Removing intermediate container 6d8e681d7cf6 11:39:42 ---> 2234ae5ed466 11:39:42 Step 6/26 : WORKDIR /device-virtual-go 11:39:42 ---> Running in 7f30f6096d0c 11:39:42 + sudo service docker restart 11:39:42 Removing intermediate container 7f30f6096d0c 11:39:42 ---> afcbabb4a1fd 11:39:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:39:42 ---> Running in 05dc00f69a0a 11:39:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:39:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:39:43 OK: 250 MiB in 58 packages 11:39:43 Removing intermediate container 05dc00f69a0a 11:39:43 ---> 38ab249b6464 11:39:43 Step 8/26 : COPY go.mod vendor* ./ 11:39:43 ---> 43203c1faa34 11:39:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:39:43 ---> Running in ae5112f4b766 11:39:44 Removing intermediate container ae5112f4b766 11:39:44 ---> 50facc0ea9b1 11:39:44 Step 10/26 : COPY . . 11:39:45 ---> ab6ea30935e5 11:39:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:39:45 ---> Running in c64890a54625 11:39:45 Removing intermediate container c64890a54625 11:39:45 ---> 78dcc052825f 11:39:45 Step 12/26 : RUN $MAKE 11:39:45 ---> Running in 273c1ea5d75f 11:39:46 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:00 provisioning config files... 11:40:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/186@tmp/config9724707212303321666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:01 ---> ****-login.sh 11:40:01 nexus3.edgexfoundry.org:10001 11:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:01 Configure a credential helper to remove this warning. See 11:40:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:01 11:40:01 Login Succeeded 11:40:01 nexus3.edgexfoundry.org:10002 11:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:01 Configure a credential helper to remove this warning. See 11:40:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:01 11:40:01 Login Succeeded 11:40:01 nexus3.edgexfoundry.org:10003 11:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:02 Configure a credential helper to remove this warning. See 11:40:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:02 11:40:02 Login Succeeded 11:40:02 nexus3.edgexfoundry.org:10004 11:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:02 Configure a credential helper to remove this warning. See 11:40:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:02 11:40:02 Login Succeeded 11:40:02 ****.io 11:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:03 Configure a credential helper to remove this warning. See 11:40:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:03 11:40:03 Login Succeeded 11:40:03 ---> ****-login.sh ends [Pipeline] } 11:40:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:40:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:03 ========================================================= 11:40:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 11:40:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:04 + 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 . 11:40:04 Sending build context to Docker daemon 19.02MB 11:40:04 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:40:04 Step 2/12 : FROM ${BASE} AS builder 11:40:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:40:04 cf04c63912e1: Pulling fs layer 11:40:04 55b35a11ae5e: Pulling fs layer 11:40:04 a37a00ec5f00: Pulling fs layer 11:40:04 50b3750afda1: Pulling fs layer 11:40:04 4f4fb700ef54: Pulling fs layer 11:40:04 80978eb59214: Pulling fs layer 11:40:04 c9f46d7d2bd2: Pulling fs layer 11:40:04 c5a475d317c9: Pulling fs layer 11:40:04 4f4fb700ef54: Waiting 11:40:04 c9f46d7d2bd2: Waiting 11:40:04 c5a475d317c9: Waiting 11:40:04 80978eb59214: Waiting 11:40:04 50b3750afda1: Waiting 11:40:04 55b35a11ae5e: Download complete 11:40:04 50b3750afda1: Verifying Checksum 11:40:04 50b3750afda1: Download complete 11:40:04 4f4fb700ef54: Verifying Checksum 11:40:04 4f4fb700ef54: Download complete 11:40:04 80978eb59214: Verifying Checksum 11:40:04 80978eb59214: Download complete 11:40:04 cf04c63912e1: Verifying Checksum 11:40:04 cf04c63912e1: Download complete 11:40:05 c5a475d317c9: Verifying Checksum 11:40:05 c5a475d317c9: Download complete 11:40:06 cf04c63912e1: Pull complete 11:40:07 a37a00ec5f00: Verifying Checksum 11:40:07 a37a00ec5f00: Download complete 11:40:07 55b35a11ae5e: Pull complete 11:40:07 c9f46d7d2bd2: Verifying Checksum 11:40:07 c9f46d7d2bd2: Download complete 11:40:22 a37a00ec5f00: Pull complete 11:40:22 50b3750afda1: Pull complete 11:40:22 4f4fb700ef54: Pull complete 11:40:22 80978eb59214: Pull complete 11:40:24 Removing intermediate container 273c1ea5d75f 11:40:24 ---> 49d6863e7cf4 11:40:24 Step 13/26 : FROM alpine:3.20 11:40:24 3.20: Pulling from library/alpine 11:40:24 43c4264eed91: Already exists 11:40:24 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 11:40:24 Status: Downloaded newer image for alpine:3.20 11:40:24 ---> 91ef0af61f39 11:40:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:40:24 ---> Running in 96b0ae85b7d6 11:40:24 Removing intermediate container 96b0ae85b7d6 11:40:24 ---> 72e5adce1bbf 11:40:24 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:40:24 ---> Running in c30453f271ec 11:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:40:24 (1/1) Installing dumb-init (1.2.5-r3) 11:40:24 Executing busybox-1.36.1-r29.trigger 11:40:24 OK: 8 MiB in 15 packages 11:40:24 Removing intermediate container c30453f271ec 11:40:24 ---> e97cfe977810 11:40:24 Step 16/26 : RUN apk --no-cache upgrade 11:40:24 ---> Running in 28189730549a 11:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:40:24 Upgrading critical system libraries and apk-tools: 11:40:24 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 11:40:24 Executing busybox-1.36.1-r29.trigger 11:40:24 Continuing the upgrade transaction with new apk-tools: 11:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:40:24 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 11:40:24 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 11:40:24 OK: 8 MiB in 15 packages 11:40:24 Removing intermediate container 28189730549a 11:40:24 ---> b6a51677cc52 11:40:24 Step 17/26 : WORKDIR / 11:40:24 ---> Running in b6af60563b65 11:40:24 Removing intermediate container b6af60563b65 11:40:24 ---> a78f99efae44 11:40:24 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:40:24 ---> dff6860810d6 11:40:24 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:40:24 ---> 7eae8587cc2e 11:40:24 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:40:25 ---> 0da6b4df0508 11:40:25 Step 21/26 : EXPOSE 59900 11:40:25 ---> Running in acab1507d397 11:40:25 Removing intermediate container acab1507d397 11:40:25 ---> e3cb8594195e 11:40:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:40:25 ---> Running in 57a033020f7c 11:40:25 Removing intermediate container 57a033020f7c 11:40:25 ---> e5d3fb699ba8 11:40:25 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:40:25 ---> Running in afec54b04808 11:40:25 Removing intermediate container afec54b04808 11:40:25 ---> b6ae9f555aaf 11:40:25 Step 24/26 : LABEL arch=amd64 11:40:25 ---> Running in b2eabd42bad7 11:40:25 Removing intermediate container b2eabd42bad7 11:40:25 ---> d32187c39a76 11:40:25 Step 25/26 : LABEL git_sha=2bd221175a2feb80dc354132039af34741a0a595 11:40:26 ---> Running in a4cc4e66cbec 11:40:26 Removing intermediate container a4cc4e66cbec 11:40:26 ---> 5e4c03dae354 11:40:26 Step 26/26 : LABEL version=4.0.0-dev.2 11:40:26 ---> Running in 798a8c255f15 11:40:26 Removing intermediate container 798a8c255f15 11:40:26 ---> 87852dd51cc1 11:40:26 [Warning] One or more build-args [ARCH] were not consumed 11:40:26 Successfully built 87852dd51cc1 11:40:26 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:26 provisioning config files... 11:40:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4457755599501609886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:26 ---> ****-login.sh 11:40:26 nexus3.edgexfoundry.org:10001 11:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 nexus3.edgexfoundry.org:10002 11:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 nexus3.edgexfoundry.org:10003 11:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 nexus3.edgexfoundry.org:10004 11:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 ****.io 11:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:27 Configure a credential helper to remove this warning. See 11:40:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:27 11:40:27 Login Succeeded 11:40:27 ---> ****-login.sh ends [Pipeline] } 11:40:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:40:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:27 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:40:27 2bd221175a2feb80dc354132039af34741a0a595 11:40:27 latest 11:40:27 4.0.0-dev.2 11:40:27 2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 11:40:27 main 11:40:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2bd221175a2feb80dc354132039af34741a0a595 11:40:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:40:27 765aef024195: Preparing 11:40:27 98ea6d2525f5: Preparing 11:40:27 5f01ba8e2e59: Preparing 11:40:27 94789f1bb108: Preparing 11:40:27 36aa56dc273e: Preparing 11:40:27 63ca1fbb43ae: Preparing 11:40:27 63ca1fbb43ae: Waiting 11:40:27 36aa56dc273e: Pushed 11:40:27 5f01ba8e2e59: Pushed 11:40:27 98ea6d2525f5: Pushed 11:40:27 63ca1fbb43ae: Layer already exists 11:40:28 94789f1bb108: Pushed 11:40:29 c9f46d7d2bd2: Pull complete 11:40:31 c5a475d317c9: Pull complete 11:40:31 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 11:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 11:40:31 ---> be29e6b0f0d4 11:40:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:40:32 ---> Running in cd9a3932d3e1 11:40:32 Removing intermediate container cd9a3932d3e1 11:40:32 ---> 75b9ab237094 11:40:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:40:32 ---> Running in da547db25a97 11:40:33 Removing intermediate container da547db25a97 11:40:33 ---> 9d3acf6b38ab 11:40:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:40:33 ---> Running in 1ac28d504745 11:40:33 Removing intermediate container 1ac28d504745 11:40:33 ---> 6b46a60fab62 11:40:33 Step 6/12 : WORKDIR /device-virtual-go 11:40:33 765aef024195: Pushed 11:40:33 2bd221175a2feb80dc354132039af34741a0a595: digest: sha256:bc54d8d7192f55c5ac5e289e7264794f86c95ddbb18e71d3012d323225b0018d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 11:40:33 ---> Running in e17e54ec9a81 [Pipeline] sh 11:40:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest 11:40:33 Removing intermediate container e17e54ec9a81 11:40:33 ---> e5b2dc303ddb 11:40:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:34 ---> Running in 4185dbaccd8e 11:40:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:40:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:40:34 765aef024195: Preparing 11:40:34 98ea6d2525f5: Preparing 11:40:34 5f01ba8e2e59: Preparing 11:40:34 94789f1bb108: Preparing 11:40:34 36aa56dc273e: Preparing 11:40:34 63ca1fbb43ae: Preparing 11:40:34 63ca1fbb43ae: Waiting 11:40:34 5f01ba8e2e59: Layer already exists 11:40:34 765aef024195: Layer already exists 11:40:34 94789f1bb108: Layer already exists 11:40:34 36aa56dc273e: Layer already exists 11:40:34 98ea6d2525f5: Layer already exists 11:40:34 63ca1fbb43ae: Layer already exists 11:40:34 latest: digest: sha256:bc54d8d7192f55c5ac5e289e7264794f86c95ddbb18e71d3012d323225b0018d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.2 11:40:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:40:34 765aef024195: Preparing 11:40:34 98ea6d2525f5: Preparing 11:40:34 5f01ba8e2e59: Preparing 11:40:34 94789f1bb108: Preparing 11:40:34 36aa56dc273e: Preparing 11:40:34 63ca1fbb43ae: Preparing 11:40:34 63ca1fbb43ae: Waiting 11:40:34 36aa56dc273e: Layer already exists 11:40:34 5f01ba8e2e59: Layer already exists 11:40:34 765aef024195: Layer already exists 11:40:34 98ea6d2525f5: Layer already exists 11:40:34 94789f1bb108: Layer already exists 11:40:34 63ca1fbb43ae: Layer already exists 11:40:34 4.0.0-dev.2: digest: sha256:bc54d8d7192f55c5ac5e289e7264794f86c95ddbb18e71d3012d323225b0018d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:40:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 11:40:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:40:35 765aef024195: Preparing 11:40:35 98ea6d2525f5: Preparing 11:40:35 5f01ba8e2e59: Preparing 11:40:35 94789f1bb108: Preparing 11:40:35 36aa56dc273e: Preparing 11:40:35 63ca1fbb43ae: Preparing 11:40:35 63ca1fbb43ae: Waiting 11:40:35 98ea6d2525f5: Layer already exists 11:40:35 94789f1bb108: Layer already exists 11:40:35 36aa56dc273e: Layer already exists 11:40:35 5f01ba8e2e59: Layer already exists 11:40:35 765aef024195: Layer already exists 11:40:35 63ca1fbb43ae: Layer already exists 11:40:35 2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2: digest: sha256:bc54d8d7192f55c5ac5e289e7264794f86c95ddbb18e71d3012d323225b0018d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:40:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:40:36 765aef024195: Preparing 11:40:36 98ea6d2525f5: Preparing 11:40:36 5f01ba8e2e59: Preparing 11:40:36 94789f1bb108: Preparing 11:40:36 36aa56dc273e: Preparing 11:40:36 63ca1fbb43ae: Preparing 11:40:36 63ca1fbb43ae: Waiting 11:40:36 94789f1bb108: Layer already exists 11:40:36 5f01ba8e2e59: Layer already exists 11:40:36 98ea6d2525f5: Layer already exists 11:40:36 36aa56dc273e: Layer already exists 11:40:36 765aef024195: Layer already exists 11:40:36 63ca1fbb43ae: Layer already exists 11:40:36 main: digest: sha256:bc54d8d7192f55c5ac5e289e7264794f86c95ddbb18e71d3012d323225b0018d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:40:36 ===================================================== [Pipeline] echo 11:40:36 taggedImages: 11:40:36 - nexus3.edgexfoundry.org:10004/device-virtual:2bd221175a2feb80dc354132039af34741a0a595 11:40:36 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:40:36 - nexus3.edgexfoundry.org:10004/device-virtual:4.0.0-dev.2 11:40:36 - nexus3.edgexfoundry.org:10004/device-virtual:2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 11:40:36 - 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 11:40:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:40:36 11:40:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:37 (1/4) Installing openssh-keygen (9.7_p1-r4) 11:40:37 (2/4) Installing libedit (20240517.3.1-r0) 11:40:37 (3/4) Installing openssh-client-common (9.7_p1-r4) 11:40:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:40:37 latest: Pulling from edgex-lftools-log-publisher 11:40:37 5eb5b503b376: Pulling fs layer 11:40:37 5c69ac0246d0: Pulling fs layer 11:40:37 ec43610c2a17: Pulling fs layer 11:40:37 3a2ae6a8a46f: Pulling fs layer 11:40:37 33b1e0a273af: Pulling fs layer 11:40:37 5d3b04190fa2: Pulling fs layer 11:40:37 2f39f015ded8: Pulling fs layer 11:40:37 33b1e0a273af: Waiting 11:40:37 5d3b04190fa2: Waiting 11:40:37 2f39f015ded8: Waiting 11:40:37 3a2ae6a8a46f: Waiting 11:40:37 5c69ac0246d0: Verifying Checksum 11:40:37 5c69ac0246d0: Download complete 11:40:37 3a2ae6a8a46f: Verifying Checksum 11:40:37 33b1e0a273af: Verifying Checksum 11:40:37 33b1e0a273af: Download complete 11:40:37 5d3b04190fa2: Verifying Checksum 11:40:37 5d3b04190fa2: Download complete 11:40:37 ec43610c2a17: Verifying Checksum 11:40:37 ec43610c2a17: Download complete 11:40:37 (4/4) Installing openssh-client-default (9.7_p1-r4) 11:40:37 Executing busybox-1.36.1-r29.trigger 11:40:37 OK: 242 MiB in 58 packages 11:40:37 5eb5b503b376: Verifying Checksum 11:40:37 5eb5b503b376: Download complete 11:40:38 2f39f015ded8: Download complete 11:40:38 Removing intermediate container 4185dbaccd8e 11:40:38 ---> e2cd60e02a61 11:40:38 Step 8/12 : COPY go.mod vendor* ./ 11:40:38 5eb5b503b376: Pull complete 11:40:38 5c69ac0246d0: Pull complete 11:40:39 ---> 46a5394095a3 11:40:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:40:39 ---> Running in c4308bcfc5a4 11:40:39 ec43610c2a17: Pull complete 11:40:39 3a2ae6a8a46f: Pull complete 11:40:39 33b1e0a273af: Pull complete 11:40:39 5d3b04190fa2: Pull complete 11:40:45 2f39f015ded8: Pull complete 11:40:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:40:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:40:45 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:40:45 $ 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 11:40:51 $ docker top b5bd9e2866c108250eac385a5c974ecccb179048f71e6408830fba013cf226cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:52 ---> job-cost.sh 11:40:52 lf-activate-venv: SKIPPING 11:40:52 INFO: No Stack... 11:40:52 INFO: Retrieving Pricing Info for: v3-standard-8 11:40:52 INFO: Archiving Costs [Pipeline] sh 11:40:52 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:40:52 + cut -d, -f6 [Pipeline] lock 11:40:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] 11:40:53 Resource [jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] did not exist. Created. 11:40:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:40:53 + echo total: 0.2199999988079071 [Pipeline] stash 11:40:53 Stashed 1 file(s) [Pipeline] } 11:40:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 11:40:53 $ docker stop --time=1 b5bd9e2866c108250eac385a5c974ecccb179048f71e6408830fba013cf226cd 11:40:54 $ docker rm -f --volumes b5bd9e2866c108250eac385a5c974ecccb179048f71e6408830fba013cf226cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:42:31 Removing intermediate container c4308bcfc5a4 11:42:31 ---> 1e6956823a98 11:42:31 Step 10/12 : COPY . . 11:42:31 ---> 30ea32af2451 11:42:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:42:31 ---> Running in 2387ca490041 11:42:31 Removing intermediate container 2387ca490041 11:42:31 ---> c59fe01579b7 11:42:31 Step 12/12 : RUN $MAKE 11:42:31 ---> Running in 15555c5b4b85 11:42:31 noop 11:42:31 Removing intermediate container 15555c5b4b85 11:42:31 ---> 26d5afe754d9 11:42:31 Successfully built 26d5afe754d9 11:42:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:31 + docker inspect -f . ci-base-image-arm64 11:42:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:31 prd-ubuntu20.04-docker-arm64-4c-16g-24222 does not seem to be running inside a container 11:42:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/186 -v /w/workspace/device-virtual-go/186:/w/workspace/device-virtual-go/186:rw,z -v /w/workspace/device-virtual-go/186@tmp:/w/workspace/device-virtual-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:42:33 $ docker top f2051f03520dbd091937f2a302edef3bd8d59976618ffb409ba0cd398d3ae7e0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:34 + go version 11:42:34 go version go1.23.2 linux/arm64 [Pipeline] } 11:42:34 $ docker stop --time=1 f2051f03520dbd091937f2a302edef3bd8d59976618ffb409ba0cd398d3ae7e0 11:42:37 $ docker rm -f --volumes f2051f03520dbd091937f2a302edef3bd8d59976618ffb409ba0cd398d3ae7e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:37 + docker inspect -f . ci-base-image-arm64 11:42:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:37 prd-ubuntu20.04-docker-arm64-4c-16g-24222 does not seem to be running inside a container 11:42:37 $ 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/186 -v /w/workspace/device-virtual-go/186:/w/workspace/device-virtual-go/186:rw,z -v /w/workspace/device-virtual-go/186@tmp:/w/workspace/device-virtual-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:42:39 $ docker top 1da346be8bc19423de3829d4725e51f63c929b2e064fa9697235c58e94c4b60f -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:39 + git config --global --add safe.directory /w/workspace/device-virtual-go/186 [Pipeline] fileExists [Pipeline] sh 11:42:40 + make test 11:42:40 go test ./... -coverprofile=coverage.out 11:42:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:46:39 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 11:46:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.3% of statements 11:46:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:46:39 go vet ./... 11:47:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:47:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:47:18 ./bin/test-attribution-txt.sh [Pipeline] echo 11:47:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:47:18 $ docker stop --time=1 1da346be8bc19423de3829d4725e51f63c929b2e064fa9697235c58e94c4b60f 11:47:20 $ docker rm -f --volumes 1da346be8bc19423de3829d4725e51f63c929b2e064fa9697235c58e94c4b60f [Pipeline] // withDockerContainer [Pipeline] sh 11:47:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:47:21 Warning: overwriting stash ‘coverage-report’ 11:47:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:47:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:47:23 + ls -al . 11:47:23 total 260 11:47:23 drwxrwxr-x 7 jenkins jenkins 4096 Oct 31 11:42 . 11:47:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 11:39 .. 11:47:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 11:39 .git 11:47:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 11:39 .github 11:47:23 -rw-rw-r-- 1 jenkins jenkins 272 Oct 31 11:39 .gitignore 11:47:23 -rw-rw-r-- 1 jenkins jenkins 199 Oct 31 11:39 .golangci.yml 11:47:23 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 31 11:39 Attribution.txt 11:47:23 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 31 11:39 CHANGELOG.md 11:47:23 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 31 11:39 Dockerfile 11:47:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 11:39 GOVERNANCE.md 11:47:23 -rw-rw-r-- 1 jenkins jenkins 660 Oct 31 11:39 Jenkinsfile 11:47:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 11:39 LICENSE 11:47:23 -rw-rw-r-- 1 jenkins jenkins 2490 Oct 31 11:39 Makefile 11:47:23 -rw-rw-r-- 1 jenkins jenkins 623 Oct 31 11:39 OWNERS.md 11:47:23 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 31 11:39 README.md 11:47:23 -rw-rw-r-- 1 jenkins jenkins 11 Oct 31 11:37 VERSION 11:47:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 11:39 bin 11:47:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 11:39 cmd 11:47:23 -rw-r--r-- 1 jenkins jenkins 43316 Oct 31 11:46 coverage.out 11:47:23 -rw-rw-r-- 1 jenkins jenkins 6228 Oct 31 11:39 go.mod 11:47:23 -rw-rw-r-- 1 jenkins jenkins 88084 Oct 31 11:39 go.sum 11:47:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 11:39 internal 11:47:23 -rw-rw-r-- 1 jenkins jenkins 235 Oct 31 11:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:23 + 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=2bd221175a2feb80dc354132039af34741a0a595 --label arch=arm64 --label version=4.0.0-dev.2 . 11:47:24 Sending build context to Docker daemon 19.07MB 11:47:24 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 11:47:24 Step 2/26 : FROM ${BASE} AS builder 11:47:24 ---> 26d5afe754d9 11:47:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:47:24 ---> Running in 8b34c3d25bcd 11:47:24 Removing intermediate container 8b34c3d25bcd 11:47:24 ---> 453f638782ee 11:47:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:47:24 ---> Running in 752d49d72dad 11:47:24 Removing intermediate container 752d49d72dad 11:47:24 ---> c7e323e423de 11:47:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:47:24 ---> Running in 7c729ce04f04 11:47:25 Removing intermediate container 7c729ce04f04 11:47:25 ---> 20c4498e8b7a 11:47:25 Step 6/26 : WORKDIR /device-virtual-go 11:47:25 ---> Running in 744faacefab3 11:47:25 Removing intermediate container 744faacefab3 11:47:25 ---> 4cf797690993 11:47:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:47:25 ---> Running in d61592f2a5ce 11:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:47:28 OK: 242 MiB in 58 packages 11:47:29 Removing intermediate container d61592f2a5ce 11:47:29 ---> 2428c1427a35 11:47:29 Step 8/26 : COPY go.mod vendor* ./ 11:47:29 ---> 1e031d59fe05 11:47:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:47:29 ---> Running in 8fb5450e4696 11:47:32 Removing intermediate container 8fb5450e4696 11:47:32 ---> b85f69cd2da0 11:47:32 Step 10/26 : COPY . . 11:47:33 ---> 27c9638ea7fe 11:47:33 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:47:33 ---> Running in 0c1b4daccf11 11:47:33 Removing intermediate container 0c1b4daccf11 11:47:33 ---> 69b48ccaeb71 11:47:33 Step 12/26 : RUN $MAKE 11:47:34 ---> Running in 7975472bc2ce 11:47:35 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-virtual ./cmd 11:51:11 Removing intermediate container 7975472bc2ce 11:51:11 ---> 37b75118c3ed 11:51:11 Step 13/26 : FROM alpine:3.20 11:51:11 3.20: Pulling from library/alpine 11:51:11 cf04c63912e1: Already exists 11:51:11 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 11:51:11 Status: Downloaded newer image for alpine:3.20 11:51:11 ---> c157a85ed455 11:51:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:51:11 ---> Running in 53bb1a7c366e 11:51:11 Removing intermediate container 53bb1a7c366e 11:51:11 ---> 7ca82385af64 11:51:11 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:51:11 ---> Running in 7051993fa5c5 11:51:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:51:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:51:11 (1/1) Installing dumb-init (1.2.5-r3) 11:51:11 Executing busybox-1.36.1-r29.trigger 11:51:11 OK: 9 MiB in 15 packages 11:51:11 Removing intermediate container 7051993fa5c5 11:51:11 ---> ede717851753 11:51:11 Step 16/26 : RUN apk --no-cache upgrade 11:51:11 ---> Running in f72679aa6cd7 11:51:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:51:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:51:12 Upgrading critical system libraries and apk-tools: 11:51:12 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 11:51:12 Executing busybox-1.36.1-r29.trigger 11:51:12 Continuing the upgrade transaction with new apk-tools: 11:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:51:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:51:14 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 11:51:14 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 11:51:14 OK: 9 MiB in 15 packages 11:51:15 Removing intermediate container f72679aa6cd7 11:51:15 ---> c792688e0dd6 11:51:15 Step 17/26 : WORKDIR / 11:51:15 ---> Running in 884941589e11 11:51:15 Removing intermediate container 884941589e11 11:51:15 ---> f914296be078 11:51:15 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:51:16 ---> 33a40cb3c5fe 11:51:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:51:17 ---> dea33f3de4a9 11:51:17 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:51:19 ---> 0406e2932cf9 11:51:19 Step 21/26 : EXPOSE 59900 11:51:19 ---> Running in 5f635020ea9f 11:51:19 Removing intermediate container 5f635020ea9f 11:51:19 ---> f9bca2098f6e 11:51:19 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:51:19 ---> Running in eb1911594504 11:51:19 Removing intermediate container eb1911594504 11:51:19 ---> c074b926aee1 11:51:19 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:51:20 ---> Running in 67b28088f0cd 11:51:20 Removing intermediate container 67b28088f0cd 11:51:20 ---> 38cf3790e29b 11:51:20 Step 24/26 : LABEL arch=arm64 11:51:20 ---> Running in bc37daa879bc 11:51:20 Removing intermediate container bc37daa879bc 11:51:20 ---> 0e9de371d34b 11:51:20 Step 25/26 : LABEL git_sha=2bd221175a2feb80dc354132039af34741a0a595 11:51:20 ---> Running in 5b6d052c0792 11:51:21 Removing intermediate container 5b6d052c0792 11:51:21 ---> 07e167731c9e 11:51:21 Step 26/26 : LABEL version=4.0.0-dev.2 11:51:21 ---> Running in a850398c1517 11:51:21 Removing intermediate container a850398c1517 11:51:21 ---> 030ceac64403 11:51:21 [Warning] One or more build-args [ARCH] were not consumed 11:51:21 Successfully built 030ceac64403 11:51:21 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 11:51:21 provisioning config files... 11:51:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/186@tmp/config406470192383817303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:51:22 ---> ****-login.sh 11:51:22 nexus3.edgexfoundry.org:10001 11:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:51:22 Configure a credential helper to remove this warning. See 11:51:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:51:22 11:51:22 Login Succeeded 11:51:22 nexus3.edgexfoundry.org:10002 11:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:51:22 Configure a credential helper to remove this warning. See 11:51:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:51:22 11:51:22 Login Succeeded 11:51:22 nexus3.edgexfoundry.org:10003 11:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:51:23 Configure a credential helper to remove this warning. See 11:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:51:23 11:51:23 Login Succeeded 11:51:23 nexus3.edgexfoundry.org:10004 11:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:51:23 Configure a credential helper to remove this warning. See 11:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:51:23 11:51:23 Login Succeeded 11:51:23 ****.io 11:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:51:24 Configure a credential helper to remove this warning. See 11:51:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:51:24 11:51:24 Login Succeeded 11:51:24 ---> ****-login.sh ends [Pipeline] } 11:51:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:51:24 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:51:24 2bd221175a2feb80dc354132039af34741a0a595 11:51:24 latest 11:51:24 4.0.0-dev.2 11:51:24 2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 11:51:24 main 11:51:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2bd221175a2feb80dc354132039af34741a0a595 11:51:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:51:25 72fa35b4c238: Preparing 11:51:25 432b30f6e0d7: Preparing 11:51:25 28a2d307a115: Preparing 11:51:25 e92cdcd179fa: Preparing 11:51:25 8967f0e2d298: Preparing 11:51:25 16113d51b718: Preparing 11:51:25 16113d51b718: Waiting 11:51:25 28a2d307a115: Pushed 11:51:25 8967f0e2d298: Pushed 11:51:25 432b30f6e0d7: Pushed 11:51:25 16113d51b718: Layer already exists 11:51:26 e92cdcd179fa: Pushed 11:51:34 72fa35b4c238: Pushed 11:51:34 2bd221175a2feb80dc354132039af34741a0a595: digest: sha256:218f24de5b2022e4adce8f0965e15bc707e237351b07eaf83ee029876786d0ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:51:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:51:35 72fa35b4c238: Preparing 11:51:35 432b30f6e0d7: Preparing 11:51:35 28a2d307a115: Preparing 11:51:35 e92cdcd179fa: Preparing 11:51:35 8967f0e2d298: Preparing 11:51:35 16113d51b718: Preparing 11:51:35 16113d51b718: Waiting 11:51:35 432b30f6e0d7: Layer already exists 11:51:35 e92cdcd179fa: Layer already exists 11:51:35 8967f0e2d298: Layer already exists 11:51:35 28a2d307a115: Layer already exists 11:51:35 72fa35b4c238: Layer already exists 11:51:35 16113d51b718: Layer already exists 11:51:35 latest: digest: sha256:218f24de5b2022e4adce8f0965e15bc707e237351b07eaf83ee029876786d0ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:36 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.2 11:51:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:51:36 72fa35b4c238: Preparing 11:51:36 432b30f6e0d7: Preparing 11:51:36 28a2d307a115: Preparing 11:51:36 e92cdcd179fa: Preparing 11:51:36 8967f0e2d298: Preparing 11:51:36 16113d51b718: Preparing 11:51:36 16113d51b718: Waiting 11:51:36 e92cdcd179fa: Layer already exists 11:51:36 72fa35b4c238: Layer already exists 11:51:36 8967f0e2d298: Layer already exists 11:51:36 432b30f6e0d7: Layer already exists 11:51:36 28a2d307a115: Layer already exists 11:51:36 16113d51b718: Layer already exists 11:51:36 4.0.0-dev.2: digest: sha256:218f24de5b2022e4adce8f0965e15bc707e237351b07eaf83ee029876786d0ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 11:51:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:51:37 72fa35b4c238: Preparing 11:51:37 432b30f6e0d7: Preparing 11:51:37 28a2d307a115: Preparing 11:51:37 e92cdcd179fa: Preparing 11:51:37 8967f0e2d298: Preparing 11:51:37 16113d51b718: Preparing 11:51:37 16113d51b718: Waiting 11:51:37 72fa35b4c238: Layer already exists 11:51:37 e92cdcd179fa: Layer already exists 11:51:37 28a2d307a115: Layer already exists 11:51:37 432b30f6e0d7: Layer already exists 11:51:37 8967f0e2d298: Layer already exists 11:51:37 16113d51b718: Layer already exists 11:51:37 2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2: digest: sha256:218f24de5b2022e4adce8f0965e15bc707e237351b07eaf83ee029876786d0ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:51:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:51:38 72fa35b4c238: Preparing 11:51:38 432b30f6e0d7: Preparing 11:51:38 28a2d307a115: Preparing 11:51:38 e92cdcd179fa: Preparing 11:51:38 8967f0e2d298: Preparing 11:51:38 16113d51b718: Preparing 11:51:38 16113d51b718: Waiting 11:51:38 8967f0e2d298: Layer already exists 11:51:38 28a2d307a115: Layer already exists 11:51:38 432b30f6e0d7: Layer already exists 11:51:38 e92cdcd179fa: Layer already exists 11:51:38 72fa35b4c238: Layer already exists 11:51:38 16113d51b718: Layer already exists 11:51:38 main: digest: sha256:218f24de5b2022e4adce8f0965e15bc707e237351b07eaf83ee029876786d0ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:51:38 ===================================================== [Pipeline] echo 11:51:39 taggedImages: 11:51:39 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2bd221175a2feb80dc354132039af34741a0a595 11:51:39 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:51:39 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.0.0-dev.2 11:51:39 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2bd221175a2feb80dc354132039af34741a0a595-4.0.0-dev.2 11:51:39 - 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 11:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:39 11:51:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:39 arm64: Pulling from edgex-lftools-log-publisher 11:51:39 8998bd30e6a1: Pulling fs layer 11:51:39 04944245beec: Pulling fs layer 11:51:39 699f458cf7ca: Pulling fs layer 11:51:39 765212b225bb: Pulling fs layer 11:51:39 f23df028b6ca: Pulling fs layer 11:51:39 d65c8cfc05b1: Pulling fs layer 11:51:39 2437ff75d9bd: Pulling fs layer 11:51:39 f23df028b6ca: Waiting 11:51:39 765212b225bb: Waiting 11:51:39 d65c8cfc05b1: Waiting 11:51:39 2437ff75d9bd: Waiting 11:51:40 04944245beec: Verifying Checksum 11:51:40 04944245beec: Download complete 11:51:40 765212b225bb: Verifying Checksum 11:51:40 765212b225bb: Download complete 11:51:40 f23df028b6ca: Verifying Checksum 11:51:40 f23df028b6ca: Download complete 11:51:40 d65c8cfc05b1: Verifying Checksum 11:51:40 d65c8cfc05b1: Download complete 11:51:40 699f458cf7ca: Verifying Checksum 11:51:40 699f458cf7ca: Download complete 11:51:40 8998bd30e6a1: Verifying Checksum 11:51:40 8998bd30e6a1: Download complete 11:51:43 2437ff75d9bd: Verifying Checksum 11:51:43 2437ff75d9bd: Download complete 11:51:45 8998bd30e6a1: Pull complete 11:51:45 04944245beec: Pull complete 11:51:47 699f458cf7ca: Pull complete 11:51:47 765212b225bb: Pull complete 11:51:48 f23df028b6ca: Pull complete 11:51:48 d65c8cfc05b1: Pull complete 11:52:06 2437ff75d9bd: Pull complete 11:52:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:52:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:52:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:07 prd-ubuntu20.04-docker-arm64-4c-16g-24222 does not seem to be running inside a container 11:52:07 $ 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/186 -v /w/workspace/device-virtual-go/186:/w/workspace/device-virtual-go/186:rw,z -v /w/workspace/device-virtual-go/186@tmp:/w/workspace/device-virtual-go/186@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:arm64 cat 11:52:09 $ docker top d4b376d950c4d45fcd8ee39ccae0e0f1ddc2140af0d477b41681a101ca242d2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:10 ---> job-cost.sh 11:52:10 lf-activate-venv: SKIPPING 11:52:10 INFO: No Stack... 11:52:11 INFO: Retrieving Pricing Info for: v3-standard-4 11:52:12 INFO: Archiving Costs [Pipeline] sh 11:52:12 + cat /w/workspace/device-virtual-go/186/archives/cost.csv 11:52:12 + cut -d, -f6 [Pipeline] lock 11:52:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] 11:52:13 Resource [jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] did not exist. Created. 11:52:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:52:13 /w/workspace/device-virtual-go/186@tmp/durable-0c629dee/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:52:14 + echo total: 0.10999999940395355 [Pipeline] stash 11:52:14 Warning: overwriting stash ‘stack-cost’ 11:52:14 Stashed 1 file(s) [Pipeline] } 11:52:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 11:52:14 $ docker stop --time=1 d4b376d950c4d45fcd8ee39ccae0e0f1ddc2140af0d477b41681a101ca242d2c 11:52:15 $ docker rm -f --volumes d4b376d950c4d45fcd8ee39ccae0e0f1ddc2140af0d477b41681a101ca242d2c [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 11:52:16 provisioning config files... 11:52:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13041856101697219236tmp [Pipeline] { [Pipeline] sh 11:52:16 + set +x 11:52:16 + + bash -s -- 11:52:16 curl -s https://codecov.io/bash 11:52:17 11:52:17 _____ _ 11:52:17 / ____| | | 11:52:17 | | ___ __| | ___ ___ _____ __ 11:52:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:52:17 | |___| (_) | (_| | __/ (_| (_) \ V / 11:52:17 \_____\___/ \__,_|\___|\___\___/ \_/ 11:52:17 Bash-1.0.6 11:52:17 11:52:17 11:52:17 ==> git version 2.25.1 found 11:52:17 ==> 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 11:52:17 Release-Date: 2020-01-08 11:52:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:52:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:52:17 ==> Jenkins CI detected. 11:52:17 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:52:17 project root: . 11:52:17 --> token set from env 11:52:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:52:17 ==> Running gcov in . (disable via -X gcov) 11:52:17 ==> Python coveragepy not found 11:52:17 ==> Searching for coverage reports in: 11:52:17 + . 11:52:17 -> Found 1 reports 11:52:17 ==> Detecting git/mercurial file structure 11:52:17 ==> Reading reports 11:52:17 + ./coverage.out bytes=43316 11:52:17 ==> Appending adjustments 11:52:17 https://docs.codecov.io/docs/fixing-reports 11:52:17 + Found adjustments 11:52:17 ==> Gzipping contents 11:52:17 8.0K /tmp/codecov.oXp7C3.gz 11:52:17 ==> Uploading reports 11:52:17 url: https://codecov.io 11:52:17 query: branch=main&commit=2bd221175a2feb80dc354132039af34741a0a595&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:52:17 -> Pinging Codecov 11:52:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2bd221175a2feb80dc354132039af34741a0a595&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:52:17 -> Uploading to 11:52:17 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/2bd221175a2feb80dc354132039af34741a0a595/542e2dd4-c38f-4b3f-a35d-1bb2b58fbb24.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241031%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241031T115217Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=3a1e9d52560e7b2330c0f66b2b605c009df93078089a66af19d769556d6c5088 11:52:17 % Total % Received % Xferd Average Speed Time Time Time Current 11:52:17 Dload Upload Total Spent Left Speed 11:52:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 24585 --:--:-- --:--:-- --:--:-- 24466 100 5040 0 0 100 5040 0 21265 --:--:-- --:--:-- --:--:-- 21176 11:52:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] } 11:52:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:52:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:52:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:52:18 11:52:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:52:18 latest: Pulling from edgex-devops/edgex-snyk-go 11:52:18 43c4264eed91: Already exists 11:52:18 4cc291be95ef: Already exists 11:52:18 2ac1f1163629: Already exists 11:52:18 5c3c966382ef: Already exists 11:52:18 4f4fb700ef54: Already exists 11:52:18 d9c7d2e4e75e: Pulling fs layer 11:52:18 9c3e1370e548: Pulling fs layer 11:52:19 d9c7d2e4e75e: Verifying Checksum 11:52:19 d9c7d2e4e75e: Download complete 11:52:19 d9c7d2e4e75e: Pull complete 11:52:19 9c3e1370e548: Download complete 11:52:23 9c3e1370e548: Pull complete 11:52:23 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 11:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:52:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:23 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:52:23 $ 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 11:52:25 $ docker top 30ce357382679f42f7ea758dd5861bdadb379f333f19e24f24ca3652fdde8d4f -eo pid,comm [Pipeline] { [Pipeline] sh 11:52:26 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 11:52:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 11:52:26 + set -o pipefail 11:52:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 11:52:36 11:52:36 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:52:36 11:52:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/22892793-e83e-4e26-9592-3a7df2d7794a 11:52:36 11:52:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:52:36 [Pipeline] } 11:52:36 $ docker stop --time=1 30ce357382679f42f7ea758dd5861bdadb379f333f19e24f24ca3652fdde8d4f 11:52:41 $ docker rm -f --volumes 30ce357382679f42f7ea758dd5861bdadb379f333f19e24f24ca3652fdde8d4f [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 11:52:42 + git log --format=format:%s -1 2bd221175a2feb80dc354132039af34741a0a595 [Pipeline] sh 11:52:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:52:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:42 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:52:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:52:43 $ docker top bf67711e566830da0a6d4c892f0cf581795ebf3fb67c51b221a1cfc86ae9845d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:52:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:43 [ssh-agent] Looking for ssh-agent implementation... 11:52:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:43 $ docker exec bf67711e566830da0a6d4c892f0cf581795ebf3fb67c51b221a1cfc86ae9845d ssh-agent 11:52:43 SSH_AUTH_SOCK=/tmp/ssh-Tq7sDdD80DhT/agent.32 11:52:43 SSH_AGENT_PID=38 11:52:43 Running ssh-add (command line suppressed) 11:52:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8632233195804190954.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8632233195804190954.key) 11:52:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:44 + git semver tag 11:52:44 2024-10-31 11:52:44,214 [run_tag] DEBUG tag force:False 11:52:44 2024-10-31 11:52:44,214 [check_head_tag] DEBUG check head tag 11:52:44 2024-10-31 11:52:44,215 [execute] INFO git cat-file --batch-check 11:52:44 2024-10-31 11:52:44,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:52:44 2024-10-31 11:52:44,219 [execute] INFO git cat-file --batch 11:52:44 2024-10-31 11:52:44,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:52:44 2024-10-31 11:52:44,243 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:52:44 2024-10-31 11:52:44,243 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 11:52:44 2024-10-31 11:52:44,243 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:52:44 2024-10-31 11:52:44,248 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:52:44 4.0.0-dev.2 [Pipeline] } 11:52:44 $ docker exec --env ******** --env ******** bf67711e566830da0a6d4c892f0cf581795ebf3fb67c51b221a1cfc86ae9845d ssh-agent -k 11:52:44 unset SSH_AUTH_SOCK; 11:52:44 unset SSH_AGENT_PID; 11:52:44 echo Agent pid 38 killed; 11:52:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:52:44 + git semver [Pipeline] } 11:52:44 $ docker stop --time=1 bf67711e566830da0a6d4c892f0cf581795ebf3fb67c51b221a1cfc86ae9845d 11:52:46 $ docker rm -f --volumes bf67711e566830da0a6d4c892f0cf581795ebf3fb67c51b221a1cfc86ae9845d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:52:46 11:52:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:52:46 0.23.1-centos7: Pulling from edgex-lftools 11:52:46 ab5ef0e58194: Pulling fs layer 11:52:46 9712f1f96733: Pulling fs layer 11:52:46 63f879dbbcfc: Pulling fs layer 11:52:46 0d9ebad4ef96: Pulling fs layer 11:52:46 e9a5061849ea: Pulling fs layer 11:52:46 d747dcd14b5f: Pulling fs layer 11:52:46 2de7ff778b66: Pulling fs layer 11:52:46 0d9ebad4ef96: Waiting 11:52:46 e9a5061849ea: Waiting 11:52:46 d747dcd14b5f: Waiting 11:52:46 2de7ff778b66: Waiting 11:52:46 9712f1f96733: Verifying Checksum 11:52:46 9712f1f96733: Download complete 11:52:47 63f879dbbcfc: Verifying Checksum 11:52:47 63f879dbbcfc: Download complete 11:52:47 e9a5061849ea: Verifying Checksum 11:52:47 e9a5061849ea: Download complete 11:52:47 d747dcd14b5f: Download complete 11:52:47 0d9ebad4ef96: Verifying Checksum 11:52:47 0d9ebad4ef96: Download complete 11:52:47 2de7ff778b66: Verifying Checksum 11:52:47 ab5ef0e58194: Download complete 11:52:50 ab5ef0e58194: Pull complete 11:52:50 9712f1f96733: Pull complete 11:52:50 63f879dbbcfc: Pull complete 11:52:55 0d9ebad4ef96: Pull complete 11:52:55 e9a5061849ea: Pull complete 11:52:55 d747dcd14b5f: Pull complete 11:52:55 2de7ff778b66: Pull complete 11:52:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:52:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:55 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:52: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:53:02 $ docker top 0ed412f1b1f3f59b606aa00b697b209997c94fc93dcba84b43b08ada7351e7ff -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:53:02 provisioning config files... 11:53:02 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11742649475862878216tmp 11:53:02 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11071359888240460561tmp 11:53:02 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5779773778665075236tmp [Pipeline] { [Pipeline] echo 11:53:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:53:02 ---> sigul-configuration.sh 11:53:02 gpg: directory `/root/.gnupg' created 11:53:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:53:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:53:02 gpg: keyring `/root/.gnupg/secring.gpg' created 11:53:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:53:02 gpg: CAST5 encrypted data 11:53:02 gpg: encrypted with 1 passphrase 11:53:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:53:03 + mkdir /home/jenkins 11:53:03 + mkdir /home/jenkins/sigul [Pipeline] sh 11:53:03 + 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 11:53:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:53:03 ---> sigul-install.sh 11:53:03 Sigul already installed; skipping installation. [Pipeline] sh 11:53:04 + git tag --list 11:53:04 v1.0.0 11:53:04 v1.1.0 11:53:04 v1.1.1 11:53:04 v1.2.1 11:53:04 v1.2.2 11:53:04 v1.2.3 11:53:04 v1.3.0 11:53:04 v1.3.1 11:53:04 v2.0.0 11:53:04 v2.1.0 11:53:04 v2.1.1 11:53:04 v2.2.0 11:53:04 v2.3.0 11:53:04 v3.0 11:53:04 v3.0.0 11:53:04 v3.1 11:53:04 v3.1.0 11:53:04 v3.1.0-dev.1 11:53:04 v3.1.0-dev.10 11:53:04 v3.1.0-dev.11 11:53:04 v3.1.0-dev.12 11:53:04 v3.1.0-dev.13 11:53:04 v3.1.0-dev.14 11:53:04 v3.1.0-dev.15 11:53:04 v3.1.0-dev.16 11:53:04 v3.1.0-dev.17 11:53:04 v3.1.0-dev.18 11:53:04 v3.1.0-dev.19 11:53:04 v3.1.0-dev.2 11:53:04 v3.1.0-dev.20 11:53:04 v3.1.0-dev.21 11:53:04 v3.1.0-dev.22 11:53:04 v3.1.0-dev.23 11:53:04 v3.1.0-dev.24 11:53:04 v3.1.0-dev.25 11:53:04 v3.1.0-dev.26 11:53:04 v3.1.0-dev.27 11:53:04 v3.1.0-dev.28 11:53:04 v3.1.0-dev.29 11:53:04 v3.1.0-dev.3 11:53:04 v3.1.0-dev.30 11:53:04 v3.1.0-dev.4 11:53:04 v3.1.0-dev.5 11:53:04 v3.1.0-dev.6 11:53:04 v3.1.0-dev.7 11:53:04 v3.1.0-dev.8 11:53:04 v3.1.0-dev.9 11:53:04 v3.1.1 11:53:04 v3.1.1-dev.1 11:53:04 v3.2.0-dev.1 11:53:04 v3.2.0-dev.10 11:53:04 v3.2.0-dev.11 11:53:04 v3.2.0-dev.12 11:53:04 v3.2.0-dev.13 11:53:04 v3.2.0-dev.14 11:53:04 v3.2.0-dev.15 11:53:04 v3.2.0-dev.16 11:53:04 v3.2.0-dev.17 11:53:04 v3.2.0-dev.18 11:53:04 v3.2.0-dev.19 11:53:04 v3.2.0-dev.2 11:53:04 v3.2.0-dev.20 11:53:04 v3.2.0-dev.21 11:53:04 v3.2.0-dev.22 11:53:04 v3.2.0-dev.23 11:53:04 v3.2.0-dev.24 11:53:04 v3.2.0-dev.25 11:53:04 v3.2.0-dev.26 11:53:04 v3.2.0-dev.27 11:53:04 v3.2.0-dev.28 11:53:04 v3.2.0-dev.3 11:53:04 v3.2.0-dev.4 11:53:04 v3.2.0-dev.5 11:53:04 v3.2.0-dev.6 11:53:04 v3.2.0-dev.7 11:53:04 v3.2.0-dev.8 11:53:04 v3.2.0-dev.9 11:53:04 v4.0.0-dev.1 11:53:04 v4.0.0-dev.2 [Pipeline] sh 11:53:04 + lftools sign git-tag v4.0.0-dev.2 11:53:05 Signing Git tag with Sigul... 11:53:05 Signing v4.0.0-dev.2 [Pipeline] echo 11:53:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:53:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:53:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:53:05 $ docker stop --time=1 0ed412f1b1f3f59b606aa00b697b209997c94fc93dcba84b43b08ada7351e7ff 11:53:07 $ docker rm -f --volumes 0ed412f1b1f3f59b606aa00b697b209997c94fc93dcba84b43b08ada7351e7ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:53:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:53:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:53:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:07 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:53:07 $ 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 11:53:08 $ docker top 6cdee013b74f05b2f8232a5b573dd477a4ec558c1492840a05e1c5fae363cbc4 -eo pid,comm 11:53:08 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). 11:53:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:53:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:53:08 [ssh-agent] Looking for ssh-agent implementation... 11:53:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:53:08 $ docker exec 6cdee013b74f05b2f8232a5b573dd477a4ec558c1492840a05e1c5fae363cbc4 ssh-agent 11:53:08 SSH_AUTH_SOCK=/tmp/ssh-e0XciNaUUhKU/agent.32 11:53:08 SSH_AGENT_PID=38 11:53:08 Running ssh-add (command line suppressed) 11:53:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6945583138333754277.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6945583138333754277.key) 11:53:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:53:08 + git semver bump pre 11:53:09 2024-10-31 11:53:09,144 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:53:09 2024-10-31 11:53:09,144 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 11:53:09 2024-10-31 11:53:09,144 [bump_version] DEBUG bumped version:4.0.0-dev.3 11:53:09 2024-10-31 11:53:09,144 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 11:53:09 2024-10-31 11:53:09,144 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:53:09 2024-10-31 11:53:09,144 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:53:09 2024-10-31 11:53:09,147 [execute] INFO git cat-file --batch-check 11:53:09 2024-10-31 11:53:09,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:53:09 2024-10-31 11:53:09,151 [execute] INFO git cat-file --batch 11:53:09 2024-10-31 11:53:09,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:53:09 2024-10-31 11:53:09,157 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:53:09 4.0.0-dev.3 [Pipeline] } 11:53:09 $ docker exec --env ******** --env ******** 6cdee013b74f05b2f8232a5b573dd477a4ec558c1492840a05e1c5fae363cbc4 ssh-agent -k 11:53:09 unset SSH_AUTH_SOCK; 11:53:09 unset SSH_AGENT_PID; 11:53:09 echo Agent pid 38 killed; 11:53:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:53:09 + git semver [Pipeline] } 11:53:09 $ docker stop --time=1 6cdee013b74f05b2f8232a5b573dd477a4ec558c1492840a05e1c5fae363cbc4 11:53:11 $ docker rm -f --volumes 6cdee013b74f05b2f8232a5b573dd477a4ec558c1492840a05e1c5fae363cbc4 [Pipeline] // withDockerContainer [Pipeline] sh 11:53:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:53:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:53:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:11 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:53:11 $ 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 11:53:12 $ docker top 660b64ea78328e119321505738b5ea7e3209fe5fff284e191b723002ca371124 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:53:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:53:12 [ssh-agent] Looking for ssh-agent implementation... 11:53:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:53:12 $ docker exec 660b64ea78328e119321505738b5ea7e3209fe5fff284e191b723002ca371124 ssh-agent 11:53:12 SSH_AUTH_SOCK=/tmp/ssh-uv2PWcM1UnJ3/agent.32 11:53:12 SSH_AGENT_PID=38 11:53:12 Running ssh-add (command line suppressed) 11:53:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16051849118964108920.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16051849118964108920.key) 11:53:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:53:13 + git semver push 11:53:13 2024-10-31 11:53:13,198 [run_push] DEBUG push 11:53:13 2024-10-31 11:53:13,198 [execute] INFO git cat-file --batch-check 11:53:13 2024-10-31 11:53:13,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:53:13 2024-10-31 11:53:13,202 [execute] INFO git rev-list b2b0f99a44be3ecba664d91b323f3e9c2451a30a -- 11:53:13 2024-10-31 11:53:13,202 [execute] DEBUG Popen(['git', 'rev-list', 'b2b0f99a44be3ecba664d91b323f3e9c2451a30a', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:53:13 2024-10-31 11:53:13,208 [execute] INFO git fetch -v origin 11:53:13 2024-10-31 11:53:13,208 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:53:13 2024-10-31 11:53:13,663 [run_push] DEBUG no remote changes detected 11:53:13 2024-10-31 11:53:13,663 [execute] INFO git push origin semver 11:53:13 2024-10-31 11:53:13,664 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:53:14 2024-10-31 11:53:14,357 [run_push] DEBUG push all version tags 11:53:14 2024-10-31 11:53:14,357 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:53:14 2024-10-31 11:53:14,358 [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) 11:53:15 2024-10-31 11:53:15,013 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:53:15 4.0.0-dev.3 [Pipeline] } 11:53:15 $ docker exec --env ******** --env ******** 660b64ea78328e119321505738b5ea7e3209fe5fff284e191b723002ca371124 ssh-agent -k 11:53:15 unset SSH_AUTH_SOCK; 11:53:15 unset SSH_AGENT_PID; 11:53:15 echo Agent pid 38 killed; 11:53:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:53:15 + git semver [Pipeline] } 11:53:16 $ docker stop --time=1 660b64ea78328e119321505738b5ea7e3209fe5fff284e191b723002ca371124 11:53:17 $ docker rm -f --volumes 660b64ea78328e119321505738b5ea7e3209fe5fff284e191b723002ca371124 [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 11:53:17 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:53:17 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:53:17 total 16 11:53:17 drwxr-xr-x 3 root root 4096 Oct 31 11:40 . 11:53:17 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 11:53 .. 11:53:17 drwxr-xr-x 2 root root 4096 Oct 31 11:40 cost 11:53:17 -rw-r--r-- 1 root root 89 Oct 31 11:40 cost.csv 11:53:17 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:53:17 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:53:17 total 16 11:53:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 11:40 . 11:53:17 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 11:53 .. 11:53:17 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 11:40 cost 11:53:17 -rw-r--r-- 1 jenkins jenkins 89 Oct 31 11:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:53:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:53:19 ---> package-listing.sh 11:53:19 ++ facter osfamily 11:53:19 ++ tr '[:upper:]' '[:lower:]' 11:53:19 + OS_FAMILY=debian 11:53:19 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:53:19 + START_PACKAGES=/tmp/packages_start.txt 11:53:19 + END_PACKAGES=/tmp/packages_end.txt 11:53:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:53:19 + PACKAGES=/tmp/packages_start.txt 11:53:19 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:53:19 + PACKAGES=/tmp/packages_end.txt 11:53:19 + case "${OS_FAMILY}" in 11:53:19 + dpkg -l 11:53:19 + grep '^ii' 11:53:19 + '[' -f /tmp/packages_start.txt ']' 11:53:19 + '[' -f /tmp/packages_end.txt ']' 11:53:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:53:19 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:53:19 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:53:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:53:19 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 11:53:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:20 prd-ubuntu20.04-docker-8c-8g-24220 does not seem to be running inside a container 11:53:20 $ 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 11:53:20 $ docker top b63aa2efd700d0f48612a4fe5d42d63392bce9a6a307254ffcdd8daefdb42331 -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:20 + touch /tmp/pre-build-complete [Pipeline] sh 11:53:21 + mkdir -p /var/log/sysstat [Pipeline] sh 11:53:21 + ls /var/log/sa-host 11:53:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:53:21 provisioning config files... 11:53:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4826343125868852535tmp [Pipeline] { [Pipeline] echo 11:53:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:53:21 ---> create-netrc.sh [Pipeline] } 11:53:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:53:22 ---> python-tools-install.sh [Pipeline] echo 11:53:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:53:22 ---> sudo-logs.sh 11:53:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:53:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:53:22 ---> job-cost.sh 11:53:22 lf-activate-venv: SKIPPING 11:53:22 DEBUG: total: 0.2199999988079071 11:53:22 INFO: Retrieving Stack Cost... 11:53:23 INFO: Retrieving Pricing Info for: v3-standard-8 11:53:23 INFO: Archiving Costs [Pipeline] echo 11:53:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:53:23 ---> logs-deploy.sh 11:53:23 lf-activate-venv: SKIPPING 11:53:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/186 11:53:23 INFO: archiving workspace using pattern(s): 11:53:24 Archives upload complete. 11:53:24 INFO: archiving logs to Nexus