Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 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-ssh7650570872478142395.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-ssh6259178308341276542.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-ssh12595670882018470821.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-ssh7461535022440961210.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-ssh13538068515028351344.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 ‘prd-ubuntu20.04-docker-8c-8g-8382’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8384 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 > 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 Avoid second fetch Checking out Revision 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 (main) Commit message: "Merge pull request #485 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.32" > git config core.sparsecheckout # timeout=10 > git checkout -f 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 # timeout=10 > git rev-list --no-walk 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:40:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:40:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:40:29 ========================================================= 11:40:29 EdgeX Global Pipelines Version Info 11:40:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:40:30 ------------------- 11:40:30 stable info: 11:40:30 ------------------- 11:40:30 Commited By: Ginny Guan ginny@iotechsys.com 11:40:30 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:40:30 Message: update stable to v1.0.260 11:40:31 ------------------- 11:40:31 experimental info: 11:40:31 ------------------- 11:40:31 Commited By: Ginny Guan ginny@iotechsys.com 11:40:31 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:40:31 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93fcf9f [Pipeline] echo 11:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:32 provisioning config files... 11:40:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14142285370380827670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:32 ---> ****-login.sh 11:40:32 nexus3.edgexfoundry.org:10001 11:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:32 Configure a credential helper to remove this warning. See 11:40:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:32 11:40:32 Login Succeeded 11:40:32 nexus3.edgexfoundry.org:10002 11:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:32 Configure a credential helper to remove this warning. See 11:40:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:32 11:40:32 Login Succeeded 11:40:32 nexus3.edgexfoundry.org:10003 11:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:32 Configure a credential helper to remove this warning. See 11:40:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:32 11:40:32 Login Succeeded 11:40:32 nexus3.edgexfoundry.org:10004 11:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:33 Configure a credential helper to remove this warning. See 11:40:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:33 11:40:33 Login Succeeded 11:40:33 ****.io 11:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:33 Configure a credential helper to remove this warning. See 11:40:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:33 11:40:33 Login Succeeded 11:40:33 ---> ****-login.sh ends [Pipeline] } 11:40:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:40:33 + git rev-list -1 --merges 93fcf9f9514203f7e3dde2b04df2ad430adf6db4~1..93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] echo 11:40:33 -----------> git rev-list -1 --merges 93fcf9f9514203f7e3dde2b04df2ad430adf6db4~1..93fcf9f9514203f7e3dde2b04df2ad430adf6db4 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:40:33 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [false] [Pipeline] sh 11:40:34 + git log --format=format:%s -1 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] echo 11:40:34 ========================================================= 11:40:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:40:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:34 + git log --format=format:%s -1 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] echo 11:40:34 [semverPrep] GIT_COMMIT: 93fcf9f9514203f7e3dde2b04df2ad430adf6db4, Commit Message: Merge pull request #485 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.32 [Pipeline] echo 11:40:34 [semverPrep] This is not a build commit. [Pipeline] sh 11:40:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:40:35 + grep -v github /etc/ssh/ssh_known_hosts 11:40:35 + [ -e /tmp/ssh_known_hosts ] 11:40:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:40:35 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:40:35 sudo tee -a /etc/ssh/ssh_known_hosts 11:40:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:35 11:40:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:35 0.1.4: Pulling from edgex-devops/py-git-semver 11:40:35 b85a868b505f: Pulling fs layer 11:40:35 e2be974225ed: Pulling fs layer 11:40:35 339a4e72a1f5: Pulling fs layer 11:40:35 988bab9f4d93: Pulling fs layer 11:40:35 1469e6f7b9e6: Pulling fs layer 11:40:35 eaf3925da568: Pulling fs layer 11:40:35 bab4dde63d76: Pulling fs layer 11:40:35 1469e6f7b9e6: Waiting 11:40:35 bde34c3a00c8: Pulling fs layer 11:40:35 b352a97aabf1: Pulling fs layer 11:40:35 eaf3925da568: Waiting 11:40:35 bab4dde63d76: Waiting 11:40:35 4872d77fe225: Pulling fs layer 11:40:35 5851b861e8e6: Pulling fs layer 11:40:35 5851b861e8e6: Waiting 11:40:35 e2be974225ed: Verifying Checksum 11:40:35 e2be974225ed: Download complete 11:40:35 988bab9f4d93: Download complete 11:40:36 1469e6f7b9e6: Verifying Checksum 11:40:36 1469e6f7b9e6: Download complete 11:40:36 339a4e72a1f5: Verifying Checksum 11:40:36 339a4e72a1f5: Download complete 11:40:36 eaf3925da568: Download complete 11:40:36 bde34c3a00c8: Verifying Checksum 11:40:36 bde34c3a00c8: Download complete 11:40:36 b352a97aabf1: Verifying Checksum 11:40:36 b352a97aabf1: Download complete 11:40:36 4872d77fe225: Verifying Checksum 11:40:36 4872d77fe225: Download complete 11:40:36 5851b861e8e6: Download complete 11:40:36 b85a868b505f: Verifying Checksum 11:40:36 b85a868b505f: Download complete 11:40:36 bab4dde63d76: Verifying Checksum 11:40:36 bab4dde63d76: Download complete 11:40:37 b85a868b505f: Pull complete 11:40:37 e2be974225ed: Pull complete 11:40:38 339a4e72a1f5: Pull complete 11:40:38 988bab9f4d93: Pull complete 11:40:38 1469e6f7b9e6: Pull complete 11:40:38 eaf3925da568: Pull complete 11:40:40 bab4dde63d76: Pull complete 11:40:40 bde34c3a00c8: Pull complete 11:40:40 b352a97aabf1: Pull complete 11:40:40 4872d77fe225: Pull complete 11:40:40 5851b861e8e6: Pull complete 11:40:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:40:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:40:41 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:40:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:40:45 $ docker top 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 -eo pid,comm 11:40:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:40:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:40:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:50 [ssh-agent] Looking for ssh-agent implementation... 11:40:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:51 $ docker exec 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 ssh-agent 11:40:51 SSH_AUTH_SOCK=/tmp/ssh-5ceY8nwr1a43/agent.31 11:40:51 SSH_AGENT_PID=37 11:40:51 Running ssh-add (command line suppressed) 11:40:51 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18362960159366657781.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18362960159366657781.key) 11:40:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:51 + git tag --points-at HEAD [Pipeline] } 11:40:51 $ docker exec --env ******** --env ******** 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 ssh-agent -k 11:40:51 unset SSH_AUTH_SOCK; 11:40:51 unset SSH_AGENT_PID; 11:40:51 echo Agent pid 37 killed; 11:40:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:40:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:51 [ssh-agent] Looking for ssh-agent implementation... 11:40:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:51 $ docker exec 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 ssh-agent 11:40:52 SSH_AUTH_SOCK=/tmp/ssh-kEimgrTOSTz1/agent.71 11:40:52 SSH_AGENT_PID=77 11:40:52 Running ssh-add (command line suppressed) 11:40:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2782807678196263942.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2782807678196263942.key) 11:40:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:52 + git semver init 11:40:52 2024-08-23 11:40:52,713 [run_init] DEBUG init version:0.0.0 force:False 11:40:52 2024-08-23 11:40:52,713 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 11:40:52 2024-08-23 11:40:52,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 11:40:52 2024-08-23 11:40:52,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:40:55 2024-08-23 11:40:54,809 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 11:40:55 2024-08-23 11:40:54,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 11:40:55 2024-08-23 11:40:54,810 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:40:55 2024-08-23 11:40:54,810 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:40:55 3.2.0-dev.21 [Pipeline] } 11:40:55 $ docker exec --env ******** --env ******** 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 ssh-agent -k 11:40:55 unset SSH_AUTH_SOCK; 11:40:55 unset SSH_AGENT_PID; 11:40:55 echo Agent pid 77 killed; 11:40:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:40:55 + git semver [Pipeline] } 11:40:56 $ docker stop --time=1 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 11:40:57 $ docker rm -f --volumes 6ed00c04bc250a09e1e97e376e7e902126ca863ddc2c8c0a5ea2dd62426f59d3 [Pipeline] // withDockerContainer [Pipeline] sh 11:40:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:40:57 Stashed 1 file(s) [Pipeline] echo 11:40:57 [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:58 provisioning config files... 11:40:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5414214511523893206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:58 ---> ****-login.sh 11:40:58 nexus3.edgexfoundry.org:10001 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 nexus3.edgexfoundry.org:10002 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 nexus3.edgexfoundry.org:10003 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 nexus3.edgexfoundry.org:10004 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 ****.io 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:59 Configure a credential helper to remove this warning. See 11:40:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:59 11:40:59 Login Succeeded 11:40:59 ---> ****-login.sh ends [Pipeline] } 11:40:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:40:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:59 ========================================================= 11:40:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:40:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:40:59 Sending build context to Docker daemon 37.58MB 11:40:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:40:59 Step 2/12 : FROM ${BASE} AS builder 11:41:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:41:00 619be1103602: Pulling fs layer 11:41:00 7862e08f4a3e: Pulling fs layer 11:41:00 5df492c9dc93: Pulling fs layer 11:41:00 7629e6793208: Pulling fs layer 11:41:00 4f4fb700ef54: Pulling fs layer 11:41:00 fb5054dd5b73: Pulling fs layer 11:41:00 eeca6798cff9: Pulling fs layer 11:41:00 aa269ceb94a6: Pulling fs layer 11:41:00 ada007ff1a6a: Pulling fs layer 11:41:00 7629e6793208: Waiting 11:41:00 aa269ceb94a6: Waiting 11:41:00 4f4fb700ef54: Waiting 11:41:00 fb5054dd5b73: Waiting 11:41:00 eeca6798cff9: Waiting 11:41:00 7862e08f4a3e: Verifying Checksum 11:41:00 7862e08f4a3e: Download complete 11:41:00 7629e6793208: Verifying Checksum 11:41:00 7629e6793208: Download complete 11:41:00 4f4fb700ef54: Verifying Checksum 11:41:00 4f4fb700ef54: Download complete 11:41:00 fb5054dd5b73: Verifying Checksum 11:41:00 fb5054dd5b73: Download complete 11:41:00 619be1103602: Verifying Checksum 11:41:00 619be1103602: Download complete 11:41:00 eeca6798cff9: Verifying Checksum 11:41:00 eeca6798cff9: Download complete 11:41:00 619be1103602: Pull complete 11:41:00 ada007ff1a6a: Verifying Checksum 11:41:00 ada007ff1a6a: Download complete 11:41:00 7862e08f4a3e: Pull complete 11:41:00 5df492c9dc93: Verifying Checksum 11:41:00 5df492c9dc93: Download complete 11:41:00 aa269ceb94a6: Verifying Checksum 11:41:00 aa269ceb94a6: Download complete 11:41:04 5df492c9dc93: Pull complete 11:41:04 7629e6793208: Pull complete 11:41:04 4f4fb700ef54: Pull complete 11:41:04 fb5054dd5b73: Pull complete 11:41:04 eeca6798cff9: Pull complete 11:41:06 aa269ceb94a6: Pull complete 11:41:07 ada007ff1a6a: Pull complete 11:41:07 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:41:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:41:07 ---> f489d0715acc 11:41:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:41:13 Still waiting to schedule task 11:41:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8383’ is offline 11:41:17 ---> Running in fe3b6546cd29 11:41:17 Removing intermediate container fe3b6546cd29 11:41:17 ---> b8d5b97d4eee 11:41:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:41:17 ---> Running in 5f1b7b4cfc0c 11:41:17 Removing intermediate container 5f1b7b4cfc0c 11:41:17 ---> eb249f142477 11:41:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:41:17 ---> Running in 351431509b8e 11:41:17 Removing intermediate container 351431509b8e 11:41:17 ---> c1915edec18e 11:41:17 Step 6/12 : WORKDIR /device-virtual-go 11:41:17 ---> Running in 1e3066c9b2f6 11:41:17 Removing intermediate container 1e3066c9b2f6 11:41:17 ---> a2aada812a29 11:41:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:41:17 ---> Running in e4446f66a475 11:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:41:17 (1/4) Installing openssh-keygen (9.3_p2-r2) 11:41:17 (2/4) Installing libedit (20221030.3.1-r1) 11:41:17 (3/4) Installing openssh-client-common (9.3_p2-r2) 11:41:17 (4/4) Installing openssh-client-default (9.3_p2-r2) 11:41:17 Executing busybox-1.36.1-r5.trigger 11:41:17 OK: 268 MiB in 56 packages 11:41:18 Removing intermediate container e4446f66a475 11:41:18 ---> 6d7aacffbdbb 11:41:18 Step 8/12 : COPY go.mod vendor* ./ 11:41:18 ---> 9289455152c0 11:41:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:18 ---> Running in 15b2e9fc11ce 11:42:40 Removing intermediate container 15b2e9fc11ce 11:42:40 ---> 5a6d65f143eb 11:42:40 Step 10/12 : COPY . . 11:42:40 ---> 4520ff0ba52a 11:42:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:42:40 ---> Running in ba307d7c4bec 11:42:40 Removing intermediate container ba307d7c4bec 11:42:40 ---> 6cb962a1a4cd 11:42:40 Step 12/12 : RUN $MAKE 11:42:40 ---> Running in ec01d819fe21 11:42:40 noop 11:42:40 Removing intermediate container ec01d819fe21 11:42:40 ---> af650748d0e7 11:42:40 Successfully built af650748d0e7 11:42:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:40 + docker inspect -f . ci-base-image-x86_64 11:42:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:40 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:42:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:42:41 $ docker top 43dbd320a271b03362797c3015dbe97e7790df8488cded22c261492bf9ec7e72 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:41 + go version 11:42:41 go version go1.21.9 linux/amd64 [Pipeline] } 11:42:41 $ docker stop --time=1 43dbd320a271b03362797c3015dbe97e7790df8488cded22c261492bf9ec7e72 11:42:42 $ docker rm -f --volumes 43dbd320a271b03362797c3015dbe97e7790df8488cded22c261492bf9ec7e72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:43 + docker inspect -f . ci-base-image-x86_64 11:42:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:43 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:42:43 $ docker top d6bdc860f676f6bbb89ca1b399be5b3132de4781734e678a87818af5bfd078c7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:43 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 11:42:44 + make test 11:42:44 go test ./... -coverprofile=coverage.out 11:42:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:42:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8385 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:42:49 Running in /w/workspace/device-virtual-go/177 [Pipeline] { [Pipeline] checkout 11:42:52 The recommended git tool is: git 11:43:00 using credential edgex-jenkins-ssh 11:43:00 Cloning the remote Git repository 11:43:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:43:00 > git init /w/workspace/device-virtual-go/177 # timeout=10 11:43:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:43:00 > git --version # timeout=10 11:43:00 > git --version # 'git version 2.25.1' 11:43:00 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:43:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.009s coverage: 58.4% of statements 11:43:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:43:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:06 Avoid second fetch 11:43:06 Checking out Revision 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 (main) 11:43:07 Commit message: "Merge pull request #485 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.32" 11:43:06 > git config core.sparsecheckout # timeout=10 11:43:06 > git checkout -f 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:43:12 % Total % Received % Xferd Average Speed Time Time Time Current 11:43:12 Dload Upload Total Spent Left Speed 11:43:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh 11:43:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:43:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:43:13 + sudo tee /etc/docker/daemon.new 11:43:13 { 11:43:13 "registry-mirrors": [ 11:43:13 "https://nexus3.edgexfoundry.org:10001" 11:43:13 ], 11:43:13 "bip": "10.250.0.254/24", 11:43:13 "hosts": [ 11:43:13 "tcp://0.0.0.0:5555", 11:43:13 "unix:///var/run/docker.sock" 11:43:13 ], 11:43:13 "mtu": 1458, 11:43:13 "selinux-enabled": true, 11:43:13 "seccomp-profile": "/etc/docker/seccomp.json" 11:43:13 } [Pipeline] sh 11:43:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:43:13 + sudo service docker restart 11:43:16 go vet ./... 11:43:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:23 ./bin/test-attribution-txt.sh 11:43:23 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 11:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:43:23 $ docker stop --time=1 d6bdc860f676f6bbb89ca1b399be5b3132de4781734e678a87818af5bfd078c7 11:43:30 $ docker rm -f --volumes d6bdc860f676f6bbb89ca1b399be5b3132de4781734e678a87818af5bfd078c7 [Pipeline] // withDockerContainer [Pipeline] sh 11:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:43:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:31 + ls -al . 11:43:31 total 276 11:43:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:42 . 11:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:40 .. 11:43:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:43 .git 11:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:40 .github 11:43:31 -rw-rw-r-- 1 jenkins jenkins 272 Aug 23 11:40 .gitignore 11:43:31 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 11:40 .golangci.yml 11:43:31 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 11:40 .semver 11:43:31 -rw-rw-r-- 1 jenkins jenkins 17933 Aug 23 11:40 Attribution.txt 11:43:31 -rw-rw-r-- 1 jenkins jenkins 15941 Aug 23 11:40 CHANGELOG.md 11:43:31 -rw-rw-r-- 1 jenkins jenkins 1755 Aug 23 11:40 Dockerfile 11:43:31 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 11:40 GOVERNANCE.md 11:43:31 -rw-rw-r-- 1 jenkins jenkins 660 Aug 23 11:40 Jenkinsfile 11:43:31 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 23 11:40 LICENSE 11:43:31 -rw-rw-r-- 1 jenkins jenkins 1953 Aug 23 11:40 Makefile 11:43:31 -rw-rw-r-- 1 jenkins jenkins 623 Aug 23 11:40 OWNERS.md 11:43:31 -rw-rw-r-- 1 jenkins jenkins 4103 Aug 23 11:40 README.md 11:43:31 -rw-rw-r-- 1 jenkins jenkins 12 Aug 23 11:40 VERSION 11:43:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 11:40 bin 11:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:40 cmd 11:43:31 -rw-r--r-- 1 jenkins jenkins 43247 Aug 23 11:43 coverage.out 11:43:31 -rw-rw-r-- 1 jenkins jenkins 6923 Aug 23 11:40 go.mod 11:43:31 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 23 11:40 go.sum 11:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:40 internal 11:43:31 -rw-rw-r-- 1 jenkins jenkins 235 Aug 23 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:32 provisioning config files... 11:43:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/177@tmp/config16632828386363027840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:32 + 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=93fcf9f9514203f7e3dde2b04df2ad430adf6db4 --label arch=amd64 --label version=3.2.0-dev.21 . 11:43:32 Sending build context to Docker daemon 37.62MB 11:43:32 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:43:32 Step 2/26 : FROM ${BASE} AS builder 11:43:32 ---> af650748d0e7 11:43:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:43:32 ---> ****-login.sh 11:43:32 nexus3.edgexfoundry.org:10001 11:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:33 Configure a credential helper to remove this warning. See 11:43:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:33 11:43:33 Login Succeeded 11:43:33 nexus3.edgexfoundry.org:10002 11:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:33 ---> Running in 7cd58c7da68d 11:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:33 Configure a credential helper to remove this warning. See 11:43:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:33 11:43:33 Login Succeeded 11:43:33 nexus3.edgexfoundry.org:10003 11:43:33 Removing intermediate container 7cd58c7da68d 11:43:33 ---> 907beebaffea 11:43:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:43:33 ---> Running in 54ecae656aa3 11:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:33 Configure a credential helper to remove this warning. See 11:43:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:33 11:43:33 Login Succeeded 11:43:33 nexus3.edgexfoundry.org:10004 11:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:34 Configure a credential helper to remove this warning. See 11:43:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:34 11:43:34 Login Succeeded 11:43:34 ****.io 11:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:34 Removing intermediate container 54ecae656aa3 11:43:34 ---> 8fa3d2bf0cb0 11:43:34 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:34 Configure a credential helper to remove this warning. See 11:43:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:34 11:43:34 Login Succeeded 11:43:34 ---> ****-login.sh ends [Pipeline] } 11:43:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 11:43:34 ---> Running in c8267d38032f [Pipeline] echo 11:43:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:43:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:43:35 ========================================================= 11:43:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:43:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:35 Removing intermediate container c8267d38032f 11:43:35 ---> 52c1789ee0ce 11:43:35 Step 6/26 : WORKDIR /device-virtual-go 11:43:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:43:35 ---> Running in 8f143cb25c91 11:43:36 Sending build context to Docker daemon 18.97MB 11:43:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:43:36 Step 2/12 : FROM ${BASE} AS builder 11:43:36 Removing intermediate container 8f143cb25c91 11:43:36 ---> de6327687938 11:43:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:43:36 ---> Running in d7ef88c32970 11:43:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:43:36 c6b39de5b339: Pulling fs layer 11:43:36 a69c41024577: Pulling fs layer 11:43:36 d6de4b400683: Pulling fs layer 11:43:36 35cb2a7552d0: Pulling fs layer 11:43:36 4f4fb700ef54: Pulling fs layer 11:43:36 464afbd9ba4c: Pulling fs layer 11:43:36 00f215d4a9da: Pulling fs layer 11:43:36 d496ad576159: Pulling fs layer 11:43:36 35cb2a7552d0: Waiting 11:43:36 4f4fb700ef54: Waiting 11:43:36 464afbd9ba4c: Waiting 11:43:36 00f215d4a9da: Waiting 11:43:36 d496ad576159: Waiting 11:43:36 a69c41024577: Verifying Checksum 11:43:36 a69c41024577: Download complete 11:43:36 35cb2a7552d0: Verifying Checksum 11:43:36 35cb2a7552d0: Download complete 11:43:36 4f4fb700ef54: Verifying Checksum 11:43:36 4f4fb700ef54: Download complete 11:43:36 464afbd9ba4c: Verifying Checksum 11:43:36 464afbd9ba4c: Download complete 11:43:36 c6b39de5b339: Verifying Checksum 11:43:36 c6b39de5b339: Download complete 11:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:36 d496ad576159: Verifying Checksum 11:43:36 d496ad576159: Download complete 11:43:37 OK: 268 MiB in 56 packages 11:43:37 c6b39de5b339: Pull complete 11:43:37 Removing intermediate container d7ef88c32970 11:43:37 ---> 2d801cd123f1 11:43:37 Step 8/26 : COPY go.mod vendor* ./ 11:43:37 a69c41024577: Pull complete 11:43:38 d6de4b400683: Verifying Checksum 11:43:38 d6de4b400683: Download complete 11:43:38 ---> febb24019d37 11:43:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:38 ---> Running in 0890bd434528 11:43:39 00f215d4a9da: Verifying Checksum 11:43:39 00f215d4a9da: Download complete 11:43:39 Removing intermediate container 0890bd434528 11:43:39 ---> fa63843e9039 11:43:39 Step 10/26 : COPY . . 11:43:41 ---> 14951dd725fa 11:43:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:41 ---> Running in ab7512aa4f6e 11:43:41 Removing intermediate container ab7512aa4f6e 11:43:41 ---> fe29d648bf5b 11:43:41 Step 12/26 : RUN $MAKE 11:43:41 ---> Running in 35ceedd1c727 11:43:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:43:51 d6de4b400683: Pull complete 11:43:51 35cb2a7552d0: Pull complete 11:43:51 4f4fb700ef54: Pull complete 11:43:51 464afbd9ba4c: Pull complete 11:44:00 00f215d4a9da: Pull complete 11:44:01 d496ad576159: Pull complete 11:44:01 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:44:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:44:01 ---> f246e2811388 11:44:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:44:03 ---> Running in c077ced1d933 11:44:03 Removing intermediate container c077ced1d933 11:44:03 ---> 3d10ec2fde95 11:44:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:44:03 ---> Running in bcba184a47ec 11:44:03 Removing intermediate container bcba184a47ec 11:44:03 ---> 15ecb108b861 11:44:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:44:03 ---> Running in 1306d3bcbf15 11:44:04 Removing intermediate container 1306d3bcbf15 11:44:04 ---> c3c590232bab 11:44:04 Step 6/12 : WORKDIR /device-virtual-go 11:44:04 ---> Running in f72a3f7ab7b0 11:44:04 Removing intermediate container f72a3f7ab7b0 11:44:04 ---> 85b0d86d7085 11:44:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:44:04 ---> Running in 34682cab5a28 11:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:44:06 (1/4) Installing openssh-keygen (9.3_p2-r2) 11:44:06 (2/4) Installing libedit (20221030.3.1-r1) 11:44:06 (3/4) Installing openssh-client-common (9.3_p2-r2) 11:44:06 (4/4) Installing openssh-client-default (9.3_p2-r2) 11:44:06 Executing busybox-1.36.1-r5.trigger 11:44:07 OK: 271 MiB in 56 packages 11:44:08 Removing intermediate container 34682cab5a28 11:44:08 ---> e4b205598659 11:44:08 Step 8/12 : COPY go.mod vendor* ./ 11:44:08 ---> 3cbdcc8b5978 11:44:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:08 ---> Running in a46948a3cc04 11:44:20 Removing intermediate container 35ceedd1c727 11:44:20 ---> 5954ac3b34af 11:44:20 Step 13/26 : FROM alpine:3.18 11:44:20 3.18: Pulling from library/alpine 11:44:21 930bdd4d222e: Pulling fs layer 11:44:21 930bdd4d222e: Verifying Checksum 11:44:21 930bdd4d222e: Download complete 11:44:21 930bdd4d222e: Pull complete 11:44:21 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 11:44:21 Status: Downloaded newer image for alpine:3.18 11:44:21 ---> 18f865063206 11:44:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:44:21 ---> Running in 94312c841a84 11:44:22 Removing intermediate container 94312c841a84 11:44:22 ---> 3a7a59b427b0 11:44:22 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:44:22 ---> Running in 266dd2bf710e 11:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:44:22 (1/1) Installing dumb-init (1.2.5-r2) 11:44:22 Executing busybox-1.36.1-r7.trigger 11:44:22 OK: 7 MiB in 16 packages 11:44:24 Removing intermediate container 266dd2bf710e 11:44:24 ---> b47a3297c9b9 11:44:24 Step 16/26 : RUN apk --no-cache upgrade 11:44:24 ---> Running in df842e57ee77 11:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:44:24 OK: 7 MiB in 16 packages 11:44:25 Removing intermediate container df842e57ee77 11:44:25 ---> d6e8e12758a0 11:44:25 Step 17/26 : WORKDIR / 11:44:25 ---> Running in ce843ffe5190 11:44:25 Removing intermediate container ce843ffe5190 11:44:25 ---> 7bcdfb3f80c4 11:44:25 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:44:25 ---> db866a79b90a 11:44:25 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:44:25 ---> 1a49cb114c50 11:44:25 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:44:27 ---> 03e615c4e766 11:44:27 Step 21/26 : EXPOSE 59900 11:44:27 ---> Running in 0f8f8bf84e2e 11:44:27 Removing intermediate container 0f8f8bf84e2e 11:44:27 ---> 85d38cd351c9 11:44:27 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:44:27 ---> Running in eb4d67a24e88 11:44:27 Removing intermediate container eb4d67a24e88 11:44:27 ---> 294cd45397c7 11:44:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:44:27 ---> Running in cfd775d88bf4 11:44:28 Removing intermediate container cfd775d88bf4 11:44:28 ---> 8e3c6e264ce8 11:44:28 Step 24/26 : LABEL arch=amd64 11:44:28 ---> Running in 445d2ae995e2 11:44:28 Removing intermediate container 445d2ae995e2 11:44:28 ---> 73ab638c25f7 11:44:28 Step 25/26 : LABEL git_sha=93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:44:28 ---> Running in 8c76237ca274 11:44:28 Removing intermediate container 8c76237ca274 11:44:28 ---> faef8635f419 11:44:28 Step 26/26 : LABEL version=3.2.0-dev.21 11:44:28 ---> Running in 9ed7717c3bdf 11:44:28 Removing intermediate container 9ed7717c3bdf 11:44:28 ---> f69d15980f54 11:44:28 [Warning] One or more build-args [ARCH] were not consumed 11:44:28 Successfully built f69d15980f54 11:44:28 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:28 provisioning config files... 11:44:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8526312291644293221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:29 ---> ****-login.sh 11:44:29 nexus3.edgexfoundry.org:10001 11:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:29 Configure a credential helper to remove this warning. See 11:44:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:29 11:44:29 Login Succeeded 11:44:29 nexus3.edgexfoundry.org:10002 11:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:29 Configure a credential helper to remove this warning. See 11:44:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:29 11:44:29 Login Succeeded 11:44:29 nexus3.edgexfoundry.org:10003 11:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:29 Configure a credential helper to remove this warning. See 11:44:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:29 11:44:29 Login Succeeded 11:44:29 nexus3.edgexfoundry.org:10004 11:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:29 Configure a credential helper to remove this warning. See 11:44:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:29 11:44:29 Login Succeeded 11:44:29 ****.io 11:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:44:29 Configure a credential helper to remove this warning. See 11:44:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:44:29 11:44:29 Login Succeeded 11:44:29 ---> ****-login.sh ends [Pipeline] } 11:44:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:44:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:29 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:44:29 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:44:29 latest 11:44:29 3.2.0-dev.21 11:44:29 93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 11:44:29 main 11:44:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:29 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:30 + docker push nexus3.edgexfoundry.org:10004/device-virtual:93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:44:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:30 a719d61cc2e6: Preparing 11:44:30 ec03838094c1: Preparing 11:44:30 0383d4a9f63c: Preparing 11:44:30 b8a40a864ee8: Preparing 11:44:30 a3e8026f79ec: Preparing 11:44:30 ce7f800efff9: Preparing 11:44:30 ce7f800efff9: Waiting 11:44:30 0383d4a9f63c: Pushed 11:44:30 a3e8026f79ec: Pushed 11:44:30 b8a40a864ee8: Pushed 11:44:30 ec03838094c1: Pushed 11:44:30 ce7f800efff9: Layer already exists 11:44:33 a719d61cc2e6: Pushed 11:44:33 93fcf9f9514203f7e3dde2b04df2ad430adf6db4: digest: sha256:130a6a0684f75981ed35fe9ed43e2710e8628aca30e74bd3d8cff1faee2a664a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:34 a719d61cc2e6: Preparing 11:44:34 ec03838094c1: Preparing 11:44:34 0383d4a9f63c: Preparing 11:44:34 b8a40a864ee8: Preparing 11:44:34 a3e8026f79ec: Preparing 11:44:34 ce7f800efff9: Preparing 11:44:34 a3e8026f79ec: Layer already exists 11:44:34 ec03838094c1: Layer already exists 11:44:34 a719d61cc2e6: Layer already exists 11:44:34 b8a40a864ee8: Layer already exists 11:44:34 0383d4a9f63c: Layer already exists 11:44:34 ce7f800efff9: Layer already exists 11:44:34 latest: digest: sha256:130a6a0684f75981ed35fe9ed43e2710e8628aca30e74bd3d8cff1faee2a664a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.21 11:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:34 a719d61cc2e6: Preparing 11:44:34 ec03838094c1: Preparing 11:44:34 0383d4a9f63c: Preparing 11:44:34 b8a40a864ee8: Preparing 11:44:34 a3e8026f79ec: Preparing 11:44:34 ce7f800efff9: Preparing 11:44:34 ce7f800efff9: Waiting 11:44:34 a3e8026f79ec: Layer already exists 11:44:34 b8a40a864ee8: Layer already exists 11:44:34 ec03838094c1: Layer already exists 11:44:34 0383d4a9f63c: Layer already exists 11:44:34 a719d61cc2e6: Layer already exists 11:44:34 ce7f800efff9: Layer already exists 11:44:34 3.2.0-dev.21: digest: sha256:130a6a0684f75981ed35fe9ed43e2710e8628aca30e74bd3d8cff1faee2a664a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 11:44:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:35 a719d61cc2e6: Preparing 11:44:35 ec03838094c1: Preparing 11:44:35 0383d4a9f63c: Preparing 11:44:35 b8a40a864ee8: Preparing 11:44:35 a3e8026f79ec: Preparing 11:44:35 ce7f800efff9: Preparing 11:44:35 ce7f800efff9: Waiting 11:44:35 ec03838094c1: Layer already exists 11:44:35 0383d4a9f63c: Layer already exists 11:44:35 a719d61cc2e6: Layer already exists 11:44:35 b8a40a864ee8: Layer already exists 11:44:35 ce7f800efff9: Layer already exists 11:44:35 a3e8026f79ec: Layer already exists 11:44:35 93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21: digest: sha256:130a6a0684f75981ed35fe9ed43e2710e8628aca30e74bd3d8cff1faee2a664a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:44:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:44:36 a719d61cc2e6: Preparing 11:44:36 ec03838094c1: Preparing 11:44:36 0383d4a9f63c: Preparing 11:44:36 b8a40a864ee8: Preparing 11:44:36 a3e8026f79ec: Preparing 11:44:36 ce7f800efff9: Preparing 11:44:36 ce7f800efff9: Waiting 11:44:36 b8a40a864ee8: Layer already exists 11:44:36 0383d4a9f63c: Layer already exists 11:44:36 ec03838094c1: Layer already exists 11:44:36 a3e8026f79ec: Layer already exists 11:44:36 a719d61cc2e6: Layer already exists 11:44:36 ce7f800efff9: Layer already exists 11:44:36 main: digest: sha256:130a6a0684f75981ed35fe9ed43e2710e8628aca30e74bd3d8cff1faee2a664a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:44:36 ===================================================== [Pipeline] echo 11:44:36 taggedImages: 11:44:36 - nexus3.edgexfoundry.org:10004/device-virtual:93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:44:36 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:44:36 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.21 11:44:36 - nexus3.edgexfoundry.org:10004/device-virtual:93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 11:44:36 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:36 11:44:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:37 latest: Pulling from edgex-lftools-log-publisher 11:44:37 5eb5b503b376: Pulling fs layer 11:44:37 5c69ac0246d0: Pulling fs layer 11:44:37 ec43610c2a17: Pulling fs layer 11:44:37 3a2ae6a8a46f: Pulling fs layer 11:44:37 33b1e0a273af: Pulling fs layer 11:44:37 5d3b04190fa2: Pulling fs layer 11:44:37 2f39f015ded8: Pulling fs layer 11:44:37 3a2ae6a8a46f: Waiting 11:44:37 33b1e0a273af: Waiting 11:44:37 5d3b04190fa2: Waiting 11:44:37 2f39f015ded8: Waiting 11:44:37 5c69ac0246d0: Verifying Checksum 11:44:37 5c69ac0246d0: Download complete 11:44:37 3a2ae6a8a46f: Verifying Checksum 11:44:37 3a2ae6a8a46f: Download complete 11:44:37 33b1e0a273af: Verifying Checksum 11:44:37 33b1e0a273af: Download complete 11:44:37 5d3b04190fa2: Download complete 11:44:37 ec43610c2a17: Verifying Checksum 11:44:37 ec43610c2a17: Download complete 11:44:37 5eb5b503b376: Verifying Checksum 11:44:37 5eb5b503b376: Download complete 11:44:38 2f39f015ded8: Download complete 11:44:39 5eb5b503b376: Pull complete 11:44:40 5c69ac0246d0: Pull complete 11:44:40 ec43610c2a17: Pull complete 11:44:40 3a2ae6a8a46f: Pull complete 11:44:41 33b1e0a273af: Pull complete 11:44:41 5d3b04190fa2: Pull complete 11:44:46 2f39f015ded8: Pull complete 11:44:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:44:46 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:44:55 $ docker top cbc8a4a0bd325f56573d66b5825896bd2dea0c67164c34019d591ab05646ff02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:55 ---> job-cost.sh 11:44:55 lf-activate-venv: SKIPPING 11:44:55 INFO: No Stack... 11:44:55 INFO: Retrieving Pricing Info for: v3-standard-8 11:44:56 INFO: Archiving Costs [Pipeline] sh 11:44:56 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:44:56 + cut -d, -f6 [Pipeline] lock 11:44:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] 11:44:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] did not exist. Created. 11:44:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:44:56 + echo total: 0.2199999988079071 [Pipeline] stash 11:44:56 Stashed 1 file(s) [Pipeline] } 11:44:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] [Pipeline] // lock [Pipeline] } 11:44:56 $ docker stop --time=1 cbc8a4a0bd325f56573d66b5825896bd2dea0c67164c34019d591ab05646ff02 11:44:58 $ docker rm -f --volumes cbc8a4a0bd325f56573d66b5825896bd2dea0c67164c34019d591ab05646ff02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:46:00 Removing intermediate container a46948a3cc04 11:46:00 ---> 487d8885fa59 11:46:00 Step 10/12 : COPY . . 11:46:00 ---> 3a43386976e9 11:46:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:46:00 ---> Running in ba221a37a14b 11:46:00 Removing intermediate container ba221a37a14b 11:46:00 ---> 1701ea92a50d 11:46:00 Step 12/12 : RUN $MAKE 11:46:00 ---> Running in 3dbadbcffa37 11:46:00 noop 11:46:00 Removing intermediate container 3dbadbcffa37 11:46:00 ---> 5898dc6fe8a6 11:46:00 Successfully built 5898dc6fe8a6 11:46:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:00 + docker inspect -f . ci-base-image-arm64 11:46:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:00 prd-ubuntu20.04-docker-arm64-4c-16g-8385 does not seem to be running inside a container 11:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/177 -v /w/workspace/device-virtual-go/177:/w/workspace/device-virtual-go/177:rw,z -v /w/workspace/device-virtual-go/177@tmp:/w/workspace/device-virtual-go/177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:46:02 $ docker top 21ef04c70d6fdf4f3a6b2914630bba9d1ed4e99251b43e8c5029fdf87e253792 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:02 + go version 11:46:02 go version go1.21.9 linux/arm64 [Pipeline] } 11:46:02 $ docker stop --time=1 21ef04c70d6fdf4f3a6b2914630bba9d1ed4e99251b43e8c5029fdf87e253792 11:46:04 $ docker rm -f --volumes 21ef04c70d6fdf4f3a6b2914630bba9d1ed4e99251b43e8c5029fdf87e253792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:05 + docker inspect -f . ci-base-image-arm64 11:46:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:05 prd-ubuntu20.04-docker-arm64-4c-16g-8385 does not seem to be running inside a container 11:46:05 $ 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/177 -v /w/workspace/device-virtual-go/177:/w/workspace/device-virtual-go/177:rw,z -v /w/workspace/device-virtual-go/177@tmp:/w/workspace/device-virtual-go/177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:46:06 $ docker top c39b85105dae067601c0b99cf077a7968f6099e1ea23c97186cbb79f9a01025d -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:07 + git config --global --add safe.directory /w/workspace/device-virtual-go/177 [Pipeline] fileExists [Pipeline] sh 11:46:08 + make test 11:46:08 go test ./... -coverprofile=coverage.out 11:46:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:49:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:49:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.060s coverage: 58.3% of statements 11:49:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:49:20 go vet ./... 11:50:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:50:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:50:07 ./bin/test-attribution-txt.sh 11:50:07 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 11:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:50:07 $ docker stop --time=1 c39b85105dae067601c0b99cf077a7968f6099e1ea23c97186cbb79f9a01025d 11:50:09 $ docker rm -f --volumes c39b85105dae067601c0b99cf077a7968f6099e1ea23c97186cbb79f9a01025d [Pipeline] // withDockerContainer [Pipeline] sh 11:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:50:10 Warning: overwriting stash ‘coverage-report’ 11:50:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:50:12 + ls -al . 11:50:12 total 272 11:50:12 drwxrwxr-x 7 jenkins jenkins 4096 Aug 23 11:46 . 11:50:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:43 .. 11:50:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:43 .git 11:50:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:43 .github 11:50:12 -rw-rw-r-- 1 jenkins jenkins 272 Aug 23 11:43 .gitignore 11:50:12 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 11:43 .golangci.yml 11:50:12 -rw-rw-r-- 1 jenkins jenkins 17933 Aug 23 11:43 Attribution.txt 11:50:12 -rw-rw-r-- 1 jenkins jenkins 15941 Aug 23 11:43 CHANGELOG.md 11:50:12 -rw-rw-r-- 1 jenkins jenkins 1755 Aug 23 11:43 Dockerfile 11:50:12 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 11:43 GOVERNANCE.md 11:50:12 -rw-rw-r-- 1 jenkins jenkins 660 Aug 23 11:43 Jenkinsfile 11:50:12 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 23 11:43 LICENSE 11:50:12 -rw-rw-r-- 1 jenkins jenkins 1953 Aug 23 11:43 Makefile 11:50:12 -rw-rw-r-- 1 jenkins jenkins 623 Aug 23 11:43 OWNERS.md 11:50:12 -rw-rw-r-- 1 jenkins jenkins 4103 Aug 23 11:43 README.md 11:50:12 -rw-rw-r-- 1 jenkins jenkins 12 Aug 23 11:40 VERSION 11:50:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 11:43 bin 11:50:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:43 cmd 11:50:12 -rw-r--r-- 1 jenkins jenkins 43247 Aug 23 11:49 coverage.out 11:50:12 -rw-rw-r-- 1 jenkins jenkins 6923 Aug 23 11:43 go.mod 11:50:12 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 23 11:43 go.sum 11:50:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:43 internal 11:50:12 -rw-rw-r-- 1 jenkins jenkins 235 Aug 23 11:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:12 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=93fcf9f9514203f7e3dde2b04df2ad430adf6db4 --label arch=arm64 --label version=3.2.0-dev.21 . 11:50:13 Sending build context to Docker daemon 19.01MB 11:50:13 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:50:13 Step 2/26 : FROM ${BASE} AS builder 11:50:13 ---> 5898dc6fe8a6 11:50:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:50:13 ---> Running in 3a378cda4f51 11:50:13 Removing intermediate container 3a378cda4f51 11:50:13 ---> f19a95182c90 11:50:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:50:13 ---> Running in 80638adebb2b 11:50:13 Removing intermediate container 80638adebb2b 11:50:13 ---> 9f9638e2f2b6 11:50:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:50:13 ---> Running in 8c0fef58a124 11:50:14 Removing intermediate container 8c0fef58a124 11:50:14 ---> 13032fa85454 11:50:14 Step 6/26 : WORKDIR /device-virtual-go 11:50:14 ---> Running in 919c370cfc00 11:50:14 Removing intermediate container 919c370cfc00 11:50:14 ---> 9cdff1425898 11:50:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:50:14 ---> Running in 47604db5803a 11:50:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:50:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:50:16 OK: 271 MiB in 56 packages 11:50:17 Removing intermediate container 47604db5803a 11:50:17 ---> 892042f80b67 11:50:17 Step 8/26 : COPY go.mod vendor* ./ 11:50:18 ---> 0ea5c3225e5e 11:50:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:50:18 ---> Running in 085746f667e7 11:50:20 Removing intermediate container 085746f667e7 11:50:20 ---> 883e3146c5f2 11:50:20 Step 10/26 : COPY . . 11:50:22 ---> e41e45b2066b 11:50:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:50:22 ---> Running in 8715c4504525 11:50:22 Removing intermediate container 8715c4504525 11:50:22 ---> 05574a8317c2 11:50:22 Step 12/26 : RUN $MAKE 11:50:22 ---> Running in 93becbfe0bcd 11:50:23 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:53:45 Removing intermediate container 93becbfe0bcd 11:53:45 ---> 055cfd698a3d 11:53:45 Step 13/26 : FROM alpine:3.18 11:53:45 3.18: Pulling from library/alpine 11:53:45 4983c3fe2029: Pulling fs layer 11:53:45 4983c3fe2029: Verifying Checksum 11:53:45 4983c3fe2029: Download complete 11:53:45 4983c3fe2029: Pull complete 11:53:45 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 11:53:45 Status: Downloaded newer image for alpine:3.18 11:53:45 ---> a0237000ae83 11:53:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:53:45 ---> Running in 6501fb018bbb 11:53:45 Removing intermediate container 6501fb018bbb 11:53:45 ---> c0b12f433ad6 11:53:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:53:45 ---> Running in 42aa3f445a67 11:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:53:45 (1/1) Installing dumb-init (1.2.5-r2) 11:53:45 Executing busybox-1.36.1-r7.trigger 11:53:45 OK: 8 MiB in 16 packages 11:53:45 Removing intermediate container 42aa3f445a67 11:53:45 ---> 2f7afc15cac4 11:53:45 Step 16/26 : RUN apk --no-cache upgrade 11:53:45 ---> Running in 57d5df3f0266 11:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:53:45 OK: 8 MiB in 16 packages 11:53:45 Removing intermediate container 57d5df3f0266 11:53:45 ---> 90effdf32833 11:53:45 Step 17/26 : WORKDIR / 11:53:45 ---> Running in 3dbc5c72df12 11:53:45 Removing intermediate container 3dbc5c72df12 11:53:45 ---> 270476e8a606 11:53:45 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:53:45 ---> c08c0156faa7 11:53:45 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:53:46 ---> 5be25142632a 11:53:46 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:53:47 ---> a8a461855b8e 11:53:47 Step 21/26 : EXPOSE 59900 11:53:48 ---> Running in ba893f925ed3 11:53:48 Removing intermediate container ba893f925ed3 11:53:48 ---> ddd1b09818ad 11:53:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:53:48 ---> Running in 8f0fa018c664 11:53:48 Removing intermediate container 8f0fa018c664 11:53:48 ---> 2c68688422f0 11:53:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:53:48 ---> Running in 4110c9693fb8 11:53:49 Removing intermediate container 4110c9693fb8 11:53:49 ---> 8bd979162b71 11:53:49 Step 24/26 : LABEL arch=arm64 11:53:49 ---> Running in ba25333f2ef9 11:53:49 Removing intermediate container ba25333f2ef9 11:53:49 ---> 8de57254cf2d 11:53:49 Step 25/26 : LABEL git_sha=93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:53:49 ---> Running in b4f671f29387 11:53:49 Removing intermediate container b4f671f29387 11:53:49 ---> b329f1170a3f 11:53:49 Step 26/26 : LABEL version=3.2.0-dev.21 11:53:49 ---> Running in ca89d7d02bdb 11:53:50 Removing intermediate container ca89d7d02bdb 11:53:50 ---> afcd3a4d955e 11:53:50 [Warning] One or more build-args [ARCH] were not consumed 11:53:50 Successfully built afcd3a4d955e 11:53:50 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:53:50 provisioning config files... 11:53:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/177@tmp/config11999264138493847473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:53:50 ---> ****-login.sh 11:53:50 nexus3.edgexfoundry.org:10001 11:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:51 Configure a credential helper to remove this warning. See 11:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:51 11:53:51 Login Succeeded 11:53:51 nexus3.edgexfoundry.org:10002 11:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:51 Configure a credential helper to remove this warning. See 11:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:51 11:53:51 Login Succeeded 11:53:51 nexus3.edgexfoundry.org:10003 11:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:51 Configure a credential helper to remove this warning. See 11:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:51 11:53:51 Login Succeeded 11:53:51 nexus3.edgexfoundry.org:10004 11:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:52 Configure a credential helper to remove this warning. See 11:53:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:52 11:53:52 Login Succeeded 11:53:52 ****.io 11:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:53:52 Configure a credential helper to remove this warning. See 11:53:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:53:52 11:53:52 Login Succeeded 11:53:52 ---> ****-login.sh ends [Pipeline] } 11:53:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:53:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:53:52 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:53:52 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:53:52 latest 11:53:52 3.2.0-dev.21 11:53:52 93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 11:53:52 main 11:53:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:53:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:53:53 4bf293559484: Preparing 11:53:53 c352f12444c5: Preparing 11:53:53 d7772e3f5172: Preparing 11:53:53 a7f9760b9f44: Preparing 11:53:53 bd8aa27b5ec1: Preparing 11:53:53 3c20671a5817: Preparing 11:53:53 3c20671a5817: Waiting 11:53:54 a7f9760b9f44: Pushed 11:53:54 c352f12444c5: Pushed 11:53:54 bd8aa27b5ec1: Pushed 11:53:54 d7772e3f5172: Pushed 11:53:54 3c20671a5817: Layer already exists 11:53:59 4bf293559484: Pushed 11:53:59 93fcf9f9514203f7e3dde2b04df2ad430adf6db4: digest: sha256:11f2d15e6e63312e963b8bc566e606719101252833bd1ecc60d39312ec757c30 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:54:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:54:00 4bf293559484: Preparing 11:54:00 c352f12444c5: Preparing 11:54:00 d7772e3f5172: Preparing 11:54:00 a7f9760b9f44: Preparing 11:54:00 bd8aa27b5ec1: Preparing 11:54:00 3c20671a5817: Preparing 11:54:00 3c20671a5817: Waiting 11:54:00 c352f12444c5: Layer already exists 11:54:00 bd8aa27b5ec1: Layer already exists 11:54:00 4bf293559484: Layer already exists 11:54:00 d7772e3f5172: Layer already exists 11:54:00 a7f9760b9f44: Layer already exists 11:54:00 3c20671a5817: Layer already exists 11:54:00 latest: digest: sha256:11f2d15e6e63312e963b8bc566e606719101252833bd1ecc60d39312ec757c30 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.21 11:54:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:54:01 4bf293559484: Preparing 11:54:01 c352f12444c5: Preparing 11:54:01 d7772e3f5172: Preparing 11:54:01 a7f9760b9f44: Preparing 11:54:01 bd8aa27b5ec1: Preparing 11:54:01 3c20671a5817: Preparing 11:54:01 3c20671a5817: Waiting 11:54:01 4bf293559484: Layer already exists 11:54:01 bd8aa27b5ec1: Layer already exists 11:54:01 d7772e3f5172: Layer already exists 11:54:01 a7f9760b9f44: Layer already exists 11:54:01 c352f12444c5: Layer already exists 11:54:01 3c20671a5817: Layer already exists 11:54:01 3.2.0-dev.21: digest: sha256:11f2d15e6e63312e963b8bc566e606719101252833bd1ecc60d39312ec757c30 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 11:54:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:54:02 4bf293559484: Preparing 11:54:02 c352f12444c5: Preparing 11:54:02 d7772e3f5172: Preparing 11:54:02 a7f9760b9f44: Preparing 11:54:02 bd8aa27b5ec1: Preparing 11:54:02 3c20671a5817: Preparing 11:54:02 3c20671a5817: Waiting 11:54:02 bd8aa27b5ec1: Layer already exists 11:54:02 4bf293559484: Layer already exists 11:54:02 c352f12444c5: Layer already exists 11:54:02 a7f9760b9f44: Layer already exists 11:54:02 d7772e3f5172: Layer already exists 11:54:02 3c20671a5817: Layer already exists 11:54:02 93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21: digest: sha256:11f2d15e6e63312e963b8bc566e606719101252833bd1ecc60d39312ec757c30 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:54:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:54:03 4bf293559484: Preparing 11:54:03 c352f12444c5: Preparing 11:54:03 d7772e3f5172: Preparing 11:54:03 a7f9760b9f44: Preparing 11:54:03 bd8aa27b5ec1: Preparing 11:54:03 3c20671a5817: Preparing 11:54:03 3c20671a5817: Waiting 11:54:03 4bf293559484: Layer already exists 11:54:03 d7772e3f5172: Layer already exists 11:54:03 a7f9760b9f44: Layer already exists 11:54:03 bd8aa27b5ec1: Layer already exists 11:54:03 3c20671a5817: Layer already exists 11:54:03 c352f12444c5: Layer already exists 11:54:03 main: digest: sha256:11f2d15e6e63312e963b8bc566e606719101252833bd1ecc60d39312ec757c30 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:54:03 ===================================================== [Pipeline] echo 11:54:03 taggedImages: 11:54:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:93fcf9f9514203f7e3dde2b04df2ad430adf6db4 11:54:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:54:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.21 11:54:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:93fcf9f9514203f7e3dde2b04df2ad430adf6db4-3.2.0-dev.21 11:54:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:54:04 11:54:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:54:04 arm64: Pulling from edgex-lftools-log-publisher 11:54:04 8998bd30e6a1: Pulling fs layer 11:54:04 04944245beec: Pulling fs layer 11:54:04 699f458cf7ca: Pulling fs layer 11:54:04 765212b225bb: Pulling fs layer 11:54:04 f23df028b6ca: Pulling fs layer 11:54:04 d65c8cfc05b1: Pulling fs layer 11:54:04 2437ff75d9bd: Pulling fs layer 11:54:04 f23df028b6ca: Waiting 11:54:04 d65c8cfc05b1: Waiting 11:54:04 2437ff75d9bd: Waiting 11:54:04 765212b225bb: Waiting 11:54:04 04944245beec: Verifying Checksum 11:54:04 04944245beec: Download complete 11:54:04 765212b225bb: Verifying Checksum 11:54:04 765212b225bb: Download complete 11:54:04 f23df028b6ca: Verifying Checksum 11:54:04 f23df028b6ca: Download complete 11:54:04 d65c8cfc05b1: Verifying Checksum 11:54:04 d65c8cfc05b1: Download complete 11:54:04 699f458cf7ca: Verifying Checksum 11:54:04 699f458cf7ca: Download complete 11:54:05 8998bd30e6a1: Verifying Checksum 11:54:05 8998bd30e6a1: Download complete 11:54:07 2437ff75d9bd: Download complete 11:54:09 8998bd30e6a1: Pull complete 11:54:10 04944245beec: Pull complete 11:54:11 699f458cf7ca: Pull complete 11:54:11 765212b225bb: Pull complete 11:54:12 f23df028b6ca: Pull complete 11:54:12 d65c8cfc05b1: Pull complete 11:54:31 2437ff75d9bd: Pull complete 11:54:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:54:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:54:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:31 prd-ubuntu20.04-docker-arm64-4c-16g-8385 does not seem to be running inside a container 11:54:31 $ 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/177 -v /w/workspace/device-virtual-go/177:/w/workspace/device-virtual-go/177:rw,z -v /w/workspace/device-virtual-go/177@tmp:/w/workspace/device-virtual-go/177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:54:33 $ docker top 8262ce289bab930f7d8c8828d2dac07b446ff2ed558fec11f45da0beb26cf99f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:54:34 ---> job-cost.sh 11:54:34 lf-activate-venv: SKIPPING 11:54:34 INFO: No Stack... 11:54:35 INFO: Retrieving Pricing Info for: v3-standard-4 11:54:35 INFO: Archiving Costs [Pipeline] sh 11:54:36 + cat /w/workspace/device-virtual-go/177/archives/cost.csv 11:54:36 + cut -d, -f6 [Pipeline] lock 11:54:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] 11:54:36 Resource [jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] did not exist. Created. 11:54:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:54:36 /w/workspace/device-virtual-go/177@tmp/durable-4a1dd1f0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:54:36 + echo total: 0.10999999940395355 [Pipeline] stash 11:54:36 Warning: overwriting stash ‘stack-cost’ 11:54:36 Stashed 1 file(s) [Pipeline] } 11:54:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-177-stack-cost] [Pipeline] // lock [Pipeline] } 11:54:36 $ docker stop --time=1 8262ce289bab930f7d8c8828d2dac07b446ff2ed558fec11f45da0beb26cf99f 11:54:38 $ docker rm -f --volumes 8262ce289bab930f7d8c8828d2dac07b446ff2ed558fec11f45da0beb26cf99f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:54:38 provisioning config files... 11:54:38 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8820425953479842925tmp [Pipeline] { [Pipeline] sh 11:54:39 + set +x 11:54:39 + curl -s https://codecov.io/bash 11:54:39 + bash -s -- 11:54:39 11:54:39 _____ _ 11:54:39 / ____| | | 11:54:39 | | ___ __| | ___ ___ _____ __ 11:54:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:54:39 | |___| (_) | (_| | __/ (_| (_) \ V / 11:54:39 \_____\___/ \__,_|\___|\___\___/ \_/ 11:54:39 Bash-1.0.6 11:54:39 11:54:39 11:54:39 ==> git version 2.25.1 found 11:54:39 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:54:39 Release-Date: 2020-01-08 11:54:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:54:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:54:39 ==> Jenkins CI detected. 11:54:39 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:54:39 project root: . 11:54:39 --> token set from env 11:54:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:54:39 ==> Running gcov in . (disable via -X gcov) 11:54:39 ==> Python coveragepy not found 11:54:39 ==> Searching for coverage reports in: 11:54:39 + . 11:54:39 -> Found 1 reports 11:54:39 ==> Detecting git/mercurial file structure 11:54:39 ==> Reading reports 11:54:39 + ./coverage.out bytes=43247 11:54:39 ==> Appending adjustments 11:54:39 https://docs.codecov.io/docs/fixing-reports 11:54:39 + Found adjustments 11:54:39 ==> Gzipping contents 11:54:39 8.0K /tmp/codecov.9Cugdh.gz 11:54:39 ==> Uploading reports 11:54:39 url: https://codecov.io 11:54:39 query: branch=main&commit=93fcf9f9514203f7e3dde2b04df2ad430adf6db4&build=177&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F177%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:54:39 -> Pinging Codecov 11:54:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=93fcf9f9514203f7e3dde2b04df2ad430adf6db4&build=177&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F177%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:54:39 -> Uploading to 11:54:39 https://storage.googleapis.com/codecov/v4/raw/2024-08-23/5E52B4B073DB2E39498172D8E973AA87/93fcf9f9514203f7e3dde2b04df2ad430adf6db4/7e9c3b66-baca-40e4-a6c5-94bab507f344.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T115439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8aa05143f710401799355ab04b217ca174f995a8b8ab0d25936a2c348245e2e0 11:54:39 % Total % Received % Xferd Average Speed Time Time Time Current 11:54:39 Dload Upload Total Spent Left Speed 11:54:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 20497 --:--:-- --:--:-- --:--:-- 20497 11:54:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] } 11:54:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:54:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:54:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:54:40 11:54:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:54:40 latest: Pulling from edgex-devops/edgex-snyk-go 11:54:40 619be1103602: Already exists 11:54:40 f8ea3408117e: Pulling fs layer 11:54:40 91320369b822: Pulling fs layer 11:54:40 0406650e8295: Pulling fs layer 11:54:40 4f4fb700ef54: Pulling fs layer 11:54:40 96d80e3f36e1: Pulling fs layer 11:54:40 bcf3aedb951c: Pulling fs layer 11:54:40 96d80e3f36e1: Waiting 11:54:40 bcf3aedb951c: Waiting 11:54:40 0406650e8295: Verifying Checksum 11:54:40 0406650e8295: Download complete 11:54:40 f8ea3408117e: Download complete 11:54:40 4f4fb700ef54: Download complete 11:54:41 f8ea3408117e: Pull complete 11:54:41 96d80e3f36e1: Verifying Checksum 11:54:41 96d80e3f36e1: Download complete 11:54:41 91320369b822: Verifying Checksum 11:54:41 91320369b822: Download complete 11:54:41 bcf3aedb951c: Verifying Checksum 11:54:41 bcf3aedb951c: Download complete 11:54:44 91320369b822: Pull complete 11:54:44 0406650e8295: Pull complete 11:54:44 4f4fb700ef54: Pull complete 11:54:44 96d80e3f36e1: Pull complete 11:54:47 bcf3aedb951c: Pull complete 11:54:47 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 11:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:54:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:47 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 11:54:52 $ docker top 1e3fb59de3949d2421fe0575aeb03c0b955fea7d43fb9e758288c0251b5c2ef6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:52 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 11:54:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 11:54:52 + set -o pipefail 11:54:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 11:55:01 11:55:01 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:55:01 11:55:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/b06d1bcc-5f19-4390-88f7-32857a00ab81 11:55:01 11:55:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:55:01 11:55:01 11:55:01 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 11:55:01 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:55:01 $ docker stop --time=1 1e3fb59de3949d2421fe0575aeb03c0b955fea7d43fb9e758288c0251b5c2ef6 11:55:05 $ docker rm -f --volumes 1e3fb59de3949d2421fe0575aeb03c0b955fea7d43fb9e758288c0251b5c2ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:55:06 + git log --format=format:%s -1 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 [Pipeline] sh 11:55:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:55:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:07 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:55:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:55:08 $ docker top 7f34cb1f6a80474a1ad02ca1ea3e4ceb16d83808f891419cb1d1014d8b73fe10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:55:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:08 [ssh-agent] Looking for ssh-agent implementation... 11:55:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:08 $ docker exec 7f34cb1f6a80474a1ad02ca1ea3e4ceb16d83808f891419cb1d1014d8b73fe10 ssh-agent 11:55:08 SSH_AUTH_SOCK=/tmp/ssh-UlaAkW4KNDHM/agent.31 11:55:08 SSH_AGENT_PID=37 11:55:08 Running ssh-add (command line suppressed) 11:55:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9046823552200317545.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9046823552200317545.key) 11:55:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:09 + git semver tag 11:55:09 2024-08-23 11:55:09,166 [run_tag] DEBUG tag force:False 11:55:09 2024-08-23 11:55:09,166 [check_head_tag] DEBUG check head tag 11:55:09 2024-08-23 11:55:09,167 [execute] INFO git cat-file --batch-check 11:55:09 2024-08-23 11:55:09,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:55:09 2024-08-23 11:55:09,170 [execute] INFO git cat-file --batch 11:55:09 2024-08-23 11:55:09,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:55:09 2024-08-23 11:55:09,188 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:09 2024-08-23 11:55:09,188 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 11:55:09 2024-08-23 11:55:09,189 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:55:09 2024-08-23 11:55:09,193 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:09 3.2.0-dev.21 [Pipeline] } 11:55:09 $ docker exec --env ******** --env ******** 7f34cb1f6a80474a1ad02ca1ea3e4ceb16d83808f891419cb1d1014d8b73fe10 ssh-agent -k 11:55:09 unset SSH_AUTH_SOCK; 11:55:09 unset SSH_AGENT_PID; 11:55:09 echo Agent pid 37 killed; 11:55:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:09 + git semver [Pipeline] } 11:55:10 $ docker stop --time=1 7f34cb1f6a80474a1ad02ca1ea3e4ceb16d83808f891419cb1d1014d8b73fe10 11:55:11 $ docker rm -f --volumes 7f34cb1f6a80474a1ad02ca1ea3e4ceb16d83808f891419cb1d1014d8b73fe10 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:55:11 11:55:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:55:12 0.23.1-centos7: Pulling from edgex-lftools 11:55:12 ab5ef0e58194: Pulling fs layer 11:55:12 9712f1f96733: Pulling fs layer 11:55:12 63f879dbbcfc: Pulling fs layer 11:55:12 0d9ebad4ef96: Pulling fs layer 11:55:12 e9a5061849ea: Pulling fs layer 11:55:12 d747dcd14b5f: Pulling fs layer 11:55:12 2de7ff778b66: Pulling fs layer 11:55:12 0d9ebad4ef96: Waiting 11:55:12 e9a5061849ea: Waiting 11:55:12 d747dcd14b5f: Waiting 11:55:12 2de7ff778b66: Waiting 11:55:12 9712f1f96733: Verifying Checksum 11:55:12 9712f1f96733: Download complete 11:55:12 63f879dbbcfc: Verifying Checksum 11:55:12 63f879dbbcfc: Download complete 11:55:12 e9a5061849ea: Verifying Checksum 11:55:12 e9a5061849ea: Download complete 11:55:12 d747dcd14b5f: Verifying Checksum 11:55:12 d747dcd14b5f: Download complete 11:55:12 ab5ef0e58194: Verifying Checksum 11:55:12 ab5ef0e58194: Download complete 11:55:12 0d9ebad4ef96: Verifying Checksum 11:55:12 2de7ff778b66: Verifying Checksum 11:55:12 2de7ff778b66: Download complete 11:55:15 ab5ef0e58194: Pull complete 11:55:15 9712f1f96733: Pull complete 11:55:16 63f879dbbcfc: Pull complete 11:55:19 0d9ebad4ef96: Pull complete 11:55:19 e9a5061849ea: Pull complete 11:55:19 d747dcd14b5f: Pull complete 11:55:20 2de7ff778b66: Pull complete 11:55:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:55:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:55:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:20 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:55:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:55:25 $ docker top 7170b3dc3860119a1ef06399e3b6ba29698b222d9c7b1299e6afd8c244d5f4ba -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:55:25 provisioning config files... 11:55:25 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16875594253459358794tmp 11:55:25 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18193244025023836221tmp 11:55:25 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17145620154249360695tmp [Pipeline] { [Pipeline] echo 11:55:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:55:26 ---> sigul-configuration.sh 11:55:26 gpg: directory `/root/.gnupg' created 11:55:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:55:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:55:26 gpg: keyring `/root/.gnupg/secring.gpg' created 11:55:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:55:26 gpg: CAST5 encrypted data 11:55:26 gpg: encrypted with 1 passphrase 11:55:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:55:26 + mkdir /home/jenkins 11:55:26 + mkdir /home/jenkins/sigul [Pipeline] sh 11:55:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:55:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:55:26 ---> sigul-install.sh 11:55:26 Sigul already installed; skipping installation. [Pipeline] sh 11:55:27 + git tag --list 11:55:27 v1.0.0 11:55:27 v1.1.0 11:55:27 v1.1.1 11:55:27 v1.2.1 11:55:27 v1.2.2 11:55:27 v1.2.3 11:55:27 v1.3.0 11:55:27 v1.3.1 11:55:27 v2.0.0 11:55:27 v2.1.0 11:55:27 v2.1.1 11:55:27 v2.2.0 11:55:27 v2.3.0 11:55:27 v3.0 11:55:27 v3.0.0 11:55:27 v3.1 11:55:27 v3.1.0 11:55:27 v3.1.0-dev.1 11:55:27 v3.1.0-dev.10 11:55:27 v3.1.0-dev.11 11:55:27 v3.1.0-dev.12 11:55:27 v3.1.0-dev.13 11:55:27 v3.1.0-dev.14 11:55:27 v3.1.0-dev.15 11:55:27 v3.1.0-dev.16 11:55:27 v3.1.0-dev.17 11:55:27 v3.1.0-dev.18 11:55:27 v3.1.0-dev.19 11:55:27 v3.1.0-dev.2 11:55:27 v3.1.0-dev.20 11:55:27 v3.1.0-dev.21 11:55:27 v3.1.0-dev.22 11:55:27 v3.1.0-dev.23 11:55:27 v3.1.0-dev.24 11:55:27 v3.1.0-dev.25 11:55:27 v3.1.0-dev.26 11:55:27 v3.1.0-dev.27 11:55:27 v3.1.0-dev.28 11:55:27 v3.1.0-dev.29 11:55:27 v3.1.0-dev.3 11:55:27 v3.1.0-dev.30 11:55:27 v3.1.0-dev.4 11:55:27 v3.1.0-dev.5 11:55:27 v3.1.0-dev.6 11:55:27 v3.1.0-dev.7 11:55:27 v3.1.0-dev.8 11:55:27 v3.1.0-dev.9 11:55:27 v3.1.1 11:55:27 v3.1.1-dev.1 11:55:27 v3.2.0-dev.1 11:55:27 v3.2.0-dev.10 11:55:27 v3.2.0-dev.11 11:55:27 v3.2.0-dev.12 11:55:27 v3.2.0-dev.13 11:55:27 v3.2.0-dev.14 11:55:27 v3.2.0-dev.15 11:55:27 v3.2.0-dev.16 11:55:27 v3.2.0-dev.17 11:55:27 v3.2.0-dev.18 11:55:27 v3.2.0-dev.19 11:55:27 v3.2.0-dev.2 11:55:27 v3.2.0-dev.20 11:55:27 v3.2.0-dev.21 11:55:27 v3.2.0-dev.3 11:55:27 v3.2.0-dev.4 11:55:27 v3.2.0-dev.5 11:55:27 v3.2.0-dev.6 11:55:27 v3.2.0-dev.7 11:55:27 v3.2.0-dev.8 11:55:27 v3.2.0-dev.9 [Pipeline] sh 11:55:27 + lftools sign git-tag v3.2.0-dev.21 11:55:28 Signing Git tag with Sigul... 11:55:28 Signing v3.2.0-dev.21 [Pipeline] echo 11:55:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:55:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:55:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:55:28 $ docker stop --time=1 7170b3dc3860119a1ef06399e3b6ba29698b222d9c7b1299e6afd8c244d5f4ba 11:55:30 $ docker rm -f --volumes 7170b3dc3860119a1ef06399e3b6ba29698b222d9c7b1299e6afd8c244d5f4ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:55:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:55:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:30 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:55:31 $ docker top 09a1d4a5cbd172eda23d4bf790155efe3282574fdd7dd0d9b60539978f1e4145 -eo pid,comm 11:55:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:55:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:55:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:31 [ssh-agent] Looking for ssh-agent implementation... 11:55:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:31 $ docker exec 09a1d4a5cbd172eda23d4bf790155efe3282574fdd7dd0d9b60539978f1e4145 ssh-agent 11:55:31 SSH_AUTH_SOCK=/tmp/ssh-FApw7NeVZJZL/agent.32 11:55:31 SSH_AGENT_PID=38 11:55:31 Running ssh-add (command line suppressed) 11:55:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5308230705207501799.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5308230705207501799.key) 11:55:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:31 + git semver bump pre 11:55:32 2024-08-23 11:55:32,126 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:32 2024-08-23 11:55:32,126 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev 11:55:32 2024-08-23 11:55:32,126 [bump_version] DEBUG bumped version:3.2.0-dev.22 11:55:32 2024-08-23 11:55:32,126 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 11:55:32 2024-08-23 11:55:32,126 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:32 2024-08-23 11:55:32,126 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:32 2024-08-23 11:55:32,128 [execute] INFO git cat-file --batch-check 11:55:32 2024-08-23 11:55:32,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:55:32 2024-08-23 11:55:32,132 [execute] INFO git cat-file --batch 11:55:32 2024-08-23 11:55:32,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:55:32 2024-08-23 11:55:32,136 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:32 3.2.0-dev.22 [Pipeline] } 11:55:32 $ docker exec --env ******** --env ******** 09a1d4a5cbd172eda23d4bf790155efe3282574fdd7dd0d9b60539978f1e4145 ssh-agent -k 11:55:32 unset SSH_AUTH_SOCK; 11:55:32 unset SSH_AGENT_PID; 11:55:32 echo Agent pid 38 killed; 11:55:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:32 + git semver [Pipeline] } 11:55:32 $ docker stop --time=1 09a1d4a5cbd172eda23d4bf790155efe3282574fdd7dd0d9b60539978f1e4145 11:55:34 $ docker rm -f --volumes 09a1d4a5cbd172eda23d4bf790155efe3282574fdd7dd0d9b60539978f1e4145 [Pipeline] // withDockerContainer [Pipeline] sh 11:55:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:55:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:34 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:55:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:55:35 $ docker top 3f4c7875734811e776f93a133cb4d50318fc1019ef02cea53240be8e385742d8 -eo pid,comm 11:55:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:55:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:55:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:35 [ssh-agent] Looking for ssh-agent implementation... 11:55:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:35 $ docker exec 3f4c7875734811e776f93a133cb4d50318fc1019ef02cea53240be8e385742d8 ssh-agent 11:55:35 SSH_AUTH_SOCK=/tmp/ssh-FxTY724ba4RI/agent.32 11:55:35 SSH_AGENT_PID=38 11:55:35 Running ssh-add (command line suppressed) 11:55:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_562139819819248893.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_562139819819248893.key) 11:55:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:35 + git semver push 11:55:36 2024-08-23 11:55:36,170 [run_push] DEBUG push 11:55:36 2024-08-23 11:55:36,171 [execute] INFO git cat-file --batch-check 11:55:36 2024-08-23 11:55:36,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:55:36 2024-08-23 11:55:36,175 [execute] INFO git rev-list 46673b7d47bdb2bd34e5ff4f73972ac9335e595b -- 11:55:36 2024-08-23 11:55:36,175 [execute] DEBUG Popen(['git', 'rev-list', '46673b7d47bdb2bd34e5ff4f73972ac9335e595b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:55:36 2024-08-23 11:55:36,184 [execute] INFO git fetch -v origin 11:55:36 2024-08-23 11:55:36,185 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:55:36 2024-08-23 11:55:36,739 [run_push] DEBUG no remote changes detected 11:55:36 2024-08-23 11:55:36,739 [execute] INFO git push origin semver 11:55:36 2024-08-23 11:55:36,740 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:55:37 2024-08-23 11:55:37,472 [run_push] DEBUG push all version tags 11:55:37 2024-08-23 11:55:37,473 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:55:37 2024-08-23 11:55:37,473 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:55:38 2024-08-23 11:55:38,246 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:55:38 3.2.0-dev.22 [Pipeline] } 11:55:38 $ docker exec --env ******** --env ******** 3f4c7875734811e776f93a133cb4d50318fc1019ef02cea53240be8e385742d8 ssh-agent -k 11:55:38 unset SSH_AUTH_SOCK; 11:55:38 unset SSH_AGENT_PID; 11:55:38 echo Agent pid 38 killed; 11:55:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:38 + git semver [Pipeline] } 11:55:39 $ docker stop --time=1 3f4c7875734811e776f93a133cb4d50318fc1019ef02cea53240be8e385742d8 11:55:40 $ docker rm -f --volumes 3f4c7875734811e776f93a133cb4d50318fc1019ef02cea53240be8e385742d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:55:41 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:55:41 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:55:41 total 16 11:55:41 drwxr-xr-x 3 root root 4096 Aug 23 11:44 . 11:55:41 drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 11:55 .. 11:55:41 drwxr-xr-x 2 root root 4096 Aug 23 11:44 cost 11:55:41 -rw-r--r-- 1 root root 89 Aug 23 11:44 cost.csv 11:55:41 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:55:41 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:55:41 total 16 11:55:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 11:44 . 11:55:41 drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 11:55 .. 11:55:41 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 11:44 cost 11:55:41 -rw-r--r-- 1 jenkins jenkins 89 Aug 23 11:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:55:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:55:42 ---> package-listing.sh 11:55:42 ++ facter osfamily 11:55:42 ++ tr '[:upper:]' '[:lower:]' 11:55:42 + OS_FAMILY=debian 11:55:42 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:55:42 + START_PACKAGES=/tmp/packages_start.txt 11:55:42 + END_PACKAGES=/tmp/packages_end.txt 11:55:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:55:42 + PACKAGES=/tmp/packages_start.txt 11:55:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:55:42 + PACKAGES=/tmp/packages_end.txt 11:55:42 + case "${OS_FAMILY}" in 11:55:42 + dpkg -l 11:55:42 + grep '^ii' 11:55:42 + '[' -f /tmp/packages_start.txt ']' 11:55:42 + '[' -f /tmp/packages_end.txt ']' 11:55:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:55:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:55:42 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:55:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:55:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:55:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:43 prd-ubuntu20.04-docker-8c-8g-8384 does not seem to be running inside a container 11:55:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:55:43 $ docker top 47d7bfb9ac30ca3aade6ccd6aa43beee7a3bb7af67bce1a273cbbde3cd307a3a -eo pid,comm [Pipeline] { [Pipeline] sh 11:55:44 + touch /tmp/pre-build-complete [Pipeline] sh 11:55:44 + mkdir -p /var/log/sysstat [Pipeline] sh 11:55:44 + ls /var/log/sa-host 11:55:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:55:44 provisioning config files... 11:55:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14805959144116291066tmp [Pipeline] { [Pipeline] echo 11:55:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:55:45 ---> create-netrc.sh [Pipeline] } 11:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:55:45 ---> python-tools-install.sh [Pipeline] echo 11:55:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:55:45 ---> sudo-logs.sh 11:55:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:55:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:55:46 ---> job-cost.sh 11:55:46 lf-activate-venv: SKIPPING 11:55:46 DEBUG: total: 0.2199999988079071 11:55:46 INFO: Retrieving Stack Cost... 11:55:46 INFO: Retrieving Pricing Info for: v3-standard-8 11:55:46 INFO: Archiving Costs [Pipeline] echo 11:55:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:55:46 ---> logs-deploy.sh 11:55:46 lf-activate-venv: SKIPPING 11:55:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/177 11:55:46 INFO: archiving workspace using pattern(s): 11:55:47 Archives upload complete. 11:55:47 INFO: archiving logs to Nexus