Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d121d4b12413d22e246e49a32881448e0ea11499 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-ssh17245476327308022369.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15165919121244378067.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8087837178656566072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18069501484733795230.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-ssh2270021103048829802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6459 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 d121d4b12413d22e246e49a32881448e0ea11499 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d121d4b12413d22e246e49a32881448e0ea11499 # timeout=10 Commit message: "Merge pull request #428 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > git rev-list --no-walk b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:52:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:52:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:52:51 ========================================================= 02:52:51 EdgeX Global Pipelines Version Info 02:52:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:52:52 ------------------- 02:52:52 stable info: 02:52:52 ------------------- 02:52:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:52:52 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:52:52 Message: update stable to v1.0.254 02:52:52 ------------------- 02:52:52 experimental info: 02:52:52 ------------------- 02:52:52 Commited By: **** collab-it+edgex@linuxfoundation.org 02:52:52 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:52:52 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d121d4b [Pipeline] echo 02:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:53 provisioning config files... 02:52:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2616696362498352753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:53 ---> docker-login.sh 02:52:53 nexus3.edgexfoundry.org:10001 02:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:54 Configure a credential helper to remove this warning. See 02:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:54 02:52:54 Login Succeeded 02:52:54 nexus3.edgexfoundry.org:10002 02:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:54 Configure a credential helper to remove this warning. See 02:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:54 02:52:54 Login Succeeded 02:52:54 nexus3.edgexfoundry.org:10003 02:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:54 Configure a credential helper to remove this warning. See 02:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:54 02:52:54 Login Succeeded 02:52:54 nexus3.edgexfoundry.org:10004 02:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:54 Configure a credential helper to remove this warning. See 02:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:54 02:52:54 Login Succeeded 02:52:54 docker.io 02:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:54 Configure a credential helper to remove this warning. See 02:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:54 02:52:54 Login Succeeded 02:52:54 ---> docker-login.sh ends [Pipeline] } 02:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:52:54 + git rev-list -1 --merges d121d4b12413d22e246e49a32881448e0ea11499~1..d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] echo 02:52:54 -----------> git rev-list -1 --merges d121d4b12413d22e246e49a32881448e0ea11499~1..d121d4b12413d22e246e49a32881448e0ea11499 d121d4b12413d22e246e49a32881448e0ea11499 02:52:54 d121d4b12413d22e246e49a32881448e0ea11499 [false] [Pipeline] sh 02:52:55 + git log --format=format:%s -1 d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] echo 02:52:55 ========================================================= 02:52:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:52:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:55 + git log --format=format:%s -1 d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] echo 02:52:55 [semverPrep] GIT_COMMIT: d121d4b12413d22e246e49a32881448e0ea11499, Commit Message: Merge pull request #428 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo 02:52:55 [semverPrep] This is not a build commit. [Pipeline] sh 02:52:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:52:55 + grep -v github /etc/ssh/ssh_known_hosts 02:52:55 + [ -e /tmp/ssh_known_hosts ] 02:52:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:52:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:52:55 + sudo tee -a /etc/ssh/ssh_known_hosts 02:52:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:56 02:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:56 0.1.4: Pulling from edgex-devops/py-git-semver 02:52:56 b85a868b505f: Pulling fs layer 02:52:56 e2be974225ed: Pulling fs layer 02:52:56 339a4e72a1f5: Pulling fs layer 02:52:56 988bab9f4d93: Pulling fs layer 02:52:56 1469e6f7b9e6: Pulling fs layer 02:52:56 eaf3925da568: Pulling fs layer 02:52:56 bab4dde63d76: Pulling fs layer 02:52:56 bde34c3a00c8: Pulling fs layer 02:52:56 988bab9f4d93: Waiting 02:52:56 eaf3925da568: Waiting 02:52:56 1469e6f7b9e6: Waiting 02:52:56 bab4dde63d76: Waiting 02:52:56 b352a97aabf1: Pulling fs layer 02:52:56 4872d77fe225: Pulling fs layer 02:52:56 5851b861e8e6: Pulling fs layer 02:52:56 bde34c3a00c8: Waiting 02:52:56 b352a97aabf1: Waiting 02:52:56 4872d77fe225: Waiting 02:52:56 5851b861e8e6: Waiting 02:52:56 e2be974225ed: Verifying Checksum 02:52:56 e2be974225ed: Download complete 02:52:56 988bab9f4d93: Verifying Checksum 02:52:56 988bab9f4d93: Download complete 02:52:56 1469e6f7b9e6: Verifying Checksum 02:52:56 1469e6f7b9e6: Download complete 02:52:56 339a4e72a1f5: Verifying Checksum 02:52:56 339a4e72a1f5: Download complete 02:52:56 eaf3925da568: Verifying Checksum 02:52:56 eaf3925da568: Download complete 02:52:56 bde34c3a00c8: Verifying Checksum 02:52:56 bde34c3a00c8: Download complete 02:52:56 b352a97aabf1: Verifying Checksum 02:52:56 b352a97aabf1: Download complete 02:52:56 4872d77fe225: Verifying Checksum 02:52:56 4872d77fe225: Download complete 02:52:56 5851b861e8e6: Verifying Checksum 02:52:56 5851b861e8e6: Download complete 02:52:56 b85a868b505f: Download complete 02:52:57 bab4dde63d76: Verifying Checksum 02:52:57 bab4dde63d76: Download complete 02:52:58 b85a868b505f: Pull complete 02:52:58 e2be974225ed: Pull complete 02:52:58 339a4e72a1f5: Pull complete 02:52:58 988bab9f4d93: Pull complete 02:52:59 1469e6f7b9e6: Pull complete 02:52:59 eaf3925da568: Pull complete 02:53:01 bab4dde63d76: Pull complete 02:53:01 bde34c3a00c8: Pull complete 02:53:01 b352a97aabf1: Pull complete 02:53:01 4872d77fe225: Pull complete 02:53:01 5851b861e8e6: Pull complete 02:53:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:53:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:01 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 02:53:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:04 $ docker top a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 -eo pid,comm 02:53:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:53:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:04 [ssh-agent] Looking for ssh-agent implementation... 02:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:04 $ docker exec a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 ssh-agent 02:53:04 SSH_AUTH_SOCK=/tmp/ssh-DH0qrtcb0kdp/agent.31 02:53:04 SSH_AGENT_PID=37 02:53:04 Running ssh-add (command line suppressed) 02:53:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10209749428682287129.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10209749428682287129.key) 02:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:05 + git tag --points-at HEAD [Pipeline] } 02:53:05 $ docker exec --env ******** --env ******** a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 ssh-agent -k 02:53:05 unset SSH_AUTH_SOCK; 02:53:05 unset SSH_AGENT_PID; 02:53:05 echo Agent pid 37 killed; 02:53:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:53:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:05 [ssh-agent] Looking for ssh-agent implementation... 02:53:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:05 $ docker exec a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 ssh-agent 02:53:05 SSH_AUTH_SOCK=/tmp/ssh-pF58qsp60Hfc/agent.69 02:53:05 SSH_AGENT_PID=76 02:53:05 Running ssh-add (command line suppressed) 02:53:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12298530507229139268.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12298530507229139268.key) 02:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:05 + git semver init 02:53:06 2023-09-19 02:53:06,068 [run_init] DEBUG init version:0.0.0 force:False 02:53:06 2023-09-19 02:53:06,068 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 02:53:06 2023-09-19 02:53:06,069 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 02:53:06 2023-09-19 02:53:06,069 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 02:53:07 2023-09-19 02:53:07,174 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 02:53:07 2023-09-19 02:53:07,174 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 02:53:07 2023-09-19 02:53:07,175 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:53:07 2023-09-19 02:53:07,175 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:53:07 3.1.0-dev.13 [Pipeline] } 02:53:07 $ docker exec --env ******** --env ******** a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 ssh-agent -k 02:53:07 unset SSH_AUTH_SOCK; 02:53:07 unset SSH_AGENT_PID; 02:53:07 echo Agent pid 76 killed; 02:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:07 + git semver [Pipeline] } 02:53:08 $ docker stop --time=1 a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 02:53:09 $ docker rm -f --volumes a267c1c85d8e2e42ce0d894f267adc1c7dd969fb159a09cd2a464c3d8714ce13 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:53:10 Stashed 1 file(s) [Pipeline] echo 02:53:10 [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:10 provisioning config files... 02:53:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config149360244274037457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:10 ---> docker-login.sh 02:53:10 nexus3.edgexfoundry.org:10001 02:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:10 Configure a credential helper to remove this warning. See 02:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:10 02:53:10 Login Succeeded 02:53:10 nexus3.edgexfoundry.org:10002 02:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:10 Configure a credential helper to remove this warning. See 02:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:10 02:53:10 Login Succeeded 02:53:10 nexus3.edgexfoundry.org:10003 02:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:10 Configure a credential helper to remove this warning. See 02:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:10 02:53:10 Login Succeeded 02:53:10 nexus3.edgexfoundry.org:10004 02:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:10 Configure a credential helper to remove this warning. See 02:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:10 02:53:10 Login Succeeded 02:53:10 docker.io 02:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:11 Configure a credential helper to remove this warning. See 02:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:11 02:53:11 Login Succeeded 02:53:11 ---> docker-login.sh ends [Pipeline] } 02:53:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:11 ========================================================= 02:53:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:53:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:53:11 Sending build context to Docker daemon 23.59MB 02:53:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:53:11 Step 2/12 : FROM ${BASE} AS builder 02:53:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:53:11 7264a8db6415: Pulling fs layer 02:53:11 c4d48a809fc2: Pulling fs layer 02:53:11 4f1c88b9dad5: Pulling fs layer 02:53:11 ad3a456e5733: Pulling fs layer 02:53:11 9e4f439ed901: Pulling fs layer 02:53:11 feaf6a47b606: Pulling fs layer 02:53:11 5e8b037d7d82: Pulling fs layer 02:53:11 8ac70367396e: Pulling fs layer 02:53:11 6db16350a2e2: Pulling fs layer 02:53:11 9250d5d63582: Pulling fs layer 02:53:11 6db16350a2e2: Waiting 02:53:11 feaf6a47b606: Waiting 02:53:11 ad3a456e5733: Waiting 02:53:11 9e4f439ed901: Waiting 02:53:11 8ac70367396e: Waiting 02:53:11 9250d5d63582: Waiting 02:53:11 c4d48a809fc2: Download complete 02:53:11 ad3a456e5733: Verifying Checksum 02:53:11 ad3a456e5733: Download complete 02:53:11 9e4f439ed901: Verifying Checksum 02:53:11 9e4f439ed901: Download complete 02:53:11 7264a8db6415: Verifying Checksum 02:53:11 7264a8db6415: Download complete 02:53:11 feaf6a47b606: Verifying Checksum 02:53:11 feaf6a47b606: Download complete 02:53:12 7264a8db6415: Pull complete 02:53:12 8ac70367396e: Verifying Checksum 02:53:12 8ac70367396e: Download complete 02:53:12 c4d48a809fc2: Pull complete 02:53:12 4f1c88b9dad5: Verifying Checksum 02:53:12 4f1c88b9dad5: Download complete 02:53:12 6db16350a2e2: Verifying Checksum 02:53:12 6db16350a2e2: Download complete 02:53:12 5e8b037d7d82: Verifying Checksum 02:53:12 5e8b037d7d82: Download complete 02:53:12 9250d5d63582: Verifying Checksum 02:53:12 9250d5d63582: Download complete 02:53:15 4f1c88b9dad5: Pull complete 02:53:15 ad3a456e5733: Pull complete 02:53:15 9e4f439ed901: Pull complete 02:53:15 feaf6a47b606: Pull complete 02:53:18 5e8b037d7d82: Pull complete 02:53:18 8ac70367396e: Pull complete 02:53:19 6db16350a2e2: Pull complete 02:53:19 9250d5d63582: Pull complete 02:53:19 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 02:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:53:19 ---> fa269f55d9b9 02:53:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:53:24 ---> Running in 022a3b3aeee2 02:53:24 Removing intermediate container 022a3b3aeee2 02:53:24 ---> 9386f0c01557 02:53:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:53:24 ---> Running in dc87dad29d69 02:53:24 Removing intermediate container dc87dad29d69 02:53:24 ---> acda8de0884d 02:53:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:53:24 ---> Running in 1d88d41ac1e9 02:53:24 Removing intermediate container 1d88d41ac1e9 02:53:24 ---> e12171eec891 02:53:24 Step 6/12 : WORKDIR /device-virtual-go 02:53:24 ---> Running in 83337a2536d9 02:53:24 Removing intermediate container 83337a2536d9 02:53:24 ---> 51a6241f3fec 02:53:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:24 ---> Running in 29978fdd6f83 02:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:25 Still waiting to schedule task 02:53:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:53:25 (2/4) Installing libedit (20221030.3.1-r1) 02:53:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:53:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:53:25 Executing busybox-1.36.1-r2.trigger 02:53:25 OK: 270 MiB in 60 packages 02:53:26 Removing intermediate container 29978fdd6f83 02:53:26 ---> 12b0e93bc88e 02:53:26 Step 8/12 : COPY go.mod vendor* ./ 02:53:26 ---> 7d32998b2dc9 02:53:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:26 ---> Running in c59109b45887 02:53:58 Removing intermediate container c59109b45887 02:53:58 ---> 7457606c2503 02:53:58 Step 10/12 : COPY . . 02:53:58 ---> 1120647b79df 02:53:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:58 ---> Running in 8591fcebadc1 02:53:58 Removing intermediate container 8591fcebadc1 02:53:58 ---> 3cc381299134 02:53:58 Step 12/12 : RUN $MAKE 02:53:58 ---> Running in 4616d16d9750 02:53:58 noop 02:53:58 Removing intermediate container 4616d16d9750 02:53:58 ---> b159f83906fb 02:53:58 Successfully built b159f83906fb 02:53:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:58 + docker inspect -f . ci-base-image-x86_64 02:53:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:58 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 02:53:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:53:59 $ docker top 0d0075a43d9725fc3d5b37efe419c94acb56bb855de26228f8f0f35b7457810b -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:59 + go version 02:53:59 go version go1.21.0 linux/amd64 [Pipeline] } 02:53:59 $ docker stop --time=1 0d0075a43d9725fc3d5b37efe419c94acb56bb855de26228f8f0f35b7457810b 02:54:00 $ docker rm -f --volumes 0d0075a43d9725fc3d5b37efe419c94acb56bb855de26228f8f0f35b7457810b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:01 + docker inspect -f . ci-base-image-x86_64 02:54:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:01 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 02:54:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:54:01 $ docker top a0034e5113f4b495c4af6d7973319cf63cc5e510417b875861675c353aa6bf99 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:01 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 02:54:02 + make test 02:54:02 go test ./... -coverprofile=coverage.out 02:54:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:54:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:54:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 02:54:17 go vet ./... 02:54:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:54:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:54:21 ./bin/test-attribution-txt.sh [Pipeline] echo 02:54:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:54:21 $ docker stop --time=1 a0034e5113f4b495c4af6d7973319cf63cc5e510417b875861675c353aa6bf99 02:54:25 $ docker rm -f --volumes a0034e5113f4b495c4af6d7973319cf63cc5e510417b875861675c353aa6bf99 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:54:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:54:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:26 + ls -al . 02:54:26 total 204 02:54:26 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 02:54 . 02:54:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:52 .. 02:54:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:54 .git 02:54:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:52 .github 02:54:26 -rw-rw-r-- 1 jenkins jenkins 337 Sep 19 02:52 .gitignore 02:54:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:52 .golangci.yml 02:54:26 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:53 .semver 02:54:26 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 19 02:52 Attribution.txt 02:54:26 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 19 02:52 CHANGELOG.md 02:54:26 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 19 02:52 Dockerfile 02:54:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:52 GOVERNANCE.md 02:54:26 -rw-rw-r-- 1 jenkins jenkins 660 Sep 19 02:52 Jenkinsfile 02:54:26 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:52 LICENSE 02:54:26 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 19 02:52 Makefile 02:54:26 -rw-rw-r-- 1 jenkins jenkins 623 Sep 19 02:52 OWNERS.md 02:54:26 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 19 02:52 README.md 02:54:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:53 VERSION 02:54:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:52 bin 02:54:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:52 cmd 02:54:26 -rw-r--r-- 1 jenkins jenkins 43063 Sep 19 02:54 coverage.out 02:54:26 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 19 02:52 go.mod 02:54:26 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 19 02:52 go.sum 02:54:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:52 internal 02:54:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:52 snap 02:54:26 -rw-rw-r-- 1 jenkins jenkins 235 Sep 19 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:27 + 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=d121d4b12413d22e246e49a32881448e0ea11499 --label arch=amd64 --label version=3.1.0-dev.13 . 02:54:27 Sending build context to Docker daemon 23.64MB 02:54:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:54:27 Step 2/25 : FROM ${BASE} AS builder 02:54:27 ---> b159f83906fb 02:54:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:54:27 ---> Running in 2e4fd08e3075 02:54:27 Removing intermediate container 2e4fd08e3075 02:54:27 ---> 17a36c74762e 02:54:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:54:27 ---> Running in 7ed1fcd0ceee 02:54:27 Removing intermediate container 7ed1fcd0ceee 02:54:27 ---> 1b203342fcf4 02:54:27 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:54:27 ---> Running in 1acd93e806ad 02:54:27 Removing intermediate container 1acd93e806ad 02:54:27 ---> 6939f8c683ef 02:54:27 Step 6/25 : WORKDIR /device-virtual-go 02:54:27 ---> Running in 3ea71829551b 02:54:27 Removing intermediate container 3ea71829551b 02:54:27 ---> 80e5d35811e2 02:54:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:27 ---> Running in 619e69ba5b98 02:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:28 OK: 270 MiB in 60 packages 02:54:28 Removing intermediate container 619e69ba5b98 02:54:28 ---> 7c85f4fc2f08 02:54:28 Step 8/25 : COPY go.mod vendor* ./ 02:54:28 ---> 4568a79f8a36 02:54:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:28 ---> Running in 010a94f04055 02:54:29 Removing intermediate container 010a94f04055 02:54:29 ---> 963c43456063 02:54:29 Step 10/25 : COPY . . 02:54:30 ---> 3469c97ace09 02:54:30 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:54:30 ---> Running in 14962be60b98 02:54:30 Removing intermediate container 14962be60b98 02:54:30 ---> 121d6e45aba1 02:54:30 Step 12/25 : RUN $MAKE 02:54:30 ---> Running in bb819c03217a 02:54:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:54:48 Removing intermediate container bb819c03217a 02:54:48 ---> d248c0e6a6b9 02:54:48 Step 13/25 : FROM alpine:3.18 02:54:49 3.18: Pulling from library/alpine 02:54:49 7264a8db6415: Already exists 02:54:49 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:54:49 Status: Downloaded newer image for alpine:3.18 02:54:49 ---> 7e01a0d0a1dc 02:54:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:54:49 ---> Running in 618a5c31d37b 02:54:49 Removing intermediate container 618a5c31d37b 02:54:49 ---> a142512417d5 02:54:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:54:49 ---> Running in bdd7b82b1fda 02:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:50 (1/1) Installing dumb-init (1.2.5-r2) 02:54:50 Executing busybox-1.36.1-r2.trigger 02:54:50 OK: 7 MiB in 16 packages 02:54:50 Removing intermediate container bdd7b82b1fda 02:54:50 ---> 1ecd2e2297d5 02:54:50 Step 16/25 : WORKDIR / 02:54:50 ---> Running in 1995d9e69bf7 02:54:50 Removing intermediate container 1995d9e69bf7 02:54:50 ---> 4e6103a0479b 02:54:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:54:50 ---> b3af7709adb9 02:54:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:54:50 ---> a066502c105d 02:54:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:54:51 ---> 981a0fc0ad94 02:54:51 Step 20/25 : EXPOSE 59900 02:54:51 ---> Running in 4ddae1fb0a06 02:54:51 Removing intermediate container 4ddae1fb0a06 02:54:51 ---> 76b7d84e40c7 02:54:51 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:54:51 ---> Running in e3e3d837c845 02:54:51 Removing intermediate container e3e3d837c845 02:54:51 ---> c69bec247b72 02:54:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:54:51 ---> Running in bc90a0215a45 02:54:51 Removing intermediate container bc90a0215a45 02:54:51 ---> 304c5162cfb9 02:54:51 Step 23/25 : LABEL arch=amd64 02:54:51 ---> Running in ff340b24c7cd 02:54:52 Removing intermediate container ff340b24c7cd 02:54:52 ---> 26acd42eb168 02:54:52 Step 24/25 : LABEL git_sha=d121d4b12413d22e246e49a32881448e0ea11499 02:54:52 ---> Running in f9891da0da70 02:54:52 Removing intermediate container f9891da0da70 02:54:52 ---> cc6c8d9a8628 02:54:52 Step 25/25 : LABEL version=3.1.0-dev.13 02:54:52 ---> Running in 1b6b5633b9eb 02:54:52 Removing intermediate container 1b6b5633b9eb 02:54:52 ---> 63f8242ad8d6 02:54:52 [Warning] One or more build-args [ARCH] were not consumed 02:54:52 Successfully built 63f8242ad8d6 02:54:52 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:52 provisioning config files... 02:54:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5335393718447976891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:52 ---> docker-login.sh 02:54:52 nexus3.edgexfoundry.org:10001 02:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:52 Configure a credential helper to remove this warning. See 02:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:52 02:54:52 Login Succeeded 02:54:52 nexus3.edgexfoundry.org:10002 02:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:52 Configure a credential helper to remove this warning. See 02:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:52 02:54:52 Login Succeeded 02:54:52 nexus3.edgexfoundry.org:10003 02:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:52 Configure a credential helper to remove this warning. See 02:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:52 02:54:52 Login Succeeded 02:54:52 nexus3.edgexfoundry.org:10004 02:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:52 Configure a credential helper to remove this warning. See 02:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:52 02:54:52 Login Succeeded 02:54:52 docker.io 02:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:53 Configure a credential helper to remove this warning. See 02:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:53 02:54:53 Login Succeeded 02:54:53 ---> docker-login.sh ends [Pipeline] } 02:54:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:53 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:54:53 d121d4b12413d22e246e49a32881448e0ea11499 02:54:53 latest 02:54:53 3.1.0-dev.13 02:54:53 d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 02:54:53 main 02:54:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:d121d4b12413d22e246e49a32881448e0ea11499 02:54:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:54:53 3b3d48c3937f: Preparing 02:54:53 f95a8ebabbbd: Preparing 02:54:53 5a061052c6ee: Preparing 02:54:53 7f5264362504: Preparing 02:54:53 4693057ce236: Preparing 02:54:53 4693057ce236: Layer already exists 02:54:53 7f5264362504: Pushed 02:54:53 5a061052c6ee: Pushed 02:54:53 f95a8ebabbbd: Pushed 02:54:56 3b3d48c3937f: Pushed 02:54:56 d121d4b12413d22e246e49a32881448e0ea11499: digest: sha256:90b888053e907174739fc7a69c5b647c11ab6de770df356b200c421aaa1b97a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:54:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:54:56 3b3d48c3937f: Preparing 02:54:56 f95a8ebabbbd: Preparing 02:54:56 5a061052c6ee: Preparing 02:54:56 7f5264362504: Preparing 02:54:56 4693057ce236: Preparing 02:54:56 3b3d48c3937f: Layer already exists 02:54:56 4693057ce236: Layer already exists 02:54:56 5a061052c6ee: Layer already exists 02:54:56 7f5264362504: Layer already exists 02:54:56 f95a8ebabbbd: Layer already exists 02:54:56 latest: digest: sha256:90b888053e907174739fc7a69c5b647c11ab6de770df356b200c421aaa1b97a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.13 02:54:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:54:57 3b3d48c3937f: Preparing 02:54:57 f95a8ebabbbd: Preparing 02:54:57 5a061052c6ee: Preparing 02:54:57 7f5264362504: Preparing 02:54:57 4693057ce236: Preparing 02:54:57 3b3d48c3937f: Layer already exists 02:54:57 7f5264362504: Layer already exists 02:54:57 4693057ce236: Layer already exists 02:54:57 f95a8ebabbbd: Layer already exists 02:54:57 5a061052c6ee: Layer already exists 02:54:57 3.1.0-dev.13: digest: sha256:90b888053e907174739fc7a69c5b647c11ab6de770df356b200c421aaa1b97a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 02:54:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:54:58 3b3d48c3937f: Preparing 02:54:58 f95a8ebabbbd: Preparing 02:54:58 5a061052c6ee: Preparing 02:54:58 7f5264362504: Preparing 02:54:58 4693057ce236: Preparing 02:54:58 f95a8ebabbbd: Layer already exists 02:54:58 4693057ce236: Layer already exists 02:54:58 7f5264362504: Layer already exists 02:54:58 5a061052c6ee: Layer already exists 02:54:58 3b3d48c3937f: Layer already exists 02:54:58 d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13: digest: sha256:90b888053e907174739fc7a69c5b647c11ab6de770df356b200c421aaa1b97a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:54:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:54:58 3b3d48c3937f: Preparing 02:54:58 f95a8ebabbbd: Preparing 02:54:58 5a061052c6ee: Preparing 02:54:58 7f5264362504: Preparing 02:54:58 4693057ce236: Preparing 02:54:58 4693057ce236: Layer already exists 02:54:58 5a061052c6ee: Layer already exists 02:54:58 f95a8ebabbbd: Layer already exists 02:54:58 3b3d48c3937f: Layer already exists 02:54:58 7f5264362504: Layer already exists 02:54:58 main: digest: sha256:90b888053e907174739fc7a69c5b647c11ab6de770df356b200c421aaa1b97a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:58 ===================================================== [Pipeline] echo 02:54:58 taggedImages: 02:54:58 - nexus3.edgexfoundry.org:10004/device-virtual:d121d4b12413d22e246e49a32881448e0ea11499 02:54:58 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:54:58 - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.13 02:54:58 - nexus3.edgexfoundry.org:10004/device-virtual:d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 02:54:58 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:59 02:54:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:59 latest: Pulling from edgex-lftools-log-publisher 02:54:59 5eb5b503b376: Pulling fs layer 02:54:59 5c69ac0246d0: Pulling fs layer 02:54:59 ec43610c2a17: Pulling fs layer 02:54:59 3a2ae6a8a46f: Pulling fs layer 02:54:59 33b1e0a273af: Pulling fs layer 02:54:59 5d3b04190fa2: Pulling fs layer 02:54:59 2f39f015ded8: Pulling fs layer 02:54:59 3a2ae6a8a46f: Waiting 02:54:59 33b1e0a273af: Waiting 02:54:59 2f39f015ded8: Waiting 02:54:59 5d3b04190fa2: Waiting 02:54:59 5c69ac0246d0: Download complete 02:54:59 3a2ae6a8a46f: Verifying Checksum 02:54:59 3a2ae6a8a46f: Download complete 02:54:59 ec43610c2a17: Verifying Checksum 02:54:59 ec43610c2a17: Download complete 02:54:59 33b1e0a273af: Verifying Checksum 02:54:59 33b1e0a273af: Download complete 02:54:59 5d3b04190fa2: Verifying Checksum 02:54:59 5d3b04190fa2: Download complete 02:54:59 5eb5b503b376: Verifying Checksum 02:54:59 5eb5b503b376: Download complete 02:55:00 2f39f015ded8: Verifying Checksum 02:55:00 2f39f015ded8: Download complete 02:55:00 5eb5b503b376: Pull complete 02:55:01 5c69ac0246d0: Pull complete 02:55:01 ec43610c2a17: Pull complete 02:55:01 3a2ae6a8a46f: Pull complete 02:55:01 33b1e0a273af: Pull complete 02:55:01 5d3b04190fa2: Pull complete 02:55:05 2f39f015ded8: Pull complete 02:55:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:55:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:05 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 02:55:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:55:11 $ docker top 16a23fce83468b8c72a5354edca7f4800754698a7889b095a9eaba61b6fbcda8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:12 ---> job-cost.sh 02:55:12 lf-activate-venv: SKIPPING 02:55:12 INFO: No Stack... 02:55:12 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:12 INFO: Archiving Costs [Pipeline] sh 02:55:12 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:55:12 + cut -d, -f6 [Pipeline] lock 02:55:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] 02:55:12 Resource [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] did not exist. Created. 02:55:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:13 + echo total: 0.2199999988079071 [Pipeline] stash 02:55:13 Stashed 1 file(s) [Pipeline] } 02:55:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:13 $ docker stop --time=1 16a23fce83468b8c72a5354edca7f4800754698a7889b095a9eaba61b6fbcda8 02:55:14 $ docker rm -f --volumes 16a23fce83468b8c72a5354edca7f4800754698a7889b095a9eaba61b6fbcda8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:56:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6461 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 02:56:03 Running in /w/workspace/device-virtual-go/139 [Pipeline] { [Pipeline] checkout 02:56:03 The recommended git tool is: git 02:56:09 using credential edgex-jenkins-ssh 02:56:09 Cloning the remote Git repository 02:56:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:56:09 > git init /w/workspace/device-virtual-go/139 # timeout=10 02:56:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:56:09 > git --version # timeout=10 02:56:09 > git --version # 'git version 2.25.1' 02:56:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:56:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:56:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:12 Avoid second fetch 02:56:12 Checking out Revision d121d4b12413d22e246e49a32881448e0ea11499 (main) 02:56:13 Commit message: "Merge pull request #428 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:56:12 > git config core.sparsecheckout # timeout=10 02:56:12 > git checkout -f d121d4b12413d22e246e49a32881448e0ea11499 # timeout=10 02:56:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:56:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:56:14 Dload Upload Total Spent Left Speed 02:56:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 02:56:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:56:15 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 02:56:15 02:56:15 { 02:56:15 "registry-mirrors": [ 02:56:15 "https://nexus3.edgexfoundry.org:10001" 02:56:15 ], 02:56:15 "bip": "10.250.0.254/24", 02:56:15 "hosts": [ 02:56:15 "tcp://0.0.0.0:5555", 02:56:15 "unix:///var/run/docker.sock" 02:56:15 ], 02:56:15 "mtu": 1458, 02:56:15 "selinux-enabled": true, 02:56:15 "seccomp-profile": "/etc/docker/seccomp.json" 02:56:15 } [Pipeline] sh 02:56:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:56:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:34 provisioning config files... 02:56:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/139@tmp/config9387581252783510923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:34 ---> docker-login.sh 02:56:34 nexus3.edgexfoundry.org:10001 02:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:35 Configure a credential helper to remove this warning. See 02:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:35 02:56:35 Login Succeeded 02:56:35 nexus3.edgexfoundry.org:10002 02:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:35 Configure a credential helper to remove this warning. See 02:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:35 02:56:35 Login Succeeded 02:56:35 nexus3.edgexfoundry.org:10003 02:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:35 Configure a credential helper to remove this warning. See 02:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:35 02:56:35 Login Succeeded 02:56:35 nexus3.edgexfoundry.org:10004 02:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:36 Configure a credential helper to remove this warning. See 02:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:36 02:56:36 Login Succeeded 02:56:36 docker.io 02:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:36 Configure a credential helper to remove this warning. See 02:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:36 02:56:36 Login Succeeded 02:56:36 ---> docker-login.sh ends [Pipeline] } 02:56:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:56:37 ========================================================= 02:56:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:56:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:56:37 Sending build context to Docker daemon 11.94MB 02:56:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:56:37 Step 2/12 : FROM ${BASE} AS builder 02:56:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:56:37 9fda8d8052c6: Pulling fs layer 02:56:37 5d54e960e981: Pulling fs layer 02:56:37 c4a7e357bf2a: Pulling fs layer 02:56:37 f0e02332f6b5: Pulling fs layer 02:56:37 66412af1f25a: Pulling fs layer 02:56:37 1baf3a5c0e64: Pulling fs layer 02:56:37 9a37bb91b891: Pulling fs layer 02:56:37 a29adfc67d43: Pulling fs layer 02:56:37 d5de9f91c1a4: Pulling fs layer 02:56:37 1baf3a5c0e64: Waiting 02:56:37 9a37bb91b891: Waiting 02:56:37 a29adfc67d43: Waiting 02:56:37 d5de9f91c1a4: Waiting 02:56:37 f0e02332f6b5: Waiting 02:56:37 66412af1f25a: Waiting 02:56:37 5d54e960e981: Verifying Checksum 02:56:37 5d54e960e981: Download complete 02:56:37 f0e02332f6b5: Verifying Checksum 02:56:37 f0e02332f6b5: Download complete 02:56:37 66412af1f25a: Verifying Checksum 02:56:37 66412af1f25a: Download complete 02:56:37 9fda8d8052c6: Verifying Checksum 02:56:37 9fda8d8052c6: Download complete 02:56:38 9a37bb91b891: Verifying Checksum 02:56:38 9a37bb91b891: Download complete 02:56:39 9fda8d8052c6: Pull complete 02:56:39 a29adfc67d43: Verifying Checksum 02:56:39 a29adfc67d43: Download complete 02:56:39 5d54e960e981: Pull complete 02:56:39 d5de9f91c1a4: Verifying Checksum 02:56:39 d5de9f91c1a4: Download complete 02:56:39 c4a7e357bf2a: Verifying Checksum 02:56:39 c4a7e357bf2a: Download complete 02:56:40 1baf3a5c0e64: Verifying Checksum 02:56:40 1baf3a5c0e64: Download complete 02:56:51 c4a7e357bf2a: Pull complete 02:56:51 f0e02332f6b5: Pull complete 02:56:51 66412af1f25a: Pull complete 02:56:57 1baf3a5c0e64: Pull complete 02:56:58 9a37bb91b891: Pull complete 02:57:00 a29adfc67d43: Pull complete 02:57:01 d5de9f91c1a4: Pull complete 02:57:01 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 02:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:57:01 ---> 746ca1b523b5 02:57:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:57:03 ---> Running in 703e30369428 02:57:04 Removing intermediate container 703e30369428 02:57:04 ---> 46731184346d 02:57:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:57:04 ---> Running in 50e0eced06a6 02:57:04 Removing intermediate container 50e0eced06a6 02:57:04 ---> 440928d5069b 02:57:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:57:04 ---> Running in dc46b9134528 02:57:04 Removing intermediate container dc46b9134528 02:57:04 ---> 5b623d1b6af6 02:57:04 Step 6/12 : WORKDIR /device-virtual-go 02:57:04 ---> Running in f1f0a66210f5 02:57:05 Removing intermediate container f1f0a66210f5 02:57:05 ---> a7a89c79d89f 02:57:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:57:05 ---> Running in 5f2c120e31ce 02:57:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:57:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:57:07 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:57:07 (2/4) Installing libedit (20221030.3.1-r1) 02:57:07 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:57:07 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:57:07 Executing busybox-1.36.1-r2.trigger 02:57:07 OK: 272 MiB in 60 packages 02:57:08 Removing intermediate container 5f2c120e31ce 02:57:08 ---> 7e368403b120 02:57:08 Step 8/12 : COPY go.mod vendor* ./ 02:57:10 ---> 1d4cb4ecf3fe 02:57:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:57:10 ---> Running in 3aeab58b2a5b 02:58:18 Removing intermediate container 3aeab58b2a5b 02:58:18 ---> dba559cf34f0 02:58:18 Step 10/12 : COPY . . 02:58:18 ---> 3800b0fbe466 02:58:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:58:18 ---> Running in 3e0c7381312a 02:58:18 Removing intermediate container 3e0c7381312a 02:58:18 ---> 8a9c1ad12392 02:58:18 Step 12/12 : RUN $MAKE 02:58:18 ---> Running in 06538d4a5124 02:58:18 noop 02:58:18 Removing intermediate container 06538d4a5124 02:58:18 ---> ab457d252997 02:58:18 Successfully built ab457d252997 02:58:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:19 + docker inspect -f . ci-base-image-arm64 02:58:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:19 prd-ubuntu20.04-docker-arm64-4c-16g-6461 does not seem to be running inside a container 02:58:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/139 -v /w/workspace/device-virtual-go/139:/w/workspace/device-virtual-go/139:rw,z -v /w/workspace/device-virtual-go/139@tmp:/w/workspace/device-virtual-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:58:20 $ docker top 18c76f5a793a0d4e0fdf9f9e698b2143b5ec64ab0ea72c7abc9d5a80d562f58b -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:21 + go version 02:58:21 go version go1.21.0 linux/arm64 [Pipeline] } 02:58:21 $ docker stop --time=1 18c76f5a793a0d4e0fdf9f9e698b2143b5ec64ab0ea72c7abc9d5a80d562f58b 02:58:23 $ docker rm -f --volumes 18c76f5a793a0d4e0fdf9f9e698b2143b5ec64ab0ea72c7abc9d5a80d562f58b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:23 + docker inspect -f . ci-base-image-arm64 02:58:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:23 prd-ubuntu20.04-docker-arm64-4c-16g-6461 does not seem to be running inside a container 02:58:23 $ 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/139 -v /w/workspace/device-virtual-go/139:/w/workspace/device-virtual-go/139:rw,z -v /w/workspace/device-virtual-go/139@tmp:/w/workspace/device-virtual-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:58:25 $ docker top 629373ba8a85f16a006a5c1342421491ed5bc09072f83a1654b0dc0a5ce081af -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:26 + git config --global --add safe.directory /w/workspace/device-virtual-go/139 [Pipeline] fileExists [Pipeline] sh 02:58:26 + make test 02:58:26 go test ./... -coverprofile=coverage.out 02:58:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:00:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:00:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.066s coverage: 58.4% of statements 03:00:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:00:10 go vet ./... 03:00:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:00:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:00:32 ./bin/test-attribution-txt.sh [Pipeline] echo 03:00:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:00:32 $ docker stop --time=1 629373ba8a85f16a006a5c1342421491ed5bc09072f83a1654b0dc0a5ce081af 03:00:34 $ docker rm -f --volumes 629373ba8a85f16a006a5c1342421491ed5bc09072f83a1654b0dc0a5ce081af [Pipeline] // withDockerContainer [Pipeline] sh 03:00:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:00:35 Warning: overwriting stash ‘coverage-report’ 03:00:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:00:36 + ls -al . 03:00:36 total 200 03:00:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:58 . 03:00:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:56 .. 03:00:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:56 .git 03:00:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:56 .github 03:00:36 -rw-rw-r-- 1 jenkins jenkins 337 Sep 19 02:56 .gitignore 03:00:36 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:56 .golangci.yml 03:00:36 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 19 02:56 Attribution.txt 03:00:36 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 19 02:56 CHANGELOG.md 03:00:36 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 19 02:56 Dockerfile 03:00:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:56 GOVERNANCE.md 03:00:36 -rw-rw-r-- 1 jenkins jenkins 660 Sep 19 02:56 Jenkinsfile 03:00:36 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:56 LICENSE 03:00:36 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 19 02:56 Makefile 03:00:36 -rw-rw-r-- 1 jenkins jenkins 623 Sep 19 02:56 OWNERS.md 03:00:36 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 19 02:56 README.md 03:00:36 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:53 VERSION 03:00:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:56 bin 03:00:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:56 cmd 03:00:36 -rw-r--r-- 1 jenkins jenkins 43063 Sep 19 03:00 coverage.out 03:00:36 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 19 02:56 go.mod 03:00:36 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 19 02:56 go.sum 03:00:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:56 internal 03:00:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:56 snap 03:00:36 -rw-rw-r-- 1 jenkins jenkins 235 Sep 19 02:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:37 + 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=d121d4b12413d22e246e49a32881448e0ea11499 --label arch=arm64 --label version=3.1.0-dev.13 . 03:00:38 Sending build context to Docker daemon 11.98MB 03:00:38 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 03:00:38 Step 2/25 : FROM ${BASE} AS builder 03:00:38 ---> ab457d252997 03:00:38 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:00:38 ---> Running in 53eea65d1c70 03:00:38 Removing intermediate container 53eea65d1c70 03:00:38 ---> e2129848078c 03:00:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:00:38 ---> Running in b7e50b5c9011 03:00:40 Removing intermediate container b7e50b5c9011 03:00:40 ---> 8241c103db83 03:00:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:00:40 ---> Running in 9a7bc0ea02c8 03:00:41 Removing intermediate container 9a7bc0ea02c8 03:00:41 ---> b5858396b570 03:00:41 Step 6/25 : WORKDIR /device-virtual-go 03:00:41 ---> Running in 689f2d60bf12 03:00:42 Removing intermediate container 689f2d60bf12 03:00:42 ---> 64b94bf32859 03:00:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:42 ---> Running in ebcff80988fb 03:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:00:45 OK: 272 MiB in 60 packages 03:00:46 Removing intermediate container ebcff80988fb 03:00:46 ---> 4d1ac5fa07a6 03:00:46 Step 8/25 : COPY go.mod vendor* ./ 03:00:47 ---> db9a9464d193 03:00:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:47 ---> Running in f62591825c16 03:00:49 Removing intermediate container f62591825c16 03:00:49 ---> 96a26c76c0b5 03:00:49 Step 10/25 : COPY . . 03:00:50 ---> b43a51f69757 03:00:50 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:50 ---> Running in a22a42162ac9 03:00:51 Removing intermediate container a22a42162ac9 03:00:51 ---> 685c318e2bfe 03:00:51 Step 12/25 : RUN $MAKE 03:00:51 ---> Running in 93c5f6855f9a 03:00:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 03:02:44 Removing intermediate container 93c5f6855f9a 03:02:44 ---> 3d47ed874e18 03:02:44 Step 13/25 : FROM alpine:3.18 03:02:44 3.18: Pulling from library/alpine 03:02:44 9fda8d8052c6: Already exists 03:02:44 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 03:02:44 Status: Downloaded newer image for alpine:3.18 03:02:44 ---> f6648c04cd6c 03:02:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:02:45 ---> Running in b18b49155798 03:02:45 Removing intermediate container b18b49155798 03:02:45 ---> f81922249d29 03:02:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:02:45 ---> Running in b442a876085f 03:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:02:48 (1/1) Installing dumb-init (1.2.5-r2) 03:02:48 Executing busybox-1.36.1-r2.trigger 03:02:48 OK: 8 MiB in 16 packages 03:02:48 Removing intermediate container b442a876085f 03:02:48 ---> dbaf23c68d99 03:02:48 Step 16/25 : WORKDIR / 03:02:48 ---> Running in a8cbadd1faf4 03:02:48 Removing intermediate container a8cbadd1faf4 03:02:48 ---> 54900aeae7bc 03:02:48 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:02:49 ---> 70a41614f968 03:02:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 03:02:50 ---> 4fd5bb5a8bd6 03:02:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 03:02:51 ---> 9f07d6e3445b 03:02:51 Step 20/25 : EXPOSE 59900 03:02:51 ---> Running in 0fb262f5f7ed 03:02:51 Removing intermediate container 0fb262f5f7ed 03:02:51 ---> 894679a34d63 03:02:51 Step 21/25 : ENTRYPOINT ["/device-virtual"] 03:02:51 ---> Running in a506557bff85 03:02:51 Removing intermediate container a506557bff85 03:02:51 ---> bb112090d312 03:02:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:02:51 ---> Running in 8cb64a67c097 03:02:52 Removing intermediate container 8cb64a67c097 03:02:52 ---> 166aafd5f158 03:02:52 Step 23/25 : LABEL arch=arm64 03:02:52 ---> Running in 22026d509506 03:02:52 Removing intermediate container 22026d509506 03:02:52 ---> bc7bd58c80ac 03:02:52 Step 24/25 : LABEL git_sha=d121d4b12413d22e246e49a32881448e0ea11499 03:02:52 ---> Running in d00e7e961f58 03:02:53 Removing intermediate container d00e7e961f58 03:02:53 ---> 4ed3f3f1e070 03:02:53 Step 25/25 : LABEL version=3.1.0-dev.13 03:02:53 ---> Running in c6b401ef3e70 03:02:53 Removing intermediate container c6b401ef3e70 03:02:53 ---> 98b02418aa39 03:02:53 [Warning] One or more build-args [ARCH] were not consumed 03:02:53 Successfully built 98b02418aa39 03:02:53 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 03:02:53 provisioning config files... 03:02:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/139@tmp/config14023706111126293839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:53 ---> docker-login.sh 03:02:53 nexus3.edgexfoundry.org:10001 03:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:54 Configure a credential helper to remove this warning. See 03:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:54 03:02:54 Login Succeeded 03:02:54 nexus3.edgexfoundry.org:10002 03:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:54 Configure a credential helper to remove this warning. See 03:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:54 03:02:54 Login Succeeded 03:02:54 nexus3.edgexfoundry.org:10003 03:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:54 Configure a credential helper to remove this warning. See 03:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:54 03:02:54 Login Succeeded 03:02:54 nexus3.edgexfoundry.org:10004 03:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:55 Configure a credential helper to remove this warning. See 03:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:55 03:02:55 Login Succeeded 03:02:55 docker.io 03:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:55 Configure a credential helper to remove this warning. See 03:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:55 03:02:55 Login Succeeded 03:02:55 ---> docker-login.sh ends [Pipeline] } 03:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:02:55 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 03:02:55 d121d4b12413d22e246e49a32881448e0ea11499 03:02:55 latest 03:02:55 3.1.0-dev.13 03:02:55 d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 03:02:55 main 03:02:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d121d4b12413d22e246e49a32881448e0ea11499 03:02:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:02:56 eb62c9d4bf89: Preparing 03:02:56 674871d394c2: Preparing 03:02:56 7fe97e4f18c8: Preparing 03:02:56 5b9f122f41ef: Preparing 03:02:56 b2191e2be29d: Preparing 03:02:56 b2191e2be29d: Layer already exists 03:04:32 eb62c9d4bf89: Retrying in 5 seconds 03:04:32 7fe97e4f18c8: Retrying in 5 seconds 03:04:32 674871d394c2: Retrying in 5 seconds 03:04:32 5b9f122f41ef: Retrying in 5 seconds 03:04:32 674871d394c2: Retrying in 4 seconds 03:04:32 eb62c9d4bf89: Retrying in 4 seconds 03:04:32 7fe97e4f18c8: Retrying in 4 seconds 03:04:32 5b9f122f41ef: Retrying in 4 seconds 03:04:32 7fe97e4f18c8: Retrying in 3 seconds 03:04:32 eb62c9d4bf89: Retrying in 3 seconds 03:04:32 674871d394c2: Retrying in 3 seconds 03:04:32 5b9f122f41ef: Retrying in 3 seconds 03:04:32 eb62c9d4bf89: Retrying in 2 seconds 03:04:32 7fe97e4f18c8: Retrying in 2 seconds 03:04:32 674871d394c2: Retrying in 2 seconds 03:04:32 5b9f122f41ef: Retrying in 2 seconds 03:04:32 7fe97e4f18c8: Retrying in 1 second 03:04:32 674871d394c2: Retrying in 1 second 03:04:32 eb62c9d4bf89: Retrying in 1 second 03:04:32 5b9f122f41ef: Retrying in 1 second 03:06:09 674871d394c2: Retrying in 10 seconds 03:06:09 7fe97e4f18c8: Retrying in 10 seconds 03:06:09 5b9f122f41ef: Retrying in 10 seconds 03:06:09 eb62c9d4bf89: Retrying in 10 seconds 03:06:09 674871d394c2: Retrying in 9 seconds 03:06:09 7fe97e4f18c8: Retrying in 9 seconds 03:06:09 eb62c9d4bf89: Retrying in 9 seconds 03:06:09 5b9f122f41ef: Retrying in 9 seconds 03:06:09 7fe97e4f18c8: Retrying in 8 seconds 03:06:09 674871d394c2: Retrying in 8 seconds 03:06:09 5b9f122f41ef: Retrying in 8 seconds 03:06:09 eb62c9d4bf89: Retrying in 8 seconds 03:06:09 674871d394c2: Retrying in 7 seconds 03:06:09 7fe97e4f18c8: Retrying in 7 seconds 03:06:09 5b9f122f41ef: Retrying in 7 seconds 03:06:09 eb62c9d4bf89: Retrying in 7 seconds 03:06:09 7fe97e4f18c8: Retrying in 6 seconds 03:06:09 674871d394c2: Retrying in 6 seconds 03:06:09 eb62c9d4bf89: Retrying in 6 seconds 03:06:09 5b9f122f41ef: Retrying in 6 seconds 03:06:09 674871d394c2: Retrying in 5 seconds 03:06:09 7fe97e4f18c8: Retrying in 5 seconds 03:06:09 5b9f122f41ef: Retrying in 5 seconds 03:06:09 eb62c9d4bf89: Retrying in 5 seconds 03:06:09 674871d394c2: Retrying in 4 seconds 03:06:09 7fe97e4f18c8: Retrying in 4 seconds 03:06:09 5b9f122f41ef: Retrying in 4 seconds 03:06:09 eb62c9d4bf89: Retrying in 4 seconds 03:06:09 7fe97e4f18c8: Retrying in 3 seconds 03:06:09 674871d394c2: Retrying in 3 seconds 03:06:09 5b9f122f41ef: Retrying in 3 seconds 03:06:09 eb62c9d4bf89: Retrying in 3 seconds 03:06:09 7fe97e4f18c8: Retrying in 2 seconds 03:06:09 674871d394c2: Retrying in 2 seconds 03:06:09 eb62c9d4bf89: Retrying in 2 seconds 03:06:09 5b9f122f41ef: Retrying in 2 seconds 03:06:10 7fe97e4f18c8: Retrying in 1 second 03:06:10 674871d394c2: Retrying in 1 second 03:06:10 eb62c9d4bf89: Retrying in 1 second 03:06:10 5b9f122f41ef: Retrying in 1 second 03:07:47 674871d394c2: Retrying in 15 seconds 03:07:47 eb62c9d4bf89: Retrying in 15 seconds 03:07:47 5b9f122f41ef: Retrying in 15 seconds 03:07:47 7fe97e4f18c8: Retrying in 15 seconds 03:07:47 674871d394c2: Retrying in 14 seconds 03:07:47 eb62c9d4bf89: Retrying in 14 seconds 03:07:47 5b9f122f41ef: Retrying in 14 seconds 03:07:47 7fe97e4f18c8: Retrying in 14 seconds 03:07:47 5b9f122f41ef: Retrying in 13 seconds 03:07:47 674871d394c2: Retrying in 13 seconds 03:07:47 eb62c9d4bf89: Retrying in 13 seconds 03:07:47 7fe97e4f18c8: Retrying in 13 seconds 03:07:47 5b9f122f41ef: Retrying in 12 seconds 03:07:47 eb62c9d4bf89: Retrying in 12 seconds 03:07:47 7fe97e4f18c8: Retrying in 12 seconds 03:07:47 674871d394c2: Retrying in 12 seconds 03:07:47 eb62c9d4bf89: Retrying in 11 seconds 03:07:47 674871d394c2: Retrying in 11 seconds 03:07:47 5b9f122f41ef: Retrying in 11 seconds 03:07:47 7fe97e4f18c8: Retrying in 11 seconds 03:07:47 674871d394c2: Retrying in 10 seconds 03:07:47 eb62c9d4bf89: Retrying in 10 seconds 03:07:47 5b9f122f41ef: Retrying in 10 seconds 03:07:47 7fe97e4f18c8: Retrying in 10 seconds 03:07:47 7fe97e4f18c8: Retrying in 9 seconds 03:07:47 674871d394c2: Retrying in 9 seconds 03:07:47 5b9f122f41ef: Retrying in 9 seconds 03:07:47 eb62c9d4bf89: Retrying in 9 seconds 03:07:48 eb62c9d4bf89: Retrying in 8 seconds 03:07:48 674871d394c2: Retrying in 8 seconds 03:07:48 5b9f122f41ef: Retrying in 8 seconds 03:07:48 7fe97e4f18c8: Retrying in 8 seconds 03:07:49 674871d394c2: Retrying in 7 seconds 03:07:49 5b9f122f41ef: Retrying in 7 seconds 03:07:49 eb62c9d4bf89: Retrying in 7 seconds 03:07:49 7fe97e4f18c8: Retrying in 7 seconds 03:07:50 674871d394c2: Retrying in 6 seconds 03:07:50 5b9f122f41ef: Retrying in 6 seconds 03:07:50 eb62c9d4bf89: Retrying in 6 seconds 03:07:50 7fe97e4f18c8: Retrying in 6 seconds 03:07:51 eb62c9d4bf89: Retrying in 5 seconds 03:07:51 5b9f122f41ef: Retrying in 5 seconds 03:07:51 674871d394c2: Retrying in 5 seconds 03:07:51 7fe97e4f18c8: Retrying in 5 seconds 03:07:52 5b9f122f41ef: Retrying in 4 seconds 03:07:52 eb62c9d4bf89: Retrying in 4 seconds 03:07:52 674871d394c2: Retrying in 4 seconds 03:07:52 7fe97e4f18c8: Retrying in 4 seconds 03:07:53 5b9f122f41ef: Retrying in 3 seconds 03:07:53 674871d394c2: Retrying in 3 seconds 03:07:53 eb62c9d4bf89: Retrying in 3 seconds 03:07:53 7fe97e4f18c8: Retrying in 3 seconds 03:07:54 674871d394c2: Retrying in 2 seconds 03:07:54 5b9f122f41ef: Retrying in 2 seconds 03:07:54 7fe97e4f18c8: Retrying in 2 seconds 03:07:54 eb62c9d4bf89: Retrying in 2 seconds 03:07:55 674871d394c2: Retrying in 1 second 03:07:55 eb62c9d4bf89: Retrying in 1 second 03:07:55 5b9f122f41ef: Retrying in 1 second 03:07:55 7fe97e4f18c8: Retrying in 1 second 03:08:27 674871d394c2: Pushed 03:08:27 5b9f122f41ef: Pushed 03:08:27 7fe97e4f18c8: Pushed 03:08:31 eb62c9d4bf89: Pushed 03:08:31 d121d4b12413d22e246e49a32881448e0ea11499: digest: sha256:edd134558dffd934c762da5bb85487502134a4a6a4d7a01c2f5b64ec84bfe496 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:31 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:08:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:08:32 eb62c9d4bf89: Preparing 03:08:32 674871d394c2: Preparing 03:08:32 7fe97e4f18c8: Preparing 03:08:32 5b9f122f41ef: Preparing 03:08:32 b2191e2be29d: Preparing 03:08:32 7fe97e4f18c8: Layer already exists 03:08:32 eb62c9d4bf89: Layer already exists 03:08:32 674871d394c2: Layer already exists 03:08:32 b2191e2be29d: Layer already exists 03:08:32 5b9f122f41ef: Layer already exists 03:08:32 latest: digest: sha256:edd134558dffd934c762da5bb85487502134a4a6a4d7a01c2f5b64ec84bfe496 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.13 03:08:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:08:32 eb62c9d4bf89: Preparing 03:08:32 674871d394c2: Preparing 03:08:32 7fe97e4f18c8: Preparing 03:08:32 5b9f122f41ef: Preparing 03:08:32 b2191e2be29d: Preparing 03:08:32 5b9f122f41ef: Layer already exists 03:08:32 b2191e2be29d: Layer already exists 03:08:32 674871d394c2: Layer already exists 03:08:32 eb62c9d4bf89: Layer already exists 03:08:32 7fe97e4f18c8: Layer already exists 03:08:33 3.1.0-dev.13: digest: sha256:edd134558dffd934c762da5bb85487502134a4a6a4d7a01c2f5b64ec84bfe496 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 03:08:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:08:33 eb62c9d4bf89: Preparing 03:08:33 674871d394c2: Preparing 03:08:33 7fe97e4f18c8: Preparing 03:08:33 5b9f122f41ef: Preparing 03:08:33 b2191e2be29d: Preparing 03:08:33 b2191e2be29d: Layer already exists 03:08:33 7fe97e4f18c8: Layer already exists 03:08:33 674871d394c2: Layer already exists 03:08:33 eb62c9d4bf89: Layer already exists 03:08:33 5b9f122f41ef: Layer already exists 03:08:33 d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13: digest: sha256:edd134558dffd934c762da5bb85487502134a4a6a4d7a01c2f5b64ec84bfe496 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:34 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 03:08:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:08:34 eb62c9d4bf89: Preparing 03:08:34 674871d394c2: Preparing 03:08:34 7fe97e4f18c8: Preparing 03:08:34 5b9f122f41ef: Preparing 03:08:34 b2191e2be29d: Preparing 03:08:34 b2191e2be29d: Layer already exists 03:08:34 eb62c9d4bf89: Layer already exists 03:08:34 7fe97e4f18c8: Layer already exists 03:08:34 674871d394c2: Layer already exists 03:08:34 5b9f122f41ef: Layer already exists 03:08:34 main: digest: sha256:edd134558dffd934c762da5bb85487502134a4a6a4d7a01c2f5b64ec84bfe496 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:08:34 ===================================================== [Pipeline] echo 03:08:34 taggedImages: 03:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d121d4b12413d22e246e49a32881448e0ea11499 03:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.13 03:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d121d4b12413d22e246e49a32881448e0ea11499-3.1.0-dev.13 03:08:34 - 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 03:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:35 03:08:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:35 arm64: Pulling from edgex-lftools-log-publisher 03:08:35 8998bd30e6a1: Pulling fs layer 03:08:35 04944245beec: Pulling fs layer 03:08:35 699f458cf7ca: Pulling fs layer 03:08:35 765212b225bb: Pulling fs layer 03:08:35 f23df028b6ca: Pulling fs layer 03:08:35 d65c8cfc05b1: Pulling fs layer 03:08:35 2437ff75d9bd: Pulling fs layer 03:08:35 f23df028b6ca: Waiting 03:08:35 d65c8cfc05b1: Waiting 03:08:35 2437ff75d9bd: Waiting 03:08:35 765212b225bb: Waiting 03:08:35 04944245beec: Verifying Checksum 03:08:35 04944245beec: Download complete 03:08:35 765212b225bb: Verifying Checksum 03:08:35 765212b225bb: Download complete 03:08:35 f23df028b6ca: Verifying Checksum 03:08:35 f23df028b6ca: Download complete 03:08:35 d65c8cfc05b1: Verifying Checksum 03:08:35 d65c8cfc05b1: Download complete 03:08:35 699f458cf7ca: Verifying Checksum 03:08:35 699f458cf7ca: Download complete 03:08:36 8998bd30e6a1: Verifying Checksum 03:08:36 8998bd30e6a1: Download complete 03:08:39 2437ff75d9bd: Verifying Checksum 03:08:39 2437ff75d9bd: Download complete 03:08:40 8998bd30e6a1: Pull complete 03:08:40 04944245beec: Pull complete 03:08:42 699f458cf7ca: Pull complete 03:08:42 765212b225bb: Pull complete 03:08:43 f23df028b6ca: Pull complete 03:08:43 d65c8cfc05b1: Pull complete 03:08:58 2437ff75d9bd: Pull complete 03:08:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:08:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:58 prd-ubuntu20.04-docker-arm64-4c-16g-6461 does not seem to be running inside a container 03:08:58 $ 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/139 -v /w/workspace/device-virtual-go/139:/w/workspace/device-virtual-go/139:rw,z -v /w/workspace/device-virtual-go/139@tmp:/w/workspace/device-virtual-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:09:02 $ docker top 40af99b7cf736cdba8bd08cae55fb2b11cc2f3a493535b2631eba566b10b7e59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:03 ---> job-cost.sh 03:09:03 lf-activate-venv: SKIPPING 03:09:03 INFO: No Stack... 03:09:03 INFO: Retrieving Pricing Info for: v3-standard-4 03:09:04 INFO: Archiving Costs [Pipeline] sh 03:09:05 + cat /w/workspace/device-virtual-go/139/archives/cost.csv 03:09:05 + cut -d, -f6 [Pipeline] lock 03:09:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] 03:09:05 Resource [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] did not exist. Created. 03:09:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:05 /w/workspace/device-virtual-go/139@tmp/durable-800d9e28/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:09:06 + echo total: 0.10999999940395355 [Pipeline] stash 03:09:06 Warning: overwriting stash ‘stack-cost’ 03:09:06 Stashed 1 file(s) [Pipeline] } 03:09:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 03:09:06 $ docker stop --time=1 40af99b7cf736cdba8bd08cae55fb2b11cc2f3a493535b2631eba566b10b7e59 03:09:08 $ docker rm -f --volumes 40af99b7cf736cdba8bd08cae55fb2b11cc2f3a493535b2631eba566b10b7e59 [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 03:09:08 provisioning config files... 03:09:08 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3798781059874995074tmp [Pipeline] { [Pipeline] sh 03:09:08 + set +x 03:09:08 + curl -s https://codecov.io/bash 03:09:08 + bash -s -- 03:09:09 03:09:09 _____ _ 03:09:09 / ____| | | 03:09:09 | | ___ __| | ___ ___ _____ __ 03:09:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:09:09 | |___| (_) | (_| | __/ (_| (_) \ V / 03:09:09 \_____\___/ \__,_|\___|\___\___/ \_/ 03:09:09 Bash-1.0.6 03:09:09 03:09:09 03:09:09 ==> git version 2.25.1 found 03:09:09 ==> 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 03:09:09 Release-Date: 2020-01-08 03:09:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:09:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:09:09 ==> Jenkins CI detected. 03:09:09 current dir:  /w/workspace/exfoundry_device-virtual-go_main 03:09:09 project root: . 03:09:09 --> token set from env 03:09:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:09:09 ==> Running gcov in . (disable via -X gcov) 03:09:09 ==> Python coveragepy not found 03:09:09 ==> Searching for coverage reports in: 03:09:09 + . 03:09:09 -> Found 1 reports 03:09:09 ==> Detecting git/mercurial file structure 03:09:09 ==> Reading reports 03:09:09 + ./coverage.out bytes=43063 03:09:09 ==> Appending adjustments 03:09:09 https://docs.codecov.io/docs/fixing-reports 03:09:09 + Found adjustments 03:09:09 ==> Gzipping contents 03:09:09 8.0K /tmp/codecov.Klt5cD.gz 03:09:09 ==> Uploading reports 03:09:09 url: https://codecov.io 03:09:09 query: branch=main&commit=d121d4b12413d22e246e49a32881448e0ea11499&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:09:09 -> Pinging Codecov 03:09:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=d121d4b12413d22e246e49a32881448e0ea11499&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:09:09 -> Uploading to 03:09:09 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/5E52B4B073DB2E39498172D8E973AA87/d121d4b12413d22e246e49a32881448e0ea11499/53596e80-d318-47a6-9712-cac44d6ab0bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T030909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62659a72b4d748cadd94a4773f823f9ea673cf3545bb786ddc5b1ab1e6905741 03:09:09 % Total % Received % Xferd Average Speed Time Time Time Current 03:09:09 Dload Upload Total Spent Left Speed 03:09:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 27574 --:--:-- --:--:-- --:--:-- 27574 03:09:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] } 03:09:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:09:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:09:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:09:10 03:09:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:09:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:09:10 df9b9388f04a: Pulling fs layer 03:09:10 52dc419b0ee2: Pulling fs layer 03:09:10 25bc292e5bac: Pulling fs layer 03:09:10 114826534d7a: Pulling fs layer 03:09:10 4657fd5d0bcf: Pulling fs layer 03:09:10 6ad1cebc031e: Pulling fs layer 03:09:10 8a3aa393b2d8: Pulling fs layer 03:09:10 4657fd5d0bcf: Waiting 03:09:10 6ad1cebc031e: Waiting 03:09:10 8a3aa393b2d8: Waiting 03:09:10 114826534d7a: Waiting 03:09:10 25bc292e5bac: Verifying Checksum 03:09:10 25bc292e5bac: Download complete 03:09:10 52dc419b0ee2: Download complete 03:09:10 4657fd5d0bcf: Verifying Checksum 03:09:10 4657fd5d0bcf: Download complete 03:09:10 df9b9388f04a: Verifying Checksum 03:09:10 df9b9388f04a: Pull complete 03:09:10 6ad1cebc031e: Verifying Checksum 03:09:10 6ad1cebc031e: Download complete 03:09:10 52dc419b0ee2: Pull complete 03:09:10 25bc292e5bac: Pull complete 03:09:11 114826534d7a: Verifying Checksum 03:09:11 114826534d7a: Download complete 03:09:11 8a3aa393b2d8: Verifying Checksum 03:09:11 8a3aa393b2d8: Download complete 03:09:14 114826534d7a: Pull complete 03:09:14 4657fd5d0bcf: Pull complete 03:09:14 6ad1cebc031e: Pull complete 03:09:17 8a3aa393b2d8: Pull complete 03:09:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:09:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:09:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:17 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 03:09:17 $ 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:1.410.4 cat 03:09:21 $ docker top a8ad25477db970031b843976b709014a9f73f35190dab5dea3c379e6c58a476d -eo pid,comm [Pipeline] { [Pipeline] echo 03:09:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 03:09:21 + set -o pipefail 03:09:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 03:09:26 03:09:26 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 03:09:26 03:09:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/2301ec1b-0976-4e5c-abce-136e3ecfacab 03:09:26 03:09:26 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:09:26 03:09:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:09:26 03:09:26 03:09:26 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:09:26 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:09:26 More details here: https://snyk.co/ue1NS [Pipeline] } 03:09:26 $ docker stop --time=1 a8ad25477db970031b843976b709014a9f73f35190dab5dea3c379e6c58a476d 03:09:30 $ docker rm -f --volumes a8ad25477db970031b843976b709014a9f73f35190dab5dea3c379e6c58a476d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:30 + git log --format=format:%s -1 d121d4b12413d22e246e49a32881448e0ea11499 [Pipeline] sh 03:09:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:31 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 03:09:31 $ 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 03:09:32 $ docker top 093a20e8b884e7dba73162a35bd62e03942b617d3fa28a2911e224606905a10d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:09:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:32 [ssh-agent] Looking for ssh-agent implementation... 03:09:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:32 $ docker exec 093a20e8b884e7dba73162a35bd62e03942b617d3fa28a2911e224606905a10d ssh-agent 03:09:32 SSH_AUTH_SOCK=/tmp/ssh-E8LxKNtM2nRB/agent.32 03:09:32 SSH_AGENT_PID=38 03:09:32 Running ssh-add (command line suppressed) 03:09:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1943325781421600232.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1943325781421600232.key) 03:09:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:32 + git semver tag 03:09:33 2023-09-19 03:09:32,997 [run_tag] DEBUG tag force:False 03:09:33 2023-09-19 03:09:32,997 [check_head_tag] DEBUG check head tag 03:09:33 2023-09-19 03:09:32,998 [execute] INFO git cat-file --batch-check 03:09:33 2023-09-19 03:09:32,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 03:09:33 2023-09-19 03:09:33,001 [execute] INFO git cat-file --batch 03:09:33 2023-09-19 03:09:33,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 03:09:33 2023-09-19 03:09:33,012 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:09:33 2023-09-19 03:09:33,013 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 03:09:33 2023-09-19 03:09:33,013 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 03:09:33 2023-09-19 03:09:33,017 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:09:33 3.1.0-dev.13 [Pipeline] } 03:09:33 $ docker exec --env ******** --env ******** 093a20e8b884e7dba73162a35bd62e03942b617d3fa28a2911e224606905a10d ssh-agent -k 03:09:33 unset SSH_AUTH_SOCK; 03:09:33 unset SSH_AGENT_PID; 03:09:33 echo Agent pid 38 killed; 03:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:09:33 + git semver [Pipeline] } 03:09:33 $ docker stop --time=1 093a20e8b884e7dba73162a35bd62e03942b617d3fa28a2911e224606905a10d 03:09:35 $ docker rm -f --volumes 093a20e8b884e7dba73162a35bd62e03942b617d3fa28a2911e224606905a10d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:35 03:09:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:35 0.23.1-centos7: Pulling from edgex-lftools 03:09:35 ab5ef0e58194: Pulling fs layer 03:09:35 9712f1f96733: Pulling fs layer 03:09:35 63f879dbbcfc: Pulling fs layer 03:09:35 0d9ebad4ef96: Pulling fs layer 03:09:35 e9a5061849ea: Pulling fs layer 03:09:35 0d9ebad4ef96: Waiting 03:09:35 d747dcd14b5f: Pulling fs layer 03:09:35 2de7ff778b66: Pulling fs layer 03:09:35 e9a5061849ea: Waiting 03:09:35 9712f1f96733: Verifying Checksum 03:09:35 9712f1f96733: Download complete 03:09:36 63f879dbbcfc: Verifying Checksum 03:09:36 63f879dbbcfc: Download complete 03:09:36 e9a5061849ea: Verifying Checksum 03:09:36 e9a5061849ea: Download complete 03:09:36 d747dcd14b5f: Download complete 03:09:36 ab5ef0e58194: Download complete 03:09:36 0d9ebad4ef96: Verifying Checksum 03:09:36 0d9ebad4ef96: Download complete 03:09:36 2de7ff778b66: Verifying Checksum 03:09:36 2de7ff778b66: Download complete 03:09:39 ab5ef0e58194: Pull complete 03:09:39 9712f1f96733: Pull complete 03:09:39 63f879dbbcfc: Pull complete 03:09:42 0d9ebad4ef96: Pull complete 03:09:43 e9a5061849ea: Pull complete 03:09:43 d747dcd14b5f: Pull complete 03:09:44 2de7ff778b66: Pull complete 03:09:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:44 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 03:09:44 $ 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 03:09:50 $ docker top 07f8438829bcc57f1f78d3e018af1323c73db546567f7d4796c0ffb64a858383 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:09:50 provisioning config files... 03:09:50 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9879306760934417386tmp 03:09:50 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14072986318594739779tmp 03:09:50 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11642814434458487161tmp [Pipeline] { [Pipeline] echo 03:09:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:09:51 ---> sigul-configuration.sh 03:09:51 gpg: directory `/root/.gnupg' created 03:09:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:09:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:09:51 gpg: keyring `/root/.gnupg/secring.gpg' created 03:09:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:09:51 gpg: CAST5 encrypted data 03:09:51 gpg: encrypted with 1 passphrase 03:09:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:09:51 + mkdir /home/jenkins 03:09:51 + mkdir /home/jenkins/sigul [Pipeline] sh 03:09:51 + 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 03:09:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:09:51 ---> sigul-install.sh 03:09:51 Sigul already installed; skipping installation. [Pipeline] sh 03:09:52 + git tag --list 03:09:52 v1.0.0 03:09:52 v1.1.0 03:09:52 v1.1.1 03:09:52 v1.2.1 03:09:52 v1.2.2 03:09:52 v1.2.3 03:09:52 v1.3.0 03:09:52 v1.3.1 03:09:52 v2.0.0 03:09:52 v2.1.0 03:09:52 v2.1.1 03:09:52 v2.2.0 03:09:52 v2.3.0 03:09:52 v3.0 03:09:52 v3.0.0 03:09:52 v3.1.0-dev.1 03:09:52 v3.1.0-dev.10 03:09:52 v3.1.0-dev.11 03:09:52 v3.1.0-dev.12 03:09:52 v3.1.0-dev.13 03:09:52 v3.1.0-dev.2 03:09:52 v3.1.0-dev.3 03:09:52 v3.1.0-dev.4 03:09:52 v3.1.0-dev.5 03:09:52 v3.1.0-dev.6 03:09:52 v3.1.0-dev.7 03:09:52 v3.1.0-dev.8 03:09:52 v3.1.0-dev.9 [Pipeline] sh 03:09:52 + lftools sign git-tag v3.1.0-dev.13 03:09:53 Signing Git tag with Sigul... 03:09:53 Signing v3.1.0-dev.13 [Pipeline] echo 03:09:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:09:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:09:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:09:53 $ docker stop --time=1 07f8438829bcc57f1f78d3e018af1323c73db546567f7d4796c0ffb64a858383 03:09:54 $ docker rm -f --volumes 07f8438829bcc57f1f78d3e018af1323c73db546567f7d4796c0ffb64a858383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:09:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:55 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 03:09:55 $ 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 03:09:56 $ docker top 2d440a0d262e4c1fa671372c6c8ed43667ec46a74947672ac9c8438a86638768 -eo pid,comm 03:09:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:09:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:56 [ssh-agent] Looking for ssh-agent implementation... 03:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:56 $ docker exec 2d440a0d262e4c1fa671372c6c8ed43667ec46a74947672ac9c8438a86638768 ssh-agent 03:09:56 SSH_AUTH_SOCK=/tmp/ssh-LWzScRSkO2B2/agent.32 03:09:56 SSH_AGENT_PID=38 03:09:56 Running ssh-add (command line suppressed) 03:09:56 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1528979413296503070.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1528979413296503070.key) 03:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:56 + git semver bump pre 03:09:57 2023-09-19 03:09:56,914 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:09:57 2023-09-19 03:09:56,915 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev 03:09:57 2023-09-19 03:09:56,915 [bump_version] DEBUG bumped version:3.1.0-dev.14 03:09:57 2023-09-19 03:09:56,915 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 03:09:57 2023-09-19 03:09:56,915 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:09:57 2023-09-19 03:09:56,915 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:09:57 2023-09-19 03:09:56,917 [execute] INFO git cat-file --batch-check 03:09:57 2023-09-19 03:09:56,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:09:57 2023-09-19 03:09:56,922 [execute] INFO git cat-file --batch 03:09:57 2023-09-19 03:09:56,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:09:57 2023-09-19 03:09:56,927 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:09:57 3.1.0-dev.14 [Pipeline] } 03:09:57 $ docker exec --env ******** --env ******** 2d440a0d262e4c1fa671372c6c8ed43667ec46a74947672ac9c8438a86638768 ssh-agent -k 03:09:57 unset SSH_AUTH_SOCK; 03:09:57 unset SSH_AGENT_PID; 03:09:57 echo Agent pid 38 killed; 03:09:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:09:57 + git semver [Pipeline] } 03:09:57 $ docker stop --time=1 2d440a0d262e4c1fa671372c6c8ed43667ec46a74947672ac9c8438a86638768 03:09:58 $ docker rm -f --volumes 2d440a0d262e4c1fa671372c6c8ed43667ec46a74947672ac9c8438a86638768 [Pipeline] // withDockerContainer [Pipeline] sh 03:09:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:59 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 03:09:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:10:00 $ docker top 06a7481f1d47ea58ee58c4c7b28b3b387a1f9f1bb7945e376bbd92b009c86192 -eo pid,comm 03:10:00 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). 03:10:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:00 [ssh-agent] Looking for ssh-agent implementation... 03:10:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:00 $ docker exec 06a7481f1d47ea58ee58c4c7b28b3b387a1f9f1bb7945e376bbd92b009c86192 ssh-agent 03:10:00 SSH_AUTH_SOCK=/tmp/ssh-fgW2aQQ6t1zV/agent.32 03:10:00 SSH_AGENT_PID=38 03:10:00 Running ssh-add (command line suppressed) 03:10:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13392095118175384251.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13392095118175384251.key) 03:10:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:00 + git semver push 03:10:00 2023-09-19 03:10:00,893 [run_push] DEBUG push 03:10:00 2023-09-19 03:10:00,894 [execute] INFO git cat-file --batch-check 03:10:00 2023-09-19 03:10:00,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:10:00 2023-09-19 03:10:00,897 [execute] INFO git rev-list 74b092036ef024a87e6030402183a7c4e6e78172 -- 03:10:00 2023-09-19 03:10:00,897 [execute] DEBUG Popen(['git', 'rev-list', '74b092036ef024a87e6030402183a7c4e6e78172', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:10:00 2023-09-19 03:10:00,905 [execute] INFO git fetch -v origin 03:10:00 2023-09-19 03:10:00,906 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:10:01 2023-09-19 03:10:01,371 [run_push] DEBUG no remote changes detected 03:10:01 2023-09-19 03:10:01,371 [execute] INFO git push origin semver 03:10:01 2023-09-19 03:10:01,372 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:10:02 2023-09-19 03:10:02,727 [run_push] DEBUG push all version tags 03:10:02 2023-09-19 03:10:02,728 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:10:02 2023-09-19 03:10:02,728 [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) 03:10:03 2023-09-19 03:10:03,478 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:10:03 3.1.0-dev.14 [Pipeline] } 03:10:03 $ docker exec --env ******** --env ******** 06a7481f1d47ea58ee58c4c7b28b3b387a1f9f1bb7945e376bbd92b009c86192 ssh-agent -k 03:10:03 unset SSH_AUTH_SOCK; 03:10:03 unset SSH_AGENT_PID; 03:10:03 echo Agent pid 38 killed; 03:10:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:03 + git semver [Pipeline] } 03:10:04 $ docker stop --time=1 06a7481f1d47ea58ee58c4c7b28b3b387a1f9f1bb7945e376bbd92b009c86192 03:10:05 $ docker rm -f --volumes 06a7481f1d47ea58ee58c4c7b28b3b387a1f9f1bb7945e376bbd92b009c86192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:10:06 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 03:10:06 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 03:10:06 total 16 03:10:06 drwxr-xr-x 3 root root 4096 Sep 19 02:55 . 03:10:06 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 03:09 .. 03:10:06 drwxr-xr-x 2 root root 4096 Sep 19 02:55 cost 03:10:06 -rw-r--r-- 1 root root 89 Sep 19 02:55 cost.csv 03:10:06 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 03:10:06 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 03:10:06 total 16 03:10:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:55 . 03:10:06 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 03:09 .. 03:10:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 02:55 cost 03:10:06 -rw-r--r-- 1 jenkins jenkins 89 Sep 19 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:10:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:10:07 ---> package-listing.sh 03:10:07 ++ facter osfamily 03:10:07 ++ tr '[:upper:]' '[:lower:]' 03:10:07 + OS_FAMILY=debian 03:10:07 + workspace=/w/workspace/exfoundry_device-virtual-go_main 03:10:07 + START_PACKAGES=/tmp/packages_start.txt 03:10:07 + END_PACKAGES=/tmp/packages_end.txt 03:10:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:10:07 + PACKAGES=/tmp/packages_start.txt 03:10:07 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 03:10:07 + PACKAGES=/tmp/packages_end.txt 03:10:07 + case "${OS_FAMILY}" in 03:10:07 + dpkg -l 03:10:07 + grep '^ii' 03:10:07 + '[' -f /tmp/packages_start.txt ']' 03:10:07 + '[' -f /tmp/packages_end.txt ']' 03:10:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:10:07 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 03:10:07 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 03:10:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 03:10:07 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 03:10:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:08 prd-ubuntu20.04-docker-8c-8g-6459 does not seem to be running inside a container 03:10:08 $ 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 03:10:08 $ docker top 82a906f01577178a904b2a2610dfbc160624c7c29e819c9ac24afe94b59f1fa2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:09 + touch /tmp/pre-build-complete [Pipeline] sh 03:10:09 + mkdir -p /var/log/sysstat [Pipeline] sh 03:10:09 + ls /var/log/sa-host 03:10:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:09 provisioning config files... 03:10:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8326324986893833172tmp [Pipeline] { [Pipeline] echo 03:10:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:10:10 ---> create-netrc.sh [Pipeline] } 03:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:10:10 ---> python-tools-install.sh [Pipeline] echo 03:10:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:10:10 ---> sudo-logs.sh 03:10:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:10:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:10:11 ---> job-cost.sh 03:10:11 lf-activate-venv: SKIPPING 03:10:11 DEBUG: total: 0.2199999988079071 03:10:11 INFO: Retrieving Stack Cost... 03:10:11 INFO: Retrieving Pricing Info for: v3-standard-8 03:10:11 INFO: Archiving Costs [Pipeline] echo 03:10:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:10:12 ---> logs-deploy.sh 03:10:12 lf-activate-venv: SKIPPING 03:10:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/139 03:10:12 INFO: archiving workspace using pattern(s): 03:10:13 Archives upload complete. 03:10:13 INFO: archiving logs to Nexus