Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 105c2ff86687b61d63b26fbbe95b93aee24690dc 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-ssh6901803046338985640.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh219572174855916220.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11621253366205647375.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2921550103878602385.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-ssh17528221514008374781.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10320 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 105c2ff86687b61d63b26fbbe95b93aee24690dc (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 105c2ff86687b61d63b26fbbe95b93aee24690dc # timeout=10 Commit message: "refactor: Remove obsolete comments from config file (#442)" > git rev-list --no-walk 4bca90f1dcf7f6a68b4f435e584e4fdab171b977 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:43:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:43:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:43:44 ========================================================= 22:43:44 EdgeX Global Pipelines Version Info 22:43:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:43:44 ------------------- 22:43:44 stable info: 22:43:44 ------------------- 22:43:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:43:44 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:43:44 Message: update stable to v1.0.254 22:43:45 ------------------- 22:43:45 experimental info: 22:43:45 ------------------- 22:43:45 Commited By: **** collab-it+edgex@linuxfoundation.org 22:43:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:43:45 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:43:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:43:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:43:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] echo 22:43:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 105c2ff [Pipeline] echo 22:43:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:46 provisioning config files... 22:43:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14923276414438981249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:46 ---> docker-login.sh 22:43:46 nexus3.edgexfoundry.org:10001 22:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:46 Configure a credential helper to remove this warning. See 22:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:46 22:43:46 Login Succeeded 22:43:46 nexus3.edgexfoundry.org:10002 22:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:46 Configure a credential helper to remove this warning. See 22:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:46 22:43:46 Login Succeeded 22:43:46 nexus3.edgexfoundry.org:10003 22:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:46 Configure a credential helper to remove this warning. See 22:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:46 22:43:46 Login Succeeded 22:43:46 nexus3.edgexfoundry.org:10004 22:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:47 Configure a credential helper to remove this warning. See 22:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:47 22:43:47 Login Succeeded 22:43:47 docker.io 22:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:47 Configure a credential helper to remove this warning. See 22:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:47 22:43:47 Login Succeeded 22:43:47 ---> docker-login.sh ends [Pipeline] } 22:43:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:43:47 + git rev-list -1 --merges 105c2ff86687b61d63b26fbbe95b93aee24690dc~1..105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] echo 22:43:47 -----------> git rev-list -1 --merges 105c2ff86687b61d63b26fbbe95b93aee24690dc~1..105c2ff86687b61d63b26fbbe95b93aee24690dc 105c2ff86687b61d63b26fbbe95b93aee24690dc [false] [Pipeline] sh 22:43:48 + git log --format=format:%s -1 105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] echo 22:43:48 ========================================================= 22:43:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:43:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:48 + git log --format=format:%s -1 105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] echo 22:43:48 [semverPrep] GIT_COMMIT: 105c2ff86687b61d63b26fbbe95b93aee24690dc, Commit Message: refactor: Remove obsolete comments from config file (#442) [Pipeline] echo 22:43:48 [semverPrep] This is not a build commit. [Pipeline] sh 22:43:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:43:48 + grep -v github /etc/ssh/ssh_known_hosts 22:43:48 + [ -e /tmp/ssh_known_hosts ] 22:43:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:43:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:43:48 + sudo tee -a /etc/ssh/ssh_known_hosts 22:43:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:49 22:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:49 0.1.4: Pulling from edgex-devops/py-git-semver 22:43:49 b85a868b505f: Pulling fs layer 22:43:49 e2be974225ed: Pulling fs layer 22:43:49 339a4e72a1f5: Pulling fs layer 22:43:49 988bab9f4d93: Pulling fs layer 22:43:49 1469e6f7b9e6: Pulling fs layer 22:43:49 eaf3925da568: Pulling fs layer 22:43:49 bab4dde63d76: Pulling fs layer 22:43:49 bde34c3a00c8: Pulling fs layer 22:43:49 b352a97aabf1: Pulling fs layer 22:43:49 4872d77fe225: Pulling fs layer 22:43:49 5851b861e8e6: Pulling fs layer 22:43:49 988bab9f4d93: Waiting 22:43:49 1469e6f7b9e6: Waiting 22:43:49 eaf3925da568: Waiting 22:43:49 bab4dde63d76: Waiting 22:43:49 bde34c3a00c8: Waiting 22:43:49 b352a97aabf1: Waiting 22:43:49 4872d77fe225: Waiting 22:43:49 5851b861e8e6: Waiting 22:43:49 e2be974225ed: Download complete 22:43:49 988bab9f4d93: Verifying Checksum 22:43:49 988bab9f4d93: Download complete 22:43:49 1469e6f7b9e6: Verifying Checksum 22:43:49 1469e6f7b9e6: Download complete 22:43:49 eaf3925da568: Verifying Checksum 22:43:49 eaf3925da568: Download complete 22:43:49 339a4e72a1f5: Verifying Checksum 22:43:49 339a4e72a1f5: Download complete 22:43:49 bde34c3a00c8: Verifying Checksum 22:43:49 bde34c3a00c8: Download complete 22:43:49 b352a97aabf1: Download complete 22:43:49 4872d77fe225: Verifying Checksum 22:43:49 4872d77fe225: Download complete 22:43:49 5851b861e8e6: Verifying Checksum 22:43:49 5851b861e8e6: Download complete 22:43:49 b85a868b505f: Verifying Checksum 22:43:49 b85a868b505f: Download complete 22:43:50 bab4dde63d76: Verifying Checksum 22:43:50 bab4dde63d76: Download complete 22:43:51 b85a868b505f: Pull complete 22:43:51 e2be974225ed: Pull complete 22:43:51 339a4e72a1f5: Pull complete 22:43:51 988bab9f4d93: Pull complete 22:43:51 1469e6f7b9e6: Pull complete 22:43:51 eaf3925da568: Pull complete 22:43:53 bab4dde63d76: Pull complete 22:43:53 bde34c3a00c8: Pull complete 22:43:53 b352a97aabf1: Pull complete 22:43:53 4872d77fe225: Pull complete 22:43:53 5851b861e8e6: Pull complete 22:43:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:53 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:43:53 $ 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 22:43:56 $ docker top 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b -eo pid,comm 22:43:56 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). 22:43:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:43:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:56 [ssh-agent] Looking for ssh-agent implementation... 22:43:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:56 $ docker exec 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b ssh-agent 22:43:56 SSH_AUTH_SOCK=/tmp/ssh-F6FV5CpG1Y3u/agent.35 22:43:56 SSH_AGENT_PID=41 22:43:56 Running ssh-add (command line suppressed) 22:43:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_735107623271963668.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_735107623271963668.key) 22:43:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:57 + git tag --points-at HEAD [Pipeline] } 22:43:57 $ docker exec --env ******** --env ******** 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b ssh-agent -k 22:43:57 unset SSH_AUTH_SOCK; 22:43:57 unset SSH_AGENT_PID; 22:43:57 echo Agent pid 41 killed; 22:43:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:43:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:57 [ssh-agent] Looking for ssh-agent implementation... 22:43:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:57 $ docker exec 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b ssh-agent 22:43:57 SSH_AUTH_SOCK=/tmp/ssh-ez8X2Gr5kNqn/agent.73 22:43:57 SSH_AGENT_PID=79 22:43:57 Running ssh-add (command line suppressed) 22:43:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5168302098306086560.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5168302098306086560.key) 22:43:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:58 + git semver init 22:43:58 2023-10-24 22:43:58,334 [run_init] DEBUG init version:0.0.0 force:False 22:43:58 2023-10-24 22:43:58,335 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 22:43:58 2023-10-24 22:43:58,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 22:43:58 2023-10-24 22:43:58,336 [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) 22:43:59 2023-10-24 22:43:59,487 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 22:43:59 2023-10-24 22:43:59,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 22:43:59 2023-10-24 22:43:59,488 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:43:59 2023-10-24 22:43:59,488 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:43:59 3.1.0-dev.26 [Pipeline] } 22:43:59 $ docker exec --env ******** --env ******** 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b ssh-agent -k 22:43:59 unset SSH_AUTH_SOCK; 22:43:59 unset SSH_AGENT_PID; 22:43:59 echo Agent pid 79 killed; 22:43:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:00 + git semver [Pipeline] } 22:44:00 $ docker stop --time=1 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b 22:44:01 $ docker rm -f --volumes 17f756f754498c620fd9aaf61a4e3666d365344223a5d6912eb1bfdb2d3ebe8b [Pipeline] // withDockerContainer [Pipeline] sh 22:44:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:44:02 Stashed 1 file(s) [Pipeline] echo 22:44:02 [edgeXSemver]: initialized semver on version 3.1.0-dev.26 [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 22:44:02 provisioning config files... 22:44:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14121148937062314206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:02 ---> docker-login.sh 22:44:02 nexus3.edgexfoundry.org:10001 22:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:02 Configure a credential helper to remove this warning. See 22:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:02 22:44:02 Login Succeeded 22:44:02 nexus3.edgexfoundry.org:10002 22:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:02 Configure a credential helper to remove this warning. See 22:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:02 22:44:02 Login Succeeded 22:44:02 nexus3.edgexfoundry.org:10003 22:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:03 Configure a credential helper to remove this warning. See 22:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:03 22:44:03 Login Succeeded 22:44:03 nexus3.edgexfoundry.org:10004 22:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:03 Configure a credential helper to remove this warning. See 22:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:03 22:44:03 Login Succeeded 22:44:03 docker.io 22:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:03 Configure a credential helper to remove this warning. See 22:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:03 22:44:03 Login Succeeded 22:44:03 ---> docker-login.sh ends [Pipeline] } 22:44:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:03 ========================================================= 22:44:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:44:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:44:03 Sending build context to Docker daemon 23.66MB 22:44:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:44:03 Step 2/12 : FROM ${BASE} AS builder 22:44:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:03 7264a8db6415: Pulling fs layer 22:44:03 c4d48a809fc2: Pulling fs layer 22:44:03 4f1c88b9dad5: Pulling fs layer 22:44:03 ad3a456e5733: Pulling fs layer 22:44:03 33e27b845d1e: Pulling fs layer 22:44:03 c68163c4e522: Pulling fs layer 22:44:03 50da416c3ac9: Pulling fs layer 22:44:03 23d2d4c4bb30: Pulling fs layer 22:44:03 33e27b845d1e: Waiting 22:44:03 ad3a456e5733: Waiting 22:44:03 c68163c4e522: Waiting 22:44:03 23d2d4c4bb30: Waiting 22:44:03 c4d48a809fc2: Verifying Checksum 22:44:03 c4d48a809fc2: Download complete 22:44:03 ad3a456e5733: Verifying Checksum 22:44:03 ad3a456e5733: Download complete 22:44:03 33e27b845d1e: Verifying Checksum 22:44:03 33e27b845d1e: Download complete 22:44:03 7264a8db6415: Verifying Checksum 22:44:03 7264a8db6415: Download complete 22:44:03 c68163c4e522: Verifying Checksum 22:44:03 c68163c4e522: Download complete 22:44:03 7264a8db6415: Pull complete 22:44:04 c4d48a809fc2: Pull complete 22:44:04 23d2d4c4bb30: Verifying Checksum 22:44:04 23d2d4c4bb30: Download complete 22:44:04 4f1c88b9dad5: Verifying Checksum 22:44:04 4f1c88b9dad5: Download complete 22:44:04 50da416c3ac9: Verifying Checksum 22:44:04 50da416c3ac9: Download complete 22:44:08 4f1c88b9dad5: Pull complete 22:44:08 ad3a456e5733: Pull complete 22:44:08 33e27b845d1e: Pull complete 22:44:08 c68163c4e522: Pull complete 22:44:09 50da416c3ac9: Pull complete 22:44:10 23d2d4c4bb30: Pull complete 22:44:10 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 22:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:44:10 ---> 0786185ac409 22:44:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:44:14 ---> Running in 8d137c2d46c2 22:44:14 Removing intermediate container 8d137c2d46c2 22:44:14 ---> bb076a3605b1 22:44:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:44:14 ---> Running in 31fd8eb39d61 22:44:14 Removing intermediate container 31fd8eb39d61 22:44:14 ---> 55bc63a5a6b9 22:44:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:44:14 ---> Running in 305acdbc4e4b 22:44:14 Removing intermediate container 305acdbc4e4b 22:44:14 ---> dc696f595f65 22:44:14 Step 6/12 : WORKDIR /device-virtual-go 22:44:14 ---> Running in 63e9dfcc70e5 22:44:14 Removing intermediate container 63e9dfcc70e5 22:44:14 ---> 1a33790a85b2 22:44:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:14 ---> Running in 91ff257eafad 22:44:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:44:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:44:15 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:44:15 (2/4) Installing libedit (20221030.3.1-r1) 22:44:15 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:44:15 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:44:15 Executing busybox-1.36.1-r2.trigger 22:44:15 OK: 268 MiB in 56 packages 22:44:15 Removing intermediate container 91ff257eafad 22:44:15 ---> 1aaa3c1cb2b6 22:44:15 Step 8/12 : COPY go.mod vendor* ./ 22:44:16 ---> fc4b709a8b53 22:44:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:16 ---> Running in 80a7dea034da 22:44:17 Still waiting to schedule task 22:44:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:45:12 Removing intermediate container 80a7dea034da 22:45:12 ---> b28724d58054 22:45:12 Step 10/12 : COPY . . 22:45:12 ---> ba0e6efc35d4 22:45:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:12 ---> Running in a9ba39e02b24 22:45:12 Removing intermediate container a9ba39e02b24 22:45:12 ---> e667f9772f06 22:45:12 Step 12/12 : RUN $MAKE 22:45:12 ---> Running in 50306dc65666 22:45:12 noop 22:45:12 Removing intermediate container 50306dc65666 22:45:12 ---> 347837859c7b 22:45:12 Successfully built 347837859c7b 22:45:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:12 + docker inspect -f . ci-base-image-x86_64 22:45:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:12 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:45:12 $ 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 22:45:13 $ docker top 322361e18b415afe6f79ed5cd58fe8547f9566d3d24c205e14c423ae8bdae73b -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:13 + go version 22:45:13 go version go1.21.0 linux/amd64 [Pipeline] } 22:45:13 $ docker stop --time=1 322361e18b415afe6f79ed5cd58fe8547f9566d3d24c205e14c423ae8bdae73b 22:45:14 $ docker rm -f --volumes 322361e18b415afe6f79ed5cd58fe8547f9566d3d24c205e14c423ae8bdae73b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:15 + docker inspect -f . ci-base-image-x86_64 22:45:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:15 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:45:15 $ 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 22:45:15 $ docker top 84dd6b7f883a8baff5f420e96ef30f142e24db80f054750c6ae20b6c2ee74083 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:15 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 22:45:16 + make test 22:45:16 go test ./... -coverprofile=coverage.out 22:45:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:45:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:45:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.6% of statements 22:45:33 go vet ./... 22:45:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:45:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:45:36 ./bin/test-attribution-txt.sh [Pipeline] echo 22:45:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:45:36 $ docker stop --time=1 84dd6b7f883a8baff5f420e96ef30f142e24db80f054750c6ae20b6c2ee74083 22:45:38 $ docker rm -f --volumes 84dd6b7f883a8baff5f420e96ef30f142e24db80f054750c6ae20b6c2ee74083 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:45:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:45:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:45:39 + ls -al . 22:45:39 total 200 22:45:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:45 . 22:45:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:43 .. 22:45:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:45 .git 22:45:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:43 .github 22:45:39 -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 22:43 .gitignore 22:45:39 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 22:43 .golangci.yml 22:45:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 22:43 .semver 22:45:39 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 22:43 Attribution.txt 22:45:39 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 22:43 CHANGELOG.md 22:45:39 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 22:43 Dockerfile 22:45:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 22:43 GOVERNANCE.md 22:45:39 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 22:43 Jenkinsfile 22:45:39 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 22:43 LICENSE 22:45:39 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 22:43 Makefile 22:45:39 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 22:43 OWNERS.md 22:45:39 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 22:43 README.md 22:45:39 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 22:44 VERSION 22:45:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:43 bin 22:45:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:43 cmd 22:45:39 -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 22:45 coverage.out 22:45:39 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 22:43 go.mod 22:45:39 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 22:43 go.sum 22:45:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:43 internal 22:45:39 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:40 + 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=105c2ff86687b61d63b26fbbe95b93aee24690dc --label arch=amd64 --label version=3.1.0-dev.26 . 22:45:40 Sending build context to Docker daemon 23.71MB 22:45:40 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:45:40 Step 2/25 : FROM ${BASE} AS builder 22:45:40 ---> 347837859c7b 22:45:40 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:45:40 ---> Running in 5708d8b80be4 22:45:40 Removing intermediate container 5708d8b80be4 22:45:40 ---> f901f649e8fa 22:45:40 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:45:40 ---> Running in 635ea8e9b480 22:45:40 Removing intermediate container 635ea8e9b480 22:45:40 ---> bd46b072262b 22:45:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:45:40 ---> Running in d723b0017c6c 22:45:40 Removing intermediate container d723b0017c6c 22:45:40 ---> 1f7347b43918 22:45:40 Step 6/25 : WORKDIR /device-virtual-go 22:45:40 ---> Running in 27130f89038b 22:45:40 Removing intermediate container 27130f89038b 22:45:40 ---> 6d524001d97a 22:45:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:40 ---> Running in 873c61c7a98c 22:45:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:45:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:45:41 OK: 268 MiB in 56 packages 22:45:41 Removing intermediate container 873c61c7a98c 22:45:41 ---> f2dd5160ac0d 22:45:41 Step 8/25 : COPY go.mod vendor* ./ 22:45:41 ---> 0e073c28ce56 22:45:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:41 ---> Running in 80965a98b355 22:45:42 Removing intermediate container 80965a98b355 22:45:42 ---> 0cc280c863c3 22:45:42 Step 10/25 : COPY . . 22:45:42 ---> 50a7a11cc852 22:45:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:42 ---> Running in 48aad6a698bb 22:45:42 Removing intermediate container 48aad6a698bb 22:45:42 ---> 04d8fc737fef 22:45:42 Step 12/25 : RUN $MAKE 22:45:42 ---> Running in ffd5e314d41b 22:45:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:45:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10321 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 22:45:50 Running in /w/workspace/device-virtual-go/152 [Pipeline] { [Pipeline] checkout 22:45:50 The recommended git tool is: git 22:45:55 using credential edgex-jenkins-ssh 22:45:55 Cloning the remote Git repository 22:45:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:45:55 > git init /w/workspace/device-virtual-go/152 # timeout=10 22:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:45:55 > git --version # timeout=10 22:45:55 > git --version # 'git version 2.25.1' 22:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:58 Removing intermediate container ffd5e314d41b 22:45:58 ---> 72b0e4b2a3e9 22:45:58 Step 13/25 : FROM alpine:3.18 22:45:58 3.18: Pulling from library/alpine 22:45:58 96526aa774ef: Pulling fs layer 22:45:58 Avoid second fetch 22:45:58 Checking out Revision 105c2ff86687b61d63b26fbbe95b93aee24690dc (main) 22:45:59 96526aa774ef: Verifying Checksum 22:45:59 96526aa774ef: Download complete 22:45:59 96526aa774ef: Pull complete 22:45:59 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:45:59 Status: Downloaded newer image for alpine:3.18 22:45:59 ---> 8ca4688f4f35 22:45:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:45:59 ---> Running in aa6f56691288 22:45:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:45:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:58 > git config core.sparsecheckout # timeout=10 22:45:58 > git checkout -f 105c2ff86687b61d63b26fbbe95b93aee24690dc # timeout=10 22:45:59 Removing intermediate container aa6f56691288 22:45:59 ---> d98ec1cf55e1 22:45:59 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:45:59 ---> Running in 43ed6c40af96 22:45:59 Commit message: "refactor: Remove obsolete comments from config file (#442)" 22:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:45:59 (1/1) Installing dumb-init (1.2.5-r2) 22:45:59 Executing busybox-1.36.1-r2.trigger 22:45:59 OK: 7 MiB in 16 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:46:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:46:00 Dload Upload Total Spent Left Speed 22:46:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 22:46:00 Removing intermediate container 43ed6c40af96 22:46:00 ---> de9c44c29dc1 22:46:00 Step 16/25 : WORKDIR / 22:46:00 ---> Running in d804f4730e61 22:46:00 Removing intermediate container d804f4730e61 22:46:00 ---> 923f74d84976 22:46:00 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:46:00 ---> ae7daaaeba33 22:46:00 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:46:00 ---> 919ca98ceee5 22:46:00 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] sh 22:46:00 ---> 26279cce84bb 22:46:00 Step 20/25 : EXPOSE 59900 22:46:00 ---> Running in 19d4dd1b890c 22:46:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:46:01 Removing intermediate container 19d4dd1b890c 22:46:01 ---> 5b8ab861946b 22:46:01 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:46:01 ---> Running in 54597e4bd37a 22:46:01 Removing intermediate container 54597e4bd37a 22:46:01 ---> cb97e297108b 22:46:01 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:46:01 ---> Running in b451767552db 22:46:01 Removing intermediate container b451767552db 22:46:01 ---> a4a20d3da011 22:46:01 Step 23/25 : LABEL arch=amd64 22:46:01 ---> Running in d9bbea083f5c 22:46:01 Removing intermediate container d9bbea083f5c 22:46:01 ---> 4852f8353cce 22:46:01 Step 24/25 : LABEL git_sha=105c2ff86687b61d63b26fbbe95b93aee24690dc 22:46:01 ---> Running in f4891d4f4ce1 22:46:01 Removing intermediate container f4891d4f4ce1 22:46:01 ---> 081864c97315 22:46:01 Step 25/25 : LABEL version=3.1.0-dev.26 22:46:01 ---> Running in faab78605fce 22:46:01 Removing intermediate container faab78605fce 22:46:01 ---> 6e231c97e048 22:46:01 [Warning] One or more build-args [ARCH] were not consumed 22:46:01 Successfully built 6e231c97e048 22:46:01 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 22:46:01 + + sudo tee /etc/docker/daemon.new 22:46:01 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:46:01 { 22:46:01 "registry-mirrors": [ 22:46:01 "https://nexus3.edgexfoundry.org:10001" 22:46:01 ], 22:46:01 "bip": "10.250.0.254/24", 22:46:01 "hosts": [ 22:46:01 "tcp://0.0.0.0:5555", 22:46:01 "unix:///var/run/docker.sock" 22:46:01 ], 22:46:01 "mtu": 1458, 22:46:01 "selinux-enabled": true, 22:46:01 "seccomp-profile": "/etc/docker/seccomp.json" 22:46:01 } [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:01 provisioning config files... 22:46:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10162580990091692712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:46:01 ---> docker-login.sh 22:46:01 nexus3.edgexfoundry.org:10001 22:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:01 Configure a credential helper to remove this warning. See 22:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:01 22:46:01 Login Succeeded 22:46:01 nexus3.edgexfoundry.org:10002 22:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:02 + sudo service docker restart 22:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:02 Configure a credential helper to remove this warning. See 22:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:02 22:46:02 Login Succeeded 22:46:02 nexus3.edgexfoundry.org:10003 22:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:02 Configure a credential helper to remove this warning. See 22:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:02 22:46:02 Login Succeeded 22:46:02 nexus3.edgexfoundry.org:10004 22:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:02 Configure a credential helper to remove this warning. See 22:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:02 22:46:02 Login Succeeded 22:46:02 docker.io 22:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:02 Configure a credential helper to remove this warning. See 22:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:02 22:46:02 Login Succeeded 22:46:02 ---> docker-login.sh ends [Pipeline] } 22:46:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:46:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:02 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 22:46:02 105c2ff86687b61d63b26fbbe95b93aee24690dc 22:46:02 latest 22:46:02 3.1.0-dev.26 22:46:02 105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 22:46:02 main 22:46:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:105c2ff86687b61d63b26fbbe95b93aee24690dc 22:46:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:46:03 4561eba6c1b2: Preparing 22:46:03 82458be5105a: Preparing 22:46:03 fdb658cc3760: Preparing 22:46:03 84da0eaca370: Preparing 22:46:03 cc2447e1835a: Preparing 22:46:03 cc2447e1835a: Layer already exists 22:46:03 fdb658cc3760: Pushed 22:46:03 82458be5105a: Pushed 22:46:03 84da0eaca370: Pushed 22:46:05 4561eba6c1b2: Pushed 22:46:05 105c2ff86687b61d63b26fbbe95b93aee24690dc: digest: sha256:c181938c28012dccd0130b76820d006373e24adc751cef42d4db0007bfef2d22 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 22:46:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:46:06 4561eba6c1b2: Preparing 22:46:06 82458be5105a: Preparing 22:46:06 fdb658cc3760: Preparing 22:46:06 84da0eaca370: Preparing 22:46:06 cc2447e1835a: Preparing 22:46:06 84da0eaca370: Layer already exists 22:46:06 82458be5105a: Layer already exists 22:46:06 4561eba6c1b2: Layer already exists 22:46:06 cc2447e1835a: Layer already exists 22:46:06 fdb658cc3760: Layer already exists 22:46:06 latest: digest: sha256:c181938c28012dccd0130b76820d006373e24adc751cef42d4db0007bfef2d22 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.26 22:46:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:46:07 4561eba6c1b2: Preparing 22:46:07 82458be5105a: Preparing 22:46:07 fdb658cc3760: Preparing 22:46:07 84da0eaca370: Preparing 22:46:07 cc2447e1835a: Preparing 22:46:07 84da0eaca370: Layer already exists 22:46:07 cc2447e1835a: Layer already exists 22:46:07 82458be5105a: Layer already exists 22:46:07 fdb658cc3760: Layer already exists 22:46:07 4561eba6c1b2: Layer already exists 22:46:07 3.1.0-dev.26: digest: sha256:c181938c28012dccd0130b76820d006373e24adc751cef42d4db0007bfef2d22 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:07 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual:105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 22:46:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:46:07 4561eba6c1b2: Preparing 22:46:07 82458be5105a: Preparing 22:46:07 fdb658cc3760: Preparing 22:46:07 84da0eaca370: Preparing 22:46:07 cc2447e1835a: Preparing 22:46:07 fdb658cc3760: Layer already exists 22:46:07 84da0eaca370: Layer already exists 22:46:07 cc2447e1835a: Layer already exists 22:46:07 4561eba6c1b2: Layer already exists 22:46:07 82458be5105a: Layer already exists 22:46:07 105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26: digest: sha256:c181938c28012dccd0130b76820d006373e24adc751cef42d4db0007bfef2d22 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 22:46:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:46:08 4561eba6c1b2: Preparing 22:46:08 82458be5105a: Preparing 22:46:08 fdb658cc3760: Preparing 22:46:08 84da0eaca370: Preparing 22:46:08 cc2447e1835a: Preparing 22:46:08 4561eba6c1b2: Layer already exists 22:46:08 82458be5105a: Layer already exists 22:46:08 fdb658cc3760: Layer already exists 22:46:08 cc2447e1835a: Layer already exists 22:46:08 84da0eaca370: Layer already exists 22:46:08 main: digest: sha256:c181938c28012dccd0130b76820d006373e24adc751cef42d4db0007bfef2d22 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:46:08 ===================================================== [Pipeline] echo 22:46:08 taggedImages: 22:46:08 - nexus3.edgexfoundry.org:10004/device-virtual:105c2ff86687b61d63b26fbbe95b93aee24690dc 22:46:08 - nexus3.edgexfoundry.org:10004/device-virtual:latest 22:46:08 - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.26 22:46:08 - nexus3.edgexfoundry.org:10004/device-virtual:105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 22:46:08 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:08 22:46:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:09 latest: Pulling from edgex-lftools-log-publisher 22:46:09 5eb5b503b376: Pulling fs layer 22:46:09 5c69ac0246d0: Pulling fs layer 22:46:09 ec43610c2a17: Pulling fs layer 22:46:09 3a2ae6a8a46f: Pulling fs layer 22:46:09 33b1e0a273af: Pulling fs layer 22:46:09 5d3b04190fa2: Pulling fs layer 22:46:09 2f39f015ded8: Pulling fs layer 22:46:09 2f39f015ded8: Waiting 22:46:09 5d3b04190fa2: Waiting 22:46:09 33b1e0a273af: Waiting 22:46:09 3a2ae6a8a46f: Waiting 22:46:09 5c69ac0246d0: Download complete 22:46:09 3a2ae6a8a46f: Verifying Checksum 22:46:09 3a2ae6a8a46f: Download complete 22:46:09 33b1e0a273af: Verifying Checksum 22:46:09 33b1e0a273af: Download complete 22:46:09 5d3b04190fa2: Verifying Checksum 22:46:09 5d3b04190fa2: Download complete 22:46:09 ec43610c2a17: Verifying Checksum 22:46:09 5eb5b503b376: Verifying Checksum 22:46:09 5eb5b503b376: Download complete 22:46:09 2f39f015ded8: Verifying Checksum 22:46:09 2f39f015ded8: Download complete 22:46:10 5eb5b503b376: Pull complete 22:46:10 5c69ac0246d0: Pull complete 22:46:10 ec43610c2a17: Pull complete 22:46:10 3a2ae6a8a46f: Pull complete 22:46:10 33b1e0a273af: Pull complete 22:46:10 5d3b04190fa2: Pull complete 22:46:15 2f39f015ded8: Pull complete 22:46:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:15 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:46:15 $ 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 22:46:16 $ docker top a6479aa5c68cfa627441470dc471aff1654e313b45b6e1f0717adef5897d6a90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:17 ---> job-cost.sh 22:46:17 lf-activate-venv: SKIPPING 22:46:17 INFO: No Stack... 22:46:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:17 INFO: Archiving Costs [Pipeline] sh 22:46:18 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 22:46:18 + cut -d, -f6 [Pipeline] lock 22:46:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] 22:46:18 Resource [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] did not exist. Created. 22:46:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:18 + echo total: 0.2199999988079071 [Pipeline] stash 22:46:18 Stashed 1 file(s) [Pipeline] } 22:46:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:18 $ docker stop --time=1 a6479aa5c68cfa627441470dc471aff1654e313b45b6e1f0717adef5897d6a90 22:46:19 $ docker rm -f --volumes a6479aa5c68cfa627441470dc471aff1654e313b45b6e1f0717adef5897d6a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:24 provisioning config files... 22:46:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/152@tmp/config8541595653810420167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:24 ---> docker-login.sh 22:46:24 nexus3.edgexfoundry.org:10001 22:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:25 Configure a credential helper to remove this warning. See 22:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:25 22:46:25 Login Succeeded 22:46:25 nexus3.edgexfoundry.org:10002 22:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:25 Configure a credential helper to remove this warning. See 22:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:25 22:46:25 Login Succeeded 22:46:25 nexus3.edgexfoundry.org:10003 22:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:26 Configure a credential helper to remove this warning. See 22:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:26 22:46:26 Login Succeeded 22:46:26 nexus3.edgexfoundry.org:10004 22:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:26 Configure a credential helper to remove this warning. See 22:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:26 22:46:26 Login Succeeded 22:46:26 docker.io 22:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:27 Configure a credential helper to remove this warning. See 22:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:27 22:46:27 Login Succeeded 22:46:27 ---> docker-login.sh ends [Pipeline] } 22:46:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:27 ========================================================= 22:46:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:46:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:27 + 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 . 22:46:28 Sending build context to Docker daemon 11.96MB 22:46:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:46:28 Step 2/12 : FROM ${BASE} AS builder 22:46:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:28 9fda8d8052c6: Pulling fs layer 22:46:28 5d54e960e981: Pulling fs layer 22:46:28 c4a7e357bf2a: Pulling fs layer 22:46:28 f0e02332f6b5: Pulling fs layer 22:46:28 cefa15bbcfad: Pulling fs layer 22:46:28 17808c966233: Pulling fs layer 22:46:28 f4c1fc716caa: Pulling fs layer 22:46:28 f0e02332f6b5: Waiting 22:46:28 cefa15bbcfad: Waiting 22:46:28 17808c966233: Waiting 22:46:28 f4c1fc716caa: Waiting 22:46:28 5d54e960e981: Download complete 22:46:28 f0e02332f6b5: Download complete 22:46:28 9fda8d8052c6: Verifying Checksum 22:46:28 9fda8d8052c6: Download complete 22:46:28 cefa15bbcfad: Verifying Checksum 22:46:28 cefa15bbcfad: Download complete 22:46:29 f4c1fc716caa: Verifying Checksum 22:46:29 f4c1fc716caa: Download complete 22:46:29 9fda8d8052c6: Pull complete 22:46:30 5d54e960e981: Pull complete 22:46:30 c4a7e357bf2a: Verifying Checksum 22:46:30 c4a7e357bf2a: Download complete 22:46:31 17808c966233: Verifying Checksum 22:46:31 17808c966233: Download complete 22:46:44 c4a7e357bf2a: Pull complete 22:46:44 f0e02332f6b5: Pull complete 22:46:44 cefa15bbcfad: Pull complete 22:46:52 17808c966233: Pull complete 22:46:53 f4c1fc716caa: Pull complete 22:46:53 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 22:46:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:46:53 ---> ea914061e18c 22:46:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:46:55 ---> Running in a9550dad4af6 22:46:55 Removing intermediate container a9550dad4af6 22:46:55 ---> d7d4a2149d4c 22:46:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:46:55 ---> Running in dae76270442d 22:46:55 Removing intermediate container dae76270442d 22:46:55 ---> 035ac0d2e692 22:46:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:46:55 ---> Running in 5506af1a45ac 22:46:55 Removing intermediate container 5506af1a45ac 22:46:55 ---> 106cccb1acc9 22:46:55 Step 6/12 : WORKDIR /device-virtual-go 22:46:56 ---> Running in 8a399a610237 22:46:56 Removing intermediate container 8a399a610237 22:46:56 ---> 1ca294332ed0 22:46:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:56 ---> Running in 584fccc42a23 22:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:46:59 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:46:59 (2/4) Installing libedit (20221030.3.1-r1) 22:46:59 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:46:59 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:46:59 Executing busybox-1.36.1-r2.trigger 22:46:59 OK: 270 MiB in 56 packages 22:47:00 Removing intermediate container 584fccc42a23 22:47:00 ---> 535863833769 22:47:00 Step 8/12 : COPY go.mod vendor* ./ 22:47:01 ---> a251f1590c97 22:47:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:01 ---> Running in 5d15be4e481b 22:48:37 Removing intermediate container 5d15be4e481b 22:48:37 ---> a23ea1f345c9 22:48:37 Step 10/12 : COPY . . 22:48:37 ---> 859ba405014a 22:48:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:37 ---> Running in 860c9f158597 22:48:37 Removing intermediate container 860c9f158597 22:48:37 ---> 0fdd2cc8c056 22:48:37 Step 12/12 : RUN $MAKE 22:48:37 ---> Running in 89f033e88569 22:48:37 noop 22:48:37 Removing intermediate container 89f033e88569 22:48:37 ---> 459fec031d1f 22:48:37 Successfully built 459fec031d1f 22:48:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:38 + docker inspect -f . ci-base-image-arm64 22:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:38 prd-ubuntu20.04-docker-arm64-4c-16g-10321 does not seem to be running inside a container 22:48:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/152 -v /w/workspace/device-virtual-go/152:/w/workspace/device-virtual-go/152:rw,z -v /w/workspace/device-virtual-go/152@tmp:/w/workspace/device-virtual-go/152@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 22:48:40 $ docker top a365bc20796b3f531b7ca1a3dc422731865ebc1a7b2f61b5136c21ec3087fb61 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:40 + go version 22:48:40 go version go1.21.0 linux/arm64 [Pipeline] } 22:48:41 $ docker stop --time=1 a365bc20796b3f531b7ca1a3dc422731865ebc1a7b2f61b5136c21ec3087fb61 22:48:42 $ docker rm -f --volumes a365bc20796b3f531b7ca1a3dc422731865ebc1a7b2f61b5136c21ec3087fb61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:43 + docker inspect -f . ci-base-image-arm64 22:48:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:43 prd-ubuntu20.04-docker-arm64-4c-16g-10321 does not seem to be running inside a container 22:48:43 $ 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/152 -v /w/workspace/device-virtual-go/152:/w/workspace/device-virtual-go/152:rw,z -v /w/workspace/device-virtual-go/152@tmp:/w/workspace/device-virtual-go/152@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 22:48:44 $ docker top 4c426138463282d030ef3c2663aac1699b5baa62e43673c676fdd18125a139f0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:45 + git config --global --add safe.directory /w/workspace/device-virtual-go/152 [Pipeline] fileExists [Pipeline] sh 22:48:46 + make test 22:48:46 go test ./... -coverprofile=coverage.out 22:48:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:50:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:50:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.070s coverage: 58.4% of statements 22:50:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:27 go vet ./... 22:50:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:50:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:50:37 ./bin/test-attribution-txt.sh [Pipeline] echo 22:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:50:37 $ docker stop --time=1 4c426138463282d030ef3c2663aac1699b5baa62e43673c676fdd18125a139f0 22:50:39 $ docker rm -f --volumes 4c426138463282d030ef3c2663aac1699b5baa62e43673c676fdd18125a139f0 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:40 Warning: overwriting stash ‘coverage-report’ 22:50:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:50:41 + ls -al . 22:50:41 total 196 22:50:41 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 22:48 . 22:50:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:45 .. 22:50:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:45 .git 22:50:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:45 .github 22:50:41 -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 22:45 .gitignore 22:50:41 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 22:45 .golangci.yml 22:50:41 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 22:45 Attribution.txt 22:50:41 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 22:45 CHANGELOG.md 22:50:41 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 22:45 Dockerfile 22:50:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 22:45 GOVERNANCE.md 22:50:41 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 22:45 Jenkinsfile 22:50:41 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 22:45 LICENSE 22:50:41 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 22:45 Makefile 22:50:41 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 22:45 OWNERS.md 22:50:41 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 22:45 README.md 22:50:41 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 22:44 VERSION 22:50:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:45 bin 22:50:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:45 cmd 22:50:41 -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 22:50 coverage.out 22:50:41 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 22:45 go.mod 22:50:41 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 22:45 go.sum 22:50:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:45 internal 22:50:41 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:41 + 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=105c2ff86687b61d63b26fbbe95b93aee24690dc --label arch=arm64 --label version=3.1.0-dev.26 . 22:50:42 Sending build context to Docker daemon 12.01MB 22:50:42 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:50:42 Step 2/25 : FROM ${BASE} AS builder 22:50:42 ---> 459fec031d1f 22:50:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:50:42 ---> Running in f66574064b40 22:50:42 Removing intermediate container f66574064b40 22:50:42 ---> 5bd3f317648d 22:50:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:50:42 ---> Running in 237e8f73e9ec 22:50:43 Removing intermediate container 237e8f73e9ec 22:50:43 ---> 5093d40a0b76 22:50:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:50:43 ---> Running in 0977e6738838 22:50:43 Removing intermediate container 0977e6738838 22:50:43 ---> 66c9e8d11d9f 22:50:43 Step 6/25 : WORKDIR /device-virtual-go 22:50:43 ---> Running in 3184648bb356 22:50:44 Removing intermediate container 3184648bb356 22:50:44 ---> 68d53ed2dfe9 22:50:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:44 ---> Running in 329a0b455d9f 22:50:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:50:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:50:48 OK: 270 MiB in 56 packages 22:50:48 Removing intermediate container 329a0b455d9f 22:50:48 ---> 4ecdfb7a0f2f 22:50:48 Step 8/25 : COPY go.mod vendor* ./ 22:50:49 ---> f00b52a0b099 22:50:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:49 ---> Running in 214cbe1cd169 22:50:52 Removing intermediate container 214cbe1cd169 22:50:52 ---> e766be684dda 22:50:52 Step 10/25 : COPY . . 22:50:53 ---> 5acedf01f2eb 22:50:53 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:50:53 ---> Running in 34c9e9fc37aa 22:50:53 Removing intermediate container 34c9e9fc37aa 22:50:53 ---> b4871ad6a791 22:50:53 Step 12/25 : RUN $MAKE 22:50:53 ---> Running in 7c3a9e512c36 22:50:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:52:46 Removing intermediate container 7c3a9e512c36 22:52:46 ---> 18685424c6ae 22:52:46 Step 13/25 : FROM alpine:3.18 22:52:46 3.18: Pulling from library/alpine 22:52:46 579b34f0a95b: Pulling fs layer 22:52:46 579b34f0a95b: Verifying Checksum 22:52:46 579b34f0a95b: Download complete 22:52:46 579b34f0a95b: Pull complete 22:52:46 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:52:46 Status: Downloaded newer image for alpine:3.18 22:52:46 ---> 3cc203321400 22:52:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:52:46 ---> Running in 734ee6c5c2be 22:52:46 Removing intermediate container 734ee6c5c2be 22:52:46 ---> f36b510035b8 22:52:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:52:46 ---> Running in b08f86c6b12d 22:52:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:52:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:52:46 (1/1) Installing dumb-init (1.2.5-r2) 22:52:46 Executing busybox-1.36.1-r2.trigger 22:52:46 OK: 8 MiB in 16 packages 22:52:46 Removing intermediate container b08f86c6b12d 22:52:46 ---> db7b3531f579 22:52:46 Step 16/25 : WORKDIR / 22:52:46 ---> Running in e28b7dd5a41f 22:52:46 Removing intermediate container e28b7dd5a41f 22:52:46 ---> b434fed3a31c 22:52:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:52:47 ---> d5c5d06986f4 22:52:47 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:52:47 ---> 48a44df4fb57 22:52:47 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:52:49 ---> 81dc4dafef43 22:52:49 Step 20/25 : EXPOSE 59900 22:52:49 ---> Running in 72d682e95703 22:52:49 Removing intermediate container 72d682e95703 22:52:49 ---> ed6871d568c2 22:52:49 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:52:49 ---> Running in f27690e1b446 22:52:50 Removing intermediate container f27690e1b446 22:52:50 ---> 393cd30b2158 22:52:50 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:52:50 ---> Running in 588fc0b93611 22:52:50 Removing intermediate container 588fc0b93611 22:52:50 ---> 839004d9e067 22:52:50 Step 23/25 : LABEL arch=arm64 22:52:50 ---> Running in 6fd2741d30b3 22:52:51 Removing intermediate container 6fd2741d30b3 22:52:51 ---> d46d3ca52cce 22:52:51 Step 24/25 : LABEL git_sha=105c2ff86687b61d63b26fbbe95b93aee24690dc 22:52:51 ---> Running in da4c8c09f29e 22:52:51 Removing intermediate container da4c8c09f29e 22:52:51 ---> e0152f221ae9 22:52:51 Step 25/25 : LABEL version=3.1.0-dev.26 22:52:51 ---> Running in 0c26b9f73883 22:52:51 Removing intermediate container 0c26b9f73883 22:52:51 ---> 3d496813526c 22:52:51 [Warning] One or more build-args [ARCH] were not consumed 22:52:51 Successfully built 3d496813526c 22:52:51 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 22:52:51 provisioning config files... 22:52:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/152@tmp/config8036586526759033510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:52 ---> docker-login.sh 22:52:52 nexus3.edgexfoundry.org:10001 22:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:52 Configure a credential helper to remove this warning. See 22:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:52 22:52:52 Login Succeeded 22:52:52 nexus3.edgexfoundry.org:10002 22:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:52 Configure a credential helper to remove this warning. See 22:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:52 22:52:52 Login Succeeded 22:52:52 nexus3.edgexfoundry.org:10003 22:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:53 Configure a credential helper to remove this warning. See 22:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:53 22:52:53 Login Succeeded 22:52:53 nexus3.edgexfoundry.org:10004 22:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:53 Configure a credential helper to remove this warning. See 22:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:53 22:52:53 Login Succeeded 22:52:53 docker.io 22:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:54 Configure a credential helper to remove this warning. See 22:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:54 22:52:54 Login Succeeded 22:52:54 ---> docker-login.sh ends [Pipeline] } 22:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:52:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:52:54 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 22:52:54 105c2ff86687b61d63b26fbbe95b93aee24690dc 22:52:54 latest 22:52:54 3.1.0-dev.26 22:52:54 105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 22:52:54 main 22:52:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:105c2ff86687b61d63b26fbbe95b93aee24690dc 22:52:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:52:54 70b97d5c70ea: Preparing 22:52:54 9d29366b3747: Preparing 22:52:54 3ac0cc313b52: Preparing 22:52:54 5ae40ca38214: Preparing 22:52:54 5f4d9fc4d98d: Preparing 22:52:54 5f4d9fc4d98d: Layer already exists 22:52:55 9d29366b3747: Pushed 22:52:55 3ac0cc313b52: Pushed 22:52:55 5ae40ca38214: Pushed 22:53:00 70b97d5c70ea: Pushed 22:53:01 105c2ff86687b61d63b26fbbe95b93aee24690dc: digest: sha256:53429455135c5ce5608bb59bd90430b4df9ef554f65e51ccf03f390d96b7a7f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:53:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:53:02 70b97d5c70ea: Preparing 22:53:02 9d29366b3747: Preparing 22:53:02 3ac0cc313b52: Preparing 22:53:02 5ae40ca38214: Preparing 22:53:02 5f4d9fc4d98d: Preparing 22:53:02 5ae40ca38214: Layer already exists 22:53:02 3ac0cc313b52: Layer already exists 22:53:02 70b97d5c70ea: Layer already exists 22:53:02 5f4d9fc4d98d: Layer already exists 22:53:02 9d29366b3747: Layer already exists 22:53:02 latest: digest: sha256:53429455135c5ce5608bb59bd90430b4df9ef554f65e51ccf03f390d96b7a7f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:03 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.26 22:53:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:53:03 70b97d5c70ea: Preparing 22:53:03 9d29366b3747: Preparing 22:53:03 3ac0cc313b52: Preparing 22:53:03 5ae40ca38214: Preparing 22:53:03 5f4d9fc4d98d: Preparing 22:53:03 5ae40ca38214: Layer already exists 22:53:03 70b97d5c70ea: Layer already exists 22:53:03 9d29366b3747: Layer already exists 22:53:03 3ac0cc313b52: Layer already exists 22:53:03 5f4d9fc4d98d: Layer already exists 22:53:03 3.1.0-dev.26: digest: sha256:53429455135c5ce5608bb59bd90430b4df9ef554f65e51ccf03f390d96b7a7f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 22:53:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:53:04 70b97d5c70ea: Preparing 22:53:04 9d29366b3747: Preparing 22:53:04 3ac0cc313b52: Preparing 22:53:04 5ae40ca38214: Preparing 22:53:04 5f4d9fc4d98d: Preparing 22:53:04 5ae40ca38214: Layer already exists 22:53:04 3ac0cc313b52: Layer already exists 22:53:04 70b97d5c70ea: Layer already exists 22:53:04 9d29366b3747: Layer already exists 22:53:04 5f4d9fc4d98d: Layer already exists 22:53:04 105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26: digest: sha256:53429455135c5ce5608bb59bd90430b4df9ef554f65e51ccf03f390d96b7a7f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 22:53:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:53:05 70b97d5c70ea: Preparing 22:53:05 9d29366b3747: Preparing 22:53:05 3ac0cc313b52: Preparing 22:53:05 5ae40ca38214: Preparing 22:53:05 5f4d9fc4d98d: Preparing 22:53:05 5ae40ca38214: Layer already exists 22:53:05 70b97d5c70ea: Layer already exists 22:53:05 3ac0cc313b52: Layer already exists 22:53:05 9d29366b3747: Layer already exists 22:53:05 5f4d9fc4d98d: Layer already exists 22:53:05 main: digest: sha256:53429455135c5ce5608bb59bd90430b4df9ef554f65e51ccf03f390d96b7a7f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:53:05 ===================================================== [Pipeline] echo 22:53:05 taggedImages: 22:53:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:105c2ff86687b61d63b26fbbe95b93aee24690dc 22:53:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:53:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.26 22:53:05 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:105c2ff86687b61d63b26fbbe95b93aee24690dc-3.1.0-dev.26 22:53:05 - 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 22:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:06 22:53:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:06 arm64: Pulling from edgex-lftools-log-publisher 22:53:06 8998bd30e6a1: Pulling fs layer 22:53:06 04944245beec: Pulling fs layer 22:53:06 699f458cf7ca: Pulling fs layer 22:53:06 765212b225bb: Pulling fs layer 22:53:06 f23df028b6ca: Pulling fs layer 22:53:06 d65c8cfc05b1: Pulling fs layer 22:53:06 2437ff75d9bd: Pulling fs layer 22:53:06 f23df028b6ca: Waiting 22:53:06 d65c8cfc05b1: Waiting 22:53:06 2437ff75d9bd: Waiting 22:53:06 765212b225bb: Waiting 22:53:06 04944245beec: Verifying Checksum 22:53:06 04944245beec: Download complete 22:53:06 765212b225bb: Verifying Checksum 22:53:06 765212b225bb: Download complete 22:53:06 f23df028b6ca: Verifying Checksum 22:53:06 f23df028b6ca: Download complete 22:53:06 d65c8cfc05b1: Verifying Checksum 22:53:06 d65c8cfc05b1: Download complete 22:53:06 699f458cf7ca: Verifying Checksum 22:53:06 699f458cf7ca: Download complete 22:53:07 8998bd30e6a1: Verifying Checksum 22:53:07 8998bd30e6a1: Download complete 22:53:09 2437ff75d9bd: Verifying Checksum 22:53:09 2437ff75d9bd: Download complete 22:53:11 8998bd30e6a1: Pull complete 22:53:11 04944245beec: Pull complete 22:53:15 699f458cf7ca: Pull complete 22:53:15 765212b225bb: Pull complete 22:53:15 f23df028b6ca: Pull complete 22:53:16 d65c8cfc05b1: Pull complete 22:53:34 2437ff75d9bd: Pull complete 22:53:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:34 prd-ubuntu20.04-docker-arm64-4c-16g-10321 does not seem to be running inside a container 22:53:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/152 -v /w/workspace/device-virtual-go/152:/w/workspace/device-virtual-go/152:rw,z -v /w/workspace/device-virtual-go/152@tmp:/w/workspace/device-virtual-go/152@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 22:53:37 $ docker top 22f26bfd9e17f1f1058c31f8461438b2a3fd56c572b5a6a74e1f3f00e9930b6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:38 ---> job-cost.sh 22:53:38 lf-activate-venv: SKIPPING 22:53:38 INFO: No Stack... 22:53:38 INFO: Retrieving Pricing Info for: v3-standard-4 22:53:39 INFO: Archiving Costs [Pipeline] sh 22:53:40 + cat /w/workspace/device-virtual-go/152/archives/cost.csv 22:53:40 + cut -d, -f6 [Pipeline] lock 22:53:41 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] 22:53:41 Resource [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] did not exist. Created. 22:53:41 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:53:42 /w/workspace/device-virtual-go/152@tmp/durable-04e2562f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:53:42 + echo total: 0.10999999940395355 [Pipeline] stash 22:53:43 Warning: overwriting stash ‘stack-cost’ 22:53:43 Stashed 1 file(s) [Pipeline] } 22:53:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 22:53:43 $ docker stop --time=1 22f26bfd9e17f1f1058c31f8461438b2a3fd56c572b5a6a74e1f3f00e9930b6b 22:53:44 $ docker rm -f --volumes 22f26bfd9e17f1f1058c31f8461438b2a3fd56c572b5a6a74e1f3f00e9930b6b [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 22:53:45 provisioning config files... 22:53:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17447367337793019581tmp [Pipeline] { [Pipeline] sh 22:53:45 + set +x 22:53:45 + curl -s https://codecov.io/bash 22:53:45 + bash -s -- 22:53:45 22:53:45 _____ _ 22:53:45 / ____| | | 22:53:45 | | ___ __| | ___ ___ _____ __ 22:53:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:53:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:53:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:53:45 Bash-1.0.6 22:53:45 22:53:45 22:53:45 ==> git version 2.25.1 found 22:53:45 ==> 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 22:53:45 Release-Date: 2020-01-08 22:53:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:53:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:53:45 ==> Jenkins CI detected. 22:53:45 current dir:  /w/workspace/exfoundry_device-virtual-go_main 22:53:45 project root: . 22:53:45 --> token set from env 22:53:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:53:45 ==> Running gcov in . (disable via -X gcov) 22:53:45 ==> Python coveragepy not found 22:53:45 ==> Searching for coverage reports in: 22:53:45 + . 22:53:45 -> Found 1 reports 22:53:45 ==> Detecting git/mercurial file structure 22:53:45 ==> Reading reports 22:53:45 + ./coverage.out bytes=43063 22:53:45 ==> Appending adjustments 22:53:45 https://docs.codecov.io/docs/fixing-reports 22:53:45 + Found adjustments 22:53:45 ==> Gzipping contents 22:53:45 8.0K /tmp/codecov.UFJEJL.gz 22:53:45 ==> Uploading reports 22:53:45 url: https://codecov.io 22:53:45 query: branch=main&commit=105c2ff86687b61d63b26fbbe95b93aee24690dc&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:53:45 -> Pinging Codecov 22:53:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=105c2ff86687b61d63b26fbbe95b93aee24690dc&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:53:45 -> Uploading to 22:53:45 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/5E52B4B073DB2E39498172D8E973AA87/105c2ff86687b61d63b26fbbe95b93aee24690dc/bbb9abf2-2f21-4932-b40c-a07166c9f3a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T225345Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39ec78b401a2945465ad032aaf8099fd40666a09f1547e1c20d6325798b62e59 22:53:45 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:45 Dload Upload Total Spent Left Speed 22:53:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 15917 --:--:-- --:--:-- --:--:-- 15968 22:53:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] } 22:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:53:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:53:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:53:46 22:53:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:53:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:53:46 df9b9388f04a: Pulling fs layer 22:53:46 52dc419b0ee2: Pulling fs layer 22:53:46 25bc292e5bac: Pulling fs layer 22:53:46 114826534d7a: Pulling fs layer 22:53:46 4657fd5d0bcf: Pulling fs layer 22:53:46 6ad1cebc031e: Pulling fs layer 22:53:46 8a3aa393b2d8: Pulling fs layer 22:53:46 114826534d7a: Waiting 22:53:46 4657fd5d0bcf: Waiting 22:53:46 6ad1cebc031e: Waiting 22:53:46 8a3aa393b2d8: Waiting 22:53:46 25bc292e5bac: Verifying Checksum 22:53:46 25bc292e5bac: Download complete 22:53:46 52dc419b0ee2: Verifying Checksum 22:53:46 52dc419b0ee2: Download complete 22:53:46 4657fd5d0bcf: Download complete 22:53:46 df9b9388f04a: Verifying Checksum 22:53:46 df9b9388f04a: Download complete 22:53:47 df9b9388f04a: Pull complete 22:53:47 6ad1cebc031e: Verifying Checksum 22:53:47 6ad1cebc031e: Download complete 22:53:47 52dc419b0ee2: Pull complete 22:53:47 25bc292e5bac: Pull complete 22:53:47 114826534d7a: Verifying Checksum 22:53:47 114826534d7a: Download complete 22:53:47 8a3aa393b2d8: Verifying Checksum 22:53:47 8a3aa393b2d8: Download complete 22:53:51 114826534d7a: Pull complete 22:53:51 4657fd5d0bcf: Pull complete 22:53:51 6ad1cebc031e: Pull complete 22:53:53 8a3aa393b2d8: Pull complete 22:53:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:53:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:53 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:53:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:53:55 $ docker top 8f9b531b77edaaba0b086d3e9c121bb0b1bb2ac9755b94a773c593273dab1431 -eo pid,comm [Pipeline] { [Pipeline] echo 22:53:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 22:53:55 + set -o pipefail 22:53:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 22:54:04 22:54:04 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 22:54:04 22:54:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/76b40b59-3dd5-4549-bc27-8aa695b64bae 22:54:04 22:54:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:54:04 22:54:04 22:54:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:54:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:54:04 More details here: https://snyk.co/ue1NS [Pipeline] } 22:54:04 $ docker stop --time=1 8f9b531b77edaaba0b086d3e9c121bb0b1bb2ac9755b94a773c593273dab1431 22:54:06 $ docker rm -f --volumes 8f9b531b77edaaba0b086d3e9c121bb0b1bb2ac9755b94a773c593273dab1431 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:07 + git log --format=format:%s -1 105c2ff86687b61d63b26fbbe95b93aee24690dc [Pipeline] sh 22:54:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:54:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:08 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:54:08 $ 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 22:54:08 $ docker top 0972b9b2e9da9112be8aae18a3c7f2365fe7e97d750a6c621e8ff9edadc990e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:54:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:08 [ssh-agent] Looking for ssh-agent implementation... 22:54:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:08 $ docker exec 0972b9b2e9da9112be8aae18a3c7f2365fe7e97d750a6c621e8ff9edadc990e3 ssh-agent 22:54:09 SSH_AUTH_SOCK=/tmp/ssh-syhgZacF42wm/agent.31 22:54:09 SSH_AGENT_PID=37 22:54:09 Running ssh-add (command line suppressed) 22:54:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14443716939283415341.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14443716939283415341.key) 22:54:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:09 + git semver tag 22:54:09 2023-10-24 22:54:09,609 [run_tag] DEBUG tag force:False 22:54:09 2023-10-24 22:54:09,610 [check_head_tag] DEBUG check head tag 22:54:09 2023-10-24 22:54:09,610 [execute] INFO git cat-file --batch-check 22:54:09 2023-10-24 22:54:09,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:54:09 2023-10-24 22:54:09,615 [execute] INFO git cat-file --batch 22:54:09 2023-10-24 22:54:09,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:54:09 2023-10-24 22:54:09,631 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:09 2023-10-24 22:54:09,632 [execute] INFO git tag -a v3.1.0-dev.26 -m v3.1.0-dev.26 22:54:09 2023-10-24 22:54:09,632 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.26', '-m', 'v3.1.0-dev.26'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 22:54:09 2023-10-24 22:54:09,638 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:09 3.1.0-dev.26 [Pipeline] } 22:54:09 $ docker exec --env ******** --env ******** 0972b9b2e9da9112be8aae18a3c7f2365fe7e97d750a6c621e8ff9edadc990e3 ssh-agent -k 22:54:09 unset SSH_AUTH_SOCK; 22:54:09 unset SSH_AGENT_PID; 22:54:09 echo Agent pid 37 killed; 22:54:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:54:10 + git semver [Pipeline] } 22:54:10 $ docker stop --time=1 0972b9b2e9da9112be8aae18a3c7f2365fe7e97d750a6c621e8ff9edadc990e3 22:54:11 $ docker rm -f --volumes 0972b9b2e9da9112be8aae18a3c7f2365fe7e97d750a6c621e8ff9edadc990e3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:54:12 22:54:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:54:12 0.23.1-centos7: Pulling from edgex-lftools 22:54:12 ab5ef0e58194: Pulling fs layer 22:54:12 9712f1f96733: Pulling fs layer 22:54:12 63f879dbbcfc: Pulling fs layer 22:54:12 0d9ebad4ef96: Pulling fs layer 22:54:12 e9a5061849ea: Pulling fs layer 22:54:12 d747dcd14b5f: Pulling fs layer 22:54:12 2de7ff778b66: Pulling fs layer 22:54:12 0d9ebad4ef96: Waiting 22:54:12 e9a5061849ea: Waiting 22:54:12 d747dcd14b5f: Waiting 22:54:12 2de7ff778b66: Waiting 22:54:12 9712f1f96733: Verifying Checksum 22:54:12 9712f1f96733: Download complete 22:54:12 63f879dbbcfc: Verifying Checksum 22:54:12 63f879dbbcfc: Download complete 22:54:12 0d9ebad4ef96: Verifying Checksum 22:54:12 0d9ebad4ef96: Download complete 22:54:13 ab5ef0e58194: Verifying Checksum 22:54:13 ab5ef0e58194: Download complete 22:54:13 e9a5061849ea: Verifying Checksum 22:54:13 e9a5061849ea: Download complete 22:54:13 d747dcd14b5f: Verifying Checksum 22:54:13 d747dcd14b5f: Download complete 22:54:13 2de7ff778b66: Verifying Checksum 22:54:13 2de7ff778b66: Download complete 22:54:15 ab5ef0e58194: Pull complete 22:54:15 9712f1f96733: Pull complete 22:54:16 63f879dbbcfc: Pull complete 22:54:20 0d9ebad4ef96: Pull complete 22:54:20 e9a5061849ea: Pull complete 22:54:20 d747dcd14b5f: Pull complete 22:54:21 2de7ff778b66: Pull complete 22:54:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:54:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:54:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:21 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:54:21 $ 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 22:54:28 $ docker top 98ef0ea52a77a7ec80ad53534a49645ff6c0964e68eb893273ba58505d118457 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:54:28 provisioning config files... 22:54:28 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15716087462869813122tmp 22:54:28 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14166391176299284768tmp 22:54:28 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13327233422444292253tmp [Pipeline] { [Pipeline] echo 22:54:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:54:28 ---> sigul-configuration.sh 22:54:28 gpg: directory `/root/.gnupg' created 22:54:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:54:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:54:28 gpg: keyring `/root/.gnupg/secring.gpg' created 22:54:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:54:28 gpg: CAST5 encrypted data 22:54:28 gpg: encrypted with 1 passphrase 22:54:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:54:29 + mkdir /home/jenkins 22:54:29 + mkdir /home/jenkins/sigul [Pipeline] sh 22:54:29 + 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 22:54:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:54:29 ---> sigul-install.sh 22:54:29 Sigul already installed; skipping installation. [Pipeline] sh 22:54:30 + git tag --list 22:54:30 v1.0.0 22:54:30 v1.1.0 22:54:30 v1.1.1 22:54:30 v1.2.1 22:54:30 v1.2.2 22:54:30 v1.2.3 22:54:30 v1.3.0 22:54:30 v1.3.1 22:54:30 v2.0.0 22:54:30 v2.1.0 22:54:30 v2.1.1 22:54:30 v2.2.0 22:54:30 v2.3.0 22:54:30 v3.0 22:54:30 v3.0.0 22:54:30 v3.1.0-dev.1 22:54:30 v3.1.0-dev.10 22:54:30 v3.1.0-dev.11 22:54:30 v3.1.0-dev.12 22:54:30 v3.1.0-dev.13 22:54:30 v3.1.0-dev.14 22:54:30 v3.1.0-dev.15 22:54:30 v3.1.0-dev.16 22:54:30 v3.1.0-dev.17 22:54:30 v3.1.0-dev.18 22:54:30 v3.1.0-dev.19 22:54:30 v3.1.0-dev.2 22:54:30 v3.1.0-dev.20 22:54:30 v3.1.0-dev.21 22:54:30 v3.1.0-dev.22 22:54:30 v3.1.0-dev.23 22:54:30 v3.1.0-dev.24 22:54:30 v3.1.0-dev.25 22:54:30 v3.1.0-dev.26 22:54:30 v3.1.0-dev.3 22:54:30 v3.1.0-dev.4 22:54:30 v3.1.0-dev.5 22:54:30 v3.1.0-dev.6 22:54:30 v3.1.0-dev.7 22:54:30 v3.1.0-dev.8 22:54:30 v3.1.0-dev.9 [Pipeline] sh 22:54:30 + lftools sign git-tag v3.1.0-dev.26 22:54:30 Signing Git tag with Sigul... 22:54:30 Signing v3.1.0-dev.26 [Pipeline] echo 22:54:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:54:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:54:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:54:31 $ docker stop --time=1 98ef0ea52a77a7ec80ad53534a49645ff6c0964e68eb893273ba58505d118457 22:54:32 $ docker rm -f --volumes 98ef0ea52a77a7ec80ad53534a49645ff6c0964e68eb893273ba58505d118457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:54:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:54:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:33 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:54:33 $ 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 22:54:33 $ docker top c6e6d302ff3836cc8ba6c69226a68a53e40cfde077a2ad0e556993a7b0333429 -eo pid,comm 22:54:33 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). 22:54:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:54:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:33 [ssh-agent] Looking for ssh-agent implementation... 22:54:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:34 $ docker exec c6e6d302ff3836cc8ba6c69226a68a53e40cfde077a2ad0e556993a7b0333429 ssh-agent 22:54:34 SSH_AUTH_SOCK=/tmp/ssh-WkjB894vrE81/agent.33 22:54:34 SSH_AGENT_PID=39 22:54:34 Running ssh-add (command line suppressed) 22:54:34 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3653060809692753426.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3653060809692753426.key) 22:54:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:34 + git semver bump pre 22:54:34 2023-10-24 22:54:34,758 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:34 2023-10-24 22:54:34,758 [bump_version] DEBUG bumping version:3.1.0-dev.26 on axis:pre with prefix:dev 22:54:34 2023-10-24 22:54:34,758 [bump_version] DEBUG bumped version:3.1.0-dev.27 22:54:34 2023-10-24 22:54:34,758 [write_version] DEBUG write version:3.1.0-dev.27 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 22:54:34 2023-10-24 22:54:34,758 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:34 2023-10-24 22:54:34,758 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:34 2023-10-24 22:54:34,760 [execute] INFO git cat-file --batch-check 22:54:34 2023-10-24 22:54:34,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:54:34 2023-10-24 22:54:34,765 [execute] INFO git cat-file --batch 22:54:34 2023-10-24 22:54:34,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:54:34 2023-10-24 22:54:34,770 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:34 3.1.0-dev.27 [Pipeline] } 22:54:34 $ docker exec --env ******** --env ******** c6e6d302ff3836cc8ba6c69226a68a53e40cfde077a2ad0e556993a7b0333429 ssh-agent -k 22:54:34 unset SSH_AUTH_SOCK; 22:54:34 unset SSH_AGENT_PID; 22:54:34 echo Agent pid 39 killed; 22:54:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:54:35 + git semver [Pipeline] } 22:54:35 $ docker stop --time=1 c6e6d302ff3836cc8ba6c69226a68a53e40cfde077a2ad0e556993a7b0333429 22:54:36 $ docker rm -f --volumes c6e6d302ff3836cc8ba6c69226a68a53e40cfde077a2ad0e556993a7b0333429 [Pipeline] // withDockerContainer [Pipeline] sh 22:54:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:54:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:37 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:54:37 $ docker top 0f8d02c49e7bf8368bf9f773a88740caed126157c28fda05b6eca5bba7347cb3 -eo pid,comm 22:54:37 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). 22:54:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:54:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:38 [ssh-agent] Looking for ssh-agent implementation... 22:54:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:38 $ docker exec 0f8d02c49e7bf8368bf9f773a88740caed126157c28fda05b6eca5bba7347cb3 ssh-agent 22:54:38 SSH_AUTH_SOCK=/tmp/ssh-MycTzwxjLqvN/agent.32 22:54:38 SSH_AGENT_PID=38 22:54:38 Running ssh-add (command line suppressed) 22:54:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9356787962216425781.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9356787962216425781.key) 22:54:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:38 + git semver push 22:54:38 2023-10-24 22:54:38,780 [run_push] DEBUG push 22:54:38 2023-10-24 22:54:38,781 [execute] INFO git cat-file --batch-check 22:54:38 2023-10-24 22:54:38,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:54:38 2023-10-24 22:54:38,783 [execute] INFO git rev-list 6683e831fcc7106833e05babb18e7b5c9d3c0f5e -- 22:54:38 2023-10-24 22:54:38,784 [execute] DEBUG Popen(['git', 'rev-list', '6683e831fcc7106833e05babb18e7b5c9d3c0f5e', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:54:38 2023-10-24 22:54:38,791 [execute] INFO git fetch -v origin 22:54:38 2023-10-24 22:54:38,792 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:54:39 2023-10-24 22:54:39,341 [run_push] DEBUG no remote changes detected 22:54:39 2023-10-24 22:54:39,341 [execute] INFO git push origin semver 22:54:39 2023-10-24 22:54:39,342 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:54:40 2023-10-24 22:54:40,078 [run_push] DEBUG push all version tags 22:54:40 2023-10-24 22:54:40,079 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:54:40 2023-10-24 22:54:40,079 [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) 22:54:40 2023-10-24 22:54:40,786 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:54:40 3.1.0-dev.27 [Pipeline] } 22:54:40 $ docker exec --env ******** --env ******** 0f8d02c49e7bf8368bf9f773a88740caed126157c28fda05b6eca5bba7347cb3 ssh-agent -k 22:54:41 unset SSH_AUTH_SOCK; 22:54:41 unset SSH_AGENT_PID; 22:54:41 echo Agent pid 38 killed; 22:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:54:41 + git semver [Pipeline] } 22:54:41 $ docker stop --time=1 0f8d02c49e7bf8368bf9f773a88740caed126157c28fda05b6eca5bba7347cb3 22:54:42 $ docker rm -f --volumes 0f8d02c49e7bf8368bf9f773a88740caed126157c28fda05b6eca5bba7347cb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:54:43 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 22:54:43 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:54:43 total 16 22:54:43 drwxr-xr-x 3 root root 4096 Oct 24 22:46 . 22:54:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:54 .. 22:54:43 drwxr-xr-x 2 root root 4096 Oct 24 22:46 cost 22:54:43 -rw-r--r-- 1 root root 89 Oct 24 22:46 cost.csv 22:54:43 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 22:54:43 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:54:43 total 16 22:54:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 22:46 . 22:54:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:54 .. 22:54:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 22:46 cost 22:54:43 -rw-r--r-- 1 jenkins jenkins 89 Oct 24 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:44 ---> package-listing.sh 22:54:44 ++ facter osfamily 22:54:44 ++ tr '[:upper:]' '[:lower:]' 22:54:44 + OS_FAMILY=debian 22:54:44 + workspace=/w/workspace/exfoundry_device-virtual-go_main 22:54:44 + START_PACKAGES=/tmp/packages_start.txt 22:54:44 + END_PACKAGES=/tmp/packages_end.txt 22:54:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:44 + PACKAGES=/tmp/packages_start.txt 22:54:44 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:54:44 + PACKAGES=/tmp/packages_end.txt 22:54:44 + case "${OS_FAMILY}" in 22:54:44 + dpkg -l 22:54:44 + grep '^ii' 22:54:44 + '[' -f /tmp/packages_start.txt ']' 22:54:44 + '[' -f /tmp/packages_end.txt ']' 22:54:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:44 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:54:44 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 22:54:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 22:54:44 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 22:54:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:45 prd-ubuntu20.04-docker-8c-8g-10320 does not seem to be running inside a container 22:54:45 $ 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 22:54:45 $ docker top f57b250fe3b18fa3110333ae11995ee53b150f4d0d930b1bfa25715ddf0f50bb -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:46 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:46 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:46 + ls /var/log/sa-host 22:54:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:46 provisioning config files... 22:54:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5127214394573722843tmp [Pipeline] { [Pipeline] echo 22:54:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:47 ---> create-netrc.sh [Pipeline] } 22:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:47 ---> python-tools-install.sh [Pipeline] echo 22:54:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:47 ---> sudo-logs.sh 22:54:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:48 ---> job-cost.sh 22:54:48 lf-activate-venv: SKIPPING 22:54:48 DEBUG: total: 0.2199999988079071 22:54:48 INFO: Retrieving Stack Cost... 22:54:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:49 INFO: Archiving Costs [Pipeline] echo 22:54:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:49 ---> logs-deploy.sh 22:54:49 lf-activate-venv: SKIPPING 22:54:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/152 22:54:49 INFO: archiving workspace using pattern(s): 22:54:50 Archives upload complete. 22:54:50 INFO: archiving logs to Nexus 22:54:51 ---> uname -a: 22:54:51 Linux prd-ubuntu20-04-docker-8c-8g-10320 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:54:51 22:54:51 22:54:51 ---> lscpu: 22:54:51 Architecture: x86_64 22:54:51 CPU op-mode(s): 32-bit, 64-bit 22:54:51 Byte Order: Little Endian 22:54:51 Address sizes: 40 bits physical, 48 bits virtual 22:54:51 CPU(s): 8 22:54:51 On-line CPU(s) list: 0-7 22:54:51 Thread(s) per core: 1 22:54:51 Core(s) per socket: 1 22:54:51 Socket(s): 8 22:54:51 NUMA node(s): 1 22:54:51 Vendor ID: AuthenticAMD 22:54:51 CPU family: 23 22:54:51 Model: 49 22:54:51 Model name: AMD EPYC-Rome Processor 22:54:51 Stepping: 0 22:54:51 CPU MHz: 2799.998 22:54:51 BogoMIPS: 5599.99 22:54:51 Virtualization: AMD-V 22:54:51 Hypervisor vendor: KVM 22:54:51 Virtualization type: full 22:54:51 L1d cache: 256 KiB 22:54:51 L1i cache: 256 KiB 22:54:51 L2 cache: 4 MiB 22:54:51 L3 cache: 128 MiB 22:54:51 NUMA node0 CPU(s): 0-7 22:54:51 Vulnerability Itlb multihit: Not affected 22:54:51 Vulnerability L1tf: Not affected 22:54:51 Vulnerability Mds: Not affected 22:54:51 Vulnerability Meltdown: Not affected 22:54:51 Vulnerability Mmio stale data: Not affected 22:54:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:54:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:54:51 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:54:51 Vulnerability Srbds: Not affected 22:54:51 Vulnerability Tsx async abort: Not affected 22:54:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:54:51 22:54:51 22:54:51 ---> nproc: 22:54:51 8 22:54:51 22:54:51 22:54:51 ---> df -h: 22:54:51 Filesystem Size Used Avail Use% Mounted on 22:54:51 overlay 155G 13G 143G 9% / 22:54:51 tmpfs 64M 0 64M 0% /dev 22:54:51 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:54:51 shm 64M 0 64M 0% /dev/shm 22:54:51 /dev/vda1 155G 13G 143G 9% /facter-os 22:54:51 22:54:51 22:54:51 ---> sar -b -r -n DEV: 22:54:51 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10320) 10/24/23 _x86_64_ (8 CPU) 22:54:51 22:54:51 22:43:08 LINUX RESTART (8 CPU) 22:54:51 22:54:51 22:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:54:51 22:45:01 155.75 0.62 155.13 0.00 33.47 47075.33 0.00 22:54:51 22:46:01 251.57 0.27 251.30 0.00 17.73 58662.45 0.00 22:54:51 22:47:01 51.62 0.02 51.61 0.00 2.27 16829.48 0.00 22:54:51 22:48:01 1.78 0.00 1.78 0.00 0.00 20.00 0.00 22:54:51 22:49:01 29.92 10.18 19.74 0.00 3442.59 3793.14 0.00 22:54:51 22:50:01 1.98 0.00 1.98 0.00 0.00 21.33 0.00 22:54:51 22:51:01 1.42 0.00 1.42 0.00 0.00 15.60 0.00 22:54:51 22:52:01 1.92 0.00 1.92 0.00 0.00 20.80 0.00 22:54:51 22:53:01 1.22 0.00 1.22 0.00 0.00 14.40 0.00 22:54:51 22:54:01 41.39 0.27 41.13 0.00 15.46 27865.76 0.00 22:54:51 Average: 53.86 1.13 52.72 0.00 351.20 15431.83 0.00 22:54:51 22:54:51 22:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:54:51 22:45:01 28089416 31559816 754776 2.30 125960 3526352 2015660 5.94 1189832 3128928 374400 22:54:51 22:46:01 28108596 31544088 764060 2.32 155148 3459092 1857216 5.47 1279796 3011568 396 22:54:51 22:47:01 27622716 31568320 738500 2.25 163932 3911012 1735896 5.12 1274420 3450508 16 22:54:51 22:48:01 27622744 31568376 738140 2.24 163972 3910996 1735896 5.12 1274140 3450508 4 22:54:51 22:49:01 27384220 31551032 745852 2.27 169280 4114540 1823964 5.38 1432716 3505996 20 22:54:51 22:50:01 27383896 31550788 745984 2.27 169356 4114540 1823964 5.38 1432716 3506000 8 22:54:51 22:51:01 27394424 31561384 735304 2.24 169448 4114540 1823964 5.38 1422500 3506000 8 22:54:51 22:52:01 27394360 31561360 735264 2.24 169516 4114524 1823964 5.38 1422544 3506000 16 22:54:51 22:53:01 27394532 31561924 734836 2.23 169564 4114532 1823964 5.38 1422352 3506296 16 22:54:51 22:54:01 26193040 31457648 833108 2.53 185412 5104612 1977776 5.83 1621096 4411452 300792 22:54:51 Average: 27458794 31548474 752582 2.29 164159 4048474 1844226 5.44 1377211 3498326 67568 22:54:51 22:54:51 22:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:54:51 22:45:01 docker0 288.23 360.95 22.30 2385.35 0.00 0.00 0.00 0.00 22:54:51 22:45:01 ens3 476.20 357.48 5474.19 40.19 0.00 0.00 0.00 0.00 22:54:51 22:45:01 lo 2.67 2.67 0.27 0.27 0.00 0.00 0.00 0.00 22:54:51 22:46:01 docker0 3.02 5.83 0.18 62.26 0.00 0.00 0.00 0.00 22:54:51 22:46:01 ens3 68.01 59.51 171.58 101.74 0.00 0.00 0.00 0.00 22:54:51 22:46:01 lo 1.20 1.20 0.12 0.12 0.00 0.00 0.00 0.00 22:54:51 22:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:47:01 ens3 137.69 98.83 2547.15 238.69 0.00 0.00 0.00 0.00 22:54:51 22:47:01 lo 6.53 6.53 0.65 0.65 0.00 0.00 0.00 0.00 22:54:51 22:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:48:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:54:51 22:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:51 22:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:49:01 ens3 115.71 62.86 1378.93 4.41 0.00 0.00 0.00 0.00 22:54:51 22:49:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 22:54:51 22:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:50:01 ens3 0.20 0.17 0.01 0.01 0.00 0.00 0.00 0.00 22:54:51 22:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:51 22:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:51:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:52:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:54:51 22:52:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:51 22:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:53:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:51 22:54:01 docker0 73.27 89.32 5.27 1023.28 0.00 0.00 0.00 0.00 22:54:51 22:54:01 ens3 216.91 142.08 4997.25 17.65 0.00 0.00 0.00 0.00 22:54:51 22:54:01 vethd14fa32 73.27 89.42 6.28 1023.29 0.00 0.00 0.00 0.08 22:54:51 22:54:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 22:54:51 Average: docker0 36.45 45.60 2.78 347.04 0.00 0.00 0.00 0.00 22:54:51 Average: ens3 101.49 72.12 1456.82 40.27 0.00 0.00 0.00 0.00 22:54:51 Average: vethd14fa32 7.33 8.94 0.63 102.33 0.00 0.00 0.00 0.01 22:54:51 Average: lo 1.25 1.25 0.12 0.12 0.00 0.00 0.00 0.00 22:54:51 22:54:51 22:54:51 ---> sar -P ALL: 22:54:51 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10320) 10/24/23 _x86_64_ (8 CPU) 22:54:51 22:54:51 22:43:08 LINUX RESTART (8 CPU) 22:54:51 22:54:51 22:44:01 CPU %user %nice %system %iowait %steal %idle 22:54:51 22:45:01 all 5.76 0.00 2.54 1.89 0.06 89.75 22:54:51 22:45:01 0 6.86 0.00 1.73 0.27 0.05 91.09 22:54:51 22:45:01 1 4.85 0.00 1.93 0.29 0.05 92.89 22:54:51 22:45:01 2 5.62 0.00 3.68 0.05 0.05 90.60 22:54:51 22:45:01 3 6.11 0.00 2.72 0.54 0.07 90.57 22:54:51 22:45:01 4 4.32 0.00 3.20 12.68 0.07 79.73 22:54:51 22:45:01 5 6.59 0.00 2.60 1.02 0.05 89.74 22:54:51 22:45:01 6 5.05 0.00 2.18 0.15 0.03 92.59 22:54:51 22:45:01 7 6.68 0.00 2.29 0.19 0.08 90.76 22:54:51 22:46:01 all 37.86 0.00 5.25 0.98 0.08 55.83 22:54:51 22:46:01 0 37.61 0.00 5.56 3.26 0.07 53.50 22:54:51 22:46:01 1 37.27 0.00 5.40 0.52 0.07 56.73 22:54:51 22:46:01 2 36.64 0.00 5.61 0.22 0.08 57.44 22:54:51 22:46:01 3 38.88 0.00 5.37 0.54 0.08 55.13 22:54:51 22:46:01 4 36.69 0.00 4.53 0.96 0.07 57.76 22:54:51 22:46:01 5 38.76 0.00 4.85 0.32 0.08 55.99 22:54:51 22:46:01 6 39.38 0.00 4.87 0.12 0.08 55.54 22:54:51 22:46:01 7 37.64 0.00 5.82 1.87 0.08 54.58 22:54:51 22:47:01 all 3.07 0.00 1.18 0.23 0.02 95.49 22:54:51 22:47:01 0 3.13 0.00 1.04 0.15 0.03 95.65 22:54:51 22:47:01 1 3.61 0.00 0.89 0.03 0.02 95.45 22:54:51 22:47:01 2 3.44 0.00 0.97 0.02 0.05 95.52 22:54:51 22:47:01 3 2.99 0.00 1.17 0.33 0.02 95.49 22:54:51 22:47:01 4 2.08 0.00 1.56 0.03 0.02 96.31 22:54:51 22:47:01 5 2.06 0.00 1.14 0.05 0.02 96.73 22:54:51 22:47:01 6 3.31 0.00 1.02 0.00 0.00 95.67 22:54:51 22:47:01 7 3.96 0.00 1.68 1.22 0.02 93.13 22:54:51 22:48:01 all 0.01 0.00 0.00 0.01 0.02 99.96 22:54:51 22:48:01 0 0.02 0.00 0.02 0.02 0.02 99.93 22:54:51 22:48:01 1 0.05 0.00 0.00 0.00 0.02 99.93 22:54:51 22:48:01 2 0.05 0.00 0.00 0.00 0.05 99.90 22:54:51 22:48:01 3 0.00 0.00 0.02 0.02 0.02 99.95 22:54:51 22:48:01 4 0.00 0.00 0.00 0.00 0.02 99.98 22:54:51 22:48:01 5 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:48:01 6 0.00 0.00 0.00 0.00 0.02 99.98 22:54:51 22:48:01 7 0.00 0.00 0.00 0.02 0.00 99.98 22:54:51 22:49:01 all 0.92 0.00 0.41 0.23 0.02 98.42 22:54:51 22:49:01 0 0.70 0.00 0.27 0.07 0.02 98.95 22:54:51 22:49:01 1 0.60 0.00 0.32 0.03 0.00 99.05 22:54:51 22:49:01 2 0.47 0.00 0.28 0.15 0.05 99.05 22:54:51 22:49:01 3 2.40 0.00 0.52 0.63 0.02 96.43 22:54:51 22:49:01 4 1.07 0.00 0.70 0.42 0.02 97.80 22:54:51 22:49:01 5 0.80 0.00 0.45 0.08 0.02 98.65 22:54:51 22:49:01 6 0.82 0.00 0.55 0.22 0.00 98.42 22:54:51 22:49:01 7 0.53 0.00 0.22 0.23 0.02 99.00 22:54:51 22:50:01 all 0.01 0.00 0.01 0.00 0.01 99.96 22:54:51 22:50:01 0 0.03 0.00 0.03 0.02 0.02 99.90 22:54:51 22:50:01 1 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:50:01 2 0.03 0.00 0.03 0.00 0.03 99.90 22:54:51 22:50:01 3 0.00 0.00 0.02 0.02 0.02 99.95 22:54:51 22:50:01 4 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:50:01 5 0.02 0.00 0.00 0.00 0.00 99.98 22:54:51 22:50:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:50:01 7 0.02 0.00 0.00 0.00 0.00 99.98 22:54:51 22:51:01 all 0.08 0.00 0.01 0.01 0.01 99.90 22:54:51 22:51:01 0 0.08 0.00 0.02 0.02 0.02 99.87 22:54:51 22:51:01 1 0.02 0.00 0.00 0.00 0.02 99.97 22:54:51 22:51:01 2 0.40 0.00 0.03 0.00 0.03 99.53 22:54:51 22:51:01 3 0.05 0.00 0.00 0.03 0.00 99.92 22:54:51 22:51:01 4 0.02 0.00 0.02 0.00 0.02 99.95 22:54:51 22:51:01 5 0.02 0.00 0.02 0.00 0.02 99.95 22:54:51 22:51:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:54:51 22:51:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:52:01 all 0.04 0.00 0.01 0.01 0.01 99.93 22:54:51 22:52:01 0 0.02 0.00 0.02 0.02 0.02 99.93 22:54:51 22:52:01 1 0.30 0.00 0.00 0.00 0.00 99.70 22:54:51 22:52:01 2 0.03 0.00 0.05 0.00 0.03 99.88 22:54:51 22:52:01 3 0.00 0.00 0.00 0.03 0.00 99.97 22:54:51 22:52:01 4 0.00 0.00 0.02 0.02 0.00 99.97 22:54:51 22:52:01 5 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:52:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:52:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:53:01 all 0.20 0.00 0.01 0.00 0.01 99.78 22:54:51 22:53:01 0 0.05 0.00 0.02 0.00 0.02 99.92 22:54:51 22:53:01 1 0.08 0.00 0.02 0.00 0.00 99.90 22:54:51 22:53:01 2 1.36 0.00 0.02 0.00 0.03 98.60 22:54:51 22:53:01 3 0.03 0.00 0.02 0.02 0.02 99.92 22:54:51 22:53:01 4 0.02 0.00 0.03 0.00 0.02 99.93 22:54:51 22:53:01 5 0.02 0.00 0.02 0.00 0.00 99.97 22:54:51 22:53:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:53:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:54:51 22:54:01 all 4.14 0.00 1.44 0.29 0.02 94.10 22:54:51 22:54:01 0 3.74 0.00 1.27 0.03 0.03 94.92 22:54:51 22:54:01 1 3.81 0.00 1.17 0.00 0.02 95.00 22:54:51 22:54:01 2 5.61 0.00 1.07 0.03 0.05 93.24 22:54:51 22:54:01 3 2.62 0.00 1.24 0.32 0.02 95.81 22:54:51 22:54:01 4 6.04 0.00 1.89 1.79 0.02 90.26 22:54:51 22:54:01 5 3.35 0.00 1.50 0.03 0.02 95.10 22:54:51 22:54:01 6 4.00 0.00 1.59 0.07 0.02 94.33 22:54:51 22:54:01 7 3.97 0.00 1.81 0.03 0.02 94.17 22:54:51 Average: all 5.18 0.00 1.08 0.36 0.02 93.35 22:54:51 Average: 0 5.18 0.00 0.99 0.38 0.03 93.42 22:54:51 Average: 1 5.02 0.00 0.97 0.09 0.02 93.91 22:54:51 Average: 2 5.34 0.00 1.17 0.05 0.05 93.40 22:54:51 Average: 3 5.28 0.00 1.10 0.25 0.03 93.35 22:54:51 Average: 4 4.99 0.00 1.19 1.58 0.02 92.22 22:54:51 Average: 5 5.14 0.00 1.05 0.15 0.02 93.64 22:54:51 Average: 6 5.22 0.00 1.02 0.06 0.02 93.70 22:54:51 Average: 7 5.24 0.00 1.17 0.35 0.02 93.21 22:54:51 22:54:51 22:54:51