Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 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-ssh999456115715864783.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-ssh7310790168667583207.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-ssh16625641131497484005.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-ssh1956824649239884404.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-ssh12090920292842840573.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26448’ Running on prd-ubuntu20.04-docker-8c-8g-26452 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 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f (main) Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" > 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 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f # timeout=10 > git rev-list --no-walk fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:56:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:56:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:56:23 ========================================================= 08:56:23 EdgeX Global Pipelines Version Info 08:56:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:56:24 ------------------- 08:56:24 stable info: 08:56:24 ------------------- 08:56:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:56:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:56:24 Message: update stable to v1.0.258 08:56:24 ------------------- 08:56:24 experimental info: 08:56:24 ------------------- 08:56:24 Commited By: **** collab-it+edgex@linuxfoundation.org 08:56:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:56:24 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:56:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:56:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 365ac2a [Pipeline] echo 08:56:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:56:26 provisioning config files... 08:56:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5920364471525143687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:56:26 ---> ****-login.sh 08:56:26 nexus3.edgexfoundry.org:10001 08:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:27 Configure a credential helper to remove this warning. See 08:56:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:27 08:56:27 Login Succeeded 08:56:27 nexus3.edgexfoundry.org:10002 08:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:27 Configure a credential helper to remove this warning. See 08:56:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:27 08:56:27 Login Succeeded 08:56:27 nexus3.edgexfoundry.org:10003 08:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:27 Configure a credential helper to remove this warning. See 08:56:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:27 08:56:27 Login Succeeded 08:56:27 nexus3.edgexfoundry.org:10004 08:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:27 Configure a credential helper to remove this warning. See 08:56:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:27 08:56:27 Login Succeeded 08:56:27 ****.io 08:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:27 Configure a credential helper to remove this warning. See 08:56:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:27 08:56:27 Login Succeeded 08:56:27 ---> ****-login.sh ends [Pipeline] } 08:56:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:56:28 + git rev-list -1 --merges 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f~1..365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] echo 08:56:28 -----------> git rev-list -1 --merges 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f~1..365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 08:56:28 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [false] [Pipeline] sh 08:56:28 + git log --format=format:%s -1 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] echo 08:56:28 ========================================================= 08:56:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:56:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:56:29 + git log --format=format:%s -1 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] echo 08:56:29 [semverPrep] GIT_COMMIT: 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f, Commit Message: Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6 [Pipeline] echo 08:56:29 [semverPrep] This is not a build commit. [Pipeline] sh 08:56:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:56:29 + grep -v github /etc/ssh/ssh_known_hosts 08:56:29 + [ -e /tmp/ssh_known_hosts ] 08:56:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:56:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:56:29 + sudo tee -a /etc/ssh/ssh_known_hosts 08:56:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:56:29 08:56:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:56:30 0.1.4: Pulling from edgex-devops/py-git-semver 08:56:30 b85a868b505f: Pulling fs layer 08:56:30 e2be974225ed: Pulling fs layer 08:56:30 339a4e72a1f5: Pulling fs layer 08:56:30 988bab9f4d93: Pulling fs layer 08:56:30 1469e6f7b9e6: Pulling fs layer 08:56:30 eaf3925da568: Pulling fs layer 08:56:30 bab4dde63d76: Pulling fs layer 08:56:30 bde34c3a00c8: Pulling fs layer 08:56:30 b352a97aabf1: Pulling fs layer 08:56:30 4872d77fe225: Pulling fs layer 08:56:30 5851b861e8e6: Pulling fs layer 08:56:30 988bab9f4d93: Waiting 08:56:30 1469e6f7b9e6: Waiting 08:56:30 eaf3925da568: Waiting 08:56:30 bab4dde63d76: Waiting 08:56:30 4872d77fe225: Waiting 08:56:30 5851b861e8e6: Waiting 08:56:30 bde34c3a00c8: Waiting 08:56:30 e2be974225ed: Verifying Checksum 08:56:30 e2be974225ed: Download complete 08:56:30 988bab9f4d93: Download complete 08:56:30 1469e6f7b9e6: Verifying Checksum 08:56:30 1469e6f7b9e6: Download complete 08:56:30 339a4e72a1f5: Verifying Checksum 08:56:30 339a4e72a1f5: Download complete 08:56:30 eaf3925da568: Verifying Checksum 08:56:30 eaf3925da568: Download complete 08:56:30 bde34c3a00c8: Verifying Checksum 08:56:30 bde34c3a00c8: Download complete 08:56:30 b352a97aabf1: Download complete 08:56:30 4872d77fe225: Verifying Checksum 08:56:30 4872d77fe225: Download complete 08:56:30 5851b861e8e6: Download complete 08:56:30 b85a868b505f: Verifying Checksum 08:56:30 b85a868b505f: Download complete 08:56:30 bab4dde63d76: Verifying Checksum 08:56:30 bab4dde63d76: Download complete 08:56:31 b85a868b505f: Pull complete 08:56:32 e2be974225ed: Pull complete 08:56:32 339a4e72a1f5: Pull complete 08:56:32 988bab9f4d93: Pull complete 08:56:33 1469e6f7b9e6: Pull complete 08:56:33 eaf3925da568: Pull complete 08:56:35 bab4dde63d76: Pull complete 08:56:35 bde34c3a00c8: Pull complete 08:56:36 b352a97aabf1: Pull complete 08:56:36 4872d77fe225: Pull complete 08:56:36 5851b861e8e6: Pull complete 08:56:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:56:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:56:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:56:37 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 08:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:56:42 $ docker top 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 -eo pid,comm 08:56:42 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). 08:56:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:56:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:56:43 [ssh-agent] Looking for ssh-agent implementation... 08:56:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:56:43 $ docker exec 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 ssh-agent 08:56:43 SSH_AUTH_SOCK=/tmp/ssh-mPKotQxfV0sw/agent.32 08:56:43 SSH_AGENT_PID=38 08:56:43 Running ssh-add (command line suppressed) 08:56:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13315553820201083748.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13315553820201083748.key) 08:56:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:56:43 + git tag --points-at HEAD [Pipeline] } 08:56:43 $ docker exec --env ******** --env ******** 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 ssh-agent -k 08:56:44 unset SSH_AUTH_SOCK; 08:56:44 unset SSH_AGENT_PID; 08:56:44 echo Agent pid 38 killed; 08:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:56:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:56:44 [ssh-agent] Looking for ssh-agent implementation... 08:56:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:56:44 $ docker exec 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 ssh-agent 08:56:44 SSH_AUTH_SOCK=/tmp/ssh-35WWNGbSGwSQ/agent.70 08:56:44 SSH_AGENT_PID=76 08:56:44 Running ssh-add (command line suppressed) 08:56:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3189179443167154034.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3189179443167154034.key) 08:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:56:44 + git semver init 08:56:45 2023-12-30 08:56:44,967 [run_init] DEBUG init version:0.0.0 force:False 08:56:45 2023-12-30 08:56:44,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 08:56:45 2023-12-30 08:56:44,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 08:56:45 2023-12-30 08:56:44,968 [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) 08:56:46 2023-12-30 08:56:46,500 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 08:56:46 2023-12-30 08:56:46,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 08:56:46 2023-12-30 08:56:46,501 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:56:46 2023-12-30 08:56:46,501 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:56:46 3.2.0-dev.5 [Pipeline] } 08:56:46 $ docker exec --env ******** --env ******** 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 ssh-agent -k 08:56:47 unset SSH_AUTH_SOCK; 08:56:47 unset SSH_AGENT_PID; 08:56:47 echo Agent pid 76 killed; 08:56:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:56:47 + git semver [Pipeline] } 08:56:47 $ docker stop --time=1 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 08:56:49 $ docker rm -f --volumes 0931badbb15db203f32afb04ee07711236b076c9ce90a4204d2672c04ab47f88 [Pipeline] // withDockerContainer [Pipeline] sh 08:56:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:56:49 Stashed 1 file(s) [Pipeline] echo 08:56:49 [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [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 08:56:50 provisioning config files... 08:56:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7933658044760892889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:56:50 ---> ****-login.sh 08:56:50 nexus3.edgexfoundry.org:10001 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 nexus3.edgexfoundry.org:10002 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 nexus3.edgexfoundry.org:10003 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 nexus3.edgexfoundry.org:10004 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 ****.io 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:51 Configure a credential helper to remove this warning. See 08:56:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:51 08:56:51 Login Succeeded 08:56:51 ---> ****-login.sh ends [Pipeline] } 08:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:56:51 ========================================================= 08:56:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:56:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:51 + 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 . 08:56:51 Sending build context to Docker daemon 31.58MB 08:56:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:56:51 Step 2/12 : FROM ${BASE} AS builder 08:56:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:56:51 7264a8db6415: Pulling fs layer 08:56:51 c4d48a809fc2: Pulling fs layer 08:56:51 4f1c88b9dad5: Pulling fs layer 08:56:51 ad3a456e5733: Pulling fs layer 08:56:51 69c7f0334f64: Pulling fs layer 08:56:51 1f1c1a5573a3: Pulling fs layer 08:56:51 ce7588e14bc9: Pulling fs layer 08:56:51 b5e4710f87ac: Pulling fs layer 08:56:51 ad3a456e5733: Waiting 08:56:51 69c7f0334f64: Waiting 08:56:51 1f1c1a5573a3: Waiting 08:56:51 ce7588e14bc9: Waiting 08:56:51 b5e4710f87ac: Waiting 08:56:51 c4d48a809fc2: Verifying Checksum 08:56:51 c4d48a809fc2: Download complete 08:56:51 ad3a456e5733: Verifying Checksum 08:56:51 ad3a456e5733: Download complete 08:56:51 69c7f0334f64: Verifying Checksum 08:56:51 69c7f0334f64: Download complete 08:56:51 7264a8db6415: Verifying Checksum 08:56:51 7264a8db6415: Download complete 08:56:51 1f1c1a5573a3: Verifying Checksum 08:56:51 1f1c1a5573a3: Download complete 08:56:52 7264a8db6415: Pull complete 08:56:52 b5e4710f87ac: Verifying Checksum 08:56:52 b5e4710f87ac: Download complete 08:56:52 c4d48a809fc2: Pull complete 08:56:52 4f1c88b9dad5: Verifying Checksum 08:56:52 4f1c88b9dad5: Download complete 08:56:52 ce7588e14bc9: Verifying Checksum 08:56:52 ce7588e14bc9: Download complete 08:56:56 4f1c88b9dad5: Pull complete 08:56:56 ad3a456e5733: Pull complete 08:56:56 69c7f0334f64: Pull complete 08:56:56 1f1c1a5573a3: Pull complete 08:56:58 ce7588e14bc9: Pull complete 08:56:59 b5e4710f87ac: Pull complete 08:56:59 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 08:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:56:59 ---> 88b5674ff536 08:56:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:57:04 ---> Running in 45ed5471e8df 08:57:04 Removing intermediate container 45ed5471e8df 08:57:04 ---> af7911e245a6 08:57:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:57:04 ---> Running in 75bb8118efd6 08:57:04 Removing intermediate container 75bb8118efd6 08:57:04 ---> 04b2192c8d05 08:57:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:57:04 ---> Running in 0b69c1b8b874 08:57:04 Still waiting to schedule task 08:57:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26450’ 08:57:05 Removing intermediate container 0b69c1b8b874 08:57:05 ---> 5b675bf1a1d4 08:57:05 Step 6/12 : WORKDIR /device-virtual-go 08:57:05 ---> Running in 4b07870ab00e 08:57:05 Removing intermediate container 4b07870ab00e 08:57:05 ---> b9414724db56 08:57:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:05 ---> Running in 29be9766ea25 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:57:05 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:57:05 (2/4) Installing libedit (20221030.3.1-r1) 08:57:05 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:57:05 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:57:05 Executing busybox-1.36.1-r5.trigger 08:57:05 OK: 268 MiB in 56 packages 08:57:06 Removing intermediate container 29be9766ea25 08:57:06 ---> 9dd32c27f502 08:57:06 Step 8/12 : COPY go.mod vendor* ./ 08:57:06 ---> fc6cbd5ac56c 08:57:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:57:06 ---> Running in 592995a074a4 08:57:53 Removing intermediate container 592995a074a4 08:57:53 ---> 807bc9a11bbd 08:57:53 Step 10/12 : COPY . . 08:57:53 ---> 1a6322ccaf2e 08:57:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:57:53 ---> Running in d440712d81b6 08:57:53 Removing intermediate container d440712d81b6 08:57:53 ---> 28b88bb9ec67 08:57:53 Step 12/12 : RUN $MAKE 08:57:53 ---> Running in 5511701296c6 08:57:53 noop 08:57:53 Removing intermediate container 5511701296c6 08:57:53 ---> c602174b9bff 08:57:53 Successfully built c602174b9bff 08:57:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:53 + docker inspect -f . ci-base-image-x86_64 08:57:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:53 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 08:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:57:53 $ docker top 5b579402274f44286e62970b627a4ca44562374c85b26347eb18a0f587d876b3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:54 + go version 08:57:54 go version go1.21.0 linux/amd64 [Pipeline] } 08:57:54 $ docker stop --time=1 5b579402274f44286e62970b627a4ca44562374c85b26347eb18a0f587d876b3 08:57:55 $ docker rm -f --volumes 5b579402274f44286e62970b627a4ca44562374c85b26347eb18a0f587d876b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:56 + docker inspect -f . ci-base-image-x86_64 08:57:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:56 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 08:57:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:57:56 $ docker top f78f07f24fc97d41ed238866732c470a8c11ac8919d15449d03de60341b43485 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:57 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 08:57:57 + make test 08:57:57 go test ./... -coverprofile=coverage.out 08:57:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:58:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:58:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 08:58:17 go vet ./... 08:58:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:58:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:58:21 ./bin/test-attribution-txt.sh [Pipeline] echo 08:58:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:58:21 $ docker stop --time=1 f78f07f24fc97d41ed238866732c470a8c11ac8919d15449d03de60341b43485 08:58:25 $ docker rm -f --volumes f78f07f24fc97d41ed238866732c470a8c11ac8919d15449d03de60341b43485 [Pipeline] // withDockerContainer [Pipeline] sh 08:58:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:58:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:58:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:58:27 + ls -al . 08:58:27 total 200 08:58:27 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:57 . 08:58:27 drwxrwxr-x 4 jenkins jenkins 4096 Dec 30 08:56 .. 08:58:27 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:58 .git 08:58:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:56 .github 08:58:27 -rw-rw-r-- 1 jenkins jenkins 272 Dec 30 08:56 .gitignore 08:58:27 -rw-rw-r-- 1 jenkins jenkins 41 Dec 30 08:56 .golangci.yml 08:58:27 drwxr-xr-x 3 jenkins jenkins 4096 Dec 30 08:56 .semver 08:58:27 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 30 08:56 Attribution.txt 08:58:27 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 30 08:56 CHANGELOG.md 08:58:27 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 30 08:56 Dockerfile 08:58:27 -rw-rw-r-- 1 jenkins jenkins 677 Dec 30 08:56 GOVERNANCE.md 08:58:27 -rw-rw-r-- 1 jenkins jenkins 660 Dec 30 08:56 Jenkinsfile 08:58:27 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 30 08:56 LICENSE 08:58:27 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 30 08:56 Makefile 08:58:27 -rw-rw-r-- 1 jenkins jenkins 623 Dec 30 08:56 OWNERS.md 08:58:27 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 30 08:56 README.md 08:58:27 -rw-rw-r-- 1 jenkins jenkins 11 Dec 30 08:56 VERSION 08:58:27 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:56 bin 08:58:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:56 cmd 08:58:27 -rw-r--r-- 1 jenkins jenkins 43063 Dec 30 08:58 coverage.out 08:58:27 -rw-rw-r-- 1 jenkins jenkins 3634 Dec 30 08:56 go.mod 08:58:27 -rw-rw-r-- 1 jenkins jenkins 33991 Dec 30 08:56 go.sum 08:58:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:56 internal 08:58:27 -rw-rw-r-- 1 jenkins jenkins 235 Dec 30 08:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:27 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=365ac2a07f0ac486dbd6b6e6acfd23c5b078805f --label arch=amd64 --label version=3.2.0-dev.5 . 08:58:27 Sending build context to Docker daemon 31.63MB 08:58:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:58:27 Step 2/26 : FROM ${BASE} AS builder 08:58:27 ---> c602174b9bff 08:58:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:58:28 ---> Running in 6daab6f72ab8 08:58:28 Removing intermediate container 6daab6f72ab8 08:58:28 ---> 839c651f6a63 08:58:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:58:28 ---> Running in b0094d1d6225 08:58:28 Removing intermediate container b0094d1d6225 08:58:28 ---> 38340ec43f4e 08:58:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:58:28 ---> Running in a9ab75b13a3b 08:58:28 Removing intermediate container a9ab75b13a3b 08:58:28 ---> 36e8360db530 08:58:28 Step 6/26 : WORKDIR /device-virtual-go 08:58:28 ---> Running in c8f387383f64 08:58:28 Removing intermediate container c8f387383f64 08:58:28 ---> 5b8ca467c934 08:58:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:58:28 ---> Running in 62f5242e6f2b 08:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:58:29 OK: 268 MiB in 56 packages 08:58:29 Removing intermediate container 62f5242e6f2b 08:58:29 ---> 8d8c8ce32077 08:58:29 Step 8/26 : COPY go.mod vendor* ./ 08:58:29 ---> 13ad5d8b3141 08:58:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:58:29 ---> Running in 70da21f83116 08:58:30 Removing intermediate container 70da21f83116 08:58:30 ---> 5b051b9085ce 08:58:30 Step 10/26 : COPY . . 08:58:31 ---> b57e1b46bd16 08:58:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:58:31 ---> Running in 2d2156f51925 08:58:31 Removing intermediate container 2d2156f51925 08:58:31 ---> c08287a14525 08:58:31 Step 12/26 : RUN $MAKE 08:58:31 ---> Running in ddf7612df4a7 08:58:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:58:53 Removing intermediate container ddf7612df4a7 08:58:53 ---> 1ae3ab3fed47 08:58:53 Step 13/26 : FROM alpine:3.18 08:58:53 3.18: Pulling from library/alpine 08:58:53 c926b61bad3b: Pulling fs layer 08:58:53 c926b61bad3b: Verifying Checksum 08:58:53 c926b61bad3b: Download complete 08:58:53 c926b61bad3b: Pull complete 08:58:53 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 08:58:53 Status: Downloaded newer image for alpine:3.18 08:58:53 ---> b541f2080109 08:58:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:58:53 ---> Running in 54313c2d5e41 08:58:53 Removing intermediate container 54313c2d5e41 08:58:53 ---> a7953c57b154 08:58:53 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:58:53 ---> Running in a62b56a9c621 08:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:58:53 (1/1) Installing dumb-init (1.2.5-r2) 08:58:53 Executing busybox-1.36.1-r5.trigger 08:58:53 OK: 7 MiB in 16 packages 08:58:53 Removing intermediate container a62b56a9c621 08:58:53 ---> 14211a2bb191 08:58:53 Step 16/26 : RUN apk --no-cache upgrade 08:58:53 ---> Running in 1c1e0914d837 08:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:58:53 OK: 7 MiB in 16 packages 08:58:53 Removing intermediate container 1c1e0914d837 08:58:53 ---> 75db53db72db 08:58:53 Step 17/26 : WORKDIR / 08:58:53 ---> Running in 8736ee4999ef 08:58:54 Removing intermediate container 8736ee4999ef 08:58:54 ---> c4e96889b490 08:58:54 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:58:54 ---> 71e02e58080c 08:58:54 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:58:54 ---> c42e66cea9d9 08:58:54 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:58:55 ---> 02221a1cf353 08:58:55 Step 21/26 : EXPOSE 59900 08:58:55 ---> Running in 4cb23e3cef27 08:58:55 Removing intermediate container 4cb23e3cef27 08:58:55 ---> 66e5ab046cd4 08:58:55 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:58:55 ---> Running in 4e510bd2a153 08:58:55 Removing intermediate container 4e510bd2a153 08:58:55 ---> c147b184a36d 08:58:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:58:55 ---> Running in 796e20f2ae0d 08:58:55 Removing intermediate container 796e20f2ae0d 08:58:55 ---> ae9c546bd14a 08:58:55 Step 24/26 : LABEL arch=amd64 08:58:55 ---> Running in 54e285b7ef12 08:58:55 Removing intermediate container 54e285b7ef12 08:58:55 ---> a67c09e7996a 08:58:55 Step 25/26 : LABEL git_sha=365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 08:58:55 ---> Running in 16b877ab8055 08:58:55 Removing intermediate container 16b877ab8055 08:58:55 ---> 85a1f731ee3f 08:58:55 Step 26/26 : LABEL version=3.2.0-dev.5 08:58:55 ---> Running in cecace5a4429 08:58:55 Removing intermediate container cecace5a4429 08:58:55 ---> 7667e0c24c9b 08:58:55 [Warning] One or more build-args [ARCH] were not consumed 08:58:55 Successfully built 7667e0c24c9b 08:58:55 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:58:55 provisioning config files... 08:58:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11623836828635206119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:58:56 ---> ****-login.sh 08:58:56 nexus3.edgexfoundry.org:10001 08:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:56 Configure a credential helper to remove this warning. See 08:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:56 08:58:56 Login Succeeded 08:58:56 nexus3.edgexfoundry.org:10002 08:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:56 Configure a credential helper to remove this warning. See 08:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:56 08:58:56 Login Succeeded 08:58:56 nexus3.edgexfoundry.org:10003 08:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:56 Configure a credential helper to remove this warning. See 08:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:56 08:58:56 Login Succeeded 08:58:56 nexus3.edgexfoundry.org:10004 08:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:56 Configure a credential helper to remove this warning. See 08:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:56 08:58:56 Login Succeeded 08:58:56 ****.io 08:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:58:56 Configure a credential helper to remove this warning. See 08:58:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:58:56 08:58:56 Login Succeeded 08:58:56 ---> ****-login.sh ends [Pipeline] } 08:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:58:56 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:58:56 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 08:58:56 latest 08:58:56 3.2.0-dev.5 08:58:56 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 08:58:56 main 08:58:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 08:58:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:58:57 5d4c0071e5e8: Preparing 08:58:57 de630d51203d: Preparing 08:58:57 f28c48298675: Preparing 08:58:57 662da174c7bc: Preparing 08:58:57 9446d4a0bf62: Preparing 08:58:57 9fe9a137fd00: Preparing 08:58:57 9fe9a137fd00: Waiting 08:58:57 9446d4a0bf62: Pushed 08:58:57 662da174c7bc: Pushed 08:58:57 de630d51203d: Pushed 08:58:57 f28c48298675: Pushed 08:58:57 9fe9a137fd00: Layer already exists 08:58:59 5d4c0071e5e8: Pushed 08:59:00 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f: digest: sha256:2a374b6d39620fa1b0abd9aa399f44e995de295685c095116e258dda51dccd34 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:00 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:59:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:59:00 5d4c0071e5e8: Preparing 08:59:00 de630d51203d: Preparing 08:59:00 f28c48298675: Preparing 08:59:00 662da174c7bc: Preparing 08:59:00 9446d4a0bf62: Preparing 08:59:00 9fe9a137fd00: Preparing 08:59:00 9fe9a137fd00: Waiting 08:59:00 662da174c7bc: Layer already exists 08:59:00 f28c48298675: Layer already exists 08:59:00 5d4c0071e5e8: Layer already exists 08:59:00 9446d4a0bf62: Layer already exists 08:59:00 de630d51203d: Layer already exists 08:59:00 9fe9a137fd00: Layer already exists 08:59:00 latest: digest: sha256:2a374b6d39620fa1b0abd9aa399f44e995de295685c095116e258dda51dccd34 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:01 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.5 08:59:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:59:01 5d4c0071e5e8: Preparing 08:59:01 de630d51203d: Preparing 08:59:01 f28c48298675: Preparing 08:59:01 662da174c7bc: Preparing 08:59:01 9446d4a0bf62: Preparing 08:59:01 9fe9a137fd00: Preparing 08:59:01 9fe9a137fd00: Waiting 08:59:01 f28c48298675: Layer already exists 08:59:01 9446d4a0bf62: Layer already exists 08:59:01 5d4c0071e5e8: Layer already exists 08:59:01 de630d51203d: Layer already exists 08:59:01 662da174c7bc: Layer already exists 08:59:01 9fe9a137fd00: Layer already exists 08:59:01 3.2.0-dev.5: digest: sha256:2a374b6d39620fa1b0abd9aa399f44e995de295685c095116e258dda51dccd34 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 08:59:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:59:02 5d4c0071e5e8: Preparing 08:59:02 de630d51203d: Preparing 08:59:02 f28c48298675: Preparing 08:59:02 662da174c7bc: Preparing 08:59:02 9446d4a0bf62: Preparing 08:59:02 9fe9a137fd00: Preparing 08:59:02 9fe9a137fd00: Waiting 08:59:02 5d4c0071e5e8: Layer already exists 08:59:02 662da174c7bc: Layer already exists 08:59:02 f28c48298675: Layer already exists 08:59:02 9446d4a0bf62: Layer already exists 08:59:02 de630d51203d: Layer already exists 08:59:02 9fe9a137fd00: Layer already exists 08:59:02 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5: digest: sha256:2a374b6d39620fa1b0abd9aa399f44e995de295685c095116e258dda51dccd34 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 08:59:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:59:03 5d4c0071e5e8: Preparing 08:59:03 de630d51203d: Preparing 08:59:03 f28c48298675: Preparing 08:59:03 662da174c7bc: Preparing 08:59:03 9446d4a0bf62: Preparing 08:59:03 9fe9a137fd00: Preparing 08:59:03 9fe9a137fd00: Waiting 08:59:03 de630d51203d: Layer already exists 08:59:03 5d4c0071e5e8: Layer already exists 08:59:03 9446d4a0bf62: Layer already exists 08:59:03 f28c48298675: Layer already exists 08:59:03 662da174c7bc: Layer already exists 08:59:03 9fe9a137fd00: Layer already exists 08:59:03 main: digest: sha256:2a374b6d39620fa1b0abd9aa399f44e995de295685c095116e258dda51dccd34 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:59:03 ===================================================== [Pipeline] echo 08:59:03 taggedImages: 08:59:03 - nexus3.edgexfoundry.org:10004/device-virtual:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 08:59:03 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:59:03 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.5 08:59:03 - nexus3.edgexfoundry.org:10004/device-virtual:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 08:59:03 - 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 08:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:04 08:59:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:05 latest: Pulling from edgex-lftools-log-publisher 08:59:05 5eb5b503b376: Pulling fs layer 08:59:05 5c69ac0246d0: Pulling fs layer 08:59:05 ec43610c2a17: Pulling fs layer 08:59:05 3a2ae6a8a46f: Pulling fs layer 08:59:05 33b1e0a273af: Pulling fs layer 08:59:05 5d3b04190fa2: Pulling fs layer 08:59:05 2f39f015ded8: Pulling fs layer 08:59:05 3a2ae6a8a46f: Waiting 08:59:05 33b1e0a273af: Waiting 08:59:05 5d3b04190fa2: Waiting 08:59:05 5c69ac0246d0: Verifying Checksum 08:59:05 5c69ac0246d0: Download complete 08:59:05 3a2ae6a8a46f: Verifying Checksum 08:59:05 3a2ae6a8a46f: Download complete 08:59:05 33b1e0a273af: Verifying Checksum 08:59:05 33b1e0a273af: Download complete 08:59:05 5d3b04190fa2: Download complete 08:59:05 ec43610c2a17: Verifying Checksum 08:59:05 ec43610c2a17: Download complete 08:59:05 5eb5b503b376: Verifying Checksum 08:59:05 5eb5b503b376: Download complete 08:59:06 2f39f015ded8: Download complete 08:59:06 5eb5b503b376: Pull complete 08:59:06 5c69ac0246d0: Pull complete 08:59:07 ec43610c2a17: Pull complete 08:59:07 3a2ae6a8a46f: Pull complete 08:59:07 33b1e0a273af: Pull complete 08:59:07 5d3b04190fa2: Pull complete 08:59:11 2f39f015ded8: Pull complete 08:59:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:59:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:12 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 08:59:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:59:16 $ docker top e1c9a4cdc1b2b2b0d612d6e695c58390f7c19ee7bb1d5a7f8ee45b1ef71a6c0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:17 ---> job-cost.sh 08:59:17 lf-activate-venv: SKIPPING 08:59:17 INFO: No Stack... 08:59:17 INFO: Retrieving Pricing Info for: v3-standard-8 08:59:17 INFO: Archiving Costs [Pipeline] sh 08:59:17 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 08:59:17 + cut -d, -f6 [Pipeline] lock 08:59:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] 08:59:18 Resource [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] did not exist. Created. 08:59:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:59:18 + echo total: 0.2199999988079071 [Pipeline] stash 08:59:18 Stashed 1 file(s) [Pipeline] } 08:59:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 08:59:18 $ docker stop --time=1 e1c9a4cdc1b2b2b0d612d6e695c58390f7c19ee7bb1d5a7f8ee45b1ef71a6c0e 08:59:19 $ docker rm -f --volumes e1c9a4cdc1b2b2b0d612d6e695c58390f7c19ee7bb1d5a7f8ee45b1ef71a6c0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:59:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26455 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:59:24 Running in /w/workspace/device-virtual-go/161 [Pipeline] { [Pipeline] checkout 08:59:24 The recommended git tool is: git 08:59:36 using credential edgex-jenkins-ssh 08:59:36 Cloning the remote Git repository 08:59:36 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:59:36 > git init /w/workspace/device-virtual-go/161 # timeout=10 08:59:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:59:36 > git --version # timeout=10 08:59:36 > git --version # 'git version 2.25.1' 08:59:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:59:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:40 Avoid second fetch 08:59:40 Checking out Revision 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f (main) 08:59:40 Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 08:59:40 > git config core.sparsecheckout # timeout=10 08:59:40 > git checkout -f 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:59:42 % Total % Received % Xferd Average Speed Time Time Time Current 08:59:42 Dload Upload Total Spent Left Speed 08:59:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 08:59:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:59:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:59:42 + sudo tee /etc/docker/daemon.new 08:59:42 { 08:59:42 "registry-mirrors": [ 08:59:42 "https://nexus3.edgexfoundry.org:10001" 08:59:42 ], 08:59:42 "bip": "10.250.0.254/24", 08:59:42 "hosts": [ 08:59:42 "tcp://0.0.0.0:5555", 08:59:42 "unix:///var/run/docker.sock" 08:59:42 ], 08:59:42 "mtu": 1458, 08:59:42 "selinux-enabled": true, 08:59:42 "seccomp-profile": "/etc/docker/seccomp.json" 08:59:42 } [Pipeline] sh 08:59:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:59:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:00:01 provisioning config files... 09:00:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/161@tmp/config12912353781859171512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:02 ---> ****-login.sh 09:00:02 nexus3.edgexfoundry.org:10001 09:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:00:02 Configure a credential helper to remove this warning. See 09:00:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:00:02 09:00:02 Login Succeeded 09:00:02 nexus3.edgexfoundry.org:10002 09:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:00:03 Configure a credential helper to remove this warning. See 09:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:00:03 09:00:03 Login Succeeded 09:00:03 nexus3.edgexfoundry.org:10003 09:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:00:03 Configure a credential helper to remove this warning. See 09:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:00:03 09:00:03 Login Succeeded 09:00:03 nexus3.edgexfoundry.org:10004 09:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:00:03 Configure a credential helper to remove this warning. See 09:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:00:03 09:00:03 Login Succeeded 09:00:03 ****.io 09:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:00:05 Configure a credential helper to remove this warning. See 09:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:00:05 09:00:05 Login Succeeded 09:00:05 ---> ****-login.sh ends [Pipeline] } 09:00:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:00:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:00:06 ========================================================= 09:00:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:00:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:06 + 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 . 09:00:08 #0 building with "default" instance using docker driver 09:00:08 09:00:08 #1 [internal] load .dockerignore 09:00:08 #1 transferring context: 2B done 09:00:08 #1 DONE 0.1s 09:00:08 09:00:08 #2 [internal] load build definition from Dockerfile 09:00:08 #2 transferring dockerfile: 1.79kB done 09:00:08 #2 DONE 0.1s 09:00:08 09:00:08 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:00:08 #3 DONE 0.1s 09:00:08 09:00:08 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:00:08 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 09:00:08 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 09:00:08 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.11MB / 63.99MB 0.2s 09:00:08 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 09:00:08 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 09:00:08 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 315.39kB / 3.33MB 0.1s 09:00:08 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 09:00:08 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.62MB / 63.99MB 0.3s 09:00:08 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 09:00:08 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 09:00:08 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 09:00:08 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 09:00:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 09:00:08 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 09:00:08 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.5s 09:00:08 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 09:00:08 #4 ... 09:00:08 09:00:08 #5 [internal] load build context 09:00:08 #5 transferring context: 15.81MB 0.6s done 09:00:08 #5 DONE 0.7s 09:00:08 09:00:08 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:00:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.6s 09:00:08 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.7s 09:00:08 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 09:00:08 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.7s 09:00:08 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.9s 09:00:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.20MB / 97.63MB 0.8s 09:00:08 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.8s done 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.41MB / 63.99MB 1.0s 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 1.0s 09:00:09 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 1.2s 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.91MB / 97.63MB 1.2s 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.3s 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.3s 09:00:09 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.14MB / 63.99MB 1.4s 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.5s 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.7s 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.57MB / 97.63MB 1.7s 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.63MB / 97.63MB 1.8s 09:00:09 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.9s done 09:00:09 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 09:00:09 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.30MB / 97.63MB 2.0s 09:00:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.55MB / 97.63MB 2.1s 09:00:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.3s 09:00:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.12MB / 97.63MB 2.5s 09:00:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 09:00:15 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 09:00:20 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 09:00:29 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.7s done 09:00:29 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 09:00:29 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 09:00:29 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 09:00:34 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 09:00:38 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.3s done 09:00:38 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 09:00:40 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 09:00:41 #4 DONE 33.1s 09:00:41 09:00:41 #6 [builder 2/7] WORKDIR /device-virtual-go 09:00:43 #6 DONE 1.7s 09:00:43 09:00:43 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 09:00:43 #7 0.725 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:00:43 #7 1.112 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:00:44 #7 2.210 (1/4) Installing openssh-keygen (9.3_p2-r1) 09:00:45 #7 2.231 (2/4) Installing libedit (20221030.3.1-r1) 09:00:45 #7 2.243 (3/4) Installing openssh-client-common (9.3_p2-r1) 09:00:45 #7 2.307 (4/4) Installing openssh-client-default (9.3_p2-r1) 09:00:45 #7 2.333 Executing busybox-1.36.1-r5.trigger 09:00:45 #7 2.372 OK: 271 MiB in 56 packages 09:00:45 #7 DONE 2.7s 09:00:45 09:00:45 #8 [builder 4/7] COPY go.mod vendor* ./ 09:00:45 #8 DONE 0.2s 09:00:45 09:00:45 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:01:12 #9 DONE 23.0s 09:01:12 09:01:12 #10 [builder 6/7] COPY . . 09:01:12 #10 DONE 0.4s 09:01:12 09:01:12 #11 [builder 7/7] RUN echo noop 09:01:12 #11 0.701 noop 09:01:12 #11 DONE 0.8s 09:01:12 09:01:12 #12 exporting to image 09:01:12 #12 exporting layers 09:01:34 #12 exporting layers 24.0s done 09:01:34 #12 writing image sha256:84657ac7aadf94593792cf096c3c9931c7ef99de67b0efd66d41223646bd3c54 done 09:01:34 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 09:01:34 #12 DONE 24.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:35 + docker inspect -f . ci-base-image-arm64 09:01:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:35 prd-ubuntu20.04-docker-arm64-4c-16g-26455 does not seem to be running inside a container 09:01:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/161 -v /w/workspace/device-virtual-go/161:/w/workspace/device-virtual-go/161:rw,z -v /w/workspace/device-virtual-go/161@tmp:/w/workspace/device-virtual-go/161@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 09:01:36 $ docker top a5208fddbf2c3447c4d30d7efdc82c1e0abdeaa9ecc38ae03a5d3e4fbc166854 -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:37 + go version 09:01:37 go version go1.21.0 linux/arm64 [Pipeline] } 09:01:37 $ docker stop --time=1 a5208fddbf2c3447c4d30d7efdc82c1e0abdeaa9ecc38ae03a5d3e4fbc166854 09:01:39 $ docker rm -f --volumes a5208fddbf2c3447c4d30d7efdc82c1e0abdeaa9ecc38ae03a5d3e4fbc166854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:40 + docker inspect -f . ci-base-image-arm64 09:01:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-26455 does not seem to be running inside a container 09:01:40 $ 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/161 -v /w/workspace/device-virtual-go/161:/w/workspace/device-virtual-go/161:rw,z -v /w/workspace/device-virtual-go/161@tmp:/w/workspace/device-virtual-go/161@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 09:01:41 $ docker top 07fd765ae0afa988b25ff1109d33bc69244acbfacdf549d5a40d17d63467dee5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:42 + git config --global --add safe.directory /w/workspace/device-virtual-go/161 [Pipeline] fileExists [Pipeline] sh 09:01:42 + make test 09:01:42 go test ./... -coverprofile=coverage.out 09:01:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:02:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:02:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements 09:02:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:02:48 go vet ./... 09:03:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:06 ./bin/test-attribution-txt.sh [Pipeline] echo 09:03:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:03:06 $ docker stop --time=1 07fd765ae0afa988b25ff1109d33bc69244acbfacdf549d5a40d17d63467dee5 09:03:08 $ docker rm -f --volumes 07fd765ae0afa988b25ff1109d33bc69244acbfacdf549d5a40d17d63467dee5 [Pipeline] // withDockerContainer [Pipeline] sh 09:03:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:10 Warning: overwriting stash ‘coverage-report’ 09:03:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:11 + ls -al . 09:03:11 total 196 09:03:11 drwxrwxr-x 7 jenkins jenkins 4096 Dec 30 09:01 . 09:03:11 drwxrwxr-x 4 jenkins jenkins 4096 Dec 30 08:59 .. 09:03:11 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:59 .git 09:03:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:59 .github 09:03:11 -rw-rw-r-- 1 jenkins jenkins 272 Dec 30 08:59 .gitignore 09:03:11 -rw-rw-r-- 1 jenkins jenkins 41 Dec 30 08:59 .golangci.yml 09:03:11 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 30 08:59 Attribution.txt 09:03:11 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 30 08:59 CHANGELOG.md 09:03:11 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 30 08:59 Dockerfile 09:03:11 -rw-rw-r-- 1 jenkins jenkins 677 Dec 30 08:59 GOVERNANCE.md 09:03:11 -rw-rw-r-- 1 jenkins jenkins 660 Dec 30 08:59 Jenkinsfile 09:03:11 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 30 08:59 LICENSE 09:03:11 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 30 08:59 Makefile 09:03:11 -rw-rw-r-- 1 jenkins jenkins 623 Dec 30 08:59 OWNERS.md 09:03:11 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 30 08:59 README.md 09:03:11 -rw-rw-r-- 1 jenkins jenkins 11 Dec 30 08:56 VERSION 09:03:11 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:59 bin 09:03:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:59 cmd 09:03:11 -rw-r--r-- 1 jenkins jenkins 43063 Dec 30 09:02 coverage.out 09:03:11 -rw-rw-r-- 1 jenkins jenkins 3634 Dec 30 08:59 go.mod 09:03:11 -rw-rw-r-- 1 jenkins jenkins 33991 Dec 30 08:59 go.sum 09:03:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:59 internal 09:03:11 -rw-rw-r-- 1 jenkins jenkins 235 Dec 30 08:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:12 + 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=365ac2a07f0ac486dbd6b6e6acfd23c5b078805f --label arch=arm64 --label version=3.2.0-dev.5 . 09:03:13 #0 building with "default" instance using docker driver 09:03:13 09:03:13 #1 [internal] load .dockerignore 09:03:13 #1 transferring context: 2B 0.0s done 09:03:13 #1 DONE 0.0s 09:03:13 09:03:13 #2 [internal] load build definition from Dockerfile 09:03:13 #2 transferring dockerfile: 1.79kB 0.0s done 09:03:13 #2 DONE 0.0s 09:03:13 09:03:13 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 09:03:13 #3 DONE 0.0s 09:03:13 09:03:13 #4 [internal] load metadata for docker.io/library/alpine:3.18 09:03:13 #4 DONE 0.3s 09:03:13 09:03:13 #5 [internal] load build context 09:03:13 #5 transferring context: 49.91kB 0.0s done 09:03:13 #5 DONE 0.1s 09:03:13 09:03:13 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:03:13 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 09:03:13 #6 ... 09:03:13 09:03:13 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 09:03:13 #7 DONE 0.3s 09:03:13 09:03:13 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:03:13 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 09:03:13 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 09:03:13 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 09:03:13 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 09:03:13 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 09:03:13 #6 ... 09:03:13 09:03:13 #8 [builder 2/7] WORKDIR /device-virtual-go 09:03:13 #8 DONE 0.1s 09:03:13 09:03:13 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:03:13 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 09:03:14 #6 DONE 1.0s 09:03:14 09:03:14 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 09:03:15 #9 0.711 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:03:15 #9 1.058 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:03:16 #9 ... 09:03:16 09:03:16 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 09:03:16 #10 0.755 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:03:16 #10 1.148 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:03:16 #10 2.286 OK: 271 MiB in 56 packages 09:03:16 #10 DONE 2.6s 09:03:16 09:03:16 #11 [builder 4/7] COPY go.mod vendor* ./ 09:03:16 #11 DONE 0.2s 09:03:16 09:03:16 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:16 #12 ... 09:03:16 09:03:16 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 09:03:16 #9 2.271 (1/1) Installing dumb-init (1.2.5-r2) 09:03:16 #9 2.285 Executing busybox-1.36.1-r5.trigger 09:03:16 #9 2.315 OK: 8 MiB in 16 packages 09:03:16 #9 DONE 2.7s 09:03:17 09:03:17 #13 [stage-1 3/7] RUN apk --no-cache upgrade 09:03:17 #13 0.871 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:03:18 #13 1.257 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:03:18 #13 ... 09:03:18 09:03:18 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:18 #12 DONE 1.9s 09:03:18 09:03:18 #14 [builder 6/7] COPY . . 09:03:18 #14 DONE 0.5s 09:03:18 09:03:18 #13 [stage-1 3/7] RUN apk --no-cache upgrade 09:03:19 #13 2.520 OK: 8 MiB in 16 packages 09:03:19 #13 DONE 2.8s 09:03:19 09:03:19 #15 [builder 7/7] RUN make build 09:03:19 #15 0.724 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 09:04:41 #15 DONE 80.2s 09:04:41 09:04:41 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 09:04:41 #16 DONE 0.4s 09:04:41 09:04:41 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 09:04:41 #17 DONE 0.1s 09:04:41 09:04:41 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 09:04:41 #18 DONE 0.4s 09:04:41 09:04:41 #19 exporting to image 09:04:41 #19 exporting layers 09:04:41 #19 exporting layers 0.3s done 09:04:41 #19 writing image sha256:44bf9a83f10d42e81d870daa42941c23166523bc95251f810ac824ca98b7a54b done 09:04:41 #19 naming to docker.io/library/device-virtual-arm64 done 09:04:41 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:41 provisioning config files... 09:04:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/161@tmp/config7139279713479778695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:42 ---> ****-login.sh 09:04:42 nexus3.edgexfoundry.org:10001 09:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:42 Configure a credential helper to remove this warning. See 09:04:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:42 09:04:42 Login Succeeded 09:04:42 nexus3.edgexfoundry.org:10002 09:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:42 Configure a credential helper to remove this warning. See 09:04:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:42 09:04:42 Login Succeeded 09:04:42 nexus3.edgexfoundry.org:10003 09:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:43 Configure a credential helper to remove this warning. See 09:04:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:43 09:04:43 Login Succeeded 09:04:43 nexus3.edgexfoundry.org:10004 09:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:43 Configure a credential helper to remove this warning. See 09:04:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:43 09:04:43 Login Succeeded 09:04:43 ****.io 09:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:04:43 Configure a credential helper to remove this warning. See 09:04:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:04:43 09:04:43 Login Succeeded 09:04:43 ---> ****-login.sh ends [Pipeline] } 09:04:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:04:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:04:44 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 09:04:44 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 09:04:44 latest 09:04:44 3.2.0-dev.5 09:04:44 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 09:04:44 main 09:04:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 09:04:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:04:45 490e4cecbeb1: Preparing 09:04:45 e2220035f1dd: Preparing 09:04:45 cc31a66be591: Preparing 09:04:45 b5eb033705c5: Preparing 09:04:45 08a18f94ed34: Preparing 09:04:45 0faf9b67be60: Preparing 09:04:45 0faf9b67be60: Waiting 09:04:45 b5eb033705c5: Pushed 09:04:45 e2220035f1dd: Pushed 09:04:45 08a18f94ed34: Pushed 09:04:45 cc31a66be591: Pushed 09:04:45 0faf9b67be60: Layer already exists 09:04:49 490e4cecbeb1: Pushed 09:04:50 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f: digest: sha256:e26fb77f24a70e398f47cb069fe17be2401a88cf4aa2525fa88e7fcbe66479f1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:04:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:04:51 490e4cecbeb1: Preparing 09:04:51 e2220035f1dd: Preparing 09:04:51 cc31a66be591: Preparing 09:04:51 b5eb033705c5: Preparing 09:04:51 08a18f94ed34: Preparing 09:04:51 0faf9b67be60: Preparing 09:04:51 0faf9b67be60: Waiting 09:04:51 e2220035f1dd: Layer already exists 09:04:51 cc31a66be591: Layer already exists 09:04:51 08a18f94ed34: Layer already exists 09:04:51 490e4cecbeb1: Layer already exists 09:04:51 b5eb033705c5: Layer already exists 09:04:51 0faf9b67be60: Layer already exists 09:04:51 latest: digest: sha256:e26fb77f24a70e398f47cb069fe17be2401a88cf4aa2525fa88e7fcbe66479f1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.5 09:04:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:04:52 490e4cecbeb1: Preparing 09:04:52 e2220035f1dd: Preparing 09:04:52 cc31a66be591: Preparing 09:04:52 b5eb033705c5: Preparing 09:04:52 08a18f94ed34: Preparing 09:04:52 0faf9b67be60: Preparing 09:04:52 0faf9b67be60: Waiting 09:04:52 cc31a66be591: Layer already exists 09:04:52 08a18f94ed34: Layer already exists 09:04:52 e2220035f1dd: Layer already exists 09:04:52 b5eb033705c5: Layer already exists 09:04:52 490e4cecbeb1: Layer already exists 09:04:52 0faf9b67be60: Layer already exists 09:04:52 3.2.0-dev.5: digest: sha256:e26fb77f24a70e398f47cb069fe17be2401a88cf4aa2525fa88e7fcbe66479f1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 09:04:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:04:53 490e4cecbeb1: Preparing 09:04:53 e2220035f1dd: Preparing 09:04:53 cc31a66be591: Preparing 09:04:53 b5eb033705c5: Preparing 09:04:53 08a18f94ed34: Preparing 09:04:53 0faf9b67be60: Preparing 09:04:53 0faf9b67be60: Waiting 09:04:53 e2220035f1dd: Layer already exists 09:04:53 08a18f94ed34: Layer already exists 09:04:53 490e4cecbeb1: Layer already exists 09:04:53 b5eb033705c5: Layer already exists 09:04:53 cc31a66be591: Layer already exists 09:04:53 0faf9b67be60: Layer already exists 09:04:53 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5: digest: sha256:e26fb77f24a70e398f47cb069fe17be2401a88cf4aa2525fa88e7fcbe66479f1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 09:04:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:04:54 490e4cecbeb1: Preparing 09:04:54 e2220035f1dd: Preparing 09:04:54 cc31a66be591: Preparing 09:04:54 b5eb033705c5: Preparing 09:04:54 08a18f94ed34: Preparing 09:04:54 0faf9b67be60: Preparing 09:04:54 0faf9b67be60: Waiting 09:04:54 490e4cecbeb1: Layer already exists 09:04:54 b5eb033705c5: Layer already exists 09:04:54 e2220035f1dd: Layer already exists 09:04:54 cc31a66be591: Layer already exists 09:04:54 08a18f94ed34: Layer already exists 09:04:54 0faf9b67be60: Layer already exists 09:04:55 main: digest: sha256:e26fb77f24a70e398f47cb069fe17be2401a88cf4aa2525fa88e7fcbe66479f1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:04:55 ===================================================== [Pipeline] echo 09:04:55 taggedImages: 09:04:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f 09:04:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:04:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.5 09:04:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:365ac2a07f0ac486dbd6b6e6acfd23c5b078805f-3.2.0-dev.5 09:04:55 - 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 09:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:04:56 09:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:04:57 arm64: Pulling from edgex-lftools-log-publisher 09:04:57 8998bd30e6a1: Pulling fs layer 09:04:57 04944245beec: Pulling fs layer 09:04:57 699f458cf7ca: Pulling fs layer 09:04:57 765212b225bb: Pulling fs layer 09:04:57 f23df028b6ca: Pulling fs layer 09:04:57 d65c8cfc05b1: Pulling fs layer 09:04:57 2437ff75d9bd: Pulling fs layer 09:04:57 765212b225bb: Waiting 09:04:57 f23df028b6ca: Waiting 09:04:57 d65c8cfc05b1: Waiting 09:04:57 2437ff75d9bd: Waiting 09:04:57 04944245beec: Verifying Checksum 09:04:57 04944245beec: Download complete 09:04:57 765212b225bb: Verifying Checksum 09:04:57 765212b225bb: Download complete 09:04:57 f23df028b6ca: Verifying Checksum 09:04:57 f23df028b6ca: Download complete 09:04:57 d65c8cfc05b1: Verifying Checksum 09:04:57 d65c8cfc05b1: Download complete 09:04:57 699f458cf7ca: Verifying Checksum 09:04:57 699f458cf7ca: Download complete 09:04:57 8998bd30e6a1: Verifying Checksum 09:04:57 8998bd30e6a1: Download complete 09:05:00 2437ff75d9bd: Verifying Checksum 09:05:00 2437ff75d9bd: Download complete 09:05:04 8998bd30e6a1: Pull complete 09:05:04 04944245beec: Pull complete 09:05:07 699f458cf7ca: Pull complete 09:05:07 765212b225bb: Pull complete 09:05:07 f23df028b6ca: Pull complete 09:05:07 d65c8cfc05b1: Pull complete 09:05:34 2437ff75d9bd: Pull complete 09:05:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:05:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:34 prd-ubuntu20.04-docker-arm64-4c-16g-26455 does not seem to be running inside a container 09:05:34 $ 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/161 -v /w/workspace/device-virtual-go/161:/w/workspace/device-virtual-go/161:rw,z -v /w/workspace/device-virtual-go/161@tmp:/w/workspace/device-virtual-go/161@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 09:05:36 $ docker top cf9fd7949d12be08297e8ac63212af20a3004bdc0b9e1a74274158de3e2efa13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:36 ---> job-cost.sh 09:05:37 lf-activate-venv: SKIPPING 09:05:37 INFO: No Stack... 09:05:37 INFO: Retrieving Pricing Info for: v3-standard-8 09:05:38 INFO: Archiving Costs [Pipeline] sh 09:05:38 + cat /w/workspace/device-virtual-go/161/archives/cost.csv 09:05:38 + cut -d, -f6 [Pipeline] lock 09:05:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] 09:05:40 Resource [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] did not exist. Created. 09:05:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:05:40 /w/workspace/device-virtual-go/161@tmp/durable-a5bf1eee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:05:40 + echo total: 0.2199999988079071 [Pipeline] stash 09:05:40 Warning: overwriting stash ‘stack-cost’ 09:05:41 Stashed 1 file(s) [Pipeline] } 09:05:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 09:05:41 $ docker stop --time=1 cf9fd7949d12be08297e8ac63212af20a3004bdc0b9e1a74274158de3e2efa13 09:05:42 $ docker rm -f --volumes cf9fd7949d12be08297e8ac63212af20a3004bdc0b9e1a74274158de3e2efa13 [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 09:05:43 provisioning config files... 09:05:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4374430963329616558tmp [Pipeline] { [Pipeline] sh 09:05:44 + set +x 09:05:44 + curl -s https://codecov.io/bash 09:05:44 + bash -s -- 09:05:44 09:05:44 _____ _ 09:05:44 / ____| | | 09:05:44 | | ___ __| | ___ ___ _____ __ 09:05:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:05:44 | |___| (_) | (_| | __/ (_| (_) \ V / 09:05:44 \_____\___/ \__,_|\___|\___\___/ \_/ 09:05:44 Bash-1.0.6 09:05:44 09:05:44 09:05:44 ==> git version 2.25.1 found 09:05:44 ==> 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 09:05:44 Release-Date: 2020-01-08 09:05:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:05:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:05:44 ==> Jenkins CI detected. 09:05:44 current dir:  /w/workspace/exfoundry_device-virtual-go_main 09:05:44 project root: . 09:05:44 --> token set from env 09:05:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:05:44 ==> Running gcov in . (disable via -X gcov) 09:05:44 ==> Python coveragepy not found 09:05:44 ==> Searching for coverage reports in: 09:05:44 + . 09:05:44 -> Found 1 reports 09:05:44 ==> Detecting git/mercurial file structure 09:05:44 ==> Reading reports 09:05:44 + ./coverage.out bytes=43063 09:05:44 ==> Appending adjustments 09:05:44 https://docs.codecov.io/docs/fixing-reports 09:05:44 + Found adjustments 09:05:44 ==> Gzipping contents 09:05:44 8.0K /tmp/codecov.Ggiooz.gz 09:05:44 ==> Uploading reports 09:05:44 url: https://codecov.io 09:05:44 query: branch=main&commit=365ac2a07f0ac486dbd6b6e6acfd23c5b078805f&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:05:44 -> Pinging Codecov 09:05:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=365ac2a07f0ac486dbd6b6e6acfd23c5b078805f&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:05:44 -> Uploading to 09:05:44 https://storage.googleapis.com/codecov/v4/raw/2023-12-30/5E52B4B073DB2E39498172D8E973AA87/365ac2a07f0ac486dbd6b6e6acfd23c5b078805f/ae6870f9-be12-4e60-8b1e-ad8c416ff3e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231230%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231230T090544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=083a65cb7a73afe5eb6bdabbdb167a6986c830b1cf57944d501fddcd23c56ade 09:05:44 % Total % Received % Xferd Average Speed Time Time Time Current 09:05:44 Dload Upload Total Spent Left Speed 09:05:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 21825 --:--:-- --:--:-- --:--:-- 21825 09:05:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] } 09:05:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:05:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:05:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:45 09:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:05:46 df9b9388f04a: Pulling fs layer 09:05:46 52dc419b0ee2: Pulling fs layer 09:05:46 25bc292e5bac: Pulling fs layer 09:05:46 114826534d7a: Pulling fs layer 09:05:46 4657fd5d0bcf: Pulling fs layer 09:05:46 6ad1cebc031e: Pulling fs layer 09:05:46 8a3aa393b2d8: Pulling fs layer 09:05:46 114826534d7a: Waiting 09:05:46 4657fd5d0bcf: Waiting 09:05:46 6ad1cebc031e: Waiting 09:05:46 8a3aa393b2d8: Waiting 09:05:46 25bc292e5bac: Verifying Checksum 09:05:46 25bc292e5bac: Download complete 09:05:46 52dc419b0ee2: Verifying Checksum 09:05:46 52dc419b0ee2: Download complete 09:05:46 4657fd5d0bcf: Verifying Checksum 09:05:46 4657fd5d0bcf: Download complete 09:05:46 df9b9388f04a: Download complete 09:05:46 6ad1cebc031e: Verifying Checksum 09:05:46 6ad1cebc031e: Download complete 09:05:46 df9b9388f04a: Pull complete 09:05:46 52dc419b0ee2: Pull complete 09:05:46 25bc292e5bac: Pull complete 09:05:46 8a3aa393b2d8: Verifying Checksum 09:05:46 8a3aa393b2d8: Download complete 09:05:47 114826534d7a: Verifying Checksum 09:05:47 114826534d7a: Download complete 09:05:50 114826534d7a: Pull complete 09:05:50 4657fd5d0bcf: Pull complete 09:05:50 6ad1cebc031e: Pull complete 09:05:52 8a3aa393b2d8: Pull complete 09:05:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:53 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 09:05:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:06:00 $ docker top d903026bd272324e422c03ddf0b096a03d9701fc064cc1aefd6deaa68c91de9f -eo pid,comm [Pipeline] { [Pipeline] echo 09:06:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 09:06:00 + set -o pipefail 09:06:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 09:06:07 09:06:07 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 09:06:07 09:06:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/aad9f743-6df7-4971-aa90-6919474f36f8 09:06:07 09:06:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:06:07 09:06:07 09:06:07 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:06:07 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:06:07 More details here: https://snyk.co/ue1NS 09:06:07 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:06:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:06:07 $ docker stop --time=1 d903026bd272324e422c03ddf0b096a03d9701fc064cc1aefd6deaa68c91de9f 09:06:12 $ docker rm -f --volumes d903026bd272324e422c03ddf0b096a03d9701fc064cc1aefd6deaa68c91de9f [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 09:06:13 + git log --format=format:%s -1 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f [Pipeline] sh 09:06:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:06:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:14 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 09:06:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:06:15 $ docker top 8d97304e5f3c4ce2fcbba135244f9338ed467ea0b93009dd0775f29431dd90f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:15 [ssh-agent] Looking for ssh-agent implementation... 09:06:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:15 $ docker exec 8d97304e5f3c4ce2fcbba135244f9338ed467ea0b93009dd0775f29431dd90f8 ssh-agent 09:06:15 SSH_AUTH_SOCK=/tmp/ssh-P22YC9lmKPhv/agent.33 09:06:15 SSH_AGENT_PID=39 09:06:15 Running ssh-add (command line suppressed) 09:06:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2720667802510143890.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2720667802510143890.key) 09:06:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:16 + git semver tag 09:06:16 2023-12-30 09:06:16,373 [run_tag] DEBUG tag force:False 09:06:16 2023-12-30 09:06:16,373 [check_head_tag] DEBUG check head tag 09:06:16 2023-12-30 09:06:16,374 [execute] INFO git cat-file --batch-check 09:06:16 2023-12-30 09:06:16,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:06:16 2023-12-30 09:06:16,377 [execute] INFO git cat-file --batch 09:06:16 2023-12-30 09:06:16,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:06:16 2023-12-30 09:06:16,392 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:16 2023-12-30 09:06:16,392 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 09:06:16 2023-12-30 09:06:16,392 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:06:16 2023-12-30 09:06:16,396 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:16 3.2.0-dev.5 [Pipeline] } 09:06:16 $ docker exec --env ******** --env ******** 8d97304e5f3c4ce2fcbba135244f9338ed467ea0b93009dd0775f29431dd90f8 ssh-agent -k 09:06:16 unset SSH_AUTH_SOCK; 09:06:16 unset SSH_AGENT_PID; 09:06:16 echo Agent pid 39 killed; 09:06:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:17 + git semver [Pipeline] } 09:06:17 $ docker stop --time=1 8d97304e5f3c4ce2fcbba135244f9338ed467ea0b93009dd0775f29431dd90f8 09:06:18 $ docker rm -f --volumes 8d97304e5f3c4ce2fcbba135244f9338ed467ea0b93009dd0775f29431dd90f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:06:19 09:06:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:06:19 0.23.1-centos7: Pulling from edgex-lftools 09:06:19 ab5ef0e58194: Pulling fs layer 09:06:19 9712f1f96733: Pulling fs layer 09:06:19 63f879dbbcfc: Pulling fs layer 09:06:19 0d9ebad4ef96: Pulling fs layer 09:06:19 e9a5061849ea: Pulling fs layer 09:06:19 d747dcd14b5f: Pulling fs layer 09:06:19 2de7ff778b66: Pulling fs layer 09:06:19 0d9ebad4ef96: Waiting 09:06:19 e9a5061849ea: Waiting 09:06:19 2de7ff778b66: Waiting 09:06:19 9712f1f96733: Download complete 09:06:19 63f879dbbcfc: Verifying Checksum 09:06:19 63f879dbbcfc: Download complete 09:06:20 e9a5061849ea: Verifying Checksum 09:06:20 e9a5061849ea: Download complete 09:06:20 d747dcd14b5f: Verifying Checksum 09:06:20 d747dcd14b5f: Download complete 09:06:20 2de7ff778b66: Download complete 09:06:20 0d9ebad4ef96: Verifying Checksum 09:06:20 0d9ebad4ef96: Download complete 09:06:20 ab5ef0e58194: Verifying Checksum 09:06:20 ab5ef0e58194: Download complete 09:06:23 ab5ef0e58194: Pull complete 09:06:23 9712f1f96733: Pull complete 09:06:23 63f879dbbcfc: Pull complete 09:06:27 0d9ebad4ef96: Pull complete 09:06:27 e9a5061849ea: Pull complete 09:06:27 d747dcd14b5f: Pull complete 09:06:28 2de7ff778b66: Pull complete 09:06:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:06:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:28 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 09:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:06:36 $ docker top 48d4e5294eff3b02766d986932e480e9495d1cd2bac5034124b0f63fbbe1ce27 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:06:36 provisioning config files... 09:06:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16226112680687259564tmp 09:06:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1779529854171137650tmp 09:06:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4305053920828394709tmp [Pipeline] { [Pipeline] echo 09:06:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:06:36 ---> sigul-configuration.sh 09:06:36 gpg: directory `/root/.gnupg' created 09:06:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:06:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:06:36 gpg: keyring `/root/.gnupg/secring.gpg' created 09:06:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:06:36 gpg: CAST5 encrypted data 09:06:36 gpg: encrypted with 1 passphrase 09:06:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:06:37 + mkdir /home/jenkins 09:06:37 + mkdir /home/jenkins/sigul [Pipeline] sh 09:06:37 + 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 09:06:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:06:37 ---> sigul-install.sh 09:06:37 Sigul already installed; skipping installation. [Pipeline] sh 09:06:37 + git tag --list 09:06:37 v1.0.0 09:06:37 v1.1.0 09:06:37 v1.1.1 09:06:37 v1.2.1 09:06:37 v1.2.2 09:06:37 v1.2.3 09:06:37 v1.3.0 09:06:37 v1.3.1 09:06:37 v2.0.0 09:06:37 v2.1.0 09:06:37 v2.1.1 09:06:37 v2.2.0 09:06:37 v2.3.0 09:06:37 v3.0 09:06:37 v3.0.0 09:06:37 v3.1 09:06:37 v3.1.0 09:06:37 v3.1.0-dev.1 09:06:37 v3.1.0-dev.10 09:06:37 v3.1.0-dev.11 09:06:37 v3.1.0-dev.12 09:06:37 v3.1.0-dev.13 09:06:37 v3.1.0-dev.14 09:06:37 v3.1.0-dev.15 09:06:37 v3.1.0-dev.16 09:06:37 v3.1.0-dev.17 09:06:37 v3.1.0-dev.18 09:06:37 v3.1.0-dev.19 09:06:37 v3.1.0-dev.2 09:06:37 v3.1.0-dev.20 09:06:37 v3.1.0-dev.21 09:06:37 v3.1.0-dev.22 09:06:37 v3.1.0-dev.23 09:06:37 v3.1.0-dev.24 09:06:37 v3.1.0-dev.25 09:06:37 v3.1.0-dev.26 09:06:37 v3.1.0-dev.27 09:06:37 v3.1.0-dev.28 09:06:37 v3.1.0-dev.29 09:06:37 v3.1.0-dev.3 09:06:37 v3.1.0-dev.30 09:06:37 v3.1.0-dev.4 09:06:37 v3.1.0-dev.5 09:06:37 v3.1.0-dev.6 09:06:37 v3.1.0-dev.7 09:06:37 v3.1.0-dev.8 09:06:37 v3.1.0-dev.9 09:06:37 v3.2.0-dev.1 09:06:37 v3.2.0-dev.2 09:06:37 v3.2.0-dev.3 09:06:37 v3.2.0-dev.4 09:06:37 v3.2.0-dev.5 [Pipeline] sh 09:06:38 + lftools sign git-tag v3.2.0-dev.5 09:06:38 Signing Git tag with Sigul... 09:06:38 Signing v3.2.0-dev.5 [Pipeline] echo 09:06:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:06:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:06:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:06:39 $ docker stop --time=1 48d4e5294eff3b02766d986932e480e9495d1cd2bac5034124b0f63fbbe1ce27 09:06:40 $ docker rm -f --volumes 48d4e5294eff3b02766d986932e480e9495d1cd2bac5034124b0f63fbbe1ce27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:06:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:06:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:42 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 09:06:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:06:42 $ docker top 0215cd0a5d4d8d64ef2d978cd09ee650c995c054f891d80effd0c5814bfbcc10 -eo pid,comm 09:06:42 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). 09:06:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:42 [ssh-agent] Looking for ssh-agent implementation... 09:06:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:43 $ docker exec 0215cd0a5d4d8d64ef2d978cd09ee650c995c054f891d80effd0c5814bfbcc10 ssh-agent 09:06:43 SSH_AUTH_SOCK=/tmp/ssh-6Jt7dN8WSpg6/agent.32 09:06:43 SSH_AGENT_PID=38 09:06:43 Running ssh-add (command line suppressed) 09:06:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13757006305851154806.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13757006305851154806.key) 09:06:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:43 + git semver bump pre 09:06:43 2023-12-30 09:06:43,799 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:43 2023-12-30 09:06:43,800 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev 09:06:43 2023-12-30 09:06:43,800 [bump_version] DEBUG bumped version:3.2.0-dev.6 09:06:43 2023-12-30 09:06:43,800 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 09:06:43 2023-12-30 09:06:43,800 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:43 2023-12-30 09:06:43,800 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:43 2023-12-30 09:06:43,802 [execute] INFO git cat-file --batch-check 09:06:43 2023-12-30 09:06:43,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:06:43 2023-12-30 09:06:43,808 [execute] INFO git cat-file --batch 09:06:43 2023-12-30 09:06:43,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:06:43 2023-12-30 09:06:43,813 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:43 3.2.0-dev.6 [Pipeline] } 09:06:43 $ docker exec --env ******** --env ******** 0215cd0a5d4d8d64ef2d978cd09ee650c995c054f891d80effd0c5814bfbcc10 ssh-agent -k 09:06:43 unset SSH_AUTH_SOCK; 09:06:43 unset SSH_AGENT_PID; 09:06:43 echo Agent pid 38 killed; 09:06:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:44 + git semver [Pipeline] } 09:06:44 $ docker stop --time=1 0215cd0a5d4d8d64ef2d978cd09ee650c995c054f891d80effd0c5814bfbcc10 09:06:46 $ docker rm -f --volumes 0215cd0a5d4d8d64ef2d978cd09ee650c995c054f891d80effd0c5814bfbcc10 [Pipeline] // withDockerContainer [Pipeline] sh 09:06:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:06:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:06:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:47 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 09:06: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:06:47 $ docker top b7a6653e91ea9a4f3f2e59c73831d6ff0d5435be30e5938c8f3244630b2adb43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:47 [ssh-agent] Looking for ssh-agent implementation... 09:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:47 $ docker exec b7a6653e91ea9a4f3f2e59c73831d6ff0d5435be30e5938c8f3244630b2adb43 ssh-agent 09:06:47 SSH_AUTH_SOCK=/tmp/ssh-mwhL0njJ3uwE/agent.32 09:06:47 SSH_AGENT_PID=38 09:06:47 Running ssh-add (command line suppressed) 09:06:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7714136833710024293.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7714136833710024293.key) 09:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:48 + git semver push 09:06:48 2023-12-30 09:06:48,543 [run_push] DEBUG push 09:06:48 2023-12-30 09:06:48,544 [execute] INFO git cat-file --batch-check 09:06:48 2023-12-30 09:06:48,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:06:48 2023-12-30 09:06:48,547 [execute] INFO git rev-list ebd889fbc7d4ae829eb1e398740bf00012247723 -- 09:06:48 2023-12-30 09:06:48,547 [execute] DEBUG Popen(['git', 'rev-list', 'ebd889fbc7d4ae829eb1e398740bf00012247723', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:06:48 2023-12-30 09:06:48,557 [execute] INFO git fetch -v origin 09:06:48 2023-12-30 09:06:48,557 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:06:49 2023-12-30 09:06:49,077 [run_push] DEBUG no remote changes detected 09:06:49 2023-12-30 09:06:49,077 [execute] INFO git push origin semver 09:06:49 2023-12-30 09:06:49,077 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:06:50 2023-12-30 09:06:49,878 [run_push] DEBUG push all version tags 09:06:50 2023-12-30 09:06:49,878 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:06:50 2023-12-30 09:06:49,879 [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) 09:06:50 2023-12-30 09:06:50,599 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:06:50 3.2.0-dev.6 [Pipeline] } 09:06:50 $ docker exec --env ******** --env ******** b7a6653e91ea9a4f3f2e59c73831d6ff0d5435be30e5938c8f3244630b2adb43 ssh-agent -k 09:06:50 unset SSH_AUTH_SOCK; 09:06:50 unset SSH_AGENT_PID; 09:06:50 echo Agent pid 38 killed; 09:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:51 + git semver [Pipeline] } 09:06:51 $ docker stop --time=1 b7a6653e91ea9a4f3f2e59c73831d6ff0d5435be30e5938c8f3244630b2adb43 09:06:52 $ docker rm -f --volumes b7a6653e91ea9a4f3f2e59c73831d6ff0d5435be30e5938c8f3244630b2adb43 [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 09:06:54 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 09:06:54 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:06:54 total 16 09:06:54 drwxr-xr-x 3 root root 4096 Dec 30 08:59 . 09:06:54 drwxrwxr-x 9 jenkins jenkins 4096 Dec 30 09:06 .. 09:06:54 drwxr-xr-x 2 root root 4096 Dec 30 08:59 cost 09:06:54 -rw-r--r-- 1 root root 89 Dec 30 08:59 cost.csv 09:06:54 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 09:06:54 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:06:54 total 16 09:06:54 drwxr-xr-x 3 jenkins jenkins 4096 Dec 30 08:59 . 09:06:54 drwxrwxr-x 9 jenkins jenkins 4096 Dec 30 09:06 .. 09:06:54 drwxr-xr-x 2 jenkins jenkins 4096 Dec 30 08:59 cost 09:06:54 -rw-r--r-- 1 jenkins jenkins 89 Dec 30 08:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:06:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:06:55 ---> package-listing.sh 09:06:55 ++ facter osfamily 09:06:55 ++ tr '[:upper:]' '[:lower:]' 09:06:55 + OS_FAMILY=debian 09:06:55 + workspace=/w/workspace/exfoundry_device-virtual-go_main 09:06:55 + START_PACKAGES=/tmp/packages_start.txt 09:06:55 + END_PACKAGES=/tmp/packages_end.txt 09:06:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:06:55 + PACKAGES=/tmp/packages_start.txt 09:06:55 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:06:55 + PACKAGES=/tmp/packages_end.txt 09:06:55 + case "${OS_FAMILY}" in 09:06:55 + dpkg -l 09:06:55 + grep '^ii' 09:06:55 + '[' -f /tmp/packages_start.txt ']' 09:06:55 + '[' -f /tmp/packages_end.txt ']' 09:06:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:06:55 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:06:55 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 09:06:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 09:06:55 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 09:06:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:06:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:06:57 prd-ubuntu20.04-docker-8c-8g-26452 does not seem to be running inside a container 09:06:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:06:57 $ docker top ead59c6188c98eef87f2d9be0d830bc4f3f13ab024507670e7c81904f744b933 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:57 + touch /tmp/pre-build-complete [Pipeline] sh 09:06:58 + mkdir -p /var/log/sysstat [Pipeline] sh 09:06:58 + ls /var/log/sa-host 09:06:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:58 provisioning config files... 09:06:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11652523624300711864tmp [Pipeline] { [Pipeline] echo 09:06:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:06:59 ---> create-netrc.sh [Pipeline] } 09:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:06:59 ---> python-tools-install.sh [Pipeline] echo 09:06:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:06:59 ---> sudo-logs.sh 09:06:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:06:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:07:00 ---> job-cost.sh 09:07:00 lf-activate-venv: SKIPPING 09:07:00 DEBUG: total: 0.2199999988079071 09:07:00 INFO: Retrieving Stack Cost... 09:07:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:07:00 INFO: Archiving Costs [Pipeline] echo 09:07:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:07:01 ---> logs-deploy.sh 09:07:01 lf-activate-venv: SKIPPING 09:07:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/161 09:07:01 INFO: archiving workspace using pattern(s): 09:07:02 Archives upload complete. 09:07:02 INFO: archiving logs to Nexus