Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7d08b16b434e93c5cb72c19d88a87eb30002c2a 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-ssh5560584081577130714.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6270086239331715263.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13709732702217742476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh14659122409532724270.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-ssh12525168820159564778.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-24191 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 b7d08b16b434e93c5cb72c19d88a87eb30002c2a (main) Commit message: "Merge pull request #453 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.3" > 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 b7d08b16b434e93c5cb72c19d88a87eb30002c2a # timeout=10 > git rev-list --no-walk 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:41:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:41:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:41:39 ========================================================= 12:41:39 EdgeX Global Pipelines Version Info 12:41:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:41:40 ------------------- 12:41:40 stable info: 12:41:40 ------------------- 12:41:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:41:40 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:41:40 Message: update stable to v1.0.258 12:41:41 ------------------- 12:41:41 experimental info: 12:41:41 ------------------- 12:41:41 Commited By: **** collab-it+edgex@linuxfoundation.org 12:41:41 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:41:41 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:41:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7d08b1 [Pipeline] echo 12:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:41:42 provisioning config files... 12:41:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3870080705583086445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:41:42 ---> ****-login.sh 12:41:42 nexus3.edgexfoundry.org:10001 12:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:41:43 Configure a credential helper to remove this warning. See 12:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:41:43 12:41:43 Login Succeeded 12:41:43 nexus3.edgexfoundry.org:10002 12:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:41:43 Configure a credential helper to remove this warning. See 12:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:41:43 12:41:43 Login Succeeded 12:41:43 nexus3.edgexfoundry.org:10003 12:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:41:43 Configure a credential helper to remove this warning. See 12:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:41:43 12:41:43 Login Succeeded 12:41:43 nexus3.edgexfoundry.org:10004 12:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:41:43 Configure a credential helper to remove this warning. See 12:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:41:43 12:41:43 Login Succeeded 12:41:43 ****.io 12:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:41:44 Configure a credential helper to remove this warning. See 12:41:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:41:44 12:41:44 Login Succeeded 12:41:44 ---> ****-login.sh ends [Pipeline] } 12:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:41:44 + git rev-list -1 --merges b7d08b16b434e93c5cb72c19d88a87eb30002c2a~1..b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] echo 12:41:44 -----------> git rev-list -1 --merges b7d08b16b434e93c5cb72c19d88a87eb30002c2a~1..b7d08b16b434e93c5cb72c19d88a87eb30002c2a b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:41:44 b7d08b16b434e93c5cb72c19d88a87eb30002c2a [false] [Pipeline] sh 12:41:45 + git log --format=format:%s -1 b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] echo 12:41:45 ========================================================= 12:41:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:41:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:41:45 + git log --format=format:%s -1 b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] echo 12:41:45 [semverPrep] GIT_COMMIT: b7d08b16b434e93c5cb72c19d88a87eb30002c2a, Commit Message: Merge pull request #453 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.3 [Pipeline] echo 12:41:45 [semverPrep] This is not a build commit. [Pipeline] sh 12:41:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:41:45 + grep -v github /etc/ssh/ssh_known_hosts 12:41:45 + [ -e /tmp/ssh_known_hosts ] 12:41:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:41:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:41:45 + sudo tee -a /etc/ssh/ssh_known_hosts 12:41:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:41:46 12:41:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:41:46 0.1.4: Pulling from edgex-devops/py-git-semver 12:41:46 b85a868b505f: Pulling fs layer 12:41:46 e2be974225ed: Pulling fs layer 12:41:46 339a4e72a1f5: Pulling fs layer 12:41:46 988bab9f4d93: Pulling fs layer 12:41:46 1469e6f7b9e6: Pulling fs layer 12:41:46 eaf3925da568: Pulling fs layer 12:41:46 bab4dde63d76: Pulling fs layer 12:41:46 bde34c3a00c8: Pulling fs layer 12:41:46 b352a97aabf1: Pulling fs layer 12:41:46 4872d77fe225: Pulling fs layer 12:41:46 5851b861e8e6: Pulling fs layer 12:41:46 1469e6f7b9e6: Waiting 12:41:46 eaf3925da568: Waiting 12:41:46 bab4dde63d76: Waiting 12:41:46 bde34c3a00c8: Waiting 12:41:46 b352a97aabf1: Waiting 12:41:46 4872d77fe225: Waiting 12:41:46 5851b861e8e6: Waiting 12:41:46 988bab9f4d93: Waiting 12:41:46 e2be974225ed: Download complete 12:41:46 988bab9f4d93: Verifying Checksum 12:41:46 988bab9f4d93: Download complete 12:41:46 1469e6f7b9e6: Verifying Checksum 12:41:46 1469e6f7b9e6: Download complete 12:41:46 eaf3925da568: Download complete 12:41:46 339a4e72a1f5: Verifying Checksum 12:41:46 339a4e72a1f5: Download complete 12:41:46 bde34c3a00c8: Verifying Checksum 12:41:46 bde34c3a00c8: Download complete 12:41:46 b352a97aabf1: Download complete 12:41:46 4872d77fe225: Verifying Checksum 12:41:46 4872d77fe225: Download complete 12:41:46 5851b861e8e6: Verifying Checksum 12:41:46 5851b861e8e6: Download complete 12:41:46 b85a868b505f: Verifying Checksum 12:41:46 b85a868b505f: Download complete 12:41:47 bab4dde63d76: Verifying Checksum 12:41:47 bab4dde63d76: Download complete 12:41:48 b85a868b505f: Pull complete 12:41:48 e2be974225ed: Pull complete 12:41:48 339a4e72a1f5: Pull complete 12:41:48 988bab9f4d93: Pull complete 12:41:49 1469e6f7b9e6: Pull complete 12:41:49 eaf3925da568: Pull complete 12:41:51 bab4dde63d76: Pull complete 12:41:51 bde34c3a00c8: Pull complete 12:41:51 b352a97aabf1: Pull complete 12:41:51 4872d77fe225: Pull complete 12:41:51 5851b861e8e6: Pull complete 12:41:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:41:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:41:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:51 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:41:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:41:55 $ docker top 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 -eo pid,comm 12:41:55 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). 12:41:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:41:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:41:55 [ssh-agent] Looking for ssh-agent implementation... 12:41:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:41:56 $ docker exec 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 ssh-agent 12:41:56 SSH_AUTH_SOCK=/tmp/ssh-mzrflpsempDU/agent.31 12:41:56 SSH_AGENT_PID=37 12:41:56 Running ssh-add (command line suppressed) 12:41:56 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3608876095896092546.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3608876095896092546.key) 12:41:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:41:56 + git tag --points-at HEAD [Pipeline] } 12:41:56 $ docker exec --env ******** --env ******** 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 ssh-agent -k 12:41:56 unset SSH_AUTH_SOCK; 12:41:56 unset SSH_AGENT_PID; 12:41:56 echo Agent pid 37 killed; 12:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:41:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:41:56 [ssh-agent] Looking for ssh-agent implementation... 12:41:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:41:56 $ docker exec 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 ssh-agent 12:41:57 SSH_AUTH_SOCK=/tmp/ssh-Szjo8j0lHzj4/agent.69 12:41:57 SSH_AGENT_PID=75 12:41:57 Running ssh-add (command line suppressed) 12:41:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4169738025262841769.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4169738025262841769.key) 12:41:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:41:57 + git semver init 12:41:57 2023-12-06 12:41:57,624 [run_init] DEBUG init version:0.0.0 force:False 12:41:57 2023-12-06 12:41:57,624 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 12:41:57 2023-12-06 12:41:57,625 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 12:41:57 2023-12-06 12:41:57,625 [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) 12:41:59 2023-12-06 12:41:59,053 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 12:41:59 2023-12-06 12:41:59,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 12:41:59 2023-12-06 12:41:59,054 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:59 2023-12-06 12:41:59,054 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:59 3.2.0-dev.2 [Pipeline] } 12:41:59 $ docker exec --env ******** --env ******** 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 ssh-agent -k 12:41:59 unset SSH_AUTH_SOCK; 12:41:59 unset SSH_AGENT_PID; 12:41:59 echo Agent pid 75 killed; 12:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:41:59 + git semver [Pipeline] } 12:41:59 $ docker stop --time=1 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 12:42:01 $ docker rm -f --volumes 393f11b23058db3ba83b2d616b4ab1dcf0626b455ec20663cacdeebc1e33fcf2 [Pipeline] // withDockerContainer [Pipeline] sh 12:42:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:42:01 Stashed 1 file(s) [Pipeline] echo 12:42:01 [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:42:02 provisioning config files... 12:42:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11273154240631091468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:02 ---> ****-login.sh 12:42:02 nexus3.edgexfoundry.org:10001 12:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:02 Configure a credential helper to remove this warning. See 12:42:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:02 12:42:02 Login Succeeded 12:42:02 nexus3.edgexfoundry.org:10002 12:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:02 Configure a credential helper to remove this warning. See 12:42:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:02 12:42:02 Login Succeeded 12:42:02 nexus3.edgexfoundry.org:10003 12:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:02 Configure a credential helper to remove this warning. See 12:42:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:02 12:42:02 Login Succeeded 12:42:02 nexus3.edgexfoundry.org:10004 12:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:02 Configure a credential helper to remove this warning. See 12:42:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:02 12:42:02 Login Succeeded 12:42:02 ****.io 12:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:03 Configure a credential helper to remove this warning. See 12:42:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:03 12:42:03 Login Succeeded 12:42:03 ---> ****-login.sh ends [Pipeline] } 12:42:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:42:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:42:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:42:03 ========================================================= 12:42:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:42:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:03 + 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 . 12:42:03 Sending build context to Docker daemon 31.55MB 12:42:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:42:03 Step 2/12 : FROM ${BASE} AS builder 12:42:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:42:03 7264a8db6415: Pulling fs layer 12:42:03 c4d48a809fc2: Pulling fs layer 12:42:03 4f1c88b9dad5: Pulling fs layer 12:42:03 ad3a456e5733: Pulling fs layer 12:42:03 69c7f0334f64: Pulling fs layer 12:42:03 1f1c1a5573a3: Pulling fs layer 12:42:03 ce7588e14bc9: Pulling fs layer 12:42:03 b5e4710f87ac: Pulling fs layer 12:42:03 69c7f0334f64: Waiting 12:42:03 1f1c1a5573a3: Waiting 12:42:03 ce7588e14bc9: Waiting 12:42:03 b5e4710f87ac: Waiting 12:42:03 ad3a456e5733: Waiting 12:42:03 c4d48a809fc2: Verifying Checksum 12:42:03 c4d48a809fc2: Download complete 12:42:03 ad3a456e5733: Verifying Checksum 12:42:03 ad3a456e5733: Download complete 12:42:03 69c7f0334f64: Verifying Checksum 12:42:03 69c7f0334f64: Download complete 12:42:03 7264a8db6415: Verifying Checksum 12:42:03 7264a8db6415: Download complete 12:42:03 1f1c1a5573a3: Verifying Checksum 12:42:03 1f1c1a5573a3: Download complete 12:42:04 b5e4710f87ac: Verifying Checksum 12:42:04 b5e4710f87ac: Download complete 12:42:04 7264a8db6415: Pull complete 12:42:04 c4d48a809fc2: Pull complete 12:42:04 4f1c88b9dad5: Verifying Checksum 12:42:04 4f1c88b9dad5: Download complete 12:42:04 ce7588e14bc9: Verifying Checksum 12:42:04 ce7588e14bc9: Download complete 12:42:08 4f1c88b9dad5: Pull complete 12:42:08 ad3a456e5733: Pull complete 12:42:08 69c7f0334f64: Pull complete 12:42:08 1f1c1a5573a3: Pull complete 12:42:10 ce7588e14bc9: Pull complete 12:42:10 b5e4710f87ac: Pull complete 12:42:10 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:42:10 ---> 88b5674ff536 12:42:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:42:17 Still waiting to schedule task 12:42:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:42:17 ---> Running in ed0c14fe061c 12:42:17 Removing intermediate container ed0c14fe061c 12:42:17 ---> 25f34687127a 12:42:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:42:17 ---> Running in 7626e4e94e7e 12:42:17 Removing intermediate container 7626e4e94e7e 12:42:17 ---> 49a211ddf6c9 12:42:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:42:17 ---> Running in f8b3355528a1 12:42:17 Removing intermediate container f8b3355528a1 12:42:17 ---> 6497b678c615 12:42:17 Step 6/12 : WORKDIR /device-virtual-go 12:42:17 ---> Running in 436e43754150 12:42:17 Removing intermediate container 436e43754150 12:42:17 ---> 04a674de8af5 12:42:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:42:17 ---> Running in 3b0f79a02188 12:42:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:42:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:42:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 12:42:17 (2/4) Installing libedit (20221030.3.1-r1) 12:42:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 12:42:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 12:42:17 Executing busybox-1.36.1-r5.trigger 12:42:17 OK: 268 MiB in 56 packages 12:42:18 Removing intermediate container 3b0f79a02188 12:42:18 ---> 8797e1d4b042 12:42:18 Step 8/12 : COPY go.mod vendor* ./ 12:42:18 ---> 3773d86b6ed6 12:42:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:42:18 ---> Running in 8fd163068f64 12:43:05 Removing intermediate container 8fd163068f64 12:43:05 ---> 51f940ae0731 12:43:05 Step 10/12 : COPY . . 12:43:05 ---> 4fa6c78a5ab3 12:43:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:43:05 ---> Running in 92f0c9b203f3 12:43:05 Removing intermediate container 92f0c9b203f3 12:43:05 ---> eb54ad151950 12:43:05 Step 12/12 : RUN $MAKE 12:43:05 ---> Running in f763360ea4d8 12:43:05 noop 12:43:05 Removing intermediate container f763360ea4d8 12:43:05 ---> b3ed95d2cd5f 12:43:05 Successfully built b3ed95d2cd5f 12:43:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:05 + docker inspect -f . ci-base-image-x86_64 12:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:05 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:43:05 $ 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 ******** ci-base-image-x86_64 cat 12:43:06 $ docker top 104a0b16890a00f88dd7c142a95a3060ae200f796bfbcd31ee7c7a8bbedcffe6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:43:06 + go version 12:43:06 go version go1.21.0 linux/amd64 [Pipeline] } 12:43:06 $ docker stop --time=1 104a0b16890a00f88dd7c142a95a3060ae200f796bfbcd31ee7c7a8bbedcffe6 12:43:07 $ docker rm -f --volumes 104a0b16890a00f88dd7c142a95a3060ae200f796bfbcd31ee7c7a8bbedcffe6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:08 + docker inspect -f . ci-base-image-x86_64 12:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:08 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:43:08 $ 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 ******** ci-base-image-x86_64 cat 12:43:08 $ docker top c52afc397eca5f070a0ae4ff61ab241875418bc2ec91af335f06bcc9ce71134f -eo pid,comm [Pipeline] { [Pipeline] sh 12:43:09 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 12:43:09 + make test 12:43:09 go test ./... -coverprofile=coverage.out 12:43:11 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:43:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:43:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.6% of statements 12:43:30 go vet ./... 12:43:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:43:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:43:33 ./bin/test-attribution-txt.sh [Pipeline] echo 12:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:43:33 $ docker stop --time=1 c52afc397eca5f070a0ae4ff61ab241875418bc2ec91af335f06bcc9ce71134f 12:43:36 $ docker rm -f --volumes c52afc397eca5f070a0ae4ff61ab241875418bc2ec91af335f06bcc9ce71134f [Pipeline] // withDockerContainer [Pipeline] sh 12:43:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:43:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:43:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:43:38 + ls -al . 12:43:38 total 200 12:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 12:43 . 12:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 12:41 .. 12:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 12:43 .git 12:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 12:41 .github 12:43:38 -rw-rw-r-- 1 jenkins jenkins 272 Dec 6 12:41 .gitignore 12:43:38 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 12:41 .golangci.yml 12:43:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 12:41 .semver 12:43:38 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 6 12:41 Attribution.txt 12:43:38 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 6 12:41 CHANGELOG.md 12:43:38 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 6 12:41 Dockerfile 12:43:38 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 12:41 GOVERNANCE.md 12:43:38 -rw-rw-r-- 1 jenkins jenkins 660 Dec 6 12:41 Jenkinsfile 12:43:38 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 12:41 LICENSE 12:43:38 -rw-rw-r-- 1 jenkins jenkins 1947 Dec 6 12:41 Makefile 12:43:38 -rw-rw-r-- 1 jenkins jenkins 623 Dec 6 12:41 OWNERS.md 12:43:38 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 6 12:41 README.md 12:43:38 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 12:42 VERSION 12:43:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 12:41 bin 12:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 12:41 cmd 12:43:38 -rw-r--r-- 1 jenkins jenkins 43063 Dec 6 12:43 coverage.out 12:43:38 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 6 12:41 go.mod 12:43:38 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 6 12:41 go.sum 12:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 12:41 internal 12:43:38 -rw-rw-r-- 1 jenkins jenkins 235 Dec 6 12:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:38 + 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=b7d08b16b434e93c5cb72c19d88a87eb30002c2a --label arch=amd64 --label version=3.2.0-dev.2 . 12:43:38 Sending build context to Docker daemon 31.6MB 12:43:38 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:43:38 Step 2/26 : FROM ${BASE} AS builder 12:43:38 ---> b3ed95d2cd5f 12:43:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:43:39 ---> Running in 450f713a0b20 12:43:39 Removing intermediate container 450f713a0b20 12:43:39 ---> 45e048e762e9 12:43:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:43:39 ---> Running in d9051bdb8bcd 12:43:39 Removing intermediate container d9051bdb8bcd 12:43:39 ---> a1e0d1eebfdc 12:43:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:43:39 ---> Running in 9724af7c18c5 12:43:39 Removing intermediate container 9724af7c18c5 12:43:39 ---> 2fec34522fcc 12:43:39 Step 6/26 : WORKDIR /device-virtual-go 12:43:39 ---> Running in 12b4effa84bd 12:43:39 Removing intermediate container 12b4effa84bd 12:43:39 ---> befdb068b99c 12:43:39 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:43:39 ---> Running in 95025b821d33 12:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:43:40 OK: 268 MiB in 56 packages 12:43:40 Removing intermediate container 95025b821d33 12:43:40 ---> 566000c026e0 12:43:40 Step 8/26 : COPY go.mod vendor* ./ 12:43:40 ---> ccdfceeac17d 12:43:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:43:40 ---> Running in ce88b5af7c3d 12:43:41 Removing intermediate container ce88b5af7c3d 12:43:41 ---> aabc2feebed7 12:43:41 Step 10/26 : COPY . . 12:43:42 ---> 4e74ce8bc296 12:43:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:43:42 ---> Running in ae564ffb4da4 12:43:42 Removing intermediate container ae564ffb4da4 12:43:42 ---> 6fc51ed71165 12:43:42 Step 12/26 : RUN $MAKE 12:43:42 ---> Running in a51648b350d7 12:43:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:43:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24192 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 12:43:55 Running in /w/workspace/device-virtual-go/158 [Pipeline] { [Pipeline] checkout 12:43:55 The recommended git tool is: git 12:44:00 using credential edgex-jenkins-ssh 12:44:00 Cloning the remote Git repository 12:44:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:44:00 > git init /w/workspace/device-virtual-go/158 # timeout=10 12:44:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:44:00 > git --version # timeout=10 12:44:00 > git --version # 'git version 2.25.1' 12:44:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:44:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:44:04 Removing intermediate container a51648b350d7 12:44:04 ---> eaef333997d3 12:44:04 Step 13/26 : FROM alpine:3.18 12:44:04 3.18: Pulling from library/alpine 12:44:04 c926b61bad3b: Pulling fs layer 12:44:04 c926b61bad3b: Verifying Checksum 12:44:04 c926b61bad3b: Download complete 12:44:04 c926b61bad3b: Pull complete 12:44:04 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 12:44:04 Status: Downloaded newer image for alpine:3.18 12:44:04 ---> b541f2080109 12:44:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:44:04 ---> Running in e9a4e40e881c 12:44:04 Removing intermediate container e9a4e40e881c 12:44:04 ---> a29160dc969e 12:44:04 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:44:04 ---> Running in f6489e4098e3 12:44:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:44:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:44:04 (1/1) Installing dumb-init (1.2.5-r2) 12:44:04 Executing busybox-1.36.1-r5.trigger 12:44:04 OK: 7 MiB in 16 packages 12:44:04 Avoid second fetch 12:44:04 Checking out Revision b7d08b16b434e93c5cb72c19d88a87eb30002c2a (main) 12:44:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:44:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:44:04 > git config core.sparsecheckout # timeout=10 12:44:04 > git checkout -f b7d08b16b434e93c5cb72c19d88a87eb30002c2a # timeout=10 12:44:05 Commit message: "Merge pull request #453 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.3" 12:44:05 Removing intermediate container f6489e4098e3 12:44:05 ---> 1ba7a85d6089 12:44:05 Step 16/26 : RUN apk --no-cache upgrade 12:44:05 ---> Running in ac8175197397 12:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 12:44:05 OK: 7 MiB in 16 packages [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:44:06 Removing intermediate container ac8175197397 12:44:06 ---> 89f615f389e0 12:44:06 Step 17/26 : WORKDIR / 12:44:06 ---> Running in 198eecb4e410 12:44:06 Removing intermediate container 198eecb4e410 12:44:06 ---> 71a0f801a057 12:44:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:44:06 ---> 3123fb7d59a4 12:44:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:44:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:44:06 % Total % Received % Xferd Average Speed Time Time Time Current 12:44:06 Dload Upload Total Spent Left Speed 12:44:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 91237 0 --:--:-- --:--:-- --:--:-- 91237 [Pipeline] sh 12:44:06 ---> 12e841d247ef 12:44:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:44:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:44:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 12:44:07 sudo tee /etc/docker/daemon.new 12:44:07 { 12:44:07 "registry-mirrors": [ 12:44:07 "https://nexus3.edgexfoundry.org:10001" 12:44:07 ], 12:44:07 "bip": "10.250.0.254/24", 12:44:07 "hosts": [ 12:44:07 "tcp://0.0.0.0:5555", 12:44:07 "unix:///var/run/docker.sock" 12:44:07 ], 12:44:07 "mtu": 1458, 12:44:07 "selinux-enabled": true, 12:44:07 "seccomp-profile": "/etc/docker/seccomp.json" 12:44:07 } [Pipeline] sh 12:44:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:44:07 ---> 489a91150ecf 12:44:07 Step 21/26 : EXPOSE 59900 12:44:07 ---> Running in 3d69502b10c9 12:44:07 Removing intermediate container 3d69502b10c9 12:44:07 ---> 2ef7d4a8b3cc 12:44:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:44:07 ---> Running in 4ff1e6d1246e 12:44:07 Removing intermediate container 4ff1e6d1246e 12:44:07 ---> 3cf6b9cdaffd 12:44:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:44:07 ---> Running in 727f32d57837 12:44:07 Removing intermediate container 727f32d57837 12:44:07 ---> e27ff85dccd1 12:44:07 Step 24/26 : LABEL arch=amd64 12:44:07 ---> Running in 940b930632a1 12:44:07 + sudo service docker restart 12:44:08 Removing intermediate container 940b930632a1 12:44:08 ---> 31bccdb12761 12:44:08 Step 25/26 : LABEL git_sha=b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:44:08 ---> Running in 182ffd2ffeef 12:44:08 Removing intermediate container 182ffd2ffeef 12:44:08 ---> d6d0770099f0 12:44:08 Step 26/26 : LABEL version=3.2.0-dev.2 12:44:08 ---> Running in 3c8fa33e74ec 12:44:08 Removing intermediate container 3c8fa33e74ec 12:44:08 ---> dd688565775f 12:44:08 [Warning] One or more build-args [ARCH] were not consumed 12:44:08 Successfully built dd688565775f 12:44:08 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:44:08 provisioning config files... 12:44:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10676844685513590556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:08 ---> ****-login.sh 12:44:08 nexus3.edgexfoundry.org:10001 12:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:08 Configure a credential helper to remove this warning. See 12:44:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:08 12:44:08 Login Succeeded 12:44:08 nexus3.edgexfoundry.org:10002 12:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:09 Configure a credential helper to remove this warning. See 12:44:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:09 12:44:09 Login Succeeded 12:44:09 nexus3.edgexfoundry.org:10003 12:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:09 Configure a credential helper to remove this warning. See 12:44:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:09 12:44:09 Login Succeeded 12:44:09 nexus3.edgexfoundry.org:10004 12:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:09 Configure a credential helper to remove this warning. See 12:44:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:09 12:44:09 Login Succeeded 12:44:09 ****.io 12:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:09 Configure a credential helper to remove this warning. See 12:44:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:09 12:44:09 Login Succeeded 12:44:09 ---> ****-login.sh ends [Pipeline] } 12:44:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:44:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:44:09 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 12:44:09 b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:44:09 latest 12:44:09 3.2.0-dev.2 12:44:09 b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 12:44:09 main 12:44:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:44:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:44:10 c62e81510568: Preparing 12:44:10 51c6d77f8bed: Preparing 12:44:10 ef0289dad58d: Preparing 12:44:10 81c004f8010c: Preparing 12:44:10 53f13284607f: Preparing 12:44:10 9fe9a137fd00: Preparing 12:44:10 9fe9a137fd00: Waiting 12:44:10 ef0289dad58d: Pushed 12:44:10 9fe9a137fd00: Layer already exists 12:44:10 51c6d77f8bed: Pushed 12:44:10 53f13284607f: Pushed 12:44:10 81c004f8010c: Pushed 12:44:13 c62e81510568: Pushed 12:44:13 b7d08b16b434e93c5cb72c19d88a87eb30002c2a: digest: sha256:5ac04e04f683ed6e66e561a4458700da9f891d4d2c3adab03a2a2b075f79edf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 12:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:44:14 c62e81510568: Preparing 12:44:14 51c6d77f8bed: Preparing 12:44:14 ef0289dad58d: Preparing 12:44:14 81c004f8010c: Preparing 12:44:14 53f13284607f: Preparing 12:44:14 9fe9a137fd00: Preparing 12:44:14 9fe9a137fd00: Waiting 12:44:14 51c6d77f8bed: Layer already exists 12:44:14 ef0289dad58d: Layer already exists 12:44:14 c62e81510568: Layer already exists 12:44:14 53f13284607f: Layer already exists 12:44:14 81c004f8010c: Layer already exists 12:44:14 9fe9a137fd00: Layer already exists 12:44:14 latest: digest: sha256:5ac04e04f683ed6e66e561a4458700da9f891d4d2c3adab03a2a2b075f79edf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.2 12:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:44:14 c62e81510568: Preparing 12:44:14 51c6d77f8bed: Preparing 12:44:14 ef0289dad58d: Preparing 12:44:14 81c004f8010c: Preparing 12:44:14 53f13284607f: Preparing 12:44:14 9fe9a137fd00: Preparing 12:44:14 9fe9a137fd00: Waiting 12:44:14 81c004f8010c: Layer already exists 12:44:14 ef0289dad58d: Layer already exists 12:44:14 c62e81510568: Layer already exists 12:44:14 53f13284607f: Layer already exists 12:44:14 51c6d77f8bed: Layer already exists 12:44:14 9fe9a137fd00: Layer already exists 12:44:14 3.2.0-dev.2: digest: sha256:5ac04e04f683ed6e66e561a4458700da9f891d4d2c3adab03a2a2b075f79edf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 12:44:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:44:15 c62e81510568: Preparing 12:44:15 51c6d77f8bed: Preparing 12:44:15 ef0289dad58d: Preparing 12:44:15 81c004f8010c: Preparing 12:44:15 53f13284607f: Preparing 12:44:15 9fe9a137fd00: Preparing 12:44:15 9fe9a137fd00: Waiting 12:44:15 c62e81510568: Layer already exists 12:44:15 ef0289dad58d: Layer already exists 12:44:15 53f13284607f: Layer already exists 12:44:15 51c6d77f8bed: Layer already exists 12:44:15 81c004f8010c: Layer already exists 12:44:15 9fe9a137fd00: Layer already exists 12:44:15 b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2: digest: sha256:5ac04e04f683ed6e66e561a4458700da9f891d4d2c3adab03a2a2b075f79edf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 12:44:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:44:16 c62e81510568: Preparing 12:44:16 51c6d77f8bed: Preparing 12:44:16 ef0289dad58d: Preparing 12:44:16 81c004f8010c: Preparing 12:44:16 53f13284607f: Preparing 12:44:16 9fe9a137fd00: Preparing 12:44:16 9fe9a137fd00: Waiting 12:44:16 c62e81510568: Layer already exists 12:44:16 53f13284607f: Layer already exists 12:44:16 ef0289dad58d: Layer already exists 12:44:16 81c004f8010c: Layer already exists 12:44:16 51c6d77f8bed: Layer already exists 12:44:16 9fe9a137fd00: Layer already exists 12:44:16 main: digest: sha256:5ac04e04f683ed6e66e561a4458700da9f891d4d2c3adab03a2a2b075f79edf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:44:16 ===================================================== [Pipeline] echo 12:44:16 taggedImages: 12:44:16 - nexus3.edgexfoundry.org:10004/device-virtual:b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:44:16 - nexus3.edgexfoundry.org:10004/device-virtual:latest 12:44:16 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.2 12:44:16 - nexus3.edgexfoundry.org:10004/device-virtual:b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 12:44:16 - 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 12:44:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:44:17 12:44:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:44:17 latest: Pulling from edgex-lftools-log-publisher 12:44:17 5eb5b503b376: Pulling fs layer 12:44:17 5c69ac0246d0: Pulling fs layer 12:44:17 ec43610c2a17: Pulling fs layer 12:44:17 3a2ae6a8a46f: Pulling fs layer 12:44:17 33b1e0a273af: Pulling fs layer 12:44:17 5d3b04190fa2: Pulling fs layer 12:44:17 2f39f015ded8: Pulling fs layer 12:44:17 3a2ae6a8a46f: Waiting 12:44:17 33b1e0a273af: Waiting 12:44:17 5d3b04190fa2: Waiting 12:44:17 2f39f015ded8: Waiting 12:44:17 5c69ac0246d0: Download complete 12:44:17 3a2ae6a8a46f: Verifying Checksum 12:44:17 3a2ae6a8a46f: Download complete 12:44:17 33b1e0a273af: Verifying Checksum 12:44:17 33b1e0a273af: Download complete 12:44:17 5d3b04190fa2: Verifying Checksum 12:44:17 5d3b04190fa2: Download complete 12:44:17 ec43610c2a17: Verifying Checksum 12:44:17 ec43610c2a17: Download complete 12:44:18 5eb5b503b376: Verifying Checksum 12:44:18 5eb5b503b376: Download complete 12:44:18 2f39f015ded8: Download complete 12:44:19 5eb5b503b376: Pull complete 12:44:19 5c69ac0246d0: Pull complete 12:44:20 ec43610c2a17: Pull complete 12:44:20 3a2ae6a8a46f: Pull complete 12:44:20 33b1e0a273af: Pull complete 12:44:20 5d3b04190fa2: Pull complete 12:44:25 2f39f015ded8: Pull complete 12:44:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:44:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:25 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:44:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:44:30 $ docker top 58ddc6c8ddb6e6071f447efbff5d67eeca6c8d267f50ae3d6918a3cc4a228761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 12:44:30 provisioning config files... 12:44:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/158@tmp/config15386662937919051662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:30 ---> job-cost.sh 12:44:30 lf-activate-venv: SKIPPING 12:44:30 INFO: No Stack... 12:44:30 INFO: Retrieving Pricing Info for: v3-standard-8 12:44:31 ---> ****-login.sh 12:44:31 nexus3.edgexfoundry.org:10001 12:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:31 Configure a credential helper to remove this warning. See 12:44:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:31 12:44:31 Login Succeeded 12:44:31 nexus3.edgexfoundry.org:10002 12:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:31 INFO: Archiving Costs [Pipeline] sh 12:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:31 Configure a credential helper to remove this warning. See 12:44:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:31 12:44:31 Login Succeeded 12:44:31 nexus3.edgexfoundry.org:10003 12:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:31 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 12:44:31 + cut -d, -f6 [Pipeline] lock 12:44:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] 12:44:31 Resource [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] did not exist. Created. 12:44:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:32 Configure a credential helper to remove this warning. See 12:44:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:32 12:44:32 Login Succeeded 12:44:32 nexus3.edgexfoundry.org:10004 12:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:32 + echo total: 0.2199999988079071 [Pipeline] stash 12:44:32 Stashed 1 file(s) [Pipeline] } 12:44:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] [Pipeline] // lock 12:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:32 Configure a credential helper to remove this warning. See 12:44:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:32 12:44:32 Login Succeeded 12:44:32 ****.io [Pipeline] } 12:44:32 $ docker stop --time=1 58ddc6c8ddb6e6071f447efbff5d67eeca6c8d267f50ae3d6918a3cc4a228761 12:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:44:32 Configure a credential helper to remove this warning. See 12:44:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:44:32 12:44:32 Login Succeeded 12:44:32 ---> ****-login.sh ends 12:44:33 $ docker rm -f --volumes 58ddc6c8ddb6e6071f447efbff5d67eeca6c8d267f50ae3d6918a3cc4a228761 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 12:44:33 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 12:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:44:34 ========================================================= 12:44:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:44:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:34 + 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 . 12:44:38 #0 building with "default" instance using docker driver 12:44:38 12:44:38 #1 [internal] load .dockerignore 12:44:38 #1 transferring context: 2B done 12:44:38 #1 DONE 0.1s 12:44:38 12:44:38 #2 [internal] load build definition from Dockerfile 12:44:38 #2 transferring dockerfile: 1.79kB done 12:44:38 #2 DONE 0.1s 12:44:38 12:44:38 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:44:38 #3 DONE 0.1s 12:44:38 12:44:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:44:38 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 12:44:38 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 12:44:38 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 12:44:38 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 12:44:38 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 12:44:38 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 3.15MB / 63.99MB 0.2s 12:44:38 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 12:44:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.3s 12:44:39 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 12:44:39 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 12:44:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 278.53kB / 11.40MB 0.3s 12:44:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s 12:44:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.4s 12:44:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.85MB / 11.40MB 0.4s 12:44:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.5s 12:44:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.5s 12:44:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 0.5s 12:44:39 #4 ... 12:44:39 12:44:39 #5 [internal] load build context 12:44:39 #5 transferring context: 15.80MB 0.6s done 12:44:39 #5 DONE 0.6s 12:44:39 12:44:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:44:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.6s 12:44:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 12:44:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.12MB / 63.99MB 0.8s 12:44:39 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 12:44:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 12:44:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.61MB / 97.63MB 0.8s 12:44:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s 12:44:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.0s 12:44:40 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 12:44:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.2s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.2s 12:44:40 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 12:44:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.82MB / 63.99MB 1.3s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.53MB / 97.63MB 1.3s 12:44:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.17MB / 97.63MB 1.5s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.16MB / 97.63MB 1.6s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.10MB / 97.63MB 1.7s 12:44:40 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 1.8s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 1.9s 12:44:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s 12:44:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 12:44:46 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 12:44:51 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 12:44:58 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 12:44:59 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 12:44:59 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 12:44:59 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 12:44:59 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 12:45:04 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 12:45:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done 12:45:08 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 12:45:10 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 12:45:10 #4 DONE 31.3s 12:45:10 12:45:10 #6 [builder 2/7] WORKDIR /device-virtual-go 12:45:12 #6 DONE 1.6s 12:45:12 12:45:12 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 12:45:12 #7 0.707 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:45:12 #7 1.097 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:45:14 #7 2.047 (1/4) Installing openssh-keygen (9.3_p2-r0) 12:45:14 #7 2.071 (2/4) Installing libedit (20221030.3.1-r1) 12:45:14 #7 2.082 (3/4) Installing openssh-client-common (9.3_p2-r0) 12:45:14 #7 2.144 (4/4) Installing openssh-client-default (9.3_p2-r0) 12:45:14 #7 2.169 Executing busybox-1.36.1-r5.trigger 12:45:14 #7 2.206 OK: 271 MiB in 56 packages 12:45:14 #7 DONE 2.5s 12:45:14 12:45:14 #8 [builder 4/7] COPY go.mod vendor* ./ 12:45:14 #8 DONE 0.1s 12:45:14 12:45:14 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:45:41 #9 DONE 23.3s 12:45:41 12:45:41 #10 [builder 6/7] COPY . . 12:45:41 #10 DONE 0.3s 12:45:41 12:45:41 #11 [builder 7/7] RUN echo noop 12:45:41 #11 0.595 noop 12:45:41 #11 DONE 0.7s 12:45:41 12:45:41 #12 exporting to image 12:45:41 #12 exporting layers 12:46:07 #12 exporting layers 25.1s done 12:46:07 #12 writing image sha256:f3b8b075909a5c59d0d53ed924ebd27c7f2d3272ad48fbd3fd12949ad137e784 done 12:46:07 #12 naming to docker.io/library/ci-base-image-arm64 done 12:46:07 #12 DONE 25.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:08 + docker inspect -f . ci-base-image-arm64 12:46:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:08 prd-ubuntu20.04-docker-arm64-4c-16g-24192 does not seem to be running inside a container 12:46:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/158 -v /w/workspace/device-virtual-go/158:/w/workspace/device-virtual-go/158:rw,z -v /w/workspace/device-virtual-go/158@tmp:/w/workspace/device-virtual-go/158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:46:09 $ docker top d1d31f8a17d6c376275b9679aa37a2f92b3c46da248baa998923c3c042045508 -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:10 + go version 12:46:10 go version go1.21.0 linux/arm64 [Pipeline] } 12:46:10 $ docker stop --time=1 d1d31f8a17d6c376275b9679aa37a2f92b3c46da248baa998923c3c042045508 12:46:11 $ docker rm -f --volumes d1d31f8a17d6c376275b9679aa37a2f92b3c46da248baa998923c3c042045508 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:12 + docker inspect -f . ci-base-image-arm64 12:46:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:12 prd-ubuntu20.04-docker-arm64-4c-16g-24192 does not seem to be running inside a container 12:46:12 $ 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/158 -v /w/workspace/device-virtual-go/158:/w/workspace/device-virtual-go/158:rw,z -v /w/workspace/device-virtual-go/158@tmp:/w/workspace/device-virtual-go/158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:46:13 $ docker top ebf5bf977ce27ac54de36afb2a9d1d5ab98b566fa9f21e3f73841eb90cd295fc -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:14 + git config --global --add safe.directory /w/workspace/device-virtual-go/158 [Pipeline] fileExists [Pipeline] sh 12:46:14 + make test 12:46:14 go test ./... -coverprofile=coverage.out 12:46:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:47:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:47:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.065s coverage: 58.4% of statements 12:47:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:47:08 go vet ./... 12:47:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:47:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:47:23 ./bin/test-attribution-txt.sh [Pipeline] echo 12:47:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:47:23 $ docker stop --time=1 ebf5bf977ce27ac54de36afb2a9d1d5ab98b566fa9f21e3f73841eb90cd295fc 12:47:25 $ docker rm -f --volumes ebf5bf977ce27ac54de36afb2a9d1d5ab98b566fa9f21e3f73841eb90cd295fc [Pipeline] // withDockerContainer [Pipeline] sh 12:47:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:47:26 Warning: overwriting stash ‘coverage-report’ 12:47:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:47:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:47:28 + ls -al . 12:47:28 total 196 12:47:28 drwxrwxr-x 7 jenkins jenkins 4096 Dec 6 12:46 . 12:47:28 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 12:44 .. 12:47:28 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 12:44 .git 12:47:28 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 12:44 .github 12:47:28 -rw-rw-r-- 1 jenkins jenkins 272 Dec 6 12:44 .gitignore 12:47:28 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 12:44 .golangci.yml 12:47:28 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 6 12:44 Attribution.txt 12:47:28 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 6 12:44 CHANGELOG.md 12:47:28 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 6 12:44 Dockerfile 12:47:28 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 12:44 GOVERNANCE.md 12:47:28 -rw-rw-r-- 1 jenkins jenkins 660 Dec 6 12:44 Jenkinsfile 12:47:28 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 12:44 LICENSE 12:47:28 -rw-rw-r-- 1 jenkins jenkins 1947 Dec 6 12:44 Makefile 12:47:28 -rw-rw-r-- 1 jenkins jenkins 623 Dec 6 12:44 OWNERS.md 12:47:28 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 6 12:44 README.md 12:47:28 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 12:42 VERSION 12:47:28 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 12:44 bin 12:47:28 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 12:44 cmd 12:47:28 -rw-r--r-- 1 jenkins jenkins 43063 Dec 6 12:47 coverage.out 12:47:28 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 6 12:44 go.mod 12:47:28 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 6 12:44 go.sum 12:47:28 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 12:44 internal 12:47:28 -rw-rw-r-- 1 jenkins jenkins 235 Dec 6 12:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:28 + 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=b7d08b16b434e93c5cb72c19d88a87eb30002c2a --label arch=arm64 --label version=3.2.0-dev.2 . 12:47:31 #0 building with "default" instance using docker driver 12:47:31 12:47:31 #1 [internal] load .dockerignore 12:47:31 #1 transferring context: 2B done 12:47:31 #1 DONE 0.0s 12:47:31 12:47:31 #2 [internal] load build definition from Dockerfile 12:47:31 #2 transferring dockerfile: 1.79kB done 12:47:31 #2 DONE 0.0s 12:47:31 12:47:31 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 12:47:31 #3 DONE 0.0s 12:47:31 12:47:31 #4 [internal] load metadata for docker.io/library/alpine:3.18 12:47:31 #4 DONE 0.4s 12:47:31 12:47:31 #5 [internal] load build context 12:47:31 #5 transferring context: 49.77kB 0.0s done 12:47:31 #5 DONE 0.1s 12:47:31 12:47:31 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 12:47:31 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 12:47:31 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 12:47:31 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 12:47:31 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 12:47:31 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 12:47:31 #6 ... 12:47:31 12:47:31 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 12:47:31 #7 DONE 0.2s 12:47:31 12:47:31 #8 [builder 2/7] WORKDIR /device-virtual-go 12:47:31 #8 DONE 0.1s 12:47:31 12:47:31 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 12:47:31 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 12:47:31 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 12:47:31 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 12:47:31 #6 DONE 0.9s 12:47:31 12:47:31 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 12:47:32 #9 0.687 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:47:32 #9 1.134 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:47:33 #9 2.169 OK: 271 MiB in 56 packages 12:47:33 #9 DONE 2.5s 12:47:33 12:47:33 #10 [builder 4/7] COPY go.mod vendor* ./ 12:47:34 #10 DONE 0.2s 12:47:34 12:47:34 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:47:34 #11 ... 12:47:34 12:47:34 #12 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 12:47:34 #12 0.643 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:47:34 #12 0.959 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:47:34 #12 1.972 (1/1) Installing dumb-init (1.2.5-r2) 12:47:34 #12 1.988 Executing busybox-1.36.1-r5.trigger 12:47:34 #12 2.025 OK: 8 MiB in 16 packages 12:47:34 #12 DONE 2.4s 12:47:34 12:47:34 #13 [stage-1 3/7] RUN apk --no-cache upgrade 12:47:35 #13 0.753 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:47:35 #13 1.098 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:47:35 #13 ... 12:47:35 12:47:35 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:47:35 #11 DONE 1.7s 12:47:36 12:47:36 #14 [builder 6/7] COPY . . 12:47:36 #14 DONE 0.4s 12:47:36 12:47:36 #13 [stage-1 3/7] RUN apk --no-cache upgrade 12:47:36 #13 2.138 OK: 8 MiB in 16 packages 12:47:36 #13 DONE 2.4s 12:47:36 12:47:36 #15 [builder 7/7] RUN make build 12:47:36 #15 0.689 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:48:44 #15 DONE 58.6s 12:48:44 12:48:44 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 12:48:44 #16 DONE 0.1s 12:48:44 12:48:44 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 12:48:44 #17 DONE 0.1s 12:48:44 12:48:44 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 12:48:44 #18 DONE 0.3s 12:48:44 12:48:44 #19 exporting to image 12:48:44 #19 exporting layers 12:48:44 #19 exporting layers 0.4s done 12:48:44 #19 writing image sha256:3e1fdf442e166a98bf85e08c599b866e5afeb3549c03cb7da73021b89d418c67 done 12:48:44 #19 naming to docker.io/library/device-virtual-arm64 0.0s done 12:48:44 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:45 provisioning config files... 12:48:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/158@tmp/config4385588935136547246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:45 ---> ****-login.sh 12:48:45 nexus3.edgexfoundry.org:10001 12:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:45 Configure a credential helper to remove this warning. See 12:48:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:45 12:48:45 Login Succeeded 12:48:45 nexus3.edgexfoundry.org:10002 12:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:46 Configure a credential helper to remove this warning. See 12:48:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:46 12:48:46 Login Succeeded 12:48:46 nexus3.edgexfoundry.org:10003 12:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:46 Configure a credential helper to remove this warning. See 12:48:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:46 12:48:46 Login Succeeded 12:48:46 nexus3.edgexfoundry.org:10004 12:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:46 Configure a credential helper to remove this warning. See 12:48:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:46 12:48:46 Login Succeeded 12:48:46 ****.io 12:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:47 Configure a credential helper to remove this warning. See 12:48:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:47 12:48:47 Login Succeeded 12:48:47 ---> ****-login.sh ends [Pipeline] } 12:48:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:48:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:48:47 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:48:47 b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:48:47 latest 12:48:47 3.2.0-dev.2 12:48:47 b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 12:48:47 main 12:48:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:48:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:48:48 9c5c01703672: Preparing 12:48:48 0512e193b341: Preparing 12:48:48 4a4d8a82847a: Preparing 12:48:48 345da7043e22: Preparing 12:48:48 719f01be979a: Preparing 12:48:48 0faf9b67be60: Preparing 12:48:48 0faf9b67be60: Waiting 12:48:48 0512e193b341: Pushed 12:48:48 4a4d8a82847a: Pushed 12:48:48 719f01be979a: Pushed 12:48:48 345da7043e22: Pushed 12:48:48 0faf9b67be60: Layer already exists 12:48:54 9c5c01703672: Pushed 12:48:58 b7d08b16b434e93c5cb72c19d88a87eb30002c2a: digest: sha256:85eec93ca193b63e37129f3abe841e72c83f91ba0091f362a3e229145a6c881e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:48:59 9c5c01703672: Preparing 12:48:59 0512e193b341: Preparing 12:48:59 4a4d8a82847a: Preparing 12:48:59 345da7043e22: Preparing 12:48:59 719f01be979a: Preparing 12:48:59 0faf9b67be60: Preparing 12:48:59 0faf9b67be60: Waiting 12:48:59 719f01be979a: Layer already exists 12:48:59 4a4d8a82847a: Layer already exists 12:48:59 345da7043e22: Layer already exists 12:48:59 9c5c01703672: Layer already exists 12:48:59 0512e193b341: Layer already exists 12:48:59 0faf9b67be60: Layer already exists 12:48:59 latest: digest: sha256:85eec93ca193b63e37129f3abe841e72c83f91ba0091f362a3e229145a6c881e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.2 12:49:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:49:00 9c5c01703672: Preparing 12:49:00 0512e193b341: Preparing 12:49:00 4a4d8a82847a: Preparing 12:49:00 345da7043e22: Preparing 12:49:00 719f01be979a: Preparing 12:49:00 0faf9b67be60: Preparing 12:49:00 0faf9b67be60: Waiting 12:49:00 9c5c01703672: Layer already exists 12:49:00 345da7043e22: Layer already exists 12:49:00 4a4d8a82847a: Layer already exists 12:49:00 0512e193b341: Layer already exists 12:49:00 719f01be979a: Layer already exists 12:49:00 0faf9b67be60: Layer already exists 12:49:00 3.2.0-dev.2: digest: sha256:85eec93ca193b63e37129f3abe841e72c83f91ba0091f362a3e229145a6c881e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 12:49:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:49:01 9c5c01703672: Preparing 12:49:01 0512e193b341: Preparing 12:49:01 4a4d8a82847a: Preparing 12:49:01 345da7043e22: Preparing 12:49:01 719f01be979a: Preparing 12:49:01 0faf9b67be60: Preparing 12:49:01 0faf9b67be60: Waiting 12:49:01 345da7043e22: Layer already exists 12:49:01 0512e193b341: Layer already exists 12:49:01 9c5c01703672: Layer already exists 12:49:01 719f01be979a: Layer already exists 12:49:01 4a4d8a82847a: Layer already exists 12:49:01 0faf9b67be60: Layer already exists 12:49:01 b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2: digest: sha256:85eec93ca193b63e37129f3abe841e72c83f91ba0091f362a3e229145a6c881e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:49:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:49:02 9c5c01703672: Preparing 12:49:02 0512e193b341: Preparing 12:49:02 4a4d8a82847a: Preparing 12:49:02 345da7043e22: Preparing 12:49:02 719f01be979a: Preparing 12:49:02 0faf9b67be60: Preparing 12:49:02 0faf9b67be60: Waiting 12:49:02 719f01be979a: Layer already exists 12:49:02 345da7043e22: Layer already exists 12:49:02 9c5c01703672: Layer already exists 12:49:02 0512e193b341: Layer already exists 12:49:02 4a4d8a82847a: Layer already exists 12:49:02 0faf9b67be60: Layer already exists 12:49:03 main: digest: sha256:85eec93ca193b63e37129f3abe841e72c83f91ba0091f362a3e229145a6c881e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:49:03 ===================================================== [Pipeline] echo 12:49:03 taggedImages: 12:49:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7d08b16b434e93c5cb72c19d88a87eb30002c2a 12:49:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:49:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.2 12:49:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7d08b16b434e93c5cb72c19d88a87eb30002c2a-3.2.0-dev.2 12:49:03 - 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 12:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:49:04 12:49:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:49:04 arm64: Pulling from edgex-lftools-log-publisher 12:49:04 8998bd30e6a1: Pulling fs layer 12:49:04 04944245beec: Pulling fs layer 12:49:04 699f458cf7ca: Pulling fs layer 12:49:04 765212b225bb: Pulling fs layer 12:49:04 f23df028b6ca: Pulling fs layer 12:49:04 765212b225bb: Waiting 12:49:04 d65c8cfc05b1: Pulling fs layer 12:49:04 f23df028b6ca: Waiting 12:49:04 d65c8cfc05b1: Waiting 12:49:04 2437ff75d9bd: Pulling fs layer 12:49:04 2437ff75d9bd: Waiting 12:49:04 04944245beec: Verifying Checksum 12:49:04 04944245beec: Download complete 12:49:04 765212b225bb: Verifying Checksum 12:49:04 765212b225bb: Download complete 12:49:04 f23df028b6ca: Verifying Checksum 12:49:04 f23df028b6ca: Download complete 12:49:04 d65c8cfc05b1: Download complete 12:49:04 699f458cf7ca: Verifying Checksum 12:49:04 699f458cf7ca: Download complete 12:49:05 8998bd30e6a1: Verifying Checksum 12:49:05 8998bd30e6a1: Download complete 12:49:07 2437ff75d9bd: Verifying Checksum 12:49:07 2437ff75d9bd: Download complete 12:49:12 8998bd30e6a1: Pull complete 12:49:12 04944245beec: Pull complete 12:49:14 699f458cf7ca: Pull complete 12:49:14 765212b225bb: Pull complete 12:49:15 f23df028b6ca: Pull complete 12:49:15 d65c8cfc05b1: Pull complete 12:49:42 2437ff75d9bd: Pull complete 12:49:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:49:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:42 prd-ubuntu20.04-docker-arm64-4c-16g-24192 does not seem to be running inside a container 12:49:42 $ 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/158 -v /w/workspace/device-virtual-go/158:/w/workspace/device-virtual-go/158:rw,z -v /w/workspace/device-virtual-go/158@tmp:/w/workspace/device-virtual-go/158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:49:44 $ docker top 8ce2dd25238aff70596150ca9dc933ef787b720d5bc2cfba92bc2bbd455ffd8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:49:45 ---> job-cost.sh 12:49:45 lf-activate-venv: SKIPPING 12:49:45 INFO: No Stack... 12:49:45 INFO: Retrieving Pricing Info for: v3-standard-8 12:49:46 INFO: Archiving Costs [Pipeline] sh 12:49:46 + cat /w/workspace/device-virtual-go/158/archives/cost.csv 12:49:46 + cut -d, -f6 [Pipeline] lock 12:49:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] 12:49:47 Resource [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] did not exist. Created. 12:49:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:49:47 /w/workspace/device-virtual-go/158@tmp/durable-292dab23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:49:47 + echo total: 0.2199999988079071 [Pipeline] stash 12:49:47 Warning: overwriting stash ‘stack-cost’ 12:49:47 Stashed 1 file(s) [Pipeline] } 12:49:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 12:49:48 $ docker stop --time=1 8ce2dd25238aff70596150ca9dc933ef787b720d5bc2cfba92bc2bbd455ffd8a 12:49:49 $ docker rm -f --volumes 8ce2dd25238aff70596150ca9dc933ef787b720d5bc2cfba92bc2bbd455ffd8a [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 12:49:50 provisioning config files... 12:49:50 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18186728045941437916tmp [Pipeline] { [Pipeline] sh 12:49:51 + set +x 12:49:51 + curl -s https://codecov.io/bash 12:49:51 + bash -s -- 12:49:51 12:49:51 _____ _ 12:49:51 / ____| | | 12:49:51 | | ___ __| | ___ ___ _____ __ 12:49:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:49:51 | |___| (_) | (_| | __/ (_| (_) \ V / 12:49:51 \_____\___/ \__,_|\___|\___\___/ \_/ 12:49:51 Bash-1.0.6 12:49:51 12:49:51 12:49:51 ==> git version 2.25.1 found 12:49:51 ==> 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 12:49:51 Release-Date: 2020-01-08 12:49:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:49:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:49:51 ==> Jenkins CI detected. 12:49:51 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:49:51 project root: . 12:49:51 --> token set from env 12:49:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:49:51 ==> Running gcov in . (disable via -X gcov) 12:49:51 ==> Python coveragepy not found 12:49:51 ==> Searching for coverage reports in: 12:49:51 + . 12:49:51 -> Found 1 reports 12:49:51 ==> Detecting git/mercurial file structure 12:49:51 ==> Reading reports 12:49:51 + ./coverage.out bytes=43063 12:49:51 ==> Appending adjustments 12:49:51 https://docs.codecov.io/docs/fixing-reports 12:49:51 + Found adjustments 12:49:51 ==> Gzipping contents 12:49:51 8.0K /tmp/codecov.VZCp9w.gz 12:49:51 ==> Uploading reports 12:49:51 url: https://codecov.io 12:49:51 query: branch=main&commit=b7d08b16b434e93c5cb72c19d88a87eb30002c2a&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:49:51 -> Pinging Codecov 12:49:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b7d08b16b434e93c5cb72c19d88a87eb30002c2a&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:49:51 -> Uploading to 12:49:51 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/5E52B4B073DB2E39498172D8E973AA87/b7d08b16b434e93c5cb72c19d88a87eb30002c2a/67edc16d-a960-45bf-bf75-b6b7c3d2cd3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T124951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb24cb25a8df5cdb5f2e94260d10e832818c0a7d862e7b55014e76fe2f7e2140 12:49:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:49:51 Dload Upload Total Spent Left Speed 12:49:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 21450 --:--:-- --:--:-- --:--:-- 21450 12:49:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] } 12:49:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:49:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:49:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:49:52 12:49:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:49:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:49:53 df9b9388f04a: Pulling fs layer 12:49:53 52dc419b0ee2: Pulling fs layer 12:49:53 25bc292e5bac: Pulling fs layer 12:49:53 114826534d7a: Pulling fs layer 12:49:53 4657fd5d0bcf: Pulling fs layer 12:49:53 6ad1cebc031e: Pulling fs layer 12:49:53 8a3aa393b2d8: Pulling fs layer 12:49:53 114826534d7a: Waiting 12:49:53 4657fd5d0bcf: Waiting 12:49:53 6ad1cebc031e: Waiting 12:49:53 8a3aa393b2d8: Waiting 12:49:53 25bc292e5bac: Verifying Checksum 12:49:53 25bc292e5bac: Download complete 12:49:53 52dc419b0ee2: Verifying Checksum 12:49:53 52dc419b0ee2: Download complete 12:49:53 4657fd5d0bcf: Download complete 12:49:53 df9b9388f04a: Download complete 12:49:53 df9b9388f04a: Pull complete 12:49:53 6ad1cebc031e: Verifying Checksum 12:49:53 6ad1cebc031e: Download complete 12:49:53 52dc419b0ee2: Pull complete 12:49:53 25bc292e5bac: Pull complete 12:49:53 114826534d7a: Verifying Checksum 12:49:53 114826534d7a: Download complete 12:49:54 8a3aa393b2d8: Verifying Checksum 12:49:54 8a3aa393b2d8: Download complete 12:49:57 114826534d7a: Pull complete 12:49:57 4657fd5d0bcf: Pull complete 12:49:58 6ad1cebc031e: Pull complete 12:50:01 8a3aa393b2d8: Pull complete 12:50:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 12:50:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:50:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:01 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:50:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 12:50:07 $ docker top 0e0f9e9b4fea5bbf4f7de1a92da0cf402dcb588ce15a260c9d232dd329f881c0 -eo pid,comm [Pipeline] { [Pipeline] echo 12:50:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 12:50:08 + set -o pipefail 12:50:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 12:50:13 12:50:13 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:50:13 12:50:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/d8119f75-ab44-4bc8-a03a-b3cf2fc377b4 12:50:13 12:50:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:50:13 12:50:14 12:50:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 12:50:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 12:50:14 More details here: https://snyk.co/ue1NS 12:50:14 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 12:50:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 12:50:14 $ docker stop --time=1 0e0f9e9b4fea5bbf4f7de1a92da0cf402dcb588ce15a260c9d232dd329f881c0 12:50:18 $ docker rm -f --volumes 0e0f9e9b4fea5bbf4f7de1a92da0cf402dcb588ce15a260c9d232dd329f881c0 [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 12:50:19 + git log --format=format:%s -1 b7d08b16b434e93c5cb72c19d88a87eb30002c2a [Pipeline] sh 12:50:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:50:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:50:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:20 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:50:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:50:21 $ docker top 3536f7fa07bda346157a50e1e8e925dd7ac25febf133577078a9f85ea4bf2209 -eo pid,comm 12:50:21 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). 12:50:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:50:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:50:21 [ssh-agent] Looking for ssh-agent implementation... 12:50:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:50:22 $ docker exec 3536f7fa07bda346157a50e1e8e925dd7ac25febf133577078a9f85ea4bf2209 ssh-agent 12:50:22 SSH_AUTH_SOCK=/tmp/ssh-MzZQhahORI6M/agent.33 12:50:22 SSH_AGENT_PID=39 12:50:22 Running ssh-add (command line suppressed) 12:50:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4174830759701407609.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4174830759701407609.key) 12:50:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:50:22 + git semver tag 12:50:22 2023-12-06 12:50:22,820 [run_tag] DEBUG tag force:False 12:50:22 2023-12-06 12:50:22,820 [check_head_tag] DEBUG check head tag 12:50:22 2023-12-06 12:50:22,821 [execute] INFO git cat-file --batch-check 12:50:22 2023-12-06 12:50:22,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:50:22 2023-12-06 12:50:22,825 [execute] INFO git cat-file --batch 12:50:22 2023-12-06 12:50:22,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:50:22 2023-12-06 12:50:22,842 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:22 2023-12-06 12:50:22,842 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 12:50:22 2023-12-06 12:50:22,842 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:50:22 2023-12-06 12:50:22,847 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:22 3.2.0-dev.2 [Pipeline] } 12:50:22 $ docker exec --env ******** --env ******** 3536f7fa07bda346157a50e1e8e925dd7ac25febf133577078a9f85ea4bf2209 ssh-agent -k 12:50:23 unset SSH_AUTH_SOCK; 12:50:23 unset SSH_AGENT_PID; 12:50:23 echo Agent pid 39 killed; 12:50:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:50:23 + git semver [Pipeline] } 12:50:23 $ docker stop --time=1 3536f7fa07bda346157a50e1e8e925dd7ac25febf133577078a9f85ea4bf2209 12:50:25 $ docker rm -f --volumes 3536f7fa07bda346157a50e1e8e925dd7ac25febf133577078a9f85ea4bf2209 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:50:25 12:50:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:50:26 0.23.1-centos7: Pulling from edgex-lftools 12:50:26 ab5ef0e58194: Pulling fs layer 12:50:26 9712f1f96733: Pulling fs layer 12:50:26 63f879dbbcfc: Pulling fs layer 12:50:26 0d9ebad4ef96: Pulling fs layer 12:50:26 e9a5061849ea: Pulling fs layer 12:50:26 d747dcd14b5f: Pulling fs layer 12:50:26 2de7ff778b66: Pulling fs layer 12:50:26 e9a5061849ea: Waiting 12:50:26 d747dcd14b5f: Waiting 12:50:26 2de7ff778b66: Waiting 12:50:26 0d9ebad4ef96: Waiting 12:50:26 9712f1f96733: Verifying Checksum 12:50:26 9712f1f96733: Download complete 12:50:26 63f879dbbcfc: Verifying Checksum 12:50:26 63f879dbbcfc: Download complete 12:50:26 e9a5061849ea: Verifying Checksum 12:50:26 e9a5061849ea: Download complete 12:50:26 d747dcd14b5f: Verifying Checksum 12:50:26 d747dcd14b5f: Download complete 12:50:26 ab5ef0e58194: Verifying Checksum 12:50:26 ab5ef0e58194: Download complete 12:50:26 0d9ebad4ef96: Verifying Checksum 12:50:26 0d9ebad4ef96: Download complete 12:50:26 2de7ff778b66: Verifying Checksum 12:50:26 2de7ff778b66: Download complete 12:50:29 ab5ef0e58194: Pull complete 12:50:29 9712f1f96733: Pull complete 12:50:29 63f879dbbcfc: Pull complete 12:50:34 0d9ebad4ef96: Pull complete 12:50:34 e9a5061849ea: Pull complete 12:50:34 d747dcd14b5f: Pull complete 12:50:35 2de7ff778b66: Pull complete 12:50:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:50:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:50:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:35 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:50:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:50:40 $ docker top 898b35c11a755e144f0f1e531a9d623998ff6acac19603ac8462df3ccbec7001 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:50:41 provisioning config files... 12:50:41 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4530913078016754793tmp 12:50:41 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8137767708955053862tmp 12:50:41 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18317146599181302367tmp [Pipeline] { [Pipeline] echo 12:50:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:50:41 ---> sigul-configuration.sh 12:50:41 gpg: directory `/root/.gnupg' created 12:50:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:50:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:50:41 gpg: keyring `/root/.gnupg/secring.gpg' created 12:50:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:50:41 gpg: CAST5 encrypted data 12:50:41 gpg: encrypted with 1 passphrase 12:50:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:50:41 + mkdir /home/jenkins 12:50:41 + mkdir /home/jenkins/sigul [Pipeline] sh 12:50:42 + 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 12:50:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:50:42 ---> sigul-install.sh 12:50:42 Sigul already installed; skipping installation. [Pipeline] sh 12:50:42 + git tag --list 12:50:42 v1.0.0 12:50:42 v1.1.0 12:50:42 v1.1.1 12:50:42 v1.2.1 12:50:42 v1.2.2 12:50:42 v1.2.3 12:50:42 v1.3.0 12:50:42 v1.3.1 12:50:42 v2.0.0 12:50:42 v2.1.0 12:50:42 v2.1.1 12:50:42 v2.2.0 12:50:42 v2.3.0 12:50:42 v3.0 12:50:42 v3.0.0 12:50:42 v3.1 12:50:42 v3.1.0 12:50:42 v3.1.0-dev.1 12:50:42 v3.1.0-dev.10 12:50:42 v3.1.0-dev.11 12:50:42 v3.1.0-dev.12 12:50:42 v3.1.0-dev.13 12:50:42 v3.1.0-dev.14 12:50:42 v3.1.0-dev.15 12:50:42 v3.1.0-dev.16 12:50:42 v3.1.0-dev.17 12:50:42 v3.1.0-dev.18 12:50:42 v3.1.0-dev.19 12:50:42 v3.1.0-dev.2 12:50:42 v3.1.0-dev.20 12:50:42 v3.1.0-dev.21 12:50:42 v3.1.0-dev.22 12:50:42 v3.1.0-dev.23 12:50:42 v3.1.0-dev.24 12:50:42 v3.1.0-dev.25 12:50:42 v3.1.0-dev.26 12:50:42 v3.1.0-dev.27 12:50:42 v3.1.0-dev.28 12:50:42 v3.1.0-dev.29 12:50:42 v3.1.0-dev.3 12:50:42 v3.1.0-dev.30 12:50:42 v3.1.0-dev.4 12:50:42 v3.1.0-dev.5 12:50:42 v3.1.0-dev.6 12:50:42 v3.1.0-dev.7 12:50:42 v3.1.0-dev.8 12:50:42 v3.1.0-dev.9 12:50:42 v3.2.0-dev.1 12:50:42 v3.2.0-dev.2 [Pipeline] sh 12:50:43 + lftools sign git-tag v3.2.0-dev.2 12:50:43 Signing Git tag with Sigul... 12:50:43 Signing v3.2.0-dev.2 [Pipeline] echo 12:50:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:50:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:50:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:50:44 $ docker stop --time=1 898b35c11a755e144f0f1e531a9d623998ff6acac19603ac8462df3ccbec7001 12:50:45 $ docker rm -f --volumes 898b35c11a755e144f0f1e531a9d623998ff6acac19603ac8462df3ccbec7001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:50:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:50:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:50:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:47 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:50:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:50:47 $ docker top a41f57d5d8a52bba2ef6375c9c8505dd67dbde6f31b2d1b937ce481711e30bff -eo pid,comm 12:50:47 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). 12:50:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:50:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:50:47 [ssh-agent] Looking for ssh-agent implementation... 12:50:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:50:47 $ docker exec a41f57d5d8a52bba2ef6375c9c8505dd67dbde6f31b2d1b937ce481711e30bff ssh-agent 12:50:48 SSH_AUTH_SOCK=/tmp/ssh-Rty3wiizt03v/agent.33 12:50:48 SSH_AGENT_PID=39 12:50:48 Running ssh-add (command line suppressed) 12:50:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11184248182876335319.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11184248182876335319.key) 12:50:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:50:48 + git semver bump pre 12:50:48 2023-12-06 12:50:48,645 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:48 2023-12-06 12:50:48,645 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev 12:50:48 2023-12-06 12:50:48,645 [bump_version] DEBUG bumped version:3.2.0-dev.3 12:50:48 2023-12-06 12:50:48,645 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 12:50:48 2023-12-06 12:50:48,645 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:48 2023-12-06 12:50:48,645 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:48 2023-12-06 12:50:48,648 [execute] INFO git cat-file --batch-check 12:50:48 2023-12-06 12:50:48,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:50:48 2023-12-06 12:50:48,652 [execute] INFO git cat-file --batch 12:50:48 2023-12-06 12:50:48,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:50:48 2023-12-06 12:50:48,656 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:48 3.2.0-dev.3 [Pipeline] } 12:50:48 $ docker exec --env ******** --env ******** a41f57d5d8a52bba2ef6375c9c8505dd67dbde6f31b2d1b937ce481711e30bff ssh-agent -k 12:50:48 unset SSH_AUTH_SOCK; 12:50:48 unset SSH_AGENT_PID; 12:50:48 echo Agent pid 39 killed; 12:50:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:50:49 + git semver [Pipeline] } 12:50:49 $ docker stop --time=1 a41f57d5d8a52bba2ef6375c9c8505dd67dbde6f31b2d1b937ce481711e30bff 12:50:50 $ docker rm -f --volumes a41f57d5d8a52bba2ef6375c9c8505dd67dbde6f31b2d1b937ce481711e30bff [Pipeline] // withDockerContainer [Pipeline] sh 12:50:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:50:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:50:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:51 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:50:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:50:52 $ docker top e323f0e4c4fd0804b9a8586677b0f000c509df94a5a013993c916268686c2ddd -eo pid,comm 12:50:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:50:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:50:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:50:52 [ssh-agent] Looking for ssh-agent implementation... 12:50:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:50:52 $ docker exec e323f0e4c4fd0804b9a8586677b0f000c509df94a5a013993c916268686c2ddd ssh-agent 12:50:52 SSH_AUTH_SOCK=/tmp/ssh-TfGsT7br5Dpo/agent.32 12:50:52 SSH_AGENT_PID=38 12:50:52 Running ssh-add (command line suppressed) 12:50:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16817463135682084721.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16817463135682084721.key) 12:50:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:50:53 + git semver push 12:50:53 2023-12-06 12:50:53,375 [run_push] DEBUG push 12:50:53 2023-12-06 12:50:53,376 [execute] INFO git cat-file --batch-check 12:50:53 2023-12-06 12:50:53,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:50:53 2023-12-06 12:50:53,380 [execute] INFO git rev-list 23e4e1c4e4c78d69e4fbf81108768a5d5b031ea6 -- 12:50:53 2023-12-06 12:50:53,380 [execute] DEBUG Popen(['git', 'rev-list', '23e4e1c4e4c78d69e4fbf81108768a5d5b031ea6', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:50:53 2023-12-06 12:50:53,390 [execute] INFO git fetch -v origin 12:50:53 2023-12-06 12:50:53,390 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:50:54 2023-12-06 12:50:53,931 [run_push] DEBUG no remote changes detected 12:50:54 2023-12-06 12:50:53,931 [execute] INFO git push origin semver 12:50:54 2023-12-06 12:50:53,931 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:50:54 2023-12-06 12:50:54,759 [run_push] DEBUG push all version tags 12:50:54 2023-12-06 12:50:54,759 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:50:54 2023-12-06 12:50:54,759 [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) 12:50:55 2023-12-06 12:50:55,562 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:50:55 3.2.0-dev.3 [Pipeline] } 12:50:55 $ docker exec --env ******** --env ******** e323f0e4c4fd0804b9a8586677b0f000c509df94a5a013993c916268686c2ddd ssh-agent -k 12:50:56 unset SSH_AUTH_SOCK; 12:50:56 unset SSH_AGENT_PID; 12:50:56 echo Agent pid 38 killed; 12:50:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:50:56 + git semver [Pipeline] } 12:50:56 $ docker stop --time=1 e323f0e4c4fd0804b9a8586677b0f000c509df94a5a013993c916268686c2ddd 12:50:58 $ docker rm -f --volumes e323f0e4c4fd0804b9a8586677b0f000c509df94a5a013993c916268686c2ddd [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 12:50:59 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 12:50:59 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:50:59 total 16 12:50:59 drwxr-xr-x 3 root root 4096 Dec 6 12:44 . 12:50:59 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 12:50 .. 12:50:59 drwxr-xr-x 2 root root 4096 Dec 6 12:44 cost 12:50:59 -rw-r--r-- 1 root root 89 Dec 6 12:44 cost.csv 12:50:59 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 12:50:59 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:50:59 total 16 12:50:59 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 12:44 . 12:50:59 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 12:50 .. 12:50:59 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 12:44 cost 12:50:59 -rw-r--r-- 1 jenkins jenkins 89 Dec 6 12:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:50:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:51:00 ---> package-listing.sh 12:51:00 ++ facter osfamily 12:51:00 ++ tr '[:upper:]' '[:lower:]' 12:51:01 + OS_FAMILY=debian 12:51:01 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:51:01 + START_PACKAGES=/tmp/packages_start.txt 12:51:01 + END_PACKAGES=/tmp/packages_end.txt 12:51:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:51:01 + PACKAGES=/tmp/packages_start.txt 12:51:01 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:51:01 + PACKAGES=/tmp/packages_end.txt 12:51:01 + case "${OS_FAMILY}" in 12:51:01 + dpkg -l 12:51:01 + grep '^ii' 12:51:01 + '[' -f /tmp/packages_start.txt ']' 12:51:01 + '[' -f /tmp/packages_end.txt ']' 12:51:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:51:01 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:51:01 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:51:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:51:01 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 12:51:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:51:02 prd-ubuntu20.04-docker-8c-8g-24191 does not seem to be running inside a container 12:51:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:51:02 $ docker top 873a844e382c69c2258b3772e28f4a6957b8dbf33b036563f144bae12f5e8015 -eo pid,comm [Pipeline] { [Pipeline] sh 12:51:02 + touch /tmp/pre-build-complete [Pipeline] sh 12:51:03 + mkdir -p /var/log/sysstat [Pipeline] sh 12:51:03 + ls /var/log/sa-host 12:51:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:51:03 provisioning config files... 12:51:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15141539688193076129tmp [Pipeline] { [Pipeline] echo 12:51:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:51:04 ---> create-netrc.sh [Pipeline] } 12:51:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:51:04 ---> python-tools-install.sh [Pipeline] echo 12:51:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:51:04 ---> sudo-logs.sh 12:51:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:51:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:51:05 ---> job-cost.sh 12:51:05 lf-activate-venv: SKIPPING 12:51:05 DEBUG: total: 0.2199999988079071 12:51:05 INFO: Retrieving Stack Cost... 12:51:05 INFO: Retrieving Pricing Info for: v3-standard-8 12:51:05 INFO: Archiving Costs [Pipeline] echo 12:51:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:51:06 ---> logs-deploy.sh 12:51:06 lf-activate-venv: SKIPPING 12:51:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/158 12:51:06 INFO: archiving workspace using pattern(s): 12:51:07 Archives upload complete. 12:51:07 INFO: archiving logs to Nexus