Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bb026eb44965f8cd89cc0032dcda78f92059a39 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-ssh3768773985569197067.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5065886785959746598.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6331634447921154472.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh11635996287161490234.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-ssh10493605971622343867.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 Running on prd-ubuntu20.04-docker-8c-8g-6445 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 3bb026eb44965f8cd89cc0032dcda78f92059a39 (main) Commit message: "Merge pull request #481 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" > 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 3bb026eb44965f8cd89cc0032dcda78f92059a39 # timeout=10 > git rev-list --no-walk b84fa34e0b11c1ec26c6ceaca31148e20eaa0441 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:33:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:33:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:33:00 ========================================================= 11:33:00 EdgeX Global Pipelines Version Info 11:33:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:33:01 ------------------- 11:33:01 stable info: 11:33:01 ------------------- 11:33:01 Commited By: Ginny Guan ginny@iotechsys.com 11:33:01 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:33:01 Message: update stable to v1.0.260 11:33:02 ------------------- 11:33:02 experimental info: 11:33:02 ------------------- 11:33:02 Commited By: Ginny Guan ginny@iotechsys.com 11:33:02 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:33:02 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:33:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] echo 11:33:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bb026e [Pipeline] echo 11:33:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:33:03 provisioning config files... 11:33:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13941378512054436749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:03 ---> ****-login.sh 11:33:03 nexus3.edgexfoundry.org:10001 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 nexus3.edgexfoundry.org:10002 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 nexus3.edgexfoundry.org:10003 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 nexus3.edgexfoundry.org:10004 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 ****.io 11:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:04 Configure a credential helper to remove this warning. See 11:33:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:04 11:33:04 Login Succeeded 11:33:04 ---> ****-login.sh ends [Pipeline] } 11:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:33:04 + git rev-list -1 --merges 3bb026eb44965f8cd89cc0032dcda78f92059a39~1..3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] echo 11:33:04 -----------> git rev-list -1 --merges 3bb026eb44965f8cd89cc0032dcda78f92059a39~1..3bb026eb44965f8cd89cc0032dcda78f92059a39 3bb026eb44965f8cd89cc0032dcda78f92059a39 11:33:04 3bb026eb44965f8cd89cc0032dcda78f92059a39 [false] [Pipeline] sh 11:33:05 + git log --format=format:%s -1 3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] echo 11:33:05 ========================================================= 11:33:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:33:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:33:05 + git log --format=format:%s -1 3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] echo 11:33:05 [semverPrep] GIT_COMMIT: 3bb026eb44965f8cd89cc0032dcda78f92059a39, Commit Message: Merge pull request #481 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27 [Pipeline] echo 11:33:05 [semverPrep] This is not a build commit. [Pipeline] sh 11:33:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:33:06 + grep -v github /etc/ssh/ssh_known_hosts 11:33:06 + [ -e /tmp/ssh_known_hosts ] 11:33:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:33:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:33:06 + sudo tee -a /etc/ssh/ssh_known_hosts 11:33:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:06 11:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:06 0.1.4: Pulling from edgex-devops/py-git-semver 11:33:06 b85a868b505f: Pulling fs layer 11:33:06 e2be974225ed: Pulling fs layer 11:33:06 339a4e72a1f5: Pulling fs layer 11:33:06 988bab9f4d93: Pulling fs layer 11:33:06 1469e6f7b9e6: Pulling fs layer 11:33:06 eaf3925da568: Pulling fs layer 11:33:06 bab4dde63d76: Pulling fs layer 11:33:06 bde34c3a00c8: Pulling fs layer 11:33:06 b352a97aabf1: Pulling fs layer 11:33:06 4872d77fe225: Pulling fs layer 11:33:06 5851b861e8e6: Pulling fs layer 11:33:06 eaf3925da568: Waiting 11:33:06 bab4dde63d76: Waiting 11:33:06 988bab9f4d93: Waiting 11:33:06 4872d77fe225: Waiting 11:33:06 5851b861e8e6: Waiting 11:33:06 b352a97aabf1: Waiting 11:33:06 1469e6f7b9e6: Waiting 11:33:06 bde34c3a00c8: Waiting 11:33:06 e2be974225ed: Download complete 11:33:06 988bab9f4d93: Verifying Checksum 11:33:06 988bab9f4d93: Download complete 11:33:06 1469e6f7b9e6: Verifying Checksum 11:33:06 1469e6f7b9e6: Download complete 11:33:06 339a4e72a1f5: Verifying Checksum 11:33:06 339a4e72a1f5: Download complete 11:33:06 eaf3925da568: Download complete 11:33:06 bde34c3a00c8: Verifying Checksum 11:33:06 bde34c3a00c8: Download complete 11:33:07 b352a97aabf1: Verifying Checksum 11:33:07 b352a97aabf1: Download complete 11:33:07 4872d77fe225: Verifying Checksum 11:33:07 4872d77fe225: Download complete 11:33:07 5851b861e8e6: Verifying Checksum 11:33:07 5851b861e8e6: Download complete 11:33:07 b85a868b505f: Download complete 11:33:07 bab4dde63d76: Verifying Checksum 11:33:07 bab4dde63d76: Download complete 11:33:08 b85a868b505f: Pull complete 11:33:08 e2be974225ed: Pull complete 11:33:08 339a4e72a1f5: Pull complete 11:33:09 988bab9f4d93: Pull complete 11:33:09 1469e6f7b9e6: Pull complete 11:33:09 eaf3925da568: Pull complete 11:33:11 bab4dde63d76: Pull complete 11:33:11 bde34c3a00c8: Pull complete 11:33:11 b352a97aabf1: Pull complete 11:33:11 4872d77fe225: Pull complete 11:33:11 5851b861e8e6: Pull complete 11:33:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:11 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:33:15 $ docker top 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:33:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:15 [ssh-agent] Looking for ssh-agent implementation... 11:33:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:15 $ docker exec 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 ssh-agent 11:33:15 SSH_AUTH_SOCK=/tmp/ssh-FsVwXfOxaEAh/agent.32 11:33:15 SSH_AGENT_PID=38 11:33:15 Running ssh-add (command line suppressed) 11:33:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14775433394143059663.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14775433394143059663.key) 11:33:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:16 + git tag --points-at HEAD [Pipeline] } 11:33:16 $ docker exec --env ******** --env ******** 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 ssh-agent -k 11:33:16 unset SSH_AUTH_SOCK; 11:33:16 unset SSH_AGENT_PID; 11:33:16 echo Agent pid 38 killed; 11:33:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:16 [ssh-agent] Looking for ssh-agent implementation... 11:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:16 $ docker exec 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 ssh-agent 11:33:16 SSH_AUTH_SOCK=/tmp/ssh-RD6JfQjobO0w/agent.70 11:33:16 SSH_AGENT_PID=76 11:33:16 Running ssh-add (command line suppressed) 11:33:16 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4492977161423337026.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4492977161423337026.key) 11:33:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:17 + git semver init 11:33:17 2024-07-25 11:33:17,200 [run_init] DEBUG init version:0.0.0 force:False 11:33:17 2024-07-25 11:33:17,201 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 11:33:17 2024-07-25 11:33:17,202 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 11:33:17 2024-07-25 11:33:17,202 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:33:19 2024-07-25 11:33:19,083 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 11:33:19 2024-07-25 11:33:19,084 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 11:33:19 2024-07-25 11:33:19,084 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:33:19 2024-07-25 11:33:19,084 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:33:19 3.2.0-dev.19 [Pipeline] } 11:33:19 $ docker exec --env ******** --env ******** 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 ssh-agent -k 11:33:19 unset SSH_AUTH_SOCK; 11:33:19 unset SSH_AGENT_PID; 11:33:19 echo Agent pid 76 killed; 11:33:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:33:19 + git semver [Pipeline] } 11:33:19 $ docker stop --time=1 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 11:33:21 $ docker rm -f --volumes 221d961250c7c66aa4d35f4c695ea63c5384822d28f11ce435ac374cd6eb5486 [Pipeline] // withDockerContainer [Pipeline] sh 11:33:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:33:21 Stashed 1 file(s) [Pipeline] echo 11:33:21 [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:33:21 provisioning config files... 11:33:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11394244527687061919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:22 ---> ****-login.sh 11:33:22 nexus3.edgexfoundry.org:10001 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 nexus3.edgexfoundry.org:10002 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 nexus3.edgexfoundry.org:10003 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 nexus3.edgexfoundry.org:10004 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 ****.io 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 ---> ****-login.sh ends [Pipeline] } 11:33:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:33:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:33:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:33:22 ========================================================= 11:33:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:33:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:23 + 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 . 11:33:23 Sending build context to Docker daemon 37.55MB 11:33:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:33:23 Step 2/12 : FROM ${BASE} AS builder 11:33:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:33:23 619be1103602: Pulling fs layer 11:33:23 7862e08f4a3e: Pulling fs layer 11:33:23 5df492c9dc93: Pulling fs layer 11:33:23 7629e6793208: Pulling fs layer 11:33:23 4f4fb700ef54: Pulling fs layer 11:33:23 fb5054dd5b73: Pulling fs layer 11:33:23 eeca6798cff9: Pulling fs layer 11:33:23 aa269ceb94a6: Pulling fs layer 11:33:23 ada007ff1a6a: Pulling fs layer 11:33:23 fb5054dd5b73: Waiting 11:33:23 eeca6798cff9: Waiting 11:33:23 aa269ceb94a6: Waiting 11:33:23 ada007ff1a6a: Waiting 11:33:23 7629e6793208: Waiting 11:33:23 4f4fb700ef54: Waiting 11:33:23 7862e08f4a3e: Verifying Checksum 11:33:23 7862e08f4a3e: Download complete 11:33:23 7629e6793208: Verifying Checksum 11:33:23 7629e6793208: Download complete 11:33:23 4f4fb700ef54: Download complete 11:33:23 619be1103602: Verifying Checksum 11:33:23 619be1103602: Download complete 11:33:23 fb5054dd5b73: Verifying Checksum 11:33:23 fb5054dd5b73: Download complete 11:33:23 eeca6798cff9: Verifying Checksum 11:33:23 eeca6798cff9: Download complete 11:33:23 619be1103602: Pull complete 11:33:23 ada007ff1a6a: Download complete 11:33:23 7862e08f4a3e: Pull complete 11:33:24 5df492c9dc93: Download complete 11:33:24 aa269ceb94a6: Verifying Checksum 11:33:24 aa269ceb94a6: Download complete 11:33:27 5df492c9dc93: Pull complete 11:33:27 7629e6793208: Pull complete 11:33:27 4f4fb700ef54: Pull complete 11:33:27 fb5054dd5b73: Pull complete 11:33:27 eeca6798cff9: Pull complete 11:33:30 aa269ceb94a6: Pull complete 11:33:30 ada007ff1a6a: Pull complete 11:33:30 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:33:30 ---> f489d0715acc 11:33:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:33:35 ---> Running in 264b9273ef7c 11:33:35 Removing intermediate container 264b9273ef7c 11:33:35 ---> 5fa2fda19a0e 11:33:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:33:35 ---> Running in 6dc0dd703f61 11:33:35 Removing intermediate container 6dc0dd703f61 11:33:35 ---> f6b635d10511 11:33:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:33:35 ---> Running in b98ce24d3b40 11:33:35 Removing intermediate container b98ce24d3b40 11:33:35 ---> 2b76ca377999 11:33:35 Step 6/12 : WORKDIR /device-virtual-go 11:33:35 ---> Running in a5e8bdac5c04 11:33:35 Removing intermediate container a5e8bdac5c04 11:33:35 ---> ea90b5610281 11:33:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:33:35 ---> Running in af40d7a1a0c1 11:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:33:36 (1/4) Installing openssh-keygen (9.3_p2-r2) 11:33:36 (2/4) Installing libedit (20221030.3.1-r1) 11:33:36 (3/4) Installing openssh-client-common (9.3_p2-r2) 11:33:36 (4/4) Installing openssh-client-default (9.3_p2-r2) 11:33:36 Executing busybox-1.36.1-r5.trigger 11:33:36 OK: 268 MiB in 56 packages 11:33:36 Still waiting to schedule task 11:33:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:33:36 Removing intermediate container af40d7a1a0c1 11:33:36 ---> 3a71f06429e8 11:33:36 Step 8/12 : COPY go.mod vendor* ./ 11:33:37 ---> 5e55279f894e 11:33:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:33:37 ---> Running in 499d961a24cb 11:34:45 Removing intermediate container 499d961a24cb 11:34:45 ---> b92f7e08172c 11:34:45 Step 10/12 : COPY . . 11:34:45 ---> ee19199b2071 11:34:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:34:45 ---> Running in d112a192fa7d 11:34:45 Removing intermediate container d112a192fa7d 11:34:45 ---> 06ce8910296a 11:34:45 Step 12/12 : RUN $MAKE 11:34:45 ---> Running in 6a1c6c25b85e 11:34:45 noop 11:34:45 Removing intermediate container 6a1c6c25b85e 11:34:45 ---> da461bbdc31c 11:34:45 Successfully built da461bbdc31c 11:34:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:45 + docker inspect -f . ci-base-image-x86_64 11:34:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:45 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:34:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:34:45 $ docker top 2419d0931e08995f5adf0f9ac3ce7a085737f5b654a599fd0aaa22bd236af90f -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:46 + go version 11:34:46 go version go1.21.9 linux/amd64 [Pipeline] } 11:34:46 $ docker stop --time=1 2419d0931e08995f5adf0f9ac3ce7a085737f5b654a599fd0aaa22bd236af90f 11:34:47 $ docker rm -f --volumes 2419d0931e08995f5adf0f9ac3ce7a085737f5b654a599fd0aaa22bd236af90f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:47 + docker inspect -f . ci-base-image-x86_64 11:34:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:48 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:34:48 $ docker top 573c455552a58df85bdd2b9df1a53e412f63149f480ea55fdf22ff68654cb253 -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:48 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 11:34:49 + make test 11:34:49 go test ./... -coverprofile=coverage.out 11:34:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:35:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:35:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 11:35:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6447 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:35:16 Running in /w/workspace/device-virtual-go/175 [Pipeline] { [Pipeline] checkout 11:35:19 go vet ./... 11:35:19 The recommended git tool is: git 11:35:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:35:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:35:23 ./bin/test-attribution-txt.sh 11:35:23 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 11:35:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:35:23 $ docker stop --time=1 573c455552a58df85bdd2b9df1a53e412f63149f480ea55fdf22ff68654cb253 11:35:26 using credential edgex-jenkins-ssh 11:35:26 Cloning the remote Git repository 11:35:26 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:35:26 > git init /w/workspace/device-virtual-go/175 # timeout=10 11:35:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:35:26 > git --version # timeout=10 11:35:26 > git --version # 'git version 2.25.1' 11:35:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:35:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:35:28 $ docker rm -f --volumes 573c455552a58df85bdd2b9df1a53e412f63149f480ea55fdf22ff68654cb253 [Pipeline] // withDockerContainer [Pipeline] sh 11:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:35:29 + ls -al . 11:35:29 total 276 11:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 11:34 . 11:35:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 11:32 .. 11:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 11:35 .git 11:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:32 .github 11:35:29 -rw-rw-r-- 1 jenkins jenkins 272 Jul 25 11:32 .gitignore 11:35:29 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 11:32 .golangci.yml 11:35:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 11:33 .semver 11:35:29 -rw-rw-r-- 1 jenkins jenkins 17933 Jul 25 11:32 Attribution.txt 11:35:29 -rw-rw-r-- 1 jenkins jenkins 15941 Jul 25 11:32 CHANGELOG.md 11:35:29 -rw-rw-r-- 1 jenkins jenkins 1755 Jul 25 11:32 Dockerfile 11:35:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 11:32 GOVERNANCE.md 11:35:29 -rw-rw-r-- 1 jenkins jenkins 660 Jul 25 11:32 Jenkinsfile 11:35:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 11:32 LICENSE 11:35:29 -rw-rw-r-- 1 jenkins jenkins 1953 Jul 25 11:32 Makefile 11:35:29 -rw-rw-r-- 1 jenkins jenkins 623 Jul 25 11:32 OWNERS.md 11:35:29 -rw-rw-r-- 1 jenkins jenkins 4103 Jul 25 11:32 README.md 11:35:29 -rw-rw-r-- 1 jenkins jenkins 12 Jul 25 11:33 VERSION 11:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 11:32 bin 11:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:32 cmd 11:35:29 -rw-r--r-- 1 jenkins jenkins 43247 Jul 25 11:35 coverage.out 11:35:29 -rw-rw-r-- 1 jenkins jenkins 6923 Jul 25 11:32 go.mod 11:35:29 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 11:32 go.sum 11:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:32 internal 11:35:29 -rw-rw-r-- 1 jenkins jenkins 235 Jul 25 11:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:30 + 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=3bb026eb44965f8cd89cc0032dcda78f92059a39 --label arch=amd64 --label version=3.2.0-dev.19 . 11:35:30 Sending build context to Docker daemon 37.59MB 11:35:30 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:35:30 Step 2/26 : FROM ${BASE} AS builder 11:35:30 ---> da461bbdc31c 11:35:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:35:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:35:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:35:31 ---> Running in ff3fac965497 11:35:31 Removing intermediate container ff3fac965497 11:35:31 ---> a9d95604a552 11:35:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:35:31 ---> Running in 4e5190438724 11:35:31 Removing intermediate container 4e5190438724 11:35:31 ---> e4e98eb2f31f 11:35:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:35:31 ---> Running in f47d607d2be5 11:35:31 Removing intermediate container f47d607d2be5 11:35:31 ---> 08ee32dd814c 11:35:31 Step 6/26 : WORKDIR /device-virtual-go 11:35:31 ---> Running in b846c9811547 11:35:31 Removing intermediate container b846c9811547 11:35:31 ---> 0b86da99d8a3 11:35:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:35:31 ---> Running in 2e5b444d0f80 11:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:35:31 Avoid second fetch 11:35:31 Checking out Revision 3bb026eb44965f8cd89cc0032dcda78f92059a39 (main) 11:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:35:32 OK: 268 MiB in 56 packages 11:35:32 Commit message: "Merge pull request #481 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" 11:35:32 Removing intermediate container 2e5b444d0f80 11:35:32 ---> 9e5125ea154f 11:35:32 Step 8/26 : COPY go.mod vendor* ./ 11:35:32 ---> ea9e8b689b3d 11:35:32 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:35:32 ---> Running in dde498e5e7f5 11:35:31 > git config core.sparsecheckout # timeout=10 11:35:31 > git checkout -f 3bb026eb44965f8cd89cc0032dcda78f92059a39 # timeout=10 11:35:33 Removing intermediate container dde498e5e7f5 11:35:33 ---> 8800d235a3b4 11:35:33 Step 10/26 : COPY . . 11:35:34 ---> 725dd1b9c060 11:35:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:35:34 ---> Running in f471c373f386 11:35:34 Removing intermediate container f471c373f386 11:35:34 ---> 3fd772e785d5 11:35:34 Step 12/26 : RUN $MAKE 11:35:34 ---> Running in 629d0606bfdb 11:35:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:35:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:35:36 % Total % Received % Xferd Average Speed Time Time Time Current 11:35:36 Dload Upload Total Spent Left Speed 11:35:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 11:35:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:35:37 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 11:35:37 11:35:39 { 11:35:39 "registry-mirrors": [ 11:35:39 "https://nexus3.edgexfoundry.org:10001" 11:35:39 ], 11:35:39 "bip": "10.250.0.254/24", 11:35:39 "hosts": [ 11:35:39 "tcp://0.0.0.0:5555", 11:35:39 "unix:///var/run/docker.sock" 11:35:39 ], 11:35:39 "mtu": 1458, 11:35:39 "selinux-enabled": true, 11:35:39 "seccomp-profile": "/etc/docker/seccomp.json" 11:35:39 } [Pipeline] sh 11:35:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:35:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:35:57 provisioning config files... 11:35:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/175@tmp/config13050204113884916381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:58 ---> ****-login.sh 11:35:58 nexus3.edgexfoundry.org:10001 11:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:58 Configure a credential helper to remove this warning. See 11:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:58 11:35:58 Login Succeeded 11:35:58 nexus3.edgexfoundry.org:10002 11:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:59 Configure a credential helper to remove this warning. See 11:35:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:59 11:35:59 Login Succeeded 11:35:59 nexus3.edgexfoundry.org:10003 11:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:59 Configure a credential helper to remove this warning. See 11:35:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:59 11:35:59 Login Succeeded 11:35:59 nexus3.edgexfoundry.org:10004 11:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:00 Configure a credential helper to remove this warning. See 11:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:00 11:36:00 Login Succeeded 11:36:00 ****.io 11:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:00 Configure a credential helper to remove this warning. See 11:36:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:00 11:36:00 Login Succeeded 11:36:00 ---> ****-login.sh ends [Pipeline] } 11:36:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:36:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:36:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:36:00 ========================================================= 11:36:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:36:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:01 + 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 . 11:36:01 Sending build context to Docker daemon 18.96MB 11:36:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:36:01 Step 2/12 : FROM ${BASE} AS builder 11:36:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:36:01 c6b39de5b339: Pulling fs layer 11:36:01 a69c41024577: Pulling fs layer 11:36:01 d6de4b400683: Pulling fs layer 11:36:01 35cb2a7552d0: Pulling fs layer 11:36:01 4f4fb700ef54: Pulling fs layer 11:36:01 464afbd9ba4c: Pulling fs layer 11:36:01 00f215d4a9da: Pulling fs layer 11:36:01 35cb2a7552d0: Waiting 11:36:01 4f4fb700ef54: Waiting 11:36:01 00f215d4a9da: Waiting 11:36:01 464afbd9ba4c: Waiting 11:36:01 d496ad576159: Pulling fs layer 11:36:02 a69c41024577: Verifying Checksum 11:36:02 a69c41024577: Download complete 11:36:02 35cb2a7552d0: Verifying Checksum 11:36:02 35cb2a7552d0: Download complete 11:36:02 4f4fb700ef54: Verifying Checksum 11:36:02 4f4fb700ef54: Download complete 11:36:02 464afbd9ba4c: Verifying Checksum 11:36:02 464afbd9ba4c: Download complete 11:36:02 c6b39de5b339: Download complete 11:36:02 d496ad576159: Verifying Checksum 11:36:02 d496ad576159: Download complete 11:36:03 c6b39de5b339: Pull complete 11:36:03 a69c41024577: Pull complete 11:36:04 d6de4b400683: Verifying Checksum 11:36:04 d6de4b400683: Download complete 11:36:05 00f215d4a9da: Verifying Checksum 11:36:05 00f215d4a9da: Download complete 11:36:06 Removing intermediate container 629d0606bfdb 11:36:06 ---> 675a1ba09537 11:36:06 Step 13/26 : FROM alpine:3.18 11:36:06 3.18: Pulling from library/alpine 11:36:06 930bdd4d222e: Pulling fs layer 11:36:06 930bdd4d222e: Verifying Checksum 11:36:06 930bdd4d222e: Download complete 11:36:06 930bdd4d222e: Pull complete 11:36:06 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 11:36:06 Status: Downloaded newer image for alpine:3.18 11:36:06 ---> 18f865063206 11:36:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:36:06 ---> Running in e2c8410b9adb 11:36:06 Removing intermediate container e2c8410b9adb 11:36:06 ---> 19cb48400a3a 11:36:06 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:36:06 ---> Running in f0791d7b7aed 11:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:36:06 (1/1) Installing dumb-init (1.2.5-r2) 11:36:06 Executing busybox-1.36.1-r7.trigger 11:36:06 OK: 7 MiB in 16 packages 11:36:06 Removing intermediate container f0791d7b7aed 11:36:06 ---> 30e2ac8af79b 11:36:06 Step 16/26 : RUN apk --no-cache upgrade 11:36:06 ---> Running in cd79cec33d83 11:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:36:06 OK: 7 MiB in 16 packages 11:36:06 Removing intermediate container cd79cec33d83 11:36:06 ---> 4b91112e55d4 11:36:06 Step 17/26 : WORKDIR / 11:36:06 ---> Running in b64121e3b9d7 11:36:06 Removing intermediate container b64121e3b9d7 11:36:06 ---> 1007984453fd 11:36:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:36:06 ---> c0121b9ce333 11:36:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:36:06 ---> 68577ebd465f 11:36:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:36:07 ---> a97a1f10e5f0 11:36:07 Step 21/26 : EXPOSE 59900 11:36:07 ---> Running in 226840c9d622 11:36:07 Removing intermediate container 226840c9d622 11:36:07 ---> 9447a648f93e 11:36:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:36:07 ---> Running in 55c3f0d1d07a 11:36:07 Removing intermediate container 55c3f0d1d07a 11:36:07 ---> d8319ba00c5c 11:36:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:36:07 ---> Running in faad25af7a62 11:36:07 Removing intermediate container faad25af7a62 11:36:07 ---> 702429fcade2 11:36:07 Step 24/26 : LABEL arch=amd64 11:36:07 ---> Running in 358a7870ac29 11:36:07 Removing intermediate container 358a7870ac29 11:36:07 ---> 9243d4415125 11:36:07 Step 25/26 : LABEL git_sha=3bb026eb44965f8cd89cc0032dcda78f92059a39 11:36:07 ---> Running in 3c89a9694691 11:36:07 Removing intermediate container 3c89a9694691 11:36:07 ---> 7e02430f34b6 11:36:07 Step 26/26 : LABEL version=3.2.0-dev.19 11:36:07 ---> Running in 2693c4573aa8 11:36:08 Removing intermediate container 2693c4573aa8 11:36:08 ---> a020042f69f9 11:36:08 [Warning] One or more build-args [ARCH] were not consumed 11:36:08 Successfully built a020042f69f9 11:36:08 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:36:08 provisioning config files... 11:36:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11838889085415613037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:08 ---> ****-login.sh 11:36:08 nexus3.edgexfoundry.org:10001 11:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:08 Configure a credential helper to remove this warning. See 11:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:08 11:36:08 Login Succeeded 11:36:08 nexus3.edgexfoundry.org:10002 11:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:08 Configure a credential helper to remove this warning. See 11:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:08 11:36:08 Login Succeeded 11:36:08 nexus3.edgexfoundry.org:10003 11:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:08 Configure a credential helper to remove this warning. See 11:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:08 11:36:08 Login Succeeded 11:36:08 nexus3.edgexfoundry.org:10004 11:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:08 Configure a credential helper to remove this warning. See 11:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:08 11:36:08 Login Succeeded 11:36:08 ****.io 11:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:36:09 Configure a credential helper to remove this warning. See 11:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:36:09 11:36:09 Login Succeeded 11:36:09 ---> ****-login.sh ends [Pipeline] } 11:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:36:09 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:36:09 3bb026eb44965f8cd89cc0032dcda78f92059a39 11:36:09 latest 11:36:09 3.2.0-dev.19 11:36:09 3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 11:36:09 main 11:36:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3bb026eb44965f8cd89cc0032dcda78f92059a39 11:36:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:36:10 c11fb36438db: Preparing 11:36:10 310bce01f6a5: Preparing 11:36:10 674337537b89: Preparing 11:36:10 bcfdbf8f62e9: Preparing 11:36:10 136f092d5865: Preparing 11:36:10 ce7f800efff9: Preparing 11:36:10 ce7f800efff9: Waiting 11:36:10 674337537b89: Pushed 11:36:10 310bce01f6a5: Pushed 11:36:10 136f092d5865: Pushed 11:36:10 ce7f800efff9: Layer already exists 11:36:10 bcfdbf8f62e9: Pushed 11:36:13 c11fb36438db: Pushed 11:36:13 3bb026eb44965f8cd89cc0032dcda78f92059a39: digest: sha256:6b20e59f4b9eca73d2a61123459425627a02490fc6af2300b0ecd0845b4b747b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:36:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:36:14 c11fb36438db: Preparing 11:36:14 310bce01f6a5: Preparing 11:36:14 674337537b89: Preparing 11:36:14 bcfdbf8f62e9: Preparing 11:36:14 136f092d5865: Preparing 11:36:14 ce7f800efff9: Preparing 11:36:14 ce7f800efff9: Waiting 11:36:14 136f092d5865: Layer already exists 11:36:14 c11fb36438db: Layer already exists 11:36:14 310bce01f6a5: Layer already exists 11:36:14 bcfdbf8f62e9: Layer already exists 11:36:14 674337537b89: Layer already exists 11:36:14 ce7f800efff9: Layer already exists 11:36:14 latest: digest: sha256:6b20e59f4b9eca73d2a61123459425627a02490fc6af2300b0ecd0845b4b747b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.19 11:36:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:36:14 c11fb36438db: Preparing 11:36:14 310bce01f6a5: Preparing 11:36:14 674337537b89: Preparing 11:36:14 bcfdbf8f62e9: Preparing 11:36:14 136f092d5865: Preparing 11:36:14 ce7f800efff9: Preparing 11:36:14 ce7f800efff9: Waiting 11:36:14 c11fb36438db: Layer already exists 11:36:14 310bce01f6a5: Layer already exists 11:36:14 136f092d5865: Layer already exists 11:36:14 bcfdbf8f62e9: Layer already exists 11:36:14 674337537b89: Layer already exists 11:36:14 ce7f800efff9: Layer already exists 11:36:14 3.2.0-dev.19: digest: sha256:6b20e59f4b9eca73d2a61123459425627a02490fc6af2300b0ecd0845b4b747b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 11:36:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:36:15 c11fb36438db: Preparing 11:36:15 310bce01f6a5: Preparing 11:36:15 674337537b89: Preparing 11:36:15 bcfdbf8f62e9: Preparing 11:36:15 136f092d5865: Preparing 11:36:15 ce7f800efff9: Preparing 11:36:15 ce7f800efff9: Waiting 11:36:15 c11fb36438db: Layer already exists 11:36:15 310bce01f6a5: Layer already exists 11:36:15 bcfdbf8f62e9: Layer already exists 11:36:15 674337537b89: Layer already exists 11:36:15 136f092d5865: Layer already exists 11:36:15 ce7f800efff9: Layer already exists 11:36:15 3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19: digest: sha256:6b20e59f4b9eca73d2a61123459425627a02490fc6af2300b0ecd0845b4b747b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:36:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:36:15 c11fb36438db: Preparing 11:36:15 310bce01f6a5: Preparing 11:36:15 674337537b89: Preparing 11:36:15 bcfdbf8f62e9: Preparing 11:36:15 136f092d5865: Preparing 11:36:15 ce7f800efff9: Preparing 11:36:15 ce7f800efff9: Waiting 11:36:15 c11fb36438db: Layer already exists 11:36:15 674337537b89: Layer already exists 11:36:15 136f092d5865: Layer already exists 11:36:15 bcfdbf8f62e9: Layer already exists 11:36:15 310bce01f6a5: Layer already exists 11:36:15 ce7f800efff9: Layer already exists 11:36:15 main: digest: sha256:6b20e59f4b9eca73d2a61123459425627a02490fc6af2300b0ecd0845b4b747b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:36:16 ===================================================== [Pipeline] echo 11:36:16 taggedImages: 11:36:16 - nexus3.edgexfoundry.org:10004/device-virtual:3bb026eb44965f8cd89cc0032dcda78f92059a39 11:36:16 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:36:16 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.19 11:36:16 - nexus3.edgexfoundry.org:10004/device-virtual:3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 11:36:16 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:16 11:36:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:16 latest: Pulling from edgex-lftools-log-publisher 11:36:16 5eb5b503b376: Pulling fs layer 11:36:16 5c69ac0246d0: Pulling fs layer 11:36:16 ec43610c2a17: Pulling fs layer 11:36:16 3a2ae6a8a46f: Pulling fs layer 11:36:16 33b1e0a273af: Pulling fs layer 11:36:16 5d3b04190fa2: Pulling fs layer 11:36:16 2f39f015ded8: Pulling fs layer 11:36:16 3a2ae6a8a46f: Waiting 11:36:16 33b1e0a273af: Waiting 11:36:16 5d3b04190fa2: Waiting 11:36:16 5c69ac0246d0: Download complete 11:36:16 3a2ae6a8a46f: Verifying Checksum 11:36:16 3a2ae6a8a46f: Download complete 11:36:16 33b1e0a273af: Verifying Checksum 11:36:16 33b1e0a273af: Download complete 11:36:16 5d3b04190fa2: Verifying Checksum 11:36:16 5d3b04190fa2: Download complete 11:36:16 ec43610c2a17: Download complete 11:36:17 5eb5b503b376: Verifying Checksum 11:36:17 5eb5b503b376: Download complete 11:36:17 d6de4b400683: Pull complete 11:36:17 35cb2a7552d0: Pull complete 11:36:17 4f4fb700ef54: Pull complete 11:36:17 464afbd9ba4c: Pull complete 11:36:17 2f39f015ded8: Download complete 11:36:18 5eb5b503b376: Pull complete 11:36:18 5c69ac0246d0: Pull complete 11:36:18 ec43610c2a17: Pull complete 11:36:18 3a2ae6a8a46f: Pull complete 11:36:19 33b1e0a273af: Pull complete 11:36:19 5d3b04190fa2: Pull complete 11:36:23 2f39f015ded8: Pull complete 11:36:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:36:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:23 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:36:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:36:25 00f215d4a9da: Pull complete 11:36:27 d496ad576159: Pull complete 11:36:27 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:36:27 ---> f246e2811388 11:36:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:36:27 $ docker top b52da640c0106dde8b0efc38093e6791813601c4f29f6b51b95ba3fd4427b735 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:28 ---> job-cost.sh 11:36:28 lf-activate-venv: SKIPPING 11:36:28 INFO: No Stack... 11:36:28 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:29 ---> Running in e6ecf72faaf3 11:36:29 INFO: Archiving Costs [Pipeline] sh 11:36:29 Removing intermediate container e6ecf72faaf3 11:36:29 ---> f43c64f90e50 11:36:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:36:29 ---> Running in 1dd18d7e4a0c 11:36:29 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:36:29 + cut -d, -f6 [Pipeline] lock 11:36:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] 11:36:29 Resource [jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] did not exist. Created. 11:36:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:36:29 Removing intermediate container 1dd18d7e4a0c 11:36:29 ---> 3449db5d7004 11:36:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:36:29 ---> Running in 7d14ed1ac653 11:36:29 + echo total: 0.2199999988079071 [Pipeline] stash 11:36:29 Stashed 1 file(s) [Pipeline] } 11:36:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 11:36:29 $ docker stop --time=1 b52da640c0106dde8b0efc38093e6791813601c4f29f6b51b95ba3fd4427b735 11:36:29 Removing intermediate container 7d14ed1ac653 11:36:29 ---> 28fe1468e720 11:36:29 Step 6/12 : WORKDIR /device-virtual-go 11:36:30 ---> Running in 7c718f02531b 11:36:30 Removing intermediate container 7c718f02531b 11:36:30 ---> 476ac496a8ea 11:36:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:36:30 ---> Running in 218f4d7fb24f 11:36:30 $ docker rm -f --volumes b52da640c0106dde8b0efc38093e6791813601c4f29f6b51b95ba3fd4427b735 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:36:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:36:33 (1/4) Installing openssh-keygen (9.3_p2-r2) 11:36:33 (2/4) Installing libedit (20221030.3.1-r1) 11:36:33 (3/4) Installing openssh-client-common (9.3_p2-r2) 11:36:33 (4/4) Installing openssh-client-default (9.3_p2-r2) 11:36:33 Executing busybox-1.36.1-r5.trigger 11:36:33 OK: 271 MiB in 56 packages 11:36:34 Removing intermediate container 218f4d7fb24f 11:36:34 ---> 71839ce51341 11:36:34 Step 8/12 : COPY go.mod vendor* ./ 11:36:34 ---> 668a0bf53a32 11:36:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:36:34 ---> Running in 966b4d5e96f7 11:38:41 Removing intermediate container 966b4d5e96f7 11:38:41 ---> 3252fc7f0c07 11:38:41 Step 10/12 : COPY . . 11:38:41 ---> 6ecc64269cca 11:38:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:38:41 ---> Running in 94008ff8bad1 11:38:41 Removing intermediate container 94008ff8bad1 11:38:41 ---> 0a0a82d08eb4 11:38:41 Step 12/12 : RUN $MAKE 11:38:41 ---> Running in 476ade8c7b8b 11:38:41 noop 11:38:41 Removing intermediate container 476ade8c7b8b 11:38:41 ---> 69ded5fe1e67 11:38:41 Successfully built 69ded5fe1e67 11:38:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:41 + docker inspect -f . ci-base-image-arm64 11:38:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:42 prd-ubuntu20.04-docker-arm64-4c-16g-6447 does not seem to be running inside a container 11:38:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/175 -v /w/workspace/device-virtual-go/175:/w/workspace/device-virtual-go/175:rw,z -v /w/workspace/device-virtual-go/175@tmp:/w/workspace/device-virtual-go/175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:38:43 $ docker top 46e93fba172b175ef40a3e165b9a27031cb5c8d043e32de455131e6d2490f629 -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:44 + go version 11:38:44 go version go1.21.9 linux/arm64 [Pipeline] } 11:38:44 $ docker stop --time=1 46e93fba172b175ef40a3e165b9a27031cb5c8d043e32de455131e6d2490f629 11:38:45 $ docker rm -f --volumes 46e93fba172b175ef40a3e165b9a27031cb5c8d043e32de455131e6d2490f629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:46 + docker inspect -f . ci-base-image-arm64 11:38:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:46 prd-ubuntu20.04-docker-arm64-4c-16g-6447 does not seem to be running inside a container 11:38:46 $ 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/175 -v /w/workspace/device-virtual-go/175:/w/workspace/device-virtual-go/175:rw,z -v /w/workspace/device-virtual-go/175@tmp:/w/workspace/device-virtual-go/175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:38:47 $ docker top 6659f1eabf85f6ac5126d2982d9ae58e048d6e91c778a1533161101b6bd71f59 -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:48 + git config --global --add safe.directory /w/workspace/device-virtual-go/175 [Pipeline] fileExists [Pipeline] sh 11:38:49 + make test 11:38:49 go test ./... -coverprofile=coverage.out 11:38:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:42:17 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:42:17 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.059s coverage: 58.3% of statements 11:42:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:42:17 go vet ./... 11:43:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:04 ./bin/test-attribution-txt.sh 11:43:04 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 11:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:43:04 $ docker stop --time=1 6659f1eabf85f6ac5126d2982d9ae58e048d6e91c778a1533161101b6bd71f59 11:43:06 $ docker rm -f --volumes 6659f1eabf85f6ac5126d2982d9ae58e048d6e91c778a1533161101b6bd71f59 [Pipeline] // withDockerContainer [Pipeline] sh 11:43:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:08 Warning: overwriting stash ‘coverage-report’ 11:43:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:09 + ls -al . 11:43:09 total 272 11:43:09 drwxrwxr-x 7 jenkins jenkins 4096 Jul 25 11:38 . 11:43:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 11:35 .. 11:43:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 11:35 .git 11:43:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:35 .github 11:43:09 -rw-rw-r-- 1 jenkins jenkins 272 Jul 25 11:35 .gitignore 11:43:09 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 11:35 .golangci.yml 11:43:09 -rw-rw-r-- 1 jenkins jenkins 17933 Jul 25 11:35 Attribution.txt 11:43:09 -rw-rw-r-- 1 jenkins jenkins 15941 Jul 25 11:35 CHANGELOG.md 11:43:09 -rw-rw-r-- 1 jenkins jenkins 1755 Jul 25 11:35 Dockerfile 11:43:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 11:35 GOVERNANCE.md 11:43:09 -rw-rw-r-- 1 jenkins jenkins 660 Jul 25 11:35 Jenkinsfile 11:43:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 11:35 LICENSE 11:43:09 -rw-rw-r-- 1 jenkins jenkins 1953 Jul 25 11:35 Makefile 11:43:09 -rw-rw-r-- 1 jenkins jenkins 623 Jul 25 11:35 OWNERS.md 11:43:09 -rw-rw-r-- 1 jenkins jenkins 4103 Jul 25 11:35 README.md 11:43:09 -rw-rw-r-- 1 jenkins jenkins 12 Jul 25 11:33 VERSION 11:43:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 11:35 bin 11:43:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:35 cmd 11:43:09 -rw-r--r-- 1 jenkins jenkins 43247 Jul 25 11:42 coverage.out 11:43:09 -rw-rw-r-- 1 jenkins jenkins 6923 Jul 25 11:35 go.mod 11:43:09 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 11:35 go.sum 11:43:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:35 internal 11:43:09 -rw-rw-r-- 1 jenkins jenkins 235 Jul 25 11:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:10 + 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=3bb026eb44965f8cd89cc0032dcda78f92059a39 --label arch=arm64 --label version=3.2.0-dev.19 . 11:43:10 Sending build context to Docker daemon 19MB 11:43:10 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:43:10 Step 2/26 : FROM ${BASE} AS builder 11:43:10 ---> 69ded5fe1e67 11:43:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:43:10 ---> Running in 4bca8cd2152f 11:43:11 Removing intermediate container 4bca8cd2152f 11:43:11 ---> cde47e489c65 11:43:11 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:43:11 ---> Running in c5053ca7f270 11:43:11 Removing intermediate container c5053ca7f270 11:43:11 ---> b9b19d3df46d 11:43:11 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:43:11 ---> Running in 6bba9f04b801 11:43:12 Removing intermediate container 6bba9f04b801 11:43:12 ---> a476baabc5df 11:43:12 Step 6/26 : WORKDIR /device-virtual-go 11:43:12 ---> Running in 427f1dd899ed 11:43:12 Removing intermediate container 427f1dd899ed 11:43:12 ---> 40af2d4d2d4d 11:43:12 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:43:12 ---> Running in b127f656697d 11:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:43:15 OK: 271 MiB in 56 packages 11:43:16 Removing intermediate container b127f656697d 11:43:16 ---> 646bcabfbee5 11:43:16 Step 8/26 : COPY go.mod vendor* ./ 11:43:16 ---> 2b9d98abe618 11:43:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:16 ---> Running in 0c973e4cdc1e 11:43:19 Removing intermediate container 0c973e4cdc1e 11:43:19 ---> 76fb7703f551 11:43:19 Step 10/26 : COPY . . 11:43:20 ---> cc63d13a9507 11:43:20 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:20 ---> Running in 118baa37e08a 11:43:20 Removing intermediate container 118baa37e08a 11:43:20 ---> f4c55971e845 11:43:20 Step 12/26 : RUN $MAKE 11:43:21 ---> Running in 1b3031795524 11:43:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:46:58 Removing intermediate container 1b3031795524 11:46:58 ---> 955e6cec84e8 11:46:58 Step 13/26 : FROM alpine:3.18 11:46:58 3.18: Pulling from library/alpine 11:46:58 4983c3fe2029: Pulling fs layer 11:46:58 4983c3fe2029: Verifying Checksum 11:46:58 4983c3fe2029: Download complete 11:46:58 4983c3fe2029: Pull complete 11:46:58 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 11:46:58 Status: Downloaded newer image for alpine:3.18 11:46:58 ---> a0237000ae83 11:46:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:46:58 ---> Running in d8a7c9ccfc87 11:46:58 Removing intermediate container d8a7c9ccfc87 11:46:58 ---> e4898d6ed85c 11:46:58 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:46:58 ---> Running in db30b2f8d0bd 11:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:47:00 (1/1) Installing dumb-init (1.2.5-r2) 11:47:00 Executing busybox-1.36.1-r7.trigger 11:47:00 OK: 8 MiB in 16 packages 11:47:01 Removing intermediate container db30b2f8d0bd 11:47:01 ---> b0db98e19f52 11:47:01 Step 16/26 : RUN apk --no-cache upgrade 11:47:01 ---> Running in a852a5ecb373 11:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:47:03 OK: 8 MiB in 16 packages 11:47:04 Removing intermediate container a852a5ecb373 11:47:04 ---> 9010c00124e9 11:47:04 Step 17/26 : WORKDIR / 11:47:04 ---> Running in 13c17a454468 11:47:04 Removing intermediate container 13c17a454468 11:47:04 ---> 3a708a1e2319 11:47:04 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:47:05 ---> 0e1f6f95911f 11:47:05 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:47:06 ---> bb0f4633dfa7 11:47:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:47:07 ---> 96df218cb848 11:47:07 Step 21/26 : EXPOSE 59900 11:47:07 ---> Running in cd5336ec97eb 11:47:07 Removing intermediate container cd5336ec97eb 11:47:07 ---> acd511bed2a5 11:47:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:47:08 ---> Running in 24d0d6bc1b48 11:47:08 Removing intermediate container 24d0d6bc1b48 11:47:08 ---> c6a02d540e03 11:47:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:47:08 ---> Running in 51d3c1d1872f 11:47:08 Removing intermediate container 51d3c1d1872f 11:47:08 ---> 233814ddab20 11:47:08 Step 24/26 : LABEL arch=arm64 11:47:08 ---> Running in ae19ca88ed5f 11:47:09 Removing intermediate container ae19ca88ed5f 11:47:09 ---> cc98887ef719 11:47:09 Step 25/26 : LABEL git_sha=3bb026eb44965f8cd89cc0032dcda78f92059a39 11:47:09 ---> Running in 7902ff067519 11:47:09 Removing intermediate container 7902ff067519 11:47:09 ---> 72a086d0b597 11:47:09 Step 26/26 : LABEL version=3.2.0-dev.19 11:47:09 ---> Running in b712b637964a 11:47:09 Removing intermediate container b712b637964a 11:47:09 ---> 4e56d4abbf36 11:47:09 [Warning] One or more build-args [ARCH] were not consumed 11:47:09 Successfully built 4e56d4abbf36 11:47:09 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:47:09 provisioning config files... 11:47:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/175@tmp/config9217582831806046766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:10 ---> ****-login.sh 11:47:10 nexus3.edgexfoundry.org:10001 11:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:10 Configure a credential helper to remove this warning. See 11:47:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:10 11:47:10 Login Succeeded 11:47:10 nexus3.edgexfoundry.org:10002 11:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:10 Configure a credential helper to remove this warning. See 11:47:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:10 11:47:10 Login Succeeded 11:47:10 nexus3.edgexfoundry.org:10003 11:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:11 Configure a credential helper to remove this warning. See 11:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:11 11:47:11 Login Succeeded 11:47:11 nexus3.edgexfoundry.org:10004 11:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:11 Configure a credential helper to remove this warning. See 11:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:11 11:47:11 Login Succeeded 11:47:11 ****.io 11:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:12 Configure a credential helper to remove this warning. See 11:47:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:12 11:47:12 Login Succeeded 11:47:12 ---> ****-login.sh ends [Pipeline] } 11:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:47:12 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:47:12 3bb026eb44965f8cd89cc0032dcda78f92059a39 11:47:12 latest 11:47:12 3.2.0-dev.19 11:47:12 3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 11:47:12 main 11:47:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3bb026eb44965f8cd89cc0032dcda78f92059a39 11:47:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:47:13 8709f99b7681: Preparing 11:47:13 e10a843625a0: Preparing 11:47:13 9e69a97a7c0a: Preparing 11:47:13 b84c7843a0be: Preparing 11:47:13 fd1e65edc89d: Preparing 11:47:13 3c20671a5817: Preparing 11:47:13 3c20671a5817: Waiting 11:47:13 b84c7843a0be: Pushed 11:47:13 3c20671a5817: Layer already exists 11:47:13 fd1e65edc89d: Pushed 11:47:13 9e69a97a7c0a: Pushed 11:47:13 e10a843625a0: Pushed 11:47:19 8709f99b7681: Pushed 11:47:19 3bb026eb44965f8cd89cc0032dcda78f92059a39: digest: sha256:452150e6a3757e44f3d3855c263f82cf3318631dd3c4d669a9bea67c9d1bfc8e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:47:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:47:20 8709f99b7681: Preparing 11:47:20 e10a843625a0: Preparing 11:47:20 9e69a97a7c0a: Preparing 11:47:20 b84c7843a0be: Preparing 11:47:20 fd1e65edc89d: Preparing 11:47:20 3c20671a5817: Preparing 11:47:20 3c20671a5817: Waiting 11:47:20 b84c7843a0be: Layer already exists 11:47:20 8709f99b7681: Layer already exists 11:47:20 e10a843625a0: Layer already exists 11:47:20 9e69a97a7c0a: Layer already exists 11:47:20 fd1e65edc89d: Layer already exists 11:47:20 3c20671a5817: Layer already exists 11:47:20 latest: digest: sha256:452150e6a3757e44f3d3855c263f82cf3318631dd3c4d669a9bea67c9d1bfc8e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.19 11:47:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:47:21 8709f99b7681: Preparing 11:47:21 e10a843625a0: Preparing 11:47:21 9e69a97a7c0a: Preparing 11:47:21 b84c7843a0be: Preparing 11:47:21 fd1e65edc89d: Preparing 11:47:21 3c20671a5817: Preparing 11:47:21 3c20671a5817: Waiting 11:47:21 e10a843625a0: Layer already exists 11:47:21 fd1e65edc89d: Layer already exists 11:47:21 8709f99b7681: Layer already exists 11:47:21 9e69a97a7c0a: Layer already exists 11:47:21 b84c7843a0be: Layer already exists 11:47:21 3c20671a5817: Layer already exists 11:47:22 3.2.0-dev.19: digest: sha256:452150e6a3757e44f3d3855c263f82cf3318631dd3c4d669a9bea67c9d1bfc8e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 11:47:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:47:22 8709f99b7681: Preparing 11:47:22 e10a843625a0: Preparing 11:47:22 9e69a97a7c0a: Preparing 11:47:22 b84c7843a0be: Preparing 11:47:22 fd1e65edc89d: Preparing 11:47:22 3c20671a5817: Preparing 11:47:22 3c20671a5817: Waiting 11:47:22 b84c7843a0be: Layer already exists 11:47:22 9e69a97a7c0a: Layer already exists 11:47:22 8709f99b7681: Layer already exists 11:47:22 e10a843625a0: Layer already exists 11:47:22 fd1e65edc89d: Layer already exists 11:47:22 3c20671a5817: Layer already exists 11:47:23 3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19: digest: sha256:452150e6a3757e44f3d3855c263f82cf3318631dd3c4d669a9bea67c9d1bfc8e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:47:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:47:23 8709f99b7681: Preparing 11:47:23 e10a843625a0: Preparing 11:47:23 9e69a97a7c0a: Preparing 11:47:23 b84c7843a0be: Preparing 11:47:23 fd1e65edc89d: Preparing 11:47:23 3c20671a5817: Preparing 11:47:23 3c20671a5817: Waiting 11:47:23 fd1e65edc89d: Layer already exists 11:47:23 9e69a97a7c0a: Layer already exists 11:47:23 8709f99b7681: Layer already exists 11:47:23 b84c7843a0be: Layer already exists 11:47:23 e10a843625a0: Layer already exists 11:47:23 3c20671a5817: Layer already exists 11:47:24 main: digest: sha256:452150e6a3757e44f3d3855c263f82cf3318631dd3c4d669a9bea67c9d1bfc8e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:47:24 ===================================================== [Pipeline] echo 11:47:24 taggedImages: 11:47:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3bb026eb44965f8cd89cc0032dcda78f92059a39 11:47:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:47:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.19 11:47:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3bb026eb44965f8cd89cc0032dcda78f92059a39-3.2.0-dev.19 11:47:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:47:24 11:47:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:47:25 arm64: Pulling from edgex-lftools-log-publisher 11:47:25 8998bd30e6a1: Pulling fs layer 11:47:25 04944245beec: Pulling fs layer 11:47:25 699f458cf7ca: Pulling fs layer 11:47:25 765212b225bb: Pulling fs layer 11:47:25 f23df028b6ca: Pulling fs layer 11:47:25 d65c8cfc05b1: Pulling fs layer 11:47:25 2437ff75d9bd: Pulling fs layer 11:47:25 765212b225bb: Waiting 11:47:25 f23df028b6ca: Waiting 11:47:25 d65c8cfc05b1: Waiting 11:47:25 2437ff75d9bd: Waiting 11:47:25 04944245beec: Verifying Checksum 11:47:25 04944245beec: Download complete 11:47:25 765212b225bb: Verifying Checksum 11:47:25 765212b225bb: Download complete 11:47:25 f23df028b6ca: Verifying Checksum 11:47:25 f23df028b6ca: Download complete 11:47:25 d65c8cfc05b1: Verifying Checksum 11:47:25 d65c8cfc05b1: Download complete 11:47:25 699f458cf7ca: Verifying Checksum 11:47:25 699f458cf7ca: Download complete 11:47:26 8998bd30e6a1: Verifying Checksum 11:47:26 8998bd30e6a1: Download complete 11:47:28 2437ff75d9bd: Verifying Checksum 11:47:28 2437ff75d9bd: Download complete 11:47:30 8998bd30e6a1: Pull complete 11:47:31 04944245beec: Pull complete 11:47:33 699f458cf7ca: Pull complete 11:47:33 765212b225bb: Pull complete 11:47:34 f23df028b6ca: Pull complete 11:47:34 d65c8cfc05b1: Pull complete 11:47:52 2437ff75d9bd: Pull complete 11:47:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:47:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:52 prd-ubuntu20.04-docker-arm64-4c-16g-6447 does not seem to be running inside a container 11:47:52 $ 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/175 -v /w/workspace/device-virtual-go/175:/w/workspace/device-virtual-go/175:rw,z -v /w/workspace/device-virtual-go/175@tmp:/w/workspace/device-virtual-go/175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:47:55 $ docker top e8df0623bbd32b1360de294e69131b493aae199e6736a80807bff05b28d2daa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:56 ---> job-cost.sh 11:47:56 lf-activate-venv: SKIPPING 11:47:56 INFO: No Stack... 11:47:56 INFO: Retrieving Pricing Info for: v3-standard-4 11:47:57 INFO: Archiving Costs [Pipeline] sh 11:47:58 + cat /w/workspace/device-virtual-go/175/archives/cost.csv 11:47:58 + cut -d, -f6 [Pipeline] lock 11:47:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] 11:47:58 Resource [jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] did not exist. Created. 11:47:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:47:59 /w/workspace/device-virtual-go/175@tmp/durable-d88aff03/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:47:59 + echo total: 0.10999999940395355 [Pipeline] stash 11:47:59 Warning: overwriting stash ‘stack-cost’ 11:47:59 Stashed 1 file(s) [Pipeline] } 11:47:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 11:47:59 $ docker stop --time=1 e8df0623bbd32b1360de294e69131b493aae199e6736a80807bff05b28d2daa5 11:48:01 $ docker rm -f --volumes e8df0623bbd32b1360de294e69131b493aae199e6736a80807bff05b28d2daa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:48:02 provisioning config files... 11:48:02 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13622622482366623921tmp [Pipeline] { [Pipeline] sh 11:48:02 + set +x 11:48:02 + curl -s https://codecov.io/bash 11:48:02 + bash -s -- 11:48:02 11:48:02 _____ _ 11:48:02 / ____| | | 11:48:02 | | ___ __| | ___ ___ _____ __ 11:48:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:48:02 | |___| (_) | (_| | __/ (_| (_) \ V / 11:48:02 \_____\___/ \__,_|\___|\___\___/ \_/ 11:48:02 Bash-1.0.6 11:48:02 11:48:02 11:48:02 ==> git version 2.25.1 found 11:48:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:48:02 Release-Date: 2020-01-08 11:48:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:48:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:48:02 ==> Jenkins CI detected. 11:48:02 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:48:02 project root: . 11:48:02 --> token set from env 11:48:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:48:02 ==> Running gcov in . (disable via -X gcov) 11:48:02 ==> Python coveragepy not found 11:48:02 ==> Searching for coverage reports in: 11:48:02 + . 11:48:02 -> Found 1 reports 11:48:02 ==> Detecting git/mercurial file structure 11:48:02 ==> Reading reports 11:48:02 + ./coverage.out bytes=43247 11:48:02 ==> Appending adjustments 11:48:02 https://docs.codecov.io/docs/fixing-reports 11:48:02 + Found adjustments 11:48:02 ==> Gzipping contents 11:48:02 8.0K /tmp/codecov.6JIXS4.gz 11:48:02 ==> Uploading reports 11:48:02 url: https://codecov.io 11:48:02 query: branch=main&commit=3bb026eb44965f8cd89cc0032dcda78f92059a39&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:48:02 -> Pinging Codecov 11:48:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3bb026eb44965f8cd89cc0032dcda78f92059a39&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:48:02 -> Uploading to 11:48:02 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/5E52B4B073DB2E39498172D8E973AA87/3bb026eb44965f8cd89cc0032dcda78f92059a39/d0e13795-7111-4b0a-85da-06a184a00703.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T114802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69a683bea6d05ede1943b1fde251dc23a2d536002421d2c21e98d9c3acd27093 11:48:02 % Total % Received % Xferd Average Speed Time Time Time Current 11:48:02 Dload Upload Total Spent Left Speed 11:48:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 19465 --:--:-- --:--:-- --:--:-- 19465 11:48:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] } 11:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:48:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:48:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:48:03 11:48:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:48:03 latest: Pulling from edgex-devops/edgex-snyk-go 11:48:03 619be1103602: Already exists 11:48:03 f8ea3408117e: Pulling fs layer 11:48:03 91320369b822: Pulling fs layer 11:48:03 0406650e8295: Pulling fs layer 11:48:03 4f4fb700ef54: Pulling fs layer 11:48:03 96d80e3f36e1: Pulling fs layer 11:48:03 bcf3aedb951c: Pulling fs layer 11:48:03 4f4fb700ef54: Waiting 11:48:03 bcf3aedb951c: Waiting 11:48:03 0406650e8295: Verifying Checksum 11:48:03 0406650e8295: Download complete 11:48:03 f8ea3408117e: Download complete 11:48:03 4f4fb700ef54: Verifying Checksum 11:48:03 4f4fb700ef54: Download complete 11:48:03 f8ea3408117e: Pull complete 11:48:04 96d80e3f36e1: Verifying Checksum 11:48:04 96d80e3f36e1: Download complete 11:48:04 91320369b822: Verifying Checksum 11:48:04 91320369b822: Download complete 11:48:05 bcf3aedb951c: Verifying Checksum 11:48:05 bcf3aedb951c: Download complete 11:48:07 91320369b822: Pull complete 11:48:07 0406650e8295: Pull complete 11:48:07 4f4fb700ef54: Pull complete 11:48:08 96d80e3f36e1: Pull complete 11:48:11 bcf3aedb951c: Pull complete 11:48:11 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 11:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:48:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:11 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:48:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 11:48:15 $ docker top 18517bb24eebeff3caa408bacf5b787379aaff06ae35ff75cc52b41e5bd79ae5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:48:16 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 11:48:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 11:48:16 + set -o pipefail 11:48:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 11:48:23 11:48:23 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:48:23 11:48:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/a6bec7ee-12a5-4553-b088-439847941d37 11:48:23 11:48:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:48:23 11:48:23 11:48:23 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 11:48:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:48:23 $ docker stop --time=1 18517bb24eebeff3caa408bacf5b787379aaff06ae35ff75cc52b41e5bd79ae5 11:48:28 $ docker rm -f --volumes 18517bb24eebeff3caa408bacf5b787379aaff06ae35ff75cc52b41e5bd79ae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:48:29 + git log --format=format:%s -1 3bb026eb44965f8cd89cc0032dcda78f92059a39 [Pipeline] sh 11:48:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:48:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:30 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:48:30 $ docker top a54cd3f4428f4bd6f76d586b038bfa071885cba7ea671273cddc02474412dfde -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:48:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:48:30 [ssh-agent] Looking for ssh-agent implementation... 11:48:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:48:31 $ docker exec a54cd3f4428f4bd6f76d586b038bfa071885cba7ea671273cddc02474412dfde ssh-agent 11:48:31 SSH_AUTH_SOCK=/tmp/ssh-O9fi3OuN5a9e/agent.32 11:48:31 SSH_AGENT_PID=38 11:48:31 Running ssh-add (command line suppressed) 11:48:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7909674862108537226.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7909674862108537226.key) 11:48:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:48:31 + git semver tag 11:48:31 2024-07-25 11:48:31,812 [run_tag] DEBUG tag force:False 11:48:31 2024-07-25 11:48:31,812 [check_head_tag] DEBUG check head tag 11:48:31 2024-07-25 11:48:31,813 [execute] INFO git cat-file --batch-check 11:48:31 2024-07-25 11:48:31,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:48:31 2024-07-25 11:48:31,818 [execute] INFO git cat-file --batch 11:48:31 2024-07-25 11:48:31,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:48:31 2024-07-25 11:48:31,841 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:48:31 2024-07-25 11:48:31,841 [execute] INFO git tag -a v3.2.0-dev.19 -m v3.2.0-dev.19 11:48:31 2024-07-25 11:48:31,841 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.19', '-m', 'v3.2.0-dev.19'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:48:31 2024-07-25 11:48:31,847 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:48:31 3.2.0-dev.19 [Pipeline] } 11:48:31 $ docker exec --env ******** --env ******** a54cd3f4428f4bd6f76d586b038bfa071885cba7ea671273cddc02474412dfde ssh-agent -k 11:48:32 unset SSH_AUTH_SOCK; 11:48:32 unset SSH_AGENT_PID; 11:48:32 echo Agent pid 38 killed; 11:48:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:48:32 + git semver [Pipeline] } 11:48:32 $ docker stop --time=1 a54cd3f4428f4bd6f76d586b038bfa071885cba7ea671273cddc02474412dfde 11:48:33 $ docker rm -f --volumes a54cd3f4428f4bd6f76d586b038bfa071885cba7ea671273cddc02474412dfde [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:48:34 11:48:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:48:34 0.23.1-centos7: Pulling from edgex-lftools 11:48:34 ab5ef0e58194: Pulling fs layer 11:48:34 9712f1f96733: Pulling fs layer 11:48:34 63f879dbbcfc: Pulling fs layer 11:48:34 0d9ebad4ef96: Pulling fs layer 11:48:34 e9a5061849ea: Pulling fs layer 11:48:34 d747dcd14b5f: Pulling fs layer 11:48:34 2de7ff778b66: Pulling fs layer 11:48:34 0d9ebad4ef96: Waiting 11:48:34 e9a5061849ea: Waiting 11:48:34 d747dcd14b5f: Waiting 11:48:34 2de7ff778b66: Waiting 11:48:35 63f879dbbcfc: Verifying Checksum 11:48:35 63f879dbbcfc: Download complete 11:48:35 e9a5061849ea: Verifying Checksum 11:48:35 e9a5061849ea: Download complete 11:48:35 d747dcd14b5f: Download complete 11:48:35 0d9ebad4ef96: Verifying Checksum 11:48:35 0d9ebad4ef96: Download complete 11:48:35 2de7ff778b66: Download complete 11:48:35 ab5ef0e58194: Verifying Checksum 11:48:35 ab5ef0e58194: Download complete 11:48:38 ab5ef0e58194: Pull complete 11:48:38 9712f1f96733: Pull complete 11:48:39 63f879dbbcfc: Pull complete 11:48:43 0d9ebad4ef96: Pull complete 11:48:43 e9a5061849ea: Pull complete 11:48:43 d747dcd14b5f: Pull complete 11:48:44 2de7ff778b66: Pull complete 11:48:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:48:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:44 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:48:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:48:49 $ docker top 0cc56bde9395ad67c79e865c3dfe0df0fcb858e628c6df5ea556255fad896b61 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:48:49 provisioning config files... 11:48:49 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15826124215080013683tmp 11:48:49 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5855030110530259964tmp 11:48:49 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12727179797391471689tmp [Pipeline] { [Pipeline] echo 11:48:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:48:49 ---> sigul-configuration.sh 11:48:49 gpg: directory `/root/.gnupg' created 11:48:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:48:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:48:49 gpg: keyring `/root/.gnupg/secring.gpg' created 11:48:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:48:49 gpg: CAST5 encrypted data 11:48:49 gpg: encrypted with 1 passphrase 11:48:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:48:50 + mkdir /home/jenkins 11:48:50 + mkdir /home/jenkins/sigul [Pipeline] sh 11:48:50 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:48:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:48:50 ---> sigul-install.sh 11:48:50 Sigul already installed; skipping installation. [Pipeline] sh 11:48:50 + git tag --list 11:48:50 v1.0.0 11:48:50 v1.1.0 11:48:50 v1.1.1 11:48:50 v1.2.1 11:48:50 v1.2.2 11:48:50 v1.2.3 11:48:50 v1.3.0 11:48:50 v1.3.1 11:48:50 v2.0.0 11:48:50 v2.1.0 11:48:50 v2.1.1 11:48:50 v2.2.0 11:48:50 v2.3.0 11:48:50 v3.0 11:48:50 v3.0.0 11:48:50 v3.1 11:48:50 v3.1.0 11:48:50 v3.1.0-dev.1 11:48:50 v3.1.0-dev.10 11:48:50 v3.1.0-dev.11 11:48:50 v3.1.0-dev.12 11:48:50 v3.1.0-dev.13 11:48:50 v3.1.0-dev.14 11:48:50 v3.1.0-dev.15 11:48:50 v3.1.0-dev.16 11:48:50 v3.1.0-dev.17 11:48:50 v3.1.0-dev.18 11:48:50 v3.1.0-dev.19 11:48:50 v3.1.0-dev.2 11:48:50 v3.1.0-dev.20 11:48:50 v3.1.0-dev.21 11:48:50 v3.1.0-dev.22 11:48:50 v3.1.0-dev.23 11:48:50 v3.1.0-dev.24 11:48:50 v3.1.0-dev.25 11:48:50 v3.1.0-dev.26 11:48:50 v3.1.0-dev.27 11:48:50 v3.1.0-dev.28 11:48:50 v3.1.0-dev.29 11:48:50 v3.1.0-dev.3 11:48:50 v3.1.0-dev.30 11:48:50 v3.1.0-dev.4 11:48:50 v3.1.0-dev.5 11:48:50 v3.1.0-dev.6 11:48:50 v3.1.0-dev.7 11:48:50 v3.1.0-dev.8 11:48:50 v3.1.0-dev.9 11:48:50 v3.1.1 11:48:50 v3.1.1-dev.1 11:48:50 v3.2.0-dev.1 11:48:50 v3.2.0-dev.10 11:48:50 v3.2.0-dev.11 11:48:50 v3.2.0-dev.12 11:48:50 v3.2.0-dev.13 11:48:50 v3.2.0-dev.14 11:48:50 v3.2.0-dev.15 11:48:50 v3.2.0-dev.16 11:48:50 v3.2.0-dev.17 11:48:50 v3.2.0-dev.18 11:48:50 v3.2.0-dev.19 11:48:50 v3.2.0-dev.2 11:48:50 v3.2.0-dev.3 11:48:50 v3.2.0-dev.4 11:48:50 v3.2.0-dev.5 11:48:50 v3.2.0-dev.6 11:48:50 v3.2.0-dev.7 11:48:50 v3.2.0-dev.8 11:48:50 v3.2.0-dev.9 [Pipeline] sh 11:48:51 + lftools sign git-tag v3.2.0-dev.19 11:48:51 Signing Git tag with Sigul... 11:48:51 Signing v3.2.0-dev.19 [Pipeline] echo 11:48:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:48:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:48:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:48:52 $ docker stop --time=1 0cc56bde9395ad67c79e865c3dfe0df0fcb858e628c6df5ea556255fad896b61 11:48:54 $ docker rm -f --volumes 0cc56bde9395ad67c79e865c3dfe0df0fcb858e628c6df5ea556255fad896b61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:48:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:48:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:54 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:48:55 $ docker top d8afe4cbada85d9d1c75d92ab5ceb447a07cee165ef7b17f9004bd8052f24515 -eo pid,comm 11:48:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:48:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:48:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:48:55 [ssh-agent] Looking for ssh-agent implementation... 11:48:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:48:55 $ docker exec d8afe4cbada85d9d1c75d92ab5ceb447a07cee165ef7b17f9004bd8052f24515 ssh-agent 11:48:55 SSH_AUTH_SOCK=/tmp/ssh-xClcTfPL6T9K/agent.31 11:48:55 SSH_AGENT_PID=37 11:48:55 Running ssh-add (command line suppressed) 11:48:55 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1035413954025252208.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1035413954025252208.key) 11:48:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:48:56 + git semver bump pre 11:48:56 2024-07-25 11:48:56,167 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:48:56 2024-07-25 11:48:56,167 [bump_version] DEBUG bumping version:3.2.0-dev.19 on axis:pre with prefix:dev 11:48:56 2024-07-25 11:48:56,167 [bump_version] DEBUG bumped version:3.2.0-dev.20 11:48:56 2024-07-25 11:48:56,167 [write_version] DEBUG write version:3.2.0-dev.20 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 11:48:56 2024-07-25 11:48:56,167 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:48:56 2024-07-25 11:48:56,167 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:48:56 2024-07-25 11:48:56,169 [execute] INFO git cat-file --batch-check 11:48:56 2024-07-25 11:48:56,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:48:56 2024-07-25 11:48:56,174 [execute] INFO git cat-file --batch 11:48:56 2024-07-25 11:48:56,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:48:56 2024-07-25 11:48:56,180 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:48:56 3.2.0-dev.20 [Pipeline] } 11:48:56 $ docker exec --env ******** --env ******** d8afe4cbada85d9d1c75d92ab5ceb447a07cee165ef7b17f9004bd8052f24515 ssh-agent -k 11:48:56 unset SSH_AUTH_SOCK; 11:48:56 unset SSH_AGENT_PID; 11:48:56 echo Agent pid 37 killed; 11:48:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:48:56 + git semver [Pipeline] } 11:48:56 $ docker stop --time=1 d8afe4cbada85d9d1c75d92ab5ceb447a07cee165ef7b17f9004bd8052f24515 11:48:58 $ docker rm -f --volumes d8afe4cbada85d9d1c75d92ab5ceb447a07cee165ef7b17f9004bd8052f24515 [Pipeline] // withDockerContainer [Pipeline] sh 11:48:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:48:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:59 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:48:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:48:59 $ docker top 468018a9b20c11ee38e888b12880c786fd81a74b3b91241c2323ccd994cd880d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:48:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:48:59 [ssh-agent] Looking for ssh-agent implementation... 11:48:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:48:59 $ docker exec 468018a9b20c11ee38e888b12880c786fd81a74b3b91241c2323ccd994cd880d ssh-agent 11:48:59 SSH_AUTH_SOCK=/tmp/ssh-Ys0h5vUNSK3p/agent.32 11:48:59 SSH_AGENT_PID=38 11:48:59 Running ssh-add (command line suppressed) 11:48:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14214404385515076079.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14214404385515076079.key) 11:48:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:49:00 + git semver push 11:49:00 2024-07-25 11:49:00,390 [run_push] DEBUG push 11:49:00 2024-07-25 11:49:00,391 [execute] INFO git cat-file --batch-check 11:49:00 2024-07-25 11:49:00,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:49:00 2024-07-25 11:49:00,396 [execute] INFO git rev-list 3973e99b29abfb757cb4ad67f81f8a7ba9c9a290 -- 11:49:00 2024-07-25 11:49:00,396 [execute] DEBUG Popen(['git', 'rev-list', '3973e99b29abfb757cb4ad67f81f8a7ba9c9a290', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:49:00 2024-07-25 11:49:00,408 [execute] INFO git fetch -v origin 11:49:00 2024-07-25 11:49:00,408 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:49:01 2024-07-25 11:49:00,862 [run_push] DEBUG no remote changes detected 11:49:01 2024-07-25 11:49:00,862 [execute] INFO git push origin semver 11:49:01 2024-07-25 11:49:00,863 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:49:01 2024-07-25 11:49:01,634 [run_push] DEBUG push all version tags 11:49:01 2024-07-25 11:49:01,634 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:49:01 2024-07-25 11:49:01,635 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:49:02 2024-07-25 11:49:02,468 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:49:02 3.2.0-dev.20 [Pipeline] } 11:49:02 $ docker exec --env ******** --env ******** 468018a9b20c11ee38e888b12880c786fd81a74b3b91241c2323ccd994cd880d ssh-agent -k 11:49:02 unset SSH_AUTH_SOCK; 11:49:02 unset SSH_AGENT_PID; 11:49:02 echo Agent pid 38 killed; 11:49:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:49:03 + git semver [Pipeline] } 11:49:03 $ docker stop --time=1 468018a9b20c11ee38e888b12880c786fd81a74b3b91241c2323ccd994cd880d 11:49:04 $ docker rm -f --volumes 468018a9b20c11ee38e888b12880c786fd81a74b3b91241c2323ccd994cd880d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:49:05 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:49:05 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:49:05 total 16 11:49:05 drwxr-xr-x 3 root root 4096 Jul 25 11:36 . 11:49:05 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 11:48 .. 11:49:05 drwxr-xr-x 2 root root 4096 Jul 25 11:36 cost 11:49:05 -rw-r--r-- 1 root root 90 Jul 25 11:36 cost.csv 11:49:05 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:49:05 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:49:05 total 16 11:49:05 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 11:36 . 11:49:05 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 11:48 .. 11:49:05 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 11:36 cost 11:49:05 -rw-r--r-- 1 jenkins jenkins 90 Jul 25 11:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:49:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:49:06 ---> package-listing.sh 11:49:06 ++ facter osfamily 11:49:06 ++ tr '[:upper:]' '[:lower:]' 11:49:06 + OS_FAMILY=debian 11:49:06 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:49:06 + START_PACKAGES=/tmp/packages_start.txt 11:49:06 + END_PACKAGES=/tmp/packages_end.txt 11:49:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:49:06 + PACKAGES=/tmp/packages_start.txt 11:49:06 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:49:06 + PACKAGES=/tmp/packages_end.txt 11:49:06 + case "${OS_FAMILY}" in 11:49:06 + dpkg -l 11:49:06 + grep '^ii' 11:49:06 + '[' -f /tmp/packages_start.txt ']' 11:49:06 + '[' -f /tmp/packages_end.txt ']' 11:49:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:49:06 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:49:06 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:49:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:49:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:49:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:07 prd-ubuntu20.04-docker-8c-8g-6445 does not seem to be running inside a container 11:49:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:49:07 $ docker top 411dbff799418148d8647d486aca7fe575bf8f74ef4d58445f2c92ba0abbe6e3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:08 + touch /tmp/pre-build-complete [Pipeline] sh 11:49:08 + mkdir -p /var/log/sysstat [Pipeline] sh 11:49:08 + ls /var/log/sa-host 11:49:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:49:08 provisioning config files... 11:49:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4372616767978797533tmp [Pipeline] { [Pipeline] echo 11:49:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:49:09 ---> create-netrc.sh [Pipeline] } 11:49:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:49:09 ---> python-tools-install.sh [Pipeline] echo 11:49:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:49:09 ---> sudo-logs.sh 11:49:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:49:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:49:10 ---> job-cost.sh 11:49:10 lf-activate-venv: SKIPPING 11:49:10 DEBUG: total: 0.2199999988079071 11:49:10 INFO: Retrieving Stack Cost... 11:49:10 INFO: Retrieving Pricing Info for: v3-standard-8 11:49:11 INFO: Archiving Costs [Pipeline] echo 11:49:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:49:11 ---> logs-deploy.sh 11:49:11 lf-activate-venv: SKIPPING 11:49:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/175 11:49:11 INFO: archiving workspace using pattern(s): 11:49:12 Archives upload complete. 11:49:12 INFO: archiving logs to Nexus