Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2286335481a4acfff8c0442b7058260a928cf02 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-ssh2097600814480943377.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-ssh13307317344763768684.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-ssh8742360814652815495.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-ssh303522936727741005.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-ssh18333498071853562025.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4923 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 d2286335481a4acfff8c0442b7058260a928cf02 (main) Commit message: "Merge pull request #476 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > 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 d2286335481a4acfff8c0442b7058260a928cf02 # timeout=10 > git rev-list --no-walk 932cd0ed64b24657bf9f55b2df32b0bd0d5697a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:29:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:29:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:29:22 ========================================================= 12:29:22 EdgeX Global Pipelines Version Info 12:29:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:29:23 ------------------- 12:29:23 stable info: 12:29:23 ------------------- 12:29:23 Commited By: Ginny Guan ginny@iotechsys.com 12:29:23 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 12:29:23 Message: update stable to v1.0.260 12:29:23 ------------------- 12:29:23 experimental info: 12:29:23 ------------------- 12:29:23 Commited By: Ginny Guan ginny@iotechsys.com 12:29:23 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 12:29:23 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:29:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:29:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:29:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:29:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:29:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d228633 [Pipeline] echo 12:29:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:29:24 provisioning config files... 12:29:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12505067744629677108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:25 ---> ****-login.sh 12:29:25 nexus3.edgexfoundry.org:10001 12:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:25 Configure a credential helper to remove this warning. See 12:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:25 12:29:25 Login Succeeded 12:29:25 nexus3.edgexfoundry.org:10002 12:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:25 Configure a credential helper to remove this warning. See 12:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:25 12:29:25 Login Succeeded 12:29:25 nexus3.edgexfoundry.org:10003 12:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:25 Configure a credential helper to remove this warning. See 12:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:25 12:29:25 Login Succeeded 12:29:25 nexus3.edgexfoundry.org:10004 12:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:25 Configure a credential helper to remove this warning. See 12:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:25 12:29:25 Login Succeeded 12:29:25 ****.io 12:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:26 Configure a credential helper to remove this warning. See 12:29:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:26 12:29:26 Login Succeeded 12:29:26 ---> ****-login.sh ends [Pipeline] } 12:29:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:29:26 + git rev-list -1 --merges d2286335481a4acfff8c0442b7058260a928cf02~1..d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] echo 12:29:26 -----------> git rev-list -1 --merges d2286335481a4acfff8c0442b7058260a928cf02~1..d2286335481a4acfff8c0442b7058260a928cf02 d2286335481a4acfff8c0442b7058260a928cf02 12:29:26 d2286335481a4acfff8c0442b7058260a928cf02 [false] [Pipeline] sh 12:29:26 + git log --format=format:%s -1 d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] echo 12:29:26 ========================================================= 12:29:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:29:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:27 + git log --format=format:%s -1 d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] echo 12:29:27 [semverPrep] GIT_COMMIT: d2286335481a4acfff8c0442b7058260a928cf02, Commit Message: Merge pull request #476 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo 12:29:27 [semverPrep] This is not a build commit. [Pipeline] sh 12:29:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:29:27 + grep -v github /etc/ssh/ssh_known_hosts 12:29:27 + [ -e /tmp/ssh_known_hosts ] 12:29:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:29:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:29:27 + sudo tee -a /etc/ssh/ssh_known_hosts 12:29:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:29:28 12:29:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:29:28 0.1.4: Pulling from edgex-devops/py-git-semver 12:29:28 b85a868b505f: Pulling fs layer 12:29:28 e2be974225ed: Pulling fs layer 12:29:28 339a4e72a1f5: Pulling fs layer 12:29:28 988bab9f4d93: Pulling fs layer 12:29:28 1469e6f7b9e6: Pulling fs layer 12:29:28 eaf3925da568: Pulling fs layer 12:29:28 bab4dde63d76: Pulling fs layer 12:29:28 bde34c3a00c8: Pulling fs layer 12:29:28 b352a97aabf1: Pulling fs layer 12:29:28 4872d77fe225: Pulling fs layer 12:29:28 5851b861e8e6: Pulling fs layer 12:29:28 1469e6f7b9e6: Waiting 12:29:28 eaf3925da568: Waiting 12:29:28 bab4dde63d76: Waiting 12:29:28 bde34c3a00c8: Waiting 12:29:28 988bab9f4d93: Waiting 12:29:28 b352a97aabf1: Waiting 12:29:28 4872d77fe225: Waiting 12:29:28 e2be974225ed: Download complete 12:29:28 988bab9f4d93: Download complete 12:29:28 339a4e72a1f5: Verifying Checksum 12:29:28 339a4e72a1f5: Download complete 12:29:28 eaf3925da568: Download complete 12:29:28 1469e6f7b9e6: Verifying Checksum 12:29:28 1469e6f7b9e6: Download complete 12:29:28 bde34c3a00c8: Verifying Checksum 12:29:28 bde34c3a00c8: Download complete 12:29:28 b352a97aabf1: Download complete 12:29:28 4872d77fe225: Download complete 12:29:28 5851b861e8e6: Download complete 12:29:28 b85a868b505f: Download complete 12:29:28 bab4dde63d76: Verifying Checksum 12:29:28 bab4dde63d76: Download complete 12:29:29 b85a868b505f: Pull complete 12:29:30 e2be974225ed: Pull complete 12:29:30 339a4e72a1f5: Pull complete 12:29:30 988bab9f4d93: Pull complete 12:29:30 1469e6f7b9e6: Pull complete 12:29:30 eaf3925da568: Pull complete 12:29:32 bab4dde63d76: Pull complete 12:29:32 bde34c3a00c8: Pull complete 12:29:32 b352a97aabf1: Pull complete 12:29:32 4872d77fe225: Pull complete 12:29:32 5851b861e8e6: Pull complete 12:29:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:29:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:32 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:29:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:29:34 $ docker top bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 -eo pid,comm 12:29:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:29:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:29:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:29:34 [ssh-agent] Looking for ssh-agent implementation... 12:29:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:29:34 $ docker exec bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 ssh-agent 12:29:34 SSH_AUTH_SOCK=/tmp/ssh-rFwyR36aeVRj/agent.32 12:29:34 SSH_AGENT_PID=38 12:29:34 Running ssh-add (command line suppressed) 12:29:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16955520761144284409.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16955520761144284409.key) 12:29:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:29:35 + git tag --points-at HEAD [Pipeline] } 12:29:35 $ docker exec --env ******** --env ******** bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 ssh-agent -k 12:29:35 unset SSH_AUTH_SOCK; 12:29:35 unset SSH_AGENT_PID; 12:29:35 echo Agent pid 38 killed; 12:29:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:29:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:29:35 [ssh-agent] Looking for ssh-agent implementation... 12:29:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:29:35 $ docker exec bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 ssh-agent 12:29:35 SSH_AUTH_SOCK=/tmp/ssh-bwAOu3wTpiVd/agent.71 12:29:35 SSH_AGENT_PID=77 12:29:35 Running ssh-add (command line suppressed) 12:29:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8635507699261748592.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8635507699261748592.key) 12:29:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:29:36 + git semver init 12:29:36 2024-07-03 12:29:36,346 [run_init] DEBUG init version:0.0.0 force:False 12:29:36 2024-07-03 12:29:36,347 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 12:29:36 2024-07-03 12:29:36,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 12:29:36 2024-07-03 12:29:36,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:29:38 2024-07-03 12:29:38,102 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 12:29:38 2024-07-03 12:29:38,102 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 12:29:38 2024-07-03 12:29:38,103 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:29:38 2024-07-03 12:29:38,103 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:29:38 3.2.0-dev.16 [Pipeline] } 12:29:38 $ docker exec --env ******** --env ******** bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 ssh-agent -k 12:29:38 unset SSH_AUTH_SOCK; 12:29:38 unset SSH_AGENT_PID; 12:29:38 echo Agent pid 77 killed; 12:29:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:29:38 + git semver [Pipeline] } 12:29:39 $ docker stop --time=1 bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 12:29:40 $ docker rm -f --volumes bd2377b24e48c615031d70170a96ce7b71ff1b0dbde62f4a3db8fbb7432389b1 [Pipeline] // withDockerContainer [Pipeline] sh 12:29:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:29:40 Stashed 1 file(s) [Pipeline] echo 12:29:40 [edgeXSemver]: initialized semver on version 3.2.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:29:41 provisioning config files... 12:29:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9019001440637463622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:41 ---> ****-login.sh 12:29:41 nexus3.edgexfoundry.org:10001 12:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:41 Configure a credential helper to remove this warning. See 12:29:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:41 12:29:41 Login Succeeded 12:29:41 nexus3.edgexfoundry.org:10002 12:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:41 Configure a credential helper to remove this warning. See 12:29:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:41 12:29:41 Login Succeeded 12:29:41 nexus3.edgexfoundry.org:10003 12:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:41 Configure a credential helper to remove this warning. See 12:29:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:41 12:29:41 Login Succeeded 12:29:41 nexus3.edgexfoundry.org:10004 12:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:41 Configure a credential helper to remove this warning. See 12:29:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:41 12:29:41 Login Succeeded 12:29:41 ****.io 12:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:41 Configure a credential helper to remove this warning. See 12:29:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:41 12:29:41 Login Succeeded 12:29:41 ---> ****-login.sh ends [Pipeline] } 12:29:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:29:42 ========================================================= 12:29:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:29:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:29:42 Sending build context to Docker daemon 37.51MB 12:29:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:29:42 Step 2/12 : FROM ${BASE} AS builder 12:29:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:29:42 619be1103602: Pulling fs layer 12:29:42 7862e08f4a3e: Pulling fs layer 12:29:42 5df492c9dc93: Pulling fs layer 12:29:42 7629e6793208: Pulling fs layer 12:29:42 4f4fb700ef54: Pulling fs layer 12:29:42 fb5054dd5b73: Pulling fs layer 12:29:42 eeca6798cff9: Pulling fs layer 12:29:42 aa269ceb94a6: Pulling fs layer 12:29:42 ada007ff1a6a: Pulling fs layer 12:29:42 7629e6793208: Waiting 12:29:42 fb5054dd5b73: Waiting 12:29:42 aa269ceb94a6: Waiting 12:29:42 4f4fb700ef54: Waiting 12:29:42 ada007ff1a6a: Waiting 12:29:42 eeca6798cff9: Waiting 12:29:42 7862e08f4a3e: Download complete 12:29:42 7629e6793208: Download complete 12:29:42 4f4fb700ef54: Verifying Checksum 12:29:42 4f4fb700ef54: Download complete 12:29:42 fb5054dd5b73: Verifying Checksum 12:29:42 fb5054dd5b73: Download complete 12:29:42 619be1103602: Verifying Checksum 12:29:42 619be1103602: Download complete 12:29:42 eeca6798cff9: Verifying Checksum 12:29:42 eeca6798cff9: Download complete 12:29:42 619be1103602: Pull complete 12:29:42 7862e08f4a3e: Pull complete 12:29:42 ada007ff1a6a: Verifying Checksum 12:29:42 ada007ff1a6a: Download complete 12:29:43 5df492c9dc93: Download complete 12:29:43 aa269ceb94a6: Verifying Checksum 12:29:43 aa269ceb94a6: Download complete 12:29:46 5df492c9dc93: Pull complete 12:29:46 7629e6793208: Pull complete 12:29:46 4f4fb700ef54: Pull complete 12:29:46 fb5054dd5b73: Pull complete 12:29:46 eeca6798cff9: Pull complete 12:29:49 aa269ceb94a6: Pull complete 12:29:49 ada007ff1a6a: Pull complete 12:29:49 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 12:29:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:29:49 ---> f489d0715acc 12:29:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:29:50 ---> Running in c16e2f2663a7 12:29:50 Removing intermediate container c16e2f2663a7 12:29:50 ---> a5905bbe9532 12:29:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:29:50 ---> Running in d28b0a6a437a 12:29:50 Removing intermediate container d28b0a6a437a 12:29:50 ---> 01cdcb208ffa 12:29:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:29:50 ---> Running in c3292b7d3a85 12:29:50 Removing intermediate container c3292b7d3a85 12:29:50 ---> 9c01e7c52421 12:29:50 Step 6/12 : WORKDIR /device-virtual-go 12:29:50 ---> Running in e3c8789480c4 12:29:51 Removing intermediate container e3c8789480c4 12:29:51 ---> da9885525ef2 12:29:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:51 ---> Running in 007e09046642 12:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:29:51 (1/4) Installing openssh-keygen (9.3_p2-r2) 12:29:51 (2/4) Installing libedit (20221030.3.1-r1) 12:29:51 (3/4) Installing openssh-client-common (9.3_p2-r2) 12:29:51 (4/4) Installing openssh-client-default (9.3_p2-r2) 12:29:51 Executing busybox-1.36.1-r5.trigger 12:29:51 OK: 268 MiB in 56 packages 12:29:52 Removing intermediate container 007e09046642 12:29:52 ---> 289a48dd0199 12:29:52 Step 8/12 : COPY go.mod vendor* ./ 12:29:52 ---> 454357afb60a 12:29:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:29:52 ---> Running in a2f901f91d8e 12:29:56 Still waiting to schedule task 12:29:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:30:31 Removing intermediate container a2f901f91d8e 12:30:31 ---> aedc74b141f3 12:30:31 Step 10/12 : COPY . . 12:30:31 ---> 4fce1836698c 12:30:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:30:31 ---> Running in 1361e23c71fd 12:30:31 Removing intermediate container 1361e23c71fd 12:30:31 ---> c18173c0d618 12:30:31 Step 12/12 : RUN $MAKE 12:30:31 ---> Running in 061505d7a7cc 12:30:31 noop 12:30:31 Removing intermediate container 061505d7a7cc 12:30:31 ---> 7145e69e4b4f 12:30:31 Successfully built 7145e69e4b4f 12:30:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:31 + docker inspect -f . ci-base-image-x86_64 12:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:30:31 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:30:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:30:31 $ docker top b3d3a4270a140c27898910948b120f0a2f6771979f13f68f0b280e6a2e03a71e -eo pid,comm [Pipeline] { [Pipeline] sh 12:30:32 + go version 12:30:32 go version go1.21.9 linux/amd64 [Pipeline] } 12:30:32 $ docker stop --time=1 b3d3a4270a140c27898910948b120f0a2f6771979f13f68f0b280e6a2e03a71e 12:30:33 $ docker rm -f --volumes b3d3a4270a140c27898910948b120f0a2f6771979f13f68f0b280e6a2e03a71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:33 + docker inspect -f . ci-base-image-x86_64 12:30:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:30:34 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:30:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:30:34 $ docker top 4aa82a015bbc89a368b121a4ca7eb17d293547006772972f4335068f2cd3cecb -eo pid,comm [Pipeline] { [Pipeline] sh 12:30:34 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 12:30:35 + make test 12:30:35 go test ./... -coverprofile=coverage.out 12:30:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:30:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:30:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.009s coverage: 58.4% of statements 12:31:01 go vet ./... 12:31:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:31:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:31:06 ./bin/test-attribution-txt.sh [Pipeline] echo 12:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:31:06 $ docker stop --time=1 4aa82a015bbc89a368b121a4ca7eb17d293547006772972f4335068f2cd3cecb 12:31:08 $ docker rm -f --volumes 4aa82a015bbc89a368b121a4ca7eb17d293547006772972f4335068f2cd3cecb [Pipeline] // withDockerContainer [Pipeline] sh 12:31:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:31:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:31:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:31:09 + ls -al . 12:31:09 total 276 12:31:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 12:30 . 12:31:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 12:29 .. 12:31:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 12:30 .git 12:31:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 12:29 .github 12:31:09 -rw-rw-r-- 1 jenkins jenkins 272 Jul 3 12:29 .gitignore 12:31:09 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 12:29 .golangci.yml 12:31:09 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 12:29 .semver 12:31:09 -rw-rw-r-- 1 jenkins jenkins 17933 Jul 3 12:29 Attribution.txt 12:31:09 -rw-rw-r-- 1 jenkins jenkins 15941 Jul 3 12:29 CHANGELOG.md 12:31:09 -rw-rw-r-- 1 jenkins jenkins 1755 Jul 3 12:29 Dockerfile 12:31:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 12:29 GOVERNANCE.md 12:31:09 -rw-rw-r-- 1 jenkins jenkins 660 Jul 3 12:29 Jenkinsfile 12:31:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 12:29 LICENSE 12:31:09 -rw-rw-r-- 1 jenkins jenkins 1953 Jul 3 12:29 Makefile 12:31:09 -rw-rw-r-- 1 jenkins jenkins 623 Jul 3 12:29 OWNERS.md 12:31:09 -rw-rw-r-- 1 jenkins jenkins 4103 Jul 3 12:29 README.md 12:31:09 -rw-rw-r-- 1 jenkins jenkins 12 Jul 3 12:29 VERSION 12:31:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 12:29 bin 12:31:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 12:29 cmd 12:31:09 -rw-r--r-- 1 jenkins jenkins 43247 Jul 3 12:30 coverage.out 12:31:09 -rw-rw-r-- 1 jenkins jenkins 6980 Jul 3 12:29 go.mod 12:31:09 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 3 12:29 go.sum 12:31:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 12:29 internal 12:31:09 -rw-rw-r-- 1 jenkins jenkins 235 Jul 3 12:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:10 + 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=d2286335481a4acfff8c0442b7058260a928cf02 --label arch=amd64 --label version=3.2.0-dev.16 . 12:31:10 Sending build context to Docker daemon 37.56MB 12:31:10 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:31:10 Step 2/26 : FROM ${BASE} AS builder 12:31:10 ---> 7145e69e4b4f 12:31:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:31:10 ---> Running in 219b9967c1ee 12:31:10 Removing intermediate container 219b9967c1ee 12:31:10 ---> 243a42c4148d 12:31:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:31:10 ---> Running in 687783f4844c 12:31:10 Removing intermediate container 687783f4844c 12:31:10 ---> b42fa20c7ff0 12:31:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:31:10 ---> Running in c5461586d3a8 12:31:10 Removing intermediate container c5461586d3a8 12:31:10 ---> 08b8fad62087 12:31:10 Step 6/26 : WORKDIR /device-virtual-go 12:31:10 ---> Running in a103f47240c6 12:31:10 Removing intermediate container a103f47240c6 12:31:10 ---> 89552309623d 12:31:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:31:10 ---> Running in 955c7ff7ed5a 12:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:31:11 OK: 268 MiB in 56 packages 12:31:11 Removing intermediate container 955c7ff7ed5a 12:31:11 ---> 3bb4b65c7b97 12:31:11 Step 8/26 : COPY go.mod vendor* ./ 12:31:12 ---> 66697b4b3d64 12:31:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:31:12 ---> Running in 95ec0b63ce25 12:31:12 Removing intermediate container 95ec0b63ce25 12:31:12 ---> 182e58b95f0e 12:31:12 Step 10/26 : COPY . . 12:31:13 ---> 770d7daf6c34 12:31:13 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:31:13 ---> Running in fae4241cad3c 12:31:13 Removing intermediate container fae4241cad3c 12:31:13 ---> 32a8b43fc3b3 12:31:13 Step 12/26 : RUN $MAKE 12:31:13 ---> Running in 65cc1ec50576 12:31:13 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:31:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4925 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 12:31:25 Running in /w/workspace/device-virtual-go/172 [Pipeline] { [Pipeline] checkout 12:31:28 The recommended git tool is: git 12:31:33 using credential edgex-jenkins-ssh 12:31:33 Cloning the remote Git repository 12:31:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:31:33 > git init /w/workspace/device-virtual-go/172 # timeout=10 12:31:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:31:33 > git --version # timeout=10 12:31:33 > git --version # 'git version 2.25.1' 12:31:33 using GIT_SSH to set credentials SSH Credentials for GitHub 12:31:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:31:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:31:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:31:38 Avoid second fetch 12:31:38 Checking out Revision d2286335481a4acfff8c0442b7058260a928cf02 (main) 12:31:38 Commit message: "Merge pull request #476 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" 12:31:38 > git config core.sparsecheckout # timeout=10 12:31:38 > git checkout -f d2286335481a4acfff8c0442b7058260a928cf02 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:31:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:31:43 % Total % Received % Xferd Average Speed Time Time Time Current 12:31:43 Dload Upload Total Spent Left Speed 12:31:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 125k 0 --:--:-- --:--:-- --:--:-- 126k [Pipeline] sh 12:31:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:31:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 12:31:44 sudo tee /etc/docker/daemon.new 12:31:44 { 12:31:44 "registry-mirrors": [ 12:31:44 "https://nexus3.edgexfoundry.org:10001" 12:31:44 ], 12:31:44 "bip": "10.250.0.254/24", 12:31:44 "hosts": [ 12:31:44 "tcp://0.0.0.0:5555", 12:31:44 "unix:///var/run/docker.sock" 12:31:44 ], 12:31:44 "mtu": 1458, 12:31:44 "selinux-enabled": true, 12:31:44 "seccomp-profile": "/etc/docker/seccomp.json" 12:31:44 } [Pipeline] sh 12:31:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:31:44 + sudo service docker restart 12:31:45 Removing intermediate container 65cc1ec50576 12:31:45 ---> 72cc14e9dba9 12:31:45 Step 13/26 : FROM alpine:3.18 12:31:45 3.18: Pulling from library/alpine 12:31:45 73baa7ef167e: Pulling fs layer 12:31:45 73baa7ef167e: Verifying Checksum 12:31:45 73baa7ef167e: Download complete 12:31:45 73baa7ef167e: Pull complete 12:31:45 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 12:31:45 Status: Downloaded newer image for alpine:3.18 12:31:45 ---> 8fd7cac70a4a 12:31:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:31:45 ---> Running in beb41151f73f 12:31:45 Removing intermediate container beb41151f73f 12:31:45 ---> ba505ba5c9df 12:31:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:31:45 ---> Running in 173de46c0990 12:31:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:31:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:31:46 (1/1) Installing dumb-init (1.2.5-r2) 12:31:46 Executing busybox-1.36.1-r7.trigger 12:31:46 OK: 7 MiB in 16 packages 12:31:46 Removing intermediate container 173de46c0990 12:31:46 ---> 8155e6e2cbab 12:31:46 Step 16/26 : RUN apk --no-cache upgrade 12:31:46 ---> Running in 7ac248f12125 12:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:31:46 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 12:31:46 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 12:31:46 OK: 7 MiB in 16 packages 12:31:47 Removing intermediate container 7ac248f12125 12:31:47 ---> 893b6011a45a 12:31:47 Step 17/26 : WORKDIR / 12:31:47 ---> Running in 109a3e684ff9 12:31:47 Removing intermediate container 109a3e684ff9 12:31:47 ---> fa01e0ae3a23 12:31:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:31:47 ---> 55139e8843f4 12:31:47 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:31:47 ---> 09e84ecb2a37 12:31:47 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:31:48 ---> 60034dcb11a6 12:31:48 Step 21/26 : EXPOSE 59900 12:31:48 ---> Running in 669c77834cbf 12:31:48 Removing intermediate container 669c77834cbf 12:31:48 ---> f8c2adf5c307 12:31:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:31:48 ---> Running in 70e0a7037eb0 12:31:48 Removing intermediate container 70e0a7037eb0 12:31:48 ---> 9bb9161bd31e 12:31:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:31:48 ---> Running in 4f0815c155f3 12:31:48 Removing intermediate container 4f0815c155f3 12:31:48 ---> 2f9e8701e04a 12:31:48 Step 24/26 : LABEL arch=amd64 12:31:48 ---> Running in f8a99ee8c387 12:31:49 Removing intermediate container f8a99ee8c387 12:31:49 ---> b8a253c9e1d4 12:31:49 Step 25/26 : LABEL git_sha=d2286335481a4acfff8c0442b7058260a928cf02 12:31:49 ---> Running in 1acc947f510b 12:31:49 Removing intermediate container 1acc947f510b 12:31:49 ---> 87ce01e85680 12:31:49 Step 26/26 : LABEL version=3.2.0-dev.16 12:31:49 ---> Running in f6023f4d7b0e 12:31:49 Removing intermediate container f6023f4d7b0e 12:31:49 ---> 1a448ea9be63 12:31:49 [Warning] One or more build-args [ARCH] were not consumed 12:31:49 Successfully built 1a448ea9be63 12:31:49 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:31:59 provisioning config files... 12:31:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11054345777553863890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:31:59 ---> ****-login.sh 12:31:59 nexus3.edgexfoundry.org:10001 12:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:31:59 Configure a credential helper to remove this warning. See 12:31:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:31:59 12:31:59 Login Succeeded 12:31:59 nexus3.edgexfoundry.org:10002 12:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:31:59 Configure a credential helper to remove this warning. See 12:31:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:31:59 12:31:59 Login Succeeded 12:31:59 nexus3.edgexfoundry.org:10003 12:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:00 Configure a credential helper to remove this warning. See 12:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:00 12:32:00 Login Succeeded 12:32:00 nexus3.edgexfoundry.org:10004 12:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:00 Configure a credential helper to remove this warning. See 12:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:00 12:32:00 Login Succeeded 12:32:00 ****.io 12:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:00 Configure a credential helper to remove this warning. See 12:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:00 12:32:00 Login Succeeded 12:32:00 ---> ****-login.sh ends [Pipeline] } 12:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:32:00 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 12:32:00 d2286335481a4acfff8c0442b7058260a928cf02 12:32:00 latest 12:32:00 3.2.0-dev.16 12:32:00 d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 12:32:00 main 12:32:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:00 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual:d2286335481a4acfff8c0442b7058260a928cf02 12:32:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:32:01 b48a7cc9c8f5: Preparing 12:32:01 1bbe8eb8f269: Preparing 12:32:01 3e45538a8acf: Preparing 12:32:01 ada793feb950: Preparing 12:32:01 f4474e18b68b: Preparing 12:32:01 63ec0bd56cf3: Preparing 12:32:01 63ec0bd56cf3: Waiting 12:32:01 f4474e18b68b: Pushed 12:32:01 1bbe8eb8f269: Pushed 12:32:01 3e45538a8acf: Pushed 12:32:01 63ec0bd56cf3: Layer already exists 12:32:01 ada793feb950: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:32:03 provisioning config files... 12:32:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/172@tmp/config11422860752179162994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:03 ---> ****-login.sh 12:32:03 nexus3.edgexfoundry.org:10001 12:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:04 b48a7cc9c8f5: Pushed 12:32:04 d2286335481a4acfff8c0442b7058260a928cf02: digest: sha256:ba770800b3373efc5c0c63b9755d416ae4f57dae4eec6906ec28bd667998a9ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:04 Configure a credential helper to remove this warning. See 12:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:04 12:32:04 Login Succeeded 12:32:04 nexus3.edgexfoundry.org:10002 12:32:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix 12:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:04 Configure a credential helper to remove this warning. See 12:32:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:04 12:32:04 Login Succeeded 12:32:04 nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 12:32:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:32:05 b48a7cc9c8f5: Preparing 12:32:05 1bbe8eb8f269: Preparing 12:32:05 3e45538a8acf: Preparing 12:32:05 ada793feb950: Preparing 12:32:05 f4474e18b68b: Preparing 12:32:05 63ec0bd56cf3: Preparing 12:32:05 63ec0bd56cf3: Waiting 12:32:05 b48a7cc9c8f5: Layer already exists 12:32:05 3e45538a8acf: Layer already exists 12:32:05 1bbe8eb8f269: Layer already exists 12:32:05 ada793feb950: Layer already exists 12:32:05 f4474e18b68b: Layer already exists 12:32:05 63ec0bd56cf3: Layer already exists 12:32:05 latest: digest: sha256:ba770800b3373efc5c0c63b9755d416ae4f57dae4eec6906ec28bd667998a9ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:05 Configure a credential helper to remove this warning. See 12:32:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:05 12:32:05 Login Succeeded 12:32:05 nexus3.edgexfoundry.org:10004 12:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:05 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:05 Configure a credential helper to remove this warning. See 12:32:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:05 12:32:05 Login Succeeded 12:32:05 ****.io 12:32:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.16 12:32:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:32:05 b48a7cc9c8f5: Preparing 12:32:05 1bbe8eb8f269: Preparing 12:32:05 3e45538a8acf: Preparing 12:32:05 ada793feb950: Preparing 12:32:05 f4474e18b68b: Preparing 12:32:05 63ec0bd56cf3: Preparing 12:32:05 63ec0bd56cf3: Waiting 12:32:05 b48a7cc9c8f5: Layer already exists 12:32:05 1bbe8eb8f269: Layer already exists 12:32:05 f4474e18b68b: Layer already exists 12:32:05 ada793feb950: Layer already exists 12:32:05 3e45538a8acf: Layer already exists 12:32:05 63ec0bd56cf3: Layer already exists 12:32:05 3.2.0-dev.16: digest: sha256:ba770800b3373efc5c0c63b9755d416ae4f57dae4eec6906ec28bd667998a9ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:32:06 Configure a credential helper to remove this warning. See 12:32:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:32:06 12:32:06 Login Succeeded 12:32:06 ---> ****-login.sh ends [Pipeline] } 12:32:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:32:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 12:32:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:32:06 b48a7cc9c8f5: Preparing 12:32:06 1bbe8eb8f269: Preparing 12:32:06 3e45538a8acf: Preparing 12:32:06 ada793feb950: Preparing 12:32:06 f4474e18b68b: Preparing 12:32:06 63ec0bd56cf3: Preparing 12:32:06 63ec0bd56cf3: Waiting 12:32:06 ada793feb950: Layer already exists 12:32:06 f4474e18b68b: Layer already exists 12:32:06 1bbe8eb8f269: Layer already exists 12:32:06 b48a7cc9c8f5: Layer already exists 12:32:06 63ec0bd56cf3: Layer already exists 12:32:06 3e45538a8acf: Layer already exists 12:32:06 d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16: digest: sha256:ba770800b3373efc5c0c63b9755d416ae4f57dae4eec6906ec28bd667998a9ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 12:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:32:06 ========================================================= 12:32:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:32:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:32:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 12:32:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:32:06 b48a7cc9c8f5: Preparing 12:32:06 1bbe8eb8f269: Preparing 12:32:06 3e45538a8acf: Preparing 12:32:06 ada793feb950: Preparing 12:32:06 f4474e18b68b: Preparing 12:32:06 63ec0bd56cf3: Preparing 12:32:06 b48a7cc9c8f5: Layer already exists 12:32:06 3e45538a8acf: Layer already exists 12:32:06 1bbe8eb8f269: Layer already exists 12:32:06 ada793feb950: Layer already exists 12:32:06 f4474e18b68b: Layer already exists 12:32:06 63ec0bd56cf3: Layer already exists 12:32:06 main: digest: sha256:ba770800b3373efc5c0c63b9755d416ae4f57dae4eec6906ec28bd667998a9ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:32:07 ===================================================== [Pipeline] echo 12:32:07 taggedImages: 12:32:07 - nexus3.edgexfoundry.org:10004/device-virtual:d2286335481a4acfff8c0442b7058260a928cf02 12:32:07 - nexus3.edgexfoundry.org:10004/device-virtual:latest 12:32:07 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.16 12:32:07 - nexus3.edgexfoundry.org:10004/device-virtual:d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 12:32:07 - 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 12:32:07 Sending build context to Docker daemon 18.94MB 12:32:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:32:07 Step 2/12 : FROM ${BASE} AS builder 12:32:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:07 12:32:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:32:07 c6b39de5b339: Pulling fs layer 12:32:07 a69c41024577: Pulling fs layer 12:32:07 d6de4b400683: Pulling fs layer 12:32:07 35cb2a7552d0: Pulling fs layer 12:32:07 4f4fb700ef54: Pulling fs layer 12:32:07 464afbd9ba4c: Pulling fs layer 12:32:07 00f215d4a9da: Pulling fs layer 12:32:07 d496ad576159: Pulling fs layer 12:32:07 35cb2a7552d0: Waiting 12:32:07 4f4fb700ef54: Waiting 12:32:07 464afbd9ba4c: Waiting 12:32:07 00f215d4a9da: Waiting 12:32:07 d496ad576159: Waiting 12:32:07 a69c41024577: Verifying Checksum 12:32:07 a69c41024577: Download complete 12:32:07 35cb2a7552d0: Verifying Checksum 12:32:07 35cb2a7552d0: Download complete 12:32:07 4f4fb700ef54: Verifying Checksum 12:32:07 4f4fb700ef54: Download complete 12:32:07 c6b39de5b339: Download complete 12:32:07 464afbd9ba4c: Verifying Checksum 12:32:07 464afbd9ba4c: Download complete 12:32:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:07 latest: Pulling from edgex-lftools-log-publisher 12:32:07 5eb5b503b376: Pulling fs layer 12:32:07 5c69ac0246d0: Pulling fs layer 12:32:07 ec43610c2a17: Pulling fs layer 12:32:07 3a2ae6a8a46f: Pulling fs layer 12:32:07 33b1e0a273af: Pulling fs layer 12:32:07 5d3b04190fa2: Pulling fs layer 12:32:07 2f39f015ded8: Pulling fs layer 12:32:07 3a2ae6a8a46f: Waiting 12:32:07 33b1e0a273af: Waiting 12:32:07 2f39f015ded8: Waiting 12:32:07 5c69ac0246d0: Download complete 12:32:07 3a2ae6a8a46f: Download complete 12:32:08 33b1e0a273af: Verifying Checksum 12:32:08 33b1e0a273af: Download complete 12:32:08 5d3b04190fa2: Download complete 12:32:08 ec43610c2a17: Verifying Checksum 12:32:08 ec43610c2a17: Download complete 12:32:08 d496ad576159: Verifying Checksum 12:32:08 d496ad576159: Download complete 12:32:08 5eb5b503b376: Verifying Checksum 12:32:08 5eb5b503b376: Download complete 12:32:08 c6b39de5b339: Pull complete 12:32:08 2f39f015ded8: Download complete 12:32:09 a69c41024577: Pull complete 12:32:09 5eb5b503b376: Pull complete 12:32:09 5c69ac0246d0: Pull complete 12:32:09 d6de4b400683: Verifying Checksum 12:32:09 d6de4b400683: Download complete 12:32:10 ec43610c2a17: Pull complete 12:32:10 3a2ae6a8a46f: Pull complete 12:32:10 33b1e0a273af: Pull complete 12:32:10 5d3b04190fa2: Pull complete 12:32:10 00f215d4a9da: Verifying Checksum 12:32:10 00f215d4a9da: Download complete 12:32:14 2f39f015ded8: Pull complete 12:32:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:32:14 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:32:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:32:20 $ docker top 0972a5dc641ec97539e1d3a50cc49de8c3297a2671e66876567aa49c366d73bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:20 ---> job-cost.sh 12:32:20 lf-activate-venv: SKIPPING 12:32:20 INFO: No Stack... 12:32:20 INFO: Retrieving Pricing Info for: v3-standard-8 12:32:21 INFO: Archiving Costs [Pipeline] sh 12:32:21 + + catcut /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv -d, 12:32:21 -f6 [Pipeline] lock 12:32:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] 12:32:21 Resource [jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] did not exist. Created. 12:32:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:32:21 + echo total: 0.2199999988079071 [Pipeline] stash 12:32:21 Stashed 1 file(s) [Pipeline] } 12:32:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 12:32:21 $ docker stop --time=1 0972a5dc641ec97539e1d3a50cc49de8c3297a2671e66876567aa49c366d73bb 12:32:23 $ docker rm -f --volumes 0972a5dc641ec97539e1d3a50cc49de8c3297a2671e66876567aa49c366d73bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:32:23 d6de4b400683: Pull complete 12:32:23 35cb2a7552d0: Pull complete 12:32:23 4f4fb700ef54: Pull complete 12:32:23 464afbd9ba4c: Pull complete 12:32:31 00f215d4a9da: Pull complete 12:32:32 d496ad576159: Pull complete 12:32:32 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 12:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:32:32 ---> f246e2811388 12:32:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:32:34 ---> Running in 1a03c1211c3c 12:32:34 Removing intermediate container 1a03c1211c3c 12:32:34 ---> a802f1bdd26c 12:32:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:32:35 ---> Running in eeaba1a16689 12:32:35 Removing intermediate container eeaba1a16689 12:32:35 ---> c8087643f993 12:32:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:32:35 ---> Running in a27a0f36bd5d 12:32:35 Removing intermediate container a27a0f36bd5d 12:32:35 ---> 0b24f003d642 12:32:35 Step 6/12 : WORKDIR /device-virtual-go 12:32:36 ---> Running in 5887244d0985 12:32:36 Removing intermediate container 5887244d0985 12:32:36 ---> 246747cd4fc9 12:32:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:32:36 ---> Running in 050bfb0e2d1b 12:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:32:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:32:39 (1/4) Installing openssh-keygen (9.3_p2-r2) 12:32:39 (2/4) Installing libedit (20221030.3.1-r1) 12:32:39 (3/4) Installing openssh-client-common (9.3_p2-r2) 12:32:39 (4/4) Installing openssh-client-default (9.3_p2-r2) 12:32:39 Executing busybox-1.36.1-r5.trigger 12:32:39 OK: 271 MiB in 56 packages 12:32:40 Removing intermediate container 050bfb0e2d1b 12:32:40 ---> fbd0eaab52fa 12:32:40 Step 8/12 : COPY go.mod vendor* ./ 12:32:40 ---> 17bc4505737c 12:32:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:32:40 ---> Running in 102f8ebd49e1 12:34:32 Removing intermediate container 102f8ebd49e1 12:34:32 ---> a8eaa9cf410b 12:34:32 Step 10/12 : COPY . . 12:34:32 ---> 3042c2dbb3ab 12:34:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:34:32 ---> Running in 00d867839ded 12:34:32 Removing intermediate container 00d867839ded 12:34:32 ---> dcfc3c321829 12:34:32 Step 12/12 : RUN $MAKE 12:34:32 ---> Running in 7f0bc13b0f85 12:34:32 noop 12:34:32 Removing intermediate container 7f0bc13b0f85 12:34:32 ---> 28cb9eb9d363 12:34:32 Successfully built 28cb9eb9d363 12:34:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:34:32 + docker inspect -f . ci-base-image-arm64 12:34:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:34:32 prd-ubuntu20.04-docker-arm64-4c-16g-4925 does not seem to be running inside a container 12:34:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/172 -v /w/workspace/device-virtual-go/172:/w/workspace/device-virtual-go/172:rw,z -v /w/workspace/device-virtual-go/172@tmp:/w/workspace/device-virtual-go/172@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 12:34:34 $ docker top ecaaf5cbd11ada5ce1fa53b18b4039affbafab5e0275e21a8a74ee00b52292b1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:34 + go version 12:34:34 go version go1.21.9 linux/arm64 [Pipeline] } 12:34:34 $ docker stop --time=1 ecaaf5cbd11ada5ce1fa53b18b4039affbafab5e0275e21a8a74ee00b52292b1 12:34:36 $ docker rm -f --volumes ecaaf5cbd11ada5ce1fa53b18b4039affbafab5e0275e21a8a74ee00b52292b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:34:37 + docker inspect -f . ci-base-image-arm64 12:34:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:34:37 prd-ubuntu20.04-docker-arm64-4c-16g-4925 does not seem to be running inside a container 12:34:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/172 -v /w/workspace/device-virtual-go/172:/w/workspace/device-virtual-go/172:rw,z -v /w/workspace/device-virtual-go/172@tmp:/w/workspace/device-virtual-go/172@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 12:34:38 $ docker top 2340bd85de7564250d6d901cd5630977654cd9a7df8082af4f129d2239ee0fea -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:39 + git config --global --add safe.directory /w/workspace/device-virtual-go/172 [Pipeline] fileExists [Pipeline] sh 12:34:40 + make test 12:34:40 go test ./... -coverprofile=coverage.out 12:34:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:38:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:38:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.058s coverage: 58.3% of statements 12:38:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:38:22 go vet ./... 12:39:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:39:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:39:01 ./bin/test-attribution-txt.sh [Pipeline] echo 12:39:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:39:02 $ docker stop --time=1 2340bd85de7564250d6d901cd5630977654cd9a7df8082af4f129d2239ee0fea 12:39:03 $ docker rm -f --volumes 2340bd85de7564250d6d901cd5630977654cd9a7df8082af4f129d2239ee0fea [Pipeline] // withDockerContainer [Pipeline] sh 12:39:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:39:05 Warning: overwriting stash ‘coverage-report’ 12:39:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:39:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:39:06 + ls -al . 12:39:06 total 272 12:39:06 drwxrwxr-x 7 jenkins jenkins 4096 Jul 3 12:34 . 12:39:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 12:31 .. 12:39:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 12:31 .git 12:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 12:31 .github 12:39:06 -rw-rw-r-- 1 jenkins jenkins 272 Jul 3 12:31 .gitignore 12:39:06 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 12:31 .golangci.yml 12:39:06 -rw-rw-r-- 1 jenkins jenkins 17933 Jul 3 12:31 Attribution.txt 12:39:06 -rw-rw-r-- 1 jenkins jenkins 15941 Jul 3 12:31 CHANGELOG.md 12:39:06 -rw-rw-r-- 1 jenkins jenkins 1755 Jul 3 12:31 Dockerfile 12:39:06 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 12:31 GOVERNANCE.md 12:39:06 -rw-rw-r-- 1 jenkins jenkins 660 Jul 3 12:31 Jenkinsfile 12:39:06 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 12:31 LICENSE 12:39:06 -rw-rw-r-- 1 jenkins jenkins 1953 Jul 3 12:31 Makefile 12:39:06 -rw-rw-r-- 1 jenkins jenkins 623 Jul 3 12:31 OWNERS.md 12:39:06 -rw-rw-r-- 1 jenkins jenkins 4103 Jul 3 12:31 README.md 12:39:06 -rw-rw-r-- 1 jenkins jenkins 12 Jul 3 12:29 VERSION 12:39:06 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 12:31 bin 12:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 12:31 cmd 12:39:06 -rw-r--r-- 1 jenkins jenkins 43247 Jul 3 12:38 coverage.out 12:39:06 -rw-rw-r-- 1 jenkins jenkins 6980 Jul 3 12:31 go.mod 12:39:06 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 3 12:31 go.sum 12:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 12:31 internal 12:39:06 -rw-rw-r-- 1 jenkins jenkins 235 Jul 3 12:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:07 + 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=d2286335481a4acfff8c0442b7058260a928cf02 --label arch=arm64 --label version=3.2.0-dev.16 . 12:39:07 Sending build context to Docker daemon 18.98MB 12:39:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:39:07 Step 2/26 : FROM ${BASE} AS builder 12:39:07 ---> 28cb9eb9d363 12:39:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:39:07 ---> Running in 7e050d43b0f5 12:39:08 Removing intermediate container 7e050d43b0f5 12:39:08 ---> 48051bb6da73 12:39:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:39:08 ---> Running in 232e622f2447 12:39:08 Removing intermediate container 232e622f2447 12:39:08 ---> f00fb08d6dce 12:39:08 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:39:08 ---> Running in e5eab0a8e112 12:39:08 Removing intermediate container e5eab0a8e112 12:39:08 ---> 9c683384268a 12:39:08 Step 6/26 : WORKDIR /device-virtual-go 12:39:08 ---> Running in 66ba09be92e1 12:39:09 Removing intermediate container 66ba09be92e1 12:39:09 ---> 97f6d1e7b13b 12:39:09 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:39:09 ---> Running in 07c327faf399 12:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:39:11 OK: 271 MiB in 56 packages 12:39:12 Removing intermediate container 07c327faf399 12:39:12 ---> 9e4cd8d7f944 12:39:12 Step 8/26 : COPY go.mod vendor* ./ 12:39:12 ---> 5b9a5336572a 12:39:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:39:12 ---> Running in ee3915baabd1 12:39:15 Removing intermediate container ee3915baabd1 12:39:15 ---> 884bc59dbe20 12:39:15 Step 10/26 : COPY . . 12:39:16 ---> d075987e6f67 12:39:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:39:16 ---> Running in 4c7845f37b0d 12:39:16 Removing intermediate container 4c7845f37b0d 12:39:16 ---> 3945521ec74f 12:39:16 Step 12/26 : RUN $MAKE 12:39:17 ---> Running in e01ee2a103eb 12:39:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:42:39 Removing intermediate container e01ee2a103eb 12:42:39 ---> 4217c6b21536 12:42:39 Step 13/26 : FROM alpine:3.18 12:42:39 3.18: Pulling from library/alpine 12:42:39 5c905c7ebe2f: Pulling fs layer 12:42:39 5c905c7ebe2f: Verifying Checksum 12:42:39 5c905c7ebe2f: Download complete 12:42:39 5c905c7ebe2f: Pull complete 12:42:39 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 12:42:39 Status: Downloaded newer image for alpine:3.18 12:42:39 ---> dec292d02e07 12:42:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:42:39 ---> Running in b92a3640d410 12:42:39 Removing intermediate container b92a3640d410 12:42:39 ---> 9963322f3086 12:42:39 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:42:39 ---> Running in 1c26a03e7669 12:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:42:39 (1/1) Installing dumb-init (1.2.5-r2) 12:42:39 Executing busybox-1.36.1-r7.trigger 12:42:39 OK: 8 MiB in 16 packages 12:42:39 Removing intermediate container 1c26a03e7669 12:42:39 ---> 14ff0a69fb42 12:42:39 Step 16/26 : RUN apk --no-cache upgrade 12:42:39 ---> Running in e42b505e252a 12:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:42:39 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 12:42:39 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 12:42:39 OK: 8 MiB in 16 packages 12:42:40 Removing intermediate container e42b505e252a 12:42:40 ---> b4fff941e7fc 12:42:40 Step 17/26 : WORKDIR / 12:42:40 ---> Running in ea0958f8642d 12:42:40 Removing intermediate container ea0958f8642d 12:42:40 ---> a51abe99a931 12:42:40 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:42:41 ---> d8ee56a3c460 12:42:41 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:42:41 ---> b51dfa803989 12:42:41 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:42:43 ---> 16c7f83658c5 12:42:43 Step 21/26 : EXPOSE 59900 12:42:43 ---> Running in df9d4cd91d39 12:42:43 Removing intermediate container df9d4cd91d39 12:42:43 ---> 1b0a43abf67d 12:42:43 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:42:43 ---> Running in 9132b7ff536e 12:42:44 Removing intermediate container 9132b7ff536e 12:42:44 ---> 24e126b78b8f 12:42:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:42:44 ---> Running in b81528e5357e 12:42:44 Removing intermediate container b81528e5357e 12:42:44 ---> e664bc2264ee 12:42:44 Step 24/26 : LABEL arch=arm64 12:42:44 ---> Running in 7ec64847d905 12:42:44 Removing intermediate container 7ec64847d905 12:42:44 ---> a9d26f25572a 12:42:44 Step 25/26 : LABEL git_sha=d2286335481a4acfff8c0442b7058260a928cf02 12:42:44 ---> Running in 5108bc282da8 12:42:45 Removing intermediate container 5108bc282da8 12:42:45 ---> e8d29f0386cc 12:42:45 Step 26/26 : LABEL version=3.2.0-dev.16 12:42:45 ---> Running in a5882a1bf232 12:42:45 Removing intermediate container a5882a1bf232 12:42:45 ---> 055e74210cbe 12:42:45 [Warning] One or more build-args [ARCH] were not consumed 12:42:45 Successfully built 055e74210cbe 12:42:45 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 12:42:45 provisioning config files... 12:42:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/172@tmp/config13969903399003470323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:45 ---> ****-login.sh 12:42:45 nexus3.edgexfoundry.org:10001 12:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:46 Configure a credential helper to remove this warning. See 12:42:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:46 12:42:46 Login Succeeded 12:42:46 nexus3.edgexfoundry.org:10002 12:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:46 Configure a credential helper to remove this warning. See 12:42:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:46 12:42:46 Login Succeeded 12:42:46 nexus3.edgexfoundry.org:10003 12:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:47 Configure a credential helper to remove this warning. See 12:42:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:47 12:42:47 Login Succeeded 12:42:47 nexus3.edgexfoundry.org:10004 12:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:47 Configure a credential helper to remove this warning. See 12:42:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:47 12:42:47 Login Succeeded 12:42:47 ****.io 12:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:48 Configure a credential helper to remove this warning. See 12:42:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:48 12:42:48 Login Succeeded 12:42:48 ---> ****-login.sh ends [Pipeline] } 12:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:42:48 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:42:48 d2286335481a4acfff8c0442b7058260a928cf02 12:42:48 latest 12:42:48 3.2.0-dev.16 12:42:48 d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 12:42:48 main 12:42:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d2286335481a4acfff8c0442b7058260a928cf02 12:42:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:42:48 e58de97ad757: Preparing 12:42:48 e785573f68e4: Preparing 12:42:48 ec7c5aea6b35: Preparing 12:42:48 a87432cef8c4: Preparing 12:42:48 ce42c3d7e4ad: Preparing 12:42:48 da707bb00cb8: Preparing 12:42:48 da707bb00cb8: Waiting 12:42:49 e785573f68e4: Pushed 12:42:49 ce42c3d7e4ad: Pushed 12:42:49 ec7c5aea6b35: Pushed 12:42:49 da707bb00cb8: Layer already exists 12:42:50 a87432cef8c4: Pushed 12:42:55 e58de97ad757: Pushed 12:42:55 d2286335481a4acfff8c0442b7058260a928cf02: digest: sha256:58a1145b6d43600f7bef545ce39c6614efb40ade6d9624a5d9cde0d0035fe719 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:42:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:42:56 e58de97ad757: Preparing 12:42:56 e785573f68e4: Preparing 12:42:56 ec7c5aea6b35: Preparing 12:42:56 a87432cef8c4: Preparing 12:42:56 ce42c3d7e4ad: Preparing 12:42:56 da707bb00cb8: Preparing 12:42:56 da707bb00cb8: Waiting 12:42:56 ec7c5aea6b35: Layer already exists 12:42:56 ce42c3d7e4ad: Layer already exists 12:42:56 a87432cef8c4: Layer already exists 12:42:56 e58de97ad757: Layer already exists 12:42:56 e785573f68e4: Layer already exists 12:42:56 da707bb00cb8: Layer already exists 12:42:56 latest: digest: sha256:58a1145b6d43600f7bef545ce39c6614efb40ade6d9624a5d9cde0d0035fe719 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.16 12:42:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:42:57 e58de97ad757: Preparing 12:42:57 e785573f68e4: Preparing 12:42:57 ec7c5aea6b35: Preparing 12:42:57 a87432cef8c4: Preparing 12:42:57 ce42c3d7e4ad: Preparing 12:42:57 da707bb00cb8: Preparing 12:42:57 da707bb00cb8: Waiting 12:42:57 e58de97ad757: Layer already exists 12:42:57 a87432cef8c4: Layer already exists 12:42:57 e785573f68e4: Layer already exists 12:42:57 ec7c5aea6b35: Layer already exists 12:42:57 ce42c3d7e4ad: Layer already exists 12:42:57 da707bb00cb8: Layer already exists 12:42:57 3.2.0-dev.16: digest: sha256:58a1145b6d43600f7bef545ce39c6614efb40ade6d9624a5d9cde0d0035fe719 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 12:42:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:42:58 e58de97ad757: Preparing 12:42:58 e785573f68e4: Preparing 12:42:58 ec7c5aea6b35: Preparing 12:42:58 a87432cef8c4: Preparing 12:42:58 ce42c3d7e4ad: Preparing 12:42:58 da707bb00cb8: Preparing 12:42:58 da707bb00cb8: Waiting 12:42:58 ce42c3d7e4ad: Layer already exists 12:42:58 e785573f68e4: Layer already exists 12:42:58 e58de97ad757: Layer already exists 12:42:58 a87432cef8c4: Layer already exists 12:42:58 ec7c5aea6b35: Layer already exists 12:42:58 da707bb00cb8: Layer already exists 12:42:58 d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16: digest: sha256:58a1145b6d43600f7bef545ce39c6614efb40ade6d9624a5d9cde0d0035fe719 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:42:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:42:59 e58de97ad757: Preparing 12:42:59 e785573f68e4: Preparing 12:42:59 ec7c5aea6b35: Preparing 12:42:59 a87432cef8c4: Preparing 12:42:59 ce42c3d7e4ad: Preparing 12:42:59 da707bb00cb8: Preparing 12:42:59 da707bb00cb8: Waiting 12:42:59 ce42c3d7e4ad: Layer already exists 12:42:59 e58de97ad757: Layer already exists 12:42:59 a87432cef8c4: Layer already exists 12:42:59 ec7c5aea6b35: Layer already exists 12:42:59 e785573f68e4: Layer already exists 12:42:59 da707bb00cb8: Layer already exists 12:42:59 main: digest: sha256:58a1145b6d43600f7bef545ce39c6614efb40ade6d9624a5d9cde0d0035fe719 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:42:59 ===================================================== [Pipeline] echo 12:42:59 taggedImages: 12:42:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d2286335481a4acfff8c0442b7058260a928cf02 12:42:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:42:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.16 12:42:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d2286335481a4acfff8c0442b7058260a928cf02-3.2.0-dev.16 12:42:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:43:00 12:43:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:43:00 arm64: Pulling from edgex-lftools-log-publisher 12:43:00 8998bd30e6a1: Pulling fs layer 12:43:00 04944245beec: Pulling fs layer 12:43:00 699f458cf7ca: Pulling fs layer 12:43:00 765212b225bb: Pulling fs layer 12:43:00 f23df028b6ca: Pulling fs layer 12:43:00 d65c8cfc05b1: Pulling fs layer 12:43:00 2437ff75d9bd: Pulling fs layer 12:43:00 765212b225bb: Waiting 12:43:00 f23df028b6ca: Waiting 12:43:00 d65c8cfc05b1: Waiting 12:43:00 2437ff75d9bd: Waiting 12:43:00 04944245beec: Verifying Checksum 12:43:00 04944245beec: Download complete 12:43:00 765212b225bb: Verifying Checksum 12:43:00 765212b225bb: Download complete 12:43:00 f23df028b6ca: Verifying Checksum 12:43:00 f23df028b6ca: Download complete 12:43:00 d65c8cfc05b1: Download complete 12:43:01 699f458cf7ca: Verifying Checksum 12:43:01 699f458cf7ca: Download complete 12:43:01 8998bd30e6a1: Verifying Checksum 12:43:01 8998bd30e6a1: Download complete 12:43:03 2437ff75d9bd: Verifying Checksum 12:43:03 2437ff75d9bd: Download complete 12:43:06 8998bd30e6a1: Pull complete 12:43:06 04944245beec: Pull complete 12:43:08 699f458cf7ca: Pull complete 12:43:08 765212b225bb: Pull complete 12:43:09 f23df028b6ca: Pull complete 12:43:09 d65c8cfc05b1: Pull complete 12:43:27 2437ff75d9bd: Pull complete 12:43:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:43:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:43:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:27 prd-ubuntu20.04-docker-arm64-4c-16g-4925 does not seem to be running inside a container 12:43:27 $ 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/172 -v /w/workspace/device-virtual-go/172:/w/workspace/device-virtual-go/172:rw,z -v /w/workspace/device-virtual-go/172@tmp:/w/workspace/device-virtual-go/172@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 12:43:30 $ docker top d113524dc1681e3966b69949479cc45e1421f2768e15c8584110c1aec1216dc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:43:31 ---> job-cost.sh 12:43:31 lf-activate-venv: SKIPPING 12:43:31 INFO: No Stack... 12:43:31 INFO: Retrieving Pricing Info for: v3-standard-4 12:43:32 INFO: Archiving Costs [Pipeline] sh 12:43:32 + cat /w/workspace/device-virtual-go/172/archives/cost.csv 12:43:32 + cut -d, -f6 [Pipeline] lock 12:43:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] 12:43:33 Resource [jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] did not exist. Created. 12:43:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:43:33 /w/workspace/device-virtual-go/172@tmp/durable-52489018/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:43:34 + echo total: 0.10999999940395355 [Pipeline] stash 12:43:34 Warning: overwriting stash ‘stack-cost’ 12:43:34 Stashed 1 file(s) [Pipeline] } 12:43:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 12:43:34 $ docker stop --time=1 d113524dc1681e3966b69949479cc45e1421f2768e15c8584110c1aec1216dc2 12:43:36 $ docker rm -f --volumes d113524dc1681e3966b69949479cc45e1421f2768e15c8584110c1aec1216dc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:43:36 provisioning config files... 12:43:36 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7519974257943274101tmp [Pipeline] { [Pipeline] sh 12:43:36 + set +x 12:43:36 + + curl -s https://codecov.io/bash 12:43:36 bash -s -- 12:43:36 12:43:36 _____ _ 12:43:36 / ____| | | 12:43:36 | | ___ __| | ___ ___ _____ __ 12:43:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:43:36 | |___| (_) | (_| | __/ (_| (_) \ V / 12:43:36 \_____\___/ \__,_|\___|\___\___/ \_/ 12:43:36 Bash-1.0.6 12:43:36 12:43:36 12:43:36 ==> git version 2.25.1 found 12:43:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:43:36 Release-Date: 2020-01-08 12:43:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:43:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:43:36 ==> Jenkins CI detected. 12:43:36 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:43:36 project root: . 12:43:36 --> token set from env 12:43:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:43:36 ==> Running gcov in . (disable via -X gcov) 12:43:36 ==> Python coveragepy not found 12:43:36 ==> Searching for coverage reports in: 12:43:36 + . 12:43:36 -> Found 1 reports 12:43:36 ==> Detecting git/mercurial file structure 12:43:36 ==> Reading reports 12:43:37 + ./coverage.out bytes=43247 12:43:37 ==> Appending adjustments 12:43:37 https://docs.codecov.io/docs/fixing-reports 12:43:37 + Found adjustments 12:43:37 ==> Gzipping contents 12:43:37 8.0K /tmp/codecov.cSTHTW.gz 12:43:37 ==> Uploading reports 12:43:37 url: https://codecov.io 12:43:37 query: branch=main&commit=d2286335481a4acfff8c0442b7058260a928cf02&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:43:37 -> Pinging Codecov 12:43:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d2286335481a4acfff8c0442b7058260a928cf02&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:43:37 -> Uploading to 12:43:37 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/5E52B4B073DB2E39498172D8E973AA87/d2286335481a4acfff8c0442b7058260a928cf02/d31c35cd-3ef1-4b26-aec1-bd5c5fad68ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T124337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13ae52570ef9172fb09637ecdf5a3636af1ac8cc5de0cebb819c51e266043a3e 12:43:37 % Total % Received % Xferd Average Speed Time Time Time Current 12:43:37 Dload Upload Total Spent Left Speed 12:43:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 22419 --:--:-- --:--:-- --:--:-- 22419 12:43:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] } 12:43:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:43:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:43:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:43:37 12:43:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:43:38 latest: Pulling from edgex-devops/edgex-snyk-go 12:43:38 619be1103602: Already exists 12:43:38 f8ea3408117e: Pulling fs layer 12:43:38 91320369b822: Pulling fs layer 12:43:38 0406650e8295: Pulling fs layer 12:43:38 4f4fb700ef54: Pulling fs layer 12:43:38 96d80e3f36e1: Pulling fs layer 12:43:38 bcf3aedb951c: Pulling fs layer 12:43:38 96d80e3f36e1: Waiting 12:43:38 4f4fb700ef54: Waiting 12:43:38 bcf3aedb951c: Waiting 12:43:38 0406650e8295: Verifying Checksum 12:43:38 0406650e8295: Download complete 12:43:38 f8ea3408117e: Download complete 12:43:38 4f4fb700ef54: Verifying Checksum 12:43:38 4f4fb700ef54: Download complete 12:43:38 f8ea3408117e: Pull complete 12:43:38 96d80e3f36e1: Verifying Checksum 12:43:38 96d80e3f36e1: Download complete 12:43:38 91320369b822: Verifying Checksum 12:43:38 91320369b822: Download complete 12:43:39 bcf3aedb951c: Verifying Checksum 12:43:39 bcf3aedb951c: Download complete 12:43:41 91320369b822: Pull complete 12:43:42 0406650e8295: Pull complete 12:43:42 4f4fb700ef54: Pull complete 12:43:42 96d80e3f36e1: Pull complete 12:43:46 bcf3aedb951c: Pull complete 12:43:46 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 12:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:43:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:46 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:43:46 $ 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 12:43:51 $ docker top 6aef7d46e4e56e34d31b7b865df894e4ab02c994e4d02421b8d3c83d3ec53516 -eo pid,comm [Pipeline] { [Pipeline] sh 12:43:51 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 12:43:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 12:43:51 + set -o pipefail 12:43:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 12:44:00 12:44:00 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:44:00 12:44:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/8dc78e67-f92f-448a-b262-298f1b172c9f 12:44:00 12:44:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:44:00 12:44:00 12:44:00 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 12:44:00 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 12:44:00 $ docker stop --time=1 6aef7d46e4e56e34d31b7b865df894e4ab02c994e4d02421b8d3c83d3ec53516 12:44:04 $ docker rm -f --volumes 6aef7d46e4e56e34d31b7b865df894e4ab02c994e4d02421b8d3c83d3ec53516 [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 12:44:05 + git log --format=format:%s -1 d2286335481a4acfff8c0442b7058260a928cf02 [Pipeline] sh 12:44:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:06 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:44:06 $ docker top a284d81d46eb1a86859250e1fa8745c58d2167b0883a5562d21529c4fb36aa09 -eo pid,comm 12:44:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:44:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:06 [ssh-agent] Looking for ssh-agent implementation... 12:44:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:06 $ docker exec a284d81d46eb1a86859250e1fa8745c58d2167b0883a5562d21529c4fb36aa09 ssh-agent 12:44:06 SSH_AUTH_SOCK=/tmp/ssh-LQpdiN8VFERJ/agent.31 12:44:06 SSH_AGENT_PID=37 12:44:06 Running ssh-add (command line suppressed) 12:44:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_284991823390138167.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_284991823390138167.key) 12:44:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:07 + git semver tag 12:44:07 2024-07-03 12:44:07,543 [run_tag] DEBUG tag force:False 12:44:07 2024-07-03 12:44:07,543 [check_head_tag] DEBUG check head tag 12:44:07 2024-07-03 12:44:07,545 [execute] INFO git cat-file --batch-check 12:44:07 2024-07-03 12:44:07,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:44:07 2024-07-03 12:44:07,549 [execute] INFO git cat-file --batch 12:44:07 2024-07-03 12:44:07,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:44:07 2024-07-03 12:44:07,571 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:07 2024-07-03 12:44:07,571 [execute] INFO git tag -a v3.2.0-dev.16 -m v3.2.0-dev.16 12:44:07 2024-07-03 12:44:07,571 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.16', '-m', 'v3.2.0-dev.16'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:44:07 2024-07-03 12:44:07,575 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:07 3.2.0-dev.16 [Pipeline] } 12:44:07 $ docker exec --env ******** --env ******** a284d81d46eb1a86859250e1fa8745c58d2167b0883a5562d21529c4fb36aa09 ssh-agent -k 12:44:07 unset SSH_AUTH_SOCK; 12:44:07 unset SSH_AGENT_PID; 12:44:07 echo Agent pid 37 killed; 12:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:08 + git semver [Pipeline] } 12:44:08 $ docker stop --time=1 a284d81d46eb1a86859250e1fa8745c58d2167b0883a5562d21529c4fb36aa09 12:44:09 $ docker rm -f --volumes a284d81d46eb1a86859250e1fa8745c58d2167b0883a5562d21529c4fb36aa09 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:44:10 12:44:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:44:10 0.23.1-centos7: Pulling from edgex-lftools 12:44:10 ab5ef0e58194: Pulling fs layer 12:44:10 9712f1f96733: Pulling fs layer 12:44:10 63f879dbbcfc: Pulling fs layer 12:44:10 0d9ebad4ef96: Pulling fs layer 12:44:10 e9a5061849ea: Pulling fs layer 12:44:10 d747dcd14b5f: Pulling fs layer 12:44:10 2de7ff778b66: Pulling fs layer 12:44:10 e9a5061849ea: Waiting 12:44:10 2de7ff778b66: Waiting 12:44:10 d747dcd14b5f: Waiting 12:44:10 0d9ebad4ef96: Waiting 12:44:10 9712f1f96733: Verifying Checksum 12:44:10 9712f1f96733: Download complete 12:44:10 63f879dbbcfc: Verifying Checksum 12:44:10 63f879dbbcfc: Download complete 12:44:10 e9a5061849ea: Verifying Checksum 12:44:10 e9a5061849ea: Download complete 12:44:10 d747dcd14b5f: Verifying Checksum 12:44:10 d747dcd14b5f: Download complete 12:44:10 0d9ebad4ef96: Verifying Checksum 12:44:10 0d9ebad4ef96: Download complete 12:44:10 ab5ef0e58194: Verifying Checksum 12:44:10 ab5ef0e58194: Download complete 12:44:10 2de7ff778b66: Verifying Checksum 12:44:10 2de7ff778b66: Download complete 12:44:14 ab5ef0e58194: Pull complete 12:44:14 9712f1f96733: Pull complete 12:44:14 63f879dbbcfc: Pull complete 12:44:18 0d9ebad4ef96: Pull complete 12:44:18 e9a5061849ea: Pull complete 12:44:18 d747dcd14b5f: Pull complete 12:44:19 2de7ff778b66: Pull complete 12:44:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:44:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:19 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:44:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:44:26 $ docker top d00bd1aa860d227f6c7ce4c268994764a6f6f9a69d70b6d5c69e60d0f5f50353 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:44:26 provisioning config files... 12:44:26 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7358374388009069397tmp 12:44:26 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4137327134945534645tmp 12:44:26 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1422761771118922313tmp [Pipeline] { [Pipeline] echo 12:44:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:44:27 ---> sigul-configuration.sh 12:44:27 gpg: directory `/root/.gnupg' created 12:44:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:44:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:44:27 gpg: keyring `/root/.gnupg/secring.gpg' created 12:44:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:44:27 gpg: CAST5 encrypted data 12:44:27 gpg: encrypted with 1 passphrase 12:44:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:44:27 + mkdir /home/jenkins 12:44:27 + mkdir /home/jenkins/sigul [Pipeline] sh 12:44:27 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 12:44:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:44:27 ---> sigul-install.sh 12:44:27 Sigul already installed; skipping installation. [Pipeline] sh 12:44:28 + git tag --list 12:44:28 v1.0.0 12:44:28 v1.1.0 12:44:28 v1.1.1 12:44:28 v1.2.1 12:44:28 v1.2.2 12:44:28 v1.2.3 12:44:28 v1.3.0 12:44:28 v1.3.1 12:44:28 v2.0.0 12:44:28 v2.1.0 12:44:28 v2.1.1 12:44:28 v2.2.0 12:44:28 v2.3.0 12:44:28 v3.0 12:44:28 v3.0.0 12:44:28 v3.1 12:44:28 v3.1.0 12:44:28 v3.1.0-dev.1 12:44:28 v3.1.0-dev.10 12:44:28 v3.1.0-dev.11 12:44:28 v3.1.0-dev.12 12:44:28 v3.1.0-dev.13 12:44:28 v3.1.0-dev.14 12:44:28 v3.1.0-dev.15 12:44:28 v3.1.0-dev.16 12:44:28 v3.1.0-dev.17 12:44:28 v3.1.0-dev.18 12:44:28 v3.1.0-dev.19 12:44:28 v3.1.0-dev.2 12:44:28 v3.1.0-dev.20 12:44:28 v3.1.0-dev.21 12:44:28 v3.1.0-dev.22 12:44:28 v3.1.0-dev.23 12:44:28 v3.1.0-dev.24 12:44:28 v3.1.0-dev.25 12:44:28 v3.1.0-dev.26 12:44:28 v3.1.0-dev.27 12:44:28 v3.1.0-dev.28 12:44:28 v3.1.0-dev.29 12:44:28 v3.1.0-dev.3 12:44:28 v3.1.0-dev.30 12:44:28 v3.1.0-dev.4 12:44:28 v3.1.0-dev.5 12:44:28 v3.1.0-dev.6 12:44:28 v3.1.0-dev.7 12:44:28 v3.1.0-dev.8 12:44:28 v3.1.0-dev.9 12:44:28 v3.1.1 12:44:28 v3.1.1-dev.1 12:44:28 v3.2.0-dev.1 12:44:28 v3.2.0-dev.10 12:44:28 v3.2.0-dev.11 12:44:28 v3.2.0-dev.12 12:44:28 v3.2.0-dev.13 12:44:28 v3.2.0-dev.14 12:44:28 v3.2.0-dev.15 12:44:28 v3.2.0-dev.16 12:44:28 v3.2.0-dev.2 12:44:28 v3.2.0-dev.3 12:44:28 v3.2.0-dev.4 12:44:28 v3.2.0-dev.5 12:44:28 v3.2.0-dev.6 12:44:28 v3.2.0-dev.7 12:44:28 v3.2.0-dev.8 12:44:28 v3.2.0-dev.9 [Pipeline] sh 12:44:28 + lftools sign git-tag v3.2.0-dev.16 12:44:29 Signing Git tag with Sigul... 12:44:29 Signing v3.2.0-dev.16 [Pipeline] echo 12:44:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:44:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:44:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:44:29 $ docker stop --time=1 d00bd1aa860d227f6c7ce4c268994764a6f6f9a69d70b6d5c69e60d0f5f50353 12:44:30 $ docker rm -f --volumes d00bd1aa860d227f6c7ce4c268994764a6f6f9a69d70b6d5c69e60d0f5f50353 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:44:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:31 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:44:32 $ docker top 649b9819d4aa700c0e37d82f16c57e5e5ddaea9530dcac98df234d7b2a165d05 -eo pid,comm 12:44:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:44:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:32 [ssh-agent] Looking for ssh-agent implementation... 12:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:32 $ docker exec 649b9819d4aa700c0e37d82f16c57e5e5ddaea9530dcac98df234d7b2a165d05 ssh-agent 12:44:32 SSH_AUTH_SOCK=/tmp/ssh-ZBLr7IuShBDx/agent.33 12:44:32 SSH_AGENT_PID=38 12:44:32 Running ssh-add (command line suppressed) 12:44:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12869187199583664308.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12869187199583664308.key) 12:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:32 + git semver bump pre 12:44:33 2024-07-03 12:44:33,071 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:33 2024-07-03 12:44:33,072 [bump_version] DEBUG bumping version:3.2.0-dev.16 on axis:pre with prefix:dev 12:44:33 2024-07-03 12:44:33,072 [bump_version] DEBUG bumped version:3.2.0-dev.17 12:44:33 2024-07-03 12:44:33,072 [write_version] DEBUG write version:3.2.0-dev.17 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 12:44:33 2024-07-03 12:44:33,072 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:33 2024-07-03 12:44:33,072 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:33 2024-07-03 12:44:33,074 [execute] INFO git cat-file --batch-check 12:44:33 2024-07-03 12:44:33,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:44:33 2024-07-03 12:44:33,079 [execute] INFO git cat-file --batch 12:44:33 2024-07-03 12:44:33,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:44:33 2024-07-03 12:44:33,086 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:33 3.2.0-dev.17 [Pipeline] } 12:44:33 $ docker exec --env ******** --env ******** 649b9819d4aa700c0e37d82f16c57e5e5ddaea9530dcac98df234d7b2a165d05 ssh-agent -k 12:44:33 unset SSH_AUTH_SOCK; 12:44:33 unset SSH_AGENT_PID; 12:44:33 echo Agent pid 38 killed; 12:44:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:33 + git semver [Pipeline] } 12:44:33 $ docker stop --time=1 649b9819d4aa700c0e37d82f16c57e5e5ddaea9530dcac98df234d7b2a165d05 12:44:35 $ docker rm -f --volumes 649b9819d4aa700c0e37d82f16c57e5e5ddaea9530dcac98df234d7b2a165d05 [Pipeline] // withDockerContainer [Pipeline] sh 12:44:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:35 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:44:36 $ docker top 7e9c5b62559284933762074e721c8b08525dadf7d8e3253be859f8d8e65ad27a -eo pid,comm 12:44:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:44:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:36 [ssh-agent] Looking for ssh-agent implementation... 12:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:36 $ docker exec 7e9c5b62559284933762074e721c8b08525dadf7d8e3253be859f8d8e65ad27a ssh-agent 12:44:36 SSH_AUTH_SOCK=/tmp/ssh-3gBjZ3vZhPlJ/agent.33 12:44:36 SSH_AGENT_PID=39 12:44:36 Running ssh-add (command line suppressed) 12:44:36 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14335809915841613330.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14335809915841613330.key) 12:44:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:37 + git semver push 12:44:37 2024-07-03 12:44:37,440 [run_push] DEBUG push 12:44:37 2024-07-03 12:44:37,441 [execute] INFO git cat-file --batch-check 12:44:37 2024-07-03 12:44:37,441 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:44:37 2024-07-03 12:44:37,444 [execute] INFO git rev-list 7931ed35ecd85be27e080c38faba56e8c5f06572 -- 12:44:37 2024-07-03 12:44:37,444 [execute] DEBUG Popen(['git', 'rev-list', '7931ed35ecd85be27e080c38faba56e8c5f06572', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:44:37 2024-07-03 12:44:37,454 [execute] INFO git fetch -v origin 12:44:37 2024-07-03 12:44:37,454 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:44:38 2024-07-03 12:44:37,913 [run_push] DEBUG no remote changes detected 12:44:38 2024-07-03 12:44:37,914 [execute] INFO git push origin semver 12:44:38 2024-07-03 12:44:37,914 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:44:39 2024-07-03 12:44:38,688 [run_push] DEBUG push all version tags 12:44:39 2024-07-03 12:44:38,689 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:44:39 2024-07-03 12:44:38,689 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:44:39 2024-07-03 12:44:39,403 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:44:39 3.2.0-dev.17 [Pipeline] } 12:44:39 $ docker exec --env ******** --env ******** 7e9c5b62559284933762074e721c8b08525dadf7d8e3253be859f8d8e65ad27a ssh-agent -k 12:44:39 unset SSH_AUTH_SOCK; 12:44:39 unset SSH_AGENT_PID; 12:44:39 echo Agent pid 39 killed; 12:44:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:40 + git semver [Pipeline] } 12:44:40 $ docker stop --time=1 7e9c5b62559284933762074e721c8b08525dadf7d8e3253be859f8d8e65ad27a 12:44:41 $ docker rm -f --volumes 7e9c5b62559284933762074e721c8b08525dadf7d8e3253be859f8d8e65ad27a [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 12:44:42 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 12:44:42 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:44:42 total 16 12:44:42 drwxr-xr-x 3 root root 4096 Jul 3 12:32 . 12:44:42 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 12:44 .. 12:44:42 drwxr-xr-x 2 root root 4096 Jul 3 12:32 cost 12:44:42 -rw-r--r-- 1 root root 89 Jul 3 12:32 cost.csv 12:44:42 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 12:44:42 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:44:42 total 16 12:44:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 12:32 . 12:44:42 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 12:44 .. 12:44:42 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 12:32 cost 12:44:42 -rw-r--r-- 1 jenkins jenkins 89 Jul 3 12:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:44:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:44:43 ---> package-listing.sh 12:44:43 ++ facter osfamily 12:44:43 ++ tr '[:upper:]' '[:lower:]' 12:44:43 + OS_FAMILY=debian 12:44:43 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:44:43 + START_PACKAGES=/tmp/packages_start.txt 12:44:43 + END_PACKAGES=/tmp/packages_end.txt 12:44:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:44:43 + PACKAGES=/tmp/packages_start.txt 12:44:43 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:44:43 + PACKAGES=/tmp/packages_end.txt 12:44:43 + case "${OS_FAMILY}" in 12:44:43 + dpkg -l 12:44:43 + grep '^ii' 12:44:43 + '[' -f /tmp/packages_start.txt ']' 12:44:43 + '[' -f /tmp/packages_end.txt ']' 12:44:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:44:43 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:44:43 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:44:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:44:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:44:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:44:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:44 prd-ubuntu20.04-docker-8c-8g-4923 does not seem to be running inside a container 12:44:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:44:45 $ docker top 923363220f6a55f24e48e6de9d3c605f26c8bd42078295d647cff6a47566605a -eo pid,comm [Pipeline] { [Pipeline] sh 12:44:45 + touch /tmp/pre-build-complete [Pipeline] sh 12:44:45 + mkdir -p /var/log/sysstat [Pipeline] sh 12:44:46 + ls /var/log/sa-host 12:44:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:44:46 provisioning config files... 12:44:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4923224148013230032tmp [Pipeline] { [Pipeline] echo 12:44:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:44:46 ---> create-netrc.sh [Pipeline] } 12:44:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:44:46 ---> python-tools-install.sh [Pipeline] echo 12:44:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:44:47 ---> sudo-logs.sh 12:44:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:44:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:44:47 ---> job-cost.sh 12:44:47 lf-activate-venv: SKIPPING 12:44:47 DEBUG: total: 0.2199999988079071 12:44:47 INFO: Retrieving Stack Cost... 12:44:47 INFO: Retrieving Pricing Info for: v3-standard-8 12:44:48 INFO: Archiving Costs [Pipeline] echo 12:44:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:44:48 ---> logs-deploy.sh 12:44:48 lf-activate-venv: SKIPPING 12:44:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/172 12:44:48 INFO: archiving workspace using pattern(s): 12:44:49 Archives upload complete. 12:44:49 INFO: archiving logs to Nexus