Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6817069b5a51f00109e4d74960f23ef1aea0426 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-ssh4253590075564794106.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-ssh10316304162528428754.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-ssh1847653208413958436.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-ssh3450284686869911004.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-ssh10351644638753854031.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7839 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 b6817069b5a51f00109e4d74960f23ef1aea0426 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#433)" > 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 b6817069b5a51f00109e4d74960f23ef1aea0426 # timeout=10 > git rev-list --no-walk 88cb92755446ff3d15da758ed0b4d5ad23298886 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T15:36:47.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T15:36:47.635Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T15:36:47.648Z] ========================================================= [2023-09-25T15:36:47.648Z] EdgeX Global Pipelines Version Info [2023-09-25T15:36:47.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:36:48.350Z] ------------------- [2023-09-25T15:36:48.350Z] stable info: [2023-09-25T15:36:48.350Z] ------------------- [2023-09-25T15:36:48.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T15:36:48.350Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T15:36:48.350Z] Message: update stable to v1.0.254 [2023-09-25T15:36:48.921Z] ------------------- [2023-09-25T15:36:48.921Z] experimental info: [2023-09-25T15:36:48.921Z] ------------------- [2023-09-25T15:36:48.921Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T15:36:48.921Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T15:36:48.921Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T15:36:49.119Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-25T15:36:49.135Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-25T15:36:49.149Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T15:36:49.166Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T15:36:49.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T15:36:49.195Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T15:36:49.210Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T15:36:49.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-25T15:36:49.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T15:36:49.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T15:36:49.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T15:36:49.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-25T15:36:49.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T15:36:49.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T15:36:49.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T15:36:49.332Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T15:36:49.348Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T15:36:49.359Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T15:36:49.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T15:36:49.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T15:36:49.395Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-25T15:36:49.409Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-25T15:36:49.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T15:36:49.446Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T15:36:49.462Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T15:36:49.476Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T15:36:49.491Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T15:36:49.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-25T15:36:49.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-25T15:36:49.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-25T15:36:49.544Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] echo [2023-09-25T15:36:49.556Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b681706 [Pipeline] echo [2023-09-25T15:36:49.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T15:36:49.621Z] provisioning config files... [2023-09-25T15:36:49.647Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1275038028093472707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:36:49.956Z] ---> docker-login.sh [2023-09-25T15:36:49.956Z] nexus3.edgexfoundry.org:10001 [2023-09-25T15:36:50.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:36:50.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:36:50.217Z] Configure a credential helper to remove this warning. See [2023-09-25T15:36:50.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:36:50.217Z] [2023-09-25T15:36:50.217Z] Login Succeeded [2023-09-25T15:36:50.217Z] nexus3.edgexfoundry.org:10002 [2023-09-25T15:36:50.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:36:50.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:36:50.217Z] Configure a credential helper to remove this warning. See [2023-09-25T15:36:50.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:36:50.217Z] [2023-09-25T15:36:50.217Z] Login Succeeded [2023-09-25T15:36:50.217Z] nexus3.edgexfoundry.org:10003 [2023-09-25T15:36:50.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:36:50.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:36:50.478Z] Configure a credential helper to remove this warning. See [2023-09-25T15:36:50.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:36:50.478Z] [2023-09-25T15:36:50.478Z] Login Succeeded [2023-09-25T15:36:50.478Z] nexus3.edgexfoundry.org:10004 [2023-09-25T15:36:50.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:36:50.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:36:50.478Z] Configure a credential helper to remove this warning. See [2023-09-25T15:36:50.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:36:50.478Z] [2023-09-25T15:36:50.478Z] Login Succeeded [2023-09-25T15:36:50.478Z] docker.io [2023-09-25T15:36:50.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:36:51.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:36:51.000Z] Configure a credential helper to remove this warning. See [2023-09-25T15:36:51.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:36:51.000Z] [2023-09-25T15:36:51.000Z] Login Succeeded [2023-09-25T15:36:51.000Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T15:36:51.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T15:36:51.389Z] + git rev-list -1 --merges b6817069b5a51f00109e4d74960f23ef1aea0426~1..b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] echo [2023-09-25T15:36:51.444Z] -----------> git rev-list -1 --merges b6817069b5a51f00109e4d74960f23ef1aea0426~1..b6817069b5a51f00109e4d74960f23ef1aea0426 b6817069b5a51f00109e4d74960f23ef1aea0426 [false] [Pipeline] sh [2023-09-25T15:36:51.738Z] + git log --format=format:%s -1 b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] echo [2023-09-25T15:36:51.762Z] ========================================================= [2023-09-25T15:36:51.762Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T15:36:51.762Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T15:36:52.117Z] + git log --format=format:%s -1 b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] echo [2023-09-25T15:36:52.127Z] [semverPrep] GIT_COMMIT: b6817069b5a51f00109e4d74960f23ef1aea0426, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#433) [Pipeline] echo [2023-09-25T15:36:52.137Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T15:36:52.578Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T15:36:52.578Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T15:36:52.578Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T15:36:52.578Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T15:36:52.578Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T15:36:52.578Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T15:36:52.578Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:36:53.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T15:36:53.010Z] [2023-09-25T15:36:53.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:36:53.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T15:36:53.315Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T15:36:53.315Z] b85a868b505f: Pulling fs layer [2023-09-25T15:36:53.315Z] e2be974225ed: Pulling fs layer [2023-09-25T15:36:53.315Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T15:36:53.315Z] 988bab9f4d93: Pulling fs layer [2023-09-25T15:36:53.315Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T15:36:53.315Z] eaf3925da568: Pulling fs layer [2023-09-25T15:36:53.315Z] 1469e6f7b9e6: Waiting [2023-09-25T15:36:53.315Z] bab4dde63d76: Pulling fs layer [2023-09-25T15:36:53.315Z] bde34c3a00c8: Pulling fs layer [2023-09-25T15:36:53.315Z] b352a97aabf1: Pulling fs layer [2023-09-25T15:36:53.315Z] bab4dde63d76: Waiting [2023-09-25T15:36:53.315Z] bde34c3a00c8: Waiting [2023-09-25T15:36:53.315Z] 4872d77fe225: Pulling fs layer [2023-09-25T15:36:53.315Z] 5851b861e8e6: Pulling fs layer [2023-09-25T15:36:53.315Z] 4872d77fe225: Waiting [2023-09-25T15:36:53.315Z] b352a97aabf1: Waiting [2023-09-25T15:36:53.315Z] 5851b861e8e6: Waiting [2023-09-25T15:36:53.315Z] e2be974225ed: Verifying Checksum [2023-09-25T15:36:53.315Z] e2be974225ed: Download complete [2023-09-25T15:36:53.315Z] 988bab9f4d93: Download complete [2023-09-25T15:36:53.576Z] 1469e6f7b9e6: Verifying Checksum [2023-09-25T15:36:53.576Z] 1469e6f7b9e6: Download complete [2023-09-25T15:36:53.576Z] eaf3925da568: Verifying Checksum [2023-09-25T15:36:53.576Z] eaf3925da568: Download complete [2023-09-25T15:36:53.576Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T15:36:53.576Z] 339a4e72a1f5: Download complete [2023-09-25T15:36:53.576Z] bde34c3a00c8: Download complete [2023-09-25T15:36:53.576Z] b352a97aabf1: Download complete [2023-09-25T15:36:53.576Z] 4872d77fe225: Download complete [2023-09-25T15:36:53.576Z] 5851b861e8e6: Verifying Checksum [2023-09-25T15:36:53.576Z] 5851b861e8e6: Download complete [2023-09-25T15:36:53.850Z] b85a868b505f: Verifying Checksum [2023-09-25T15:36:53.850Z] b85a868b505f: Download complete [2023-09-25T15:36:54.109Z] bab4dde63d76: Verifying Checksum [2023-09-25T15:36:54.109Z] bab4dde63d76: Download complete [2023-09-25T15:36:55.050Z] b85a868b505f: Pull complete [2023-09-25T15:36:55.050Z] e2be974225ed: Pull complete [2023-09-25T15:36:55.617Z] 339a4e72a1f5: Pull complete [2023-09-25T15:36:55.876Z] 988bab9f4d93: Pull complete [2023-09-25T15:36:56.136Z] 1469e6f7b9e6: Pull complete [2023-09-25T15:36:56.136Z] eaf3925da568: Pull complete [2023-09-25T15:36:58.059Z] bab4dde63d76: Pull complete [2023-09-25T15:36:58.059Z] bde34c3a00c8: Pull complete [2023-09-25T15:36:58.059Z] b352a97aabf1: Pull complete [2023-09-25T15:36:58.059Z] 4872d77fe225: Pull complete [2023-09-25T15:36:58.059Z] 5851b861e8e6: Pull complete [2023-09-25T15:36:58.059Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T15:36:58.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T15:36:58.059Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:36:58.172Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:36:58.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T15:37:00.451Z] $ docker top 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 -eo pid,comm [2023-09-25T15:37:00.508Z] 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). [2023-09-25T15:37:00.508Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T15:37:00.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T15:37:00.543Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T15:37:00.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T15:37:00.646Z] $ docker exec 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 ssh-agent [2023-09-25T15:37:00.762Z] SSH_AUTH_SOCK=/tmp/ssh-b0hhJMtHq5Gk/agent.32 [2023-09-25T15:37:00.762Z] SSH_AGENT_PID=38 [2023-09-25T15:37:00.770Z] Running ssh-add (command line suppressed) [2023-09-25T15:37:00.860Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1675807549678257791.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1675807549678257791.key) [2023-09-25T15:37:00.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T15:37:01.165Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T15:37:01.168Z] $ docker exec --env ******** --env ******** 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 ssh-agent -k [2023-09-25T15:37:01.264Z] unset SSH_AUTH_SOCK; [2023-09-25T15:37:01.264Z] unset SSH_AGENT_PID; [2023-09-25T15:37:01.264Z] echo Agent pid 38 killed; [2023-09-25T15:37:01.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T15:37:01.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T15:37:01.305Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T15:37:01.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T15:37:01.411Z] $ docker exec 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 ssh-agent [2023-09-25T15:37:01.611Z] SSH_AUTH_SOCK=/tmp/ssh-KuHhi0uU553Q/agent.70 [2023-09-25T15:37:01.611Z] SSH_AGENT_PID=76 [2023-09-25T15:37:01.616Z] Running ssh-add (command line suppressed) [2023-09-25T15:37:01.711Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13147787397393945265.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13147787397393945265.key) [2023-09-25T15:37:01.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T15:37:02.018Z] + git semver init [2023-09-25T15:37:02.314Z] 2023-09-25 15:37:02,216 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T15:37:02.314Z] 2023-09-25 15:37:02,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-25T15:37:02.314Z] 2023-09-25 15:37:02,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-25T15:37:02.314Z] 2023-09-25 15:37:02,218 [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) [2023-09-25T15:37:03.697Z] 2023-09-25 15:37:03,561 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-25T15:37:03.697Z] 2023-09-25 15:37:03,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-25T15:37:03.697Z] 2023-09-25 15:37:03,562 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:37:03.697Z] 2023-09-25 15:37:03,562 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:37:03.697Z] 3.1.0-dev.18 [Pipeline] } [2023-09-25T15:37:03.701Z] $ docker exec --env ******** --env ******** 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 ssh-agent -k [2023-09-25T15:37:03.806Z] unset SSH_AUTH_SOCK; [2023-09-25T15:37:03.806Z] unset SSH_AGENT_PID; [2023-09-25T15:37:03.807Z] echo Agent pid 76 killed; [2023-09-25T15:37:03.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T15:37:04.137Z] + git semver [Pipeline] } [2023-09-25T15:37:04.421Z] $ docker stop --time=1 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 [2023-09-25T15:37:06.115Z] $ docker rm -f --volumes 7d020f3d6bccab2a791b1aa2e9e0fccd083c952e4e95505633aa636543aae3d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T15:37:06.461Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T15:37:06.670Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T15:37:06.673Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [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 [2023-09-25T15:37:06.794Z] provisioning config files... [2023-09-25T15:37:06.803Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17659154280929282299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:37:07.101Z] ---> docker-login.sh [2023-09-25T15:37:07.101Z] nexus3.edgexfoundry.org:10001 [2023-09-25T15:37:07.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:37:07.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:37:07.101Z] Configure a credential helper to remove this warning. See [2023-09-25T15:37:07.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:37:07.101Z] [2023-09-25T15:37:07.101Z] Login Succeeded [2023-09-25T15:37:07.101Z] nexus3.edgexfoundry.org:10002 [2023-09-25T15:37:07.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:37:07.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:37:07.102Z] Configure a credential helper to remove this warning. See [2023-09-25T15:37:07.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:37:07.102Z] [2023-09-25T15:37:07.102Z] Login Succeeded [2023-09-25T15:37:07.102Z] nexus3.edgexfoundry.org:10003 [2023-09-25T15:37:07.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:37:07.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:37:07.360Z] Configure a credential helper to remove this warning. See [2023-09-25T15:37:07.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:37:07.360Z] [2023-09-25T15:37:07.360Z] Login Succeeded [2023-09-25T15:37:07.360Z] nexus3.edgexfoundry.org:10004 [2023-09-25T15:37:07.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:37:07.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:37:07.361Z] Configure a credential helper to remove this warning. See [2023-09-25T15:37:07.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:37:07.361Z] [2023-09-25T15:37:07.361Z] Login Succeeded [2023-09-25T15:37:07.361Z] docker.io [2023-09-25T15:37:07.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:37:07.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:37:07.623Z] Configure a credential helper to remove this warning. See [2023-09-25T15:37:07.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:37:07.623Z] [2023-09-25T15:37:07.623Z] Login Succeeded [2023-09-25T15:37:07.623Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T15:37:07.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T15:37:07.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T15:37:07.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T15:37:07.714Z] ========================================================= [2023-09-25T15:37:07.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T15:37:07.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:37:08.021Z] + 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 . [2023-09-25T15:37:08.021Z] Sending build context to Docker daemon 23.63MB [2023-09-25T15:37:08.021Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T15:37:08.021Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T15:37:08.293Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T15:37:08.293Z] 7264a8db6415: Pulling fs layer [2023-09-25T15:37:08.293Z] c4d48a809fc2: Pulling fs layer [2023-09-25T15:37:08.293Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T15:37:08.293Z] ad3a456e5733: Pulling fs layer [2023-09-25T15:37:08.293Z] 33e27b845d1e: Pulling fs layer [2023-09-25T15:37:08.293Z] c68163c4e522: Pulling fs layer [2023-09-25T15:37:08.293Z] 50da416c3ac9: Pulling fs layer [2023-09-25T15:37:08.293Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T15:37:08.293Z] ad3a456e5733: Waiting [2023-09-25T15:37:08.293Z] c68163c4e522: Waiting [2023-09-25T15:37:08.293Z] 23d2d4c4bb30: Waiting [2023-09-25T15:37:08.293Z] 33e27b845d1e: Waiting [2023-09-25T15:37:08.293Z] c4d48a809fc2: Verifying Checksum [2023-09-25T15:37:08.293Z] c4d48a809fc2: Download complete [2023-09-25T15:37:08.293Z] ad3a456e5733: Verifying Checksum [2023-09-25T15:37:08.293Z] ad3a456e5733: Download complete [2023-09-25T15:37:08.293Z] 33e27b845d1e: Verifying Checksum [2023-09-25T15:37:08.293Z] 33e27b845d1e: Download complete [2023-09-25T15:37:08.293Z] 7264a8db6415: Verifying Checksum [2023-09-25T15:37:08.293Z] 7264a8db6415: Download complete [2023-09-25T15:37:08.293Z] c68163c4e522: Verifying Checksum [2023-09-25T15:37:08.293Z] c68163c4e522: Download complete [2023-09-25T15:37:08.293Z] 7264a8db6415: Pull complete [2023-09-25T15:37:08.563Z] c4d48a809fc2: Pull complete [2023-09-25T15:37:08.823Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T15:37:08.823Z] 23d2d4c4bb30: Download complete [2023-09-25T15:37:08.823Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T15:37:08.823Z] 4f1c88b9dad5: Download complete [2023-09-25T15:37:09.390Z] 50da416c3ac9: Verifying Checksum [2023-09-25T15:37:09.390Z] 50da416c3ac9: Download complete [2023-09-25T15:37:12.677Z] 4f1c88b9dad5: Pull complete [2023-09-25T15:37:12.677Z] ad3a456e5733: Pull complete [2023-09-25T15:37:12.677Z] 33e27b845d1e: Pull complete [2023-09-25T15:37:12.677Z] c68163c4e522: Pull complete [2023-09-25T15:37:14.573Z] 50da416c3ac9: Pull complete [2023-09-25T15:37:15.142Z] 23d2d4c4bb30: Pull complete [2023-09-25T15:37:15.142Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T15:37:15.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T15:37:15.142Z] ---> 0786185ac409 [2023-09-25T15:37:15.142Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T15:37:18.434Z] ---> Running in 38f312ec9399 [2023-09-25T15:37:18.434Z] Removing intermediate container 38f312ec9399 [2023-09-25T15:37:18.434Z] ---> 76d96846375f [2023-09-25T15:37:18.434Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T15:37:18.434Z] ---> Running in bb6983bbaed7 [2023-09-25T15:37:18.694Z] Removing intermediate container bb6983bbaed7 [2023-09-25T15:37:18.694Z] ---> fb7dc2bb180b [2023-09-25T15:37:18.694Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T15:37:18.694Z] ---> Running in 6a4c0dc5ad33 [2023-09-25T15:37:18.694Z] Removing intermediate container 6a4c0dc5ad33 [2023-09-25T15:37:18.694Z] ---> c65cfee62387 [2023-09-25T15:37:18.694Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-25T15:37:18.694Z] ---> Running in 3210f7c99aba [2023-09-25T15:37:18.694Z] Removing intermediate container 3210f7c99aba [2023-09-25T15:37:18.694Z] ---> 0e30daab43f7 [2023-09-25T15:37:18.694Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T15:37:18.953Z] ---> Running in 9991c02fe7cf [2023-09-25T15:37:19.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T15:37:19.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T15:37:19.472Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T15:37:19.472Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T15:37:19.472Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T15:37:19.472Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T15:37:19.472Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T15:37:19.472Z] OK: 268 MiB in 56 packages [2023-09-25T15:37:20.038Z] Removing intermediate container 9991c02fe7cf [2023-09-25T15:37:20.038Z] ---> fc4c1600c9ac [2023-09-25T15:37:20.038Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-25T15:37:20.038Z] ---> 684d22873bb0 [2023-09-25T15:37:20.038Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T15:37:20.038Z] ---> Running in d56444c85f6a [2023-09-25T15:37:21.756Z] Still waiting to schedule task [2023-09-25T15:37:21.756Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7838’ is offline [2023-09-25T15:37:52.132Z] Removing intermediate container d56444c85f6a [2023-09-25T15:37:52.132Z] ---> f1fa92d48f0c [2023-09-25T15:37:52.132Z] Step 10/12 : COPY . . [2023-09-25T15:37:52.132Z] ---> 2c19d9b50435 [2023-09-25T15:37:52.132Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T15:37:52.132Z] ---> Running in 8642a16d4f25 [2023-09-25T15:37:52.132Z] Removing intermediate container 8642a16d4f25 [2023-09-25T15:37:52.132Z] ---> 0f244d79e6b4 [2023-09-25T15:37:52.132Z] Step 12/12 : RUN $MAKE [2023-09-25T15:37:52.132Z] ---> Running in 6d229cc7ef3a [2023-09-25T15:37:52.132Z] noop [2023-09-25T15:37:52.132Z] Removing intermediate container 6d229cc7ef3a [2023-09-25T15:37:52.132Z] ---> 29f14506ef48 [2023-09-25T15:37:52.132Z] Successfully built 29f14506ef48 [2023-09-25T15:37:52.132Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:37:52.519Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T15:37:52.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:37:52.590Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:37:52.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T15:37:52.957Z] $ docker top c8cacbd993e627bf7b06085b76cc1fbe1e048c5959694454ecfaddfbb905c21e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T15:37:53.301Z] + go version [2023-09-25T15:37:53.301Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T15:37:53.311Z] $ docker stop --time=1 c8cacbd993e627bf7b06085b76cc1fbe1e048c5959694454ecfaddfbb905c21e [2023-09-25T15:37:54.561Z] $ docker rm -f --volumes c8cacbd993e627bf7b06085b76cc1fbe1e048c5959694454ecfaddfbb905c21e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:37:54.959Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T15:37:54.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:37:55.026Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:37:55.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T15:37:55.386Z] $ docker top a1e3d76dde02fb8c654c50ea78e66c5cea0cc63ca4dce892118d4e5e177fd86e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T15:37:55.735Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-25T15:37:56.029Z] + make test [2023-09-25T15:37:56.029Z] go test ./... -coverprofile=coverage.out [2023-09-25T15:37:57.403Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-25T15:38:07.366Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-25T15:38:07.366Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements [2023-09-25T15:38:15.469Z] go vet ./... [2023-09-25T15:38:17.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T15:38:17.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T15:38:17.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T15:38:18.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T15:38:18.021Z] $ docker stop --time=1 a1e3d76dde02fb8c654c50ea78e66c5cea0cc63ca4dce892118d4e5e177fd86e [2023-09-25T15:38:21.357Z] $ docker rm -f --volumes a1e3d76dde02fb8c654c50ea78e66c5cea0cc63ca4dce892118d4e5e177fd86e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T15:38:21.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T15:38:21.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T15:38:22.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T15:38:22.805Z] + ls -al . [2023-09-25T15:38:22.805Z] total 204 [2023-09-25T15:38:22.805Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 15:37 . [2023-09-25T15:38:22.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 15:36 .. [2023-09-25T15:38:22.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 15:38 .git [2023-09-25T15:38:22.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 15:36 .github [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 25 15:36 .gitignore [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 15:36 .golangci.yml [2023-09-25T15:38:22.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 15:37 .semver [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 25 15:36 Attribution.txt [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 25 15:36 CHANGELOG.md [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 25 15:36 Dockerfile [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 15:36 GOVERNANCE.md [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 25 15:36 Jenkinsfile [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 15:36 LICENSE [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 25 15:36 Makefile [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 25 15:36 OWNERS.md [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 25 15:36 README.md [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 15:37 VERSION [2023-09-25T15:38:22.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 15:36 bin [2023-09-25T15:38:22.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 15:36 cmd [2023-09-25T15:38:22.805Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 25 15:38 coverage.out [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 25 15:36 go.mod [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 25 15:36 go.sum [2023-09-25T15:38:22.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 15:36 internal [2023-09-25T15:38:22.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 15:36 snap [2023-09-25T15:38:22.805Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 25 15:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:23.113Z] + 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=b6817069b5a51f00109e4d74960f23ef1aea0426 --label arch=amd64 --label version=3.1.0-dev.18 . [2023-09-25T15:38:23.113Z] Sending build context to Docker daemon 23.67MB [2023-09-25T15:38:23.113Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T15:38:23.113Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T15:38:23.113Z] ---> 29f14506ef48 [2023-09-25T15:38:23.113Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T15:38:23.769Z] ---> Running in 73aeb5280e02 [2023-09-25T15:38:23.769Z] Removing intermediate container 73aeb5280e02 [2023-09-25T15:38:23.769Z] ---> 3078286dd5e7 [2023-09-25T15:38:23.769Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T15:38:23.769Z] ---> Running in 6c73a9198a69 [2023-09-25T15:38:24.043Z] Removing intermediate container 6c73a9198a69 [2023-09-25T15:38:24.043Z] ---> ab1c64d17524 [2023-09-25T15:38:24.043Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T15:38:24.043Z] ---> Running in 288a07324dd4 [2023-09-25T15:38:24.043Z] Removing intermediate container 288a07324dd4 [2023-09-25T15:38:24.043Z] ---> 9aa117f49f47 [2023-09-25T15:38:24.043Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-25T15:38:24.043Z] ---> Running in 7fb30d1a42d8 [2023-09-25T15:38:24.043Z] Removing intermediate container 7fb30d1a42d8 [2023-09-25T15:38:24.043Z] ---> b87b0a44511d [2023-09-25T15:38:24.043Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T15:38:24.043Z] ---> Running in 8b8c8dbadc84 [2023-09-25T15:38:24.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T15:38:24.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T15:38:24.827Z] OK: 268 MiB in 56 packages [2023-09-25T15:38:25.086Z] Removing intermediate container 8b8c8dbadc84 [2023-09-25T15:38:25.086Z] ---> ed2b6890ff8c [2023-09-25T15:38:25.086Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-25T15:38:25.086Z] ---> 5a5d7ec15f87 [2023-09-25T15:38:25.086Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T15:38:25.344Z] ---> Running in e96904be8582 [2023-09-25T15:38:25.913Z] Removing intermediate container e96904be8582 [2023-09-25T15:38:25.913Z] ---> 8b221c2d898c [2023-09-25T15:38:25.913Z] Step 10/25 : COPY . . [2023-09-25T15:38:26.853Z] ---> 81e98215c775 [2023-09-25T15:38:26.853Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T15:38:26.853Z] ---> Running in cbc9bf5cac31 [2023-09-25T15:38:26.853Z] Removing intermediate container cbc9bf5cac31 [2023-09-25T15:38:26.853Z] ---> ba3fcf20c0af [2023-09-25T15:38:26.853Z] Step 12/25 : RUN $MAKE [2023-09-25T15:38:26.853Z] ---> Running in e56efec9ecf0 [2023-09-25T15:38:27.111Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-25T15:38:49.142Z] Removing intermediate container e56efec9ecf0 [2023-09-25T15:38:49.142Z] ---> a2c0535673d0 [2023-09-25T15:38:49.142Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T15:38:49.142Z] 3.18: Pulling from library/alpine [2023-09-25T15:38:49.142Z] 7264a8db6415: Already exists [2023-09-25T15:38:49.142Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T15:38:49.142Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T15:38:49.142Z] ---> 7e01a0d0a1dc [2023-09-25T15:38:49.142Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-25T15:38:49.142Z] ---> Running in fc51374ff768 [2023-09-25T15:38:49.142Z] Removing intermediate container fc51374ff768 [2023-09-25T15:38:49.142Z] ---> 8d4f28468f9e [2023-09-25T15:38:49.142Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-25T15:38:49.142Z] ---> Running in 46823ddd709b [2023-09-25T15:38:49.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T15:38:49.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T15:38:49.142Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T15:38:49.142Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T15:38:49.142Z] OK: 7 MiB in 16 packages [2023-09-25T15:38:49.142Z] Removing intermediate container 46823ddd709b [2023-09-25T15:38:49.142Z] ---> d06671fc71ee [2023-09-25T15:38:49.142Z] Step 16/25 : WORKDIR / [2023-09-25T15:38:49.142Z] ---> Running in 606c6fa673bf [2023-09-25T15:38:49.142Z] Removing intermediate container 606c6fa673bf [2023-09-25T15:38:49.142Z] ---> a4b59c85af3a [2023-09-25T15:38:49.142Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-25T15:38:49.403Z] ---> f17acc4f6b57 [2023-09-25T15:38:49.403Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-25T15:38:49.403Z] ---> 816e8e237c06 [2023-09-25T15:38:49.403Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-25T15:38:50.337Z] ---> ffd2025f55f7 [2023-09-25T15:38:50.337Z] Step 20/25 : EXPOSE 59900 [2023-09-25T15:38:50.337Z] ---> Running in 13ae23f7f885 [2023-09-25T15:38:50.596Z] Removing intermediate container 13ae23f7f885 [2023-09-25T15:38:50.596Z] ---> 7e7d04dfda73 [2023-09-25T15:38:50.596Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-25T15:38:50.596Z] ---> Running in f1947b416fbe [2023-09-25T15:38:50.596Z] Removing intermediate container f1947b416fbe [2023-09-25T15:38:50.596Z] ---> 9b1e7a87d144 [2023-09-25T15:38:50.596Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-25T15:38:50.596Z] ---> Running in 7a59aad0369d [2023-09-25T15:38:50.596Z] Removing intermediate container 7a59aad0369d [2023-09-25T15:38:50.596Z] ---> 350d5088570f [2023-09-25T15:38:50.596Z] Step 23/25 : LABEL arch=amd64 [2023-09-25T15:38:50.596Z] ---> Running in 5c4468fdfcd0 [2023-09-25T15:38:50.856Z] Removing intermediate container 5c4468fdfcd0 [2023-09-25T15:38:50.856Z] ---> 2d95d5b69ec5 [2023-09-25T15:38:50.856Z] Step 24/25 : LABEL git_sha=b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:38:50.856Z] ---> Running in f051f7e99027 [2023-09-25T15:38:50.856Z] Removing intermediate container f051f7e99027 [2023-09-25T15:38:50.856Z] ---> c9a55b61f07f [2023-09-25T15:38:50.856Z] Step 25/25 : LABEL version=3.1.0-dev.18 [2023-09-25T15:38:50.856Z] ---> Running in 30895d68ca0b [2023-09-25T15:38:50.856Z] Removing intermediate container 30895d68ca0b [2023-09-25T15:38:50.856Z] ---> 3face4b16777 [2023-09-25T15:38:50.856Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T15:38:50.856Z] Successfully built 3face4b16777 [2023-09-25T15:38:50.856Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T15:38:51.217Z] provisioning config files... [2023-09-25T15:38:51.223Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1713912980518075201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:38:51.632Z] ---> docker-login.sh [2023-09-25T15:38:51.632Z] nexus3.edgexfoundry.org:10001 [2023-09-25T15:38:51.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:38:51.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:38:51.632Z] Configure a credential helper to remove this warning. See [2023-09-25T15:38:51.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:38:51.632Z] [2023-09-25T15:38:51.632Z] Login Succeeded [2023-09-25T15:38:51.632Z] nexus3.edgexfoundry.org:10002 [2023-09-25T15:38:51.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:38:51.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:38:51.632Z] Configure a credential helper to remove this warning. See [2023-09-25T15:38:51.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:38:51.632Z] [2023-09-25T15:38:51.632Z] Login Succeeded [2023-09-25T15:38:51.632Z] nexus3.edgexfoundry.org:10003 [2023-09-25T15:38:51.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:38:51.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:38:51.897Z] Configure a credential helper to remove this warning. See [2023-09-25T15:38:51.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:38:51.897Z] [2023-09-25T15:38:51.897Z] Login Succeeded [2023-09-25T15:38:51.897Z] nexus3.edgexfoundry.org:10004 [2023-09-25T15:38:51.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:38:51.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:38:51.897Z] Configure a credential helper to remove this warning. See [2023-09-25T15:38:51.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:38:51.897Z] [2023-09-25T15:38:51.897Z] Login Succeeded [2023-09-25T15:38:51.897Z] docker.io [2023-09-25T15:38:51.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:38:52.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:38:52.175Z] Configure a credential helper to remove this warning. See [2023-09-25T15:38:52.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:38:52.175Z] [2023-09-25T15:38:52.175Z] Login Succeeded [2023-09-25T15:38:52.175Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T15:38:52.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T15:38:52.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T15:38:52.229Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-25T15:38:52.229Z] b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:38:52.229Z] latest [2023-09-25T15:38:52.229Z] 3.1.0-dev.18 [2023-09-25T15:38:52.229Z] b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [2023-09-25T15:38:52.229Z] main [2023-09-25T15:38:52.229Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:52.540Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:52.860Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:38:52.860Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-25T15:38:52.860Z] 9d5d3fe6b378: Preparing [2023-09-25T15:38:52.860Z] 3caa7010fe0f: Preparing [2023-09-25T15:38:52.860Z] d1bfe1115b2d: Preparing [2023-09-25T15:38:52.860Z] 946ddb3079e9: Preparing [2023-09-25T15:38:52.860Z] 4693057ce236: Preparing [2023-09-25T15:38:52.860Z] 4693057ce236: Layer already exists [2023-09-25T15:38:52.860Z] 946ddb3079e9: Pushed [2023-09-25T15:38:52.860Z] 3caa7010fe0f: Pushed [2023-09-25T15:38:52.860Z] d1bfe1115b2d: Pushed [2023-09-25T15:38:56.149Z] 9d5d3fe6b378: Pushed [2023-09-25T15:38:56.149Z] b6817069b5a51f00109e4d74960f23ef1aea0426: digest: sha256:21eb9c14ec3c8cca98ba43db32ddfdea36ae4818bb47997fd6b031515c45e7a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:56.470Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:56.781Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-25T15:38:56.781Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-25T15:38:56.781Z] 9d5d3fe6b378: Preparing [2023-09-25T15:38:56.781Z] 3caa7010fe0f: Preparing [2023-09-25T15:38:56.781Z] d1bfe1115b2d: Preparing [2023-09-25T15:38:56.781Z] 946ddb3079e9: Preparing [2023-09-25T15:38:56.781Z] 4693057ce236: Preparing [2023-09-25T15:38:56.781Z] 3caa7010fe0f: Layer already exists [2023-09-25T15:38:56.781Z] d1bfe1115b2d: Layer already exists [2023-09-25T15:38:56.781Z] 4693057ce236: Layer already exists [2023-09-25T15:38:56.781Z] 946ddb3079e9: Layer already exists [2023-09-25T15:38:56.781Z] 9d5d3fe6b378: Layer already exists [2023-09-25T15:38:56.781Z] latest: digest: sha256:21eb9c14ec3c8cca98ba43db32ddfdea36ae4818bb47997fd6b031515c45e7a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:57.097Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:57.410Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.18 [2023-09-25T15:38:57.411Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-25T15:38:57.411Z] 9d5d3fe6b378: Preparing [2023-09-25T15:38:57.411Z] 3caa7010fe0f: Preparing [2023-09-25T15:38:57.411Z] d1bfe1115b2d: Preparing [2023-09-25T15:38:57.411Z] 946ddb3079e9: Preparing [2023-09-25T15:38:57.411Z] 4693057ce236: Preparing [2023-09-25T15:38:57.411Z] 946ddb3079e9: Layer already exists [2023-09-25T15:38:57.411Z] d1bfe1115b2d: Layer already exists [2023-09-25T15:38:57.411Z] 3caa7010fe0f: Layer already exists [2023-09-25T15:38:57.411Z] 9d5d3fe6b378: Layer already exists [2023-09-25T15:38:57.411Z] 4693057ce236: Layer already exists [2023-09-25T15:38:57.411Z] 3.1.0-dev.18: digest: sha256:21eb9c14ec3c8cca98ba43db32ddfdea36ae4818bb47997fd6b031515c45e7a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:57.728Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:58.043Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [2023-09-25T15:38:58.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-25T15:38:58.043Z] 9d5d3fe6b378: Preparing [2023-09-25T15:38:58.043Z] 3caa7010fe0f: Preparing [2023-09-25T15:38:58.043Z] d1bfe1115b2d: Preparing [2023-09-25T15:38:58.043Z] 946ddb3079e9: Preparing [2023-09-25T15:38:58.043Z] 4693057ce236: Preparing [2023-09-25T15:38:58.043Z] 946ddb3079e9: Layer already exists [2023-09-25T15:38:58.043Z] 4693057ce236: Layer already exists [2023-09-25T15:38:58.043Z] d1bfe1115b2d: Layer already exists [2023-09-25T15:38:58.043Z] 9d5d3fe6b378: Layer already exists [2023-09-25T15:38:58.043Z] 3caa7010fe0f: Layer already exists [2023-09-25T15:38:58.043Z] b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18: digest: sha256:21eb9c14ec3c8cca98ba43db32ddfdea36ae4818bb47997fd6b031515c45e7a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:58.357Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:58.667Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-25T15:38:58.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-25T15:38:58.667Z] 9d5d3fe6b378: Preparing [2023-09-25T15:38:58.667Z] 3caa7010fe0f: Preparing [2023-09-25T15:38:58.667Z] d1bfe1115b2d: Preparing [2023-09-25T15:38:58.667Z] 946ddb3079e9: Preparing [2023-09-25T15:38:58.667Z] 4693057ce236: Preparing [2023-09-25T15:38:58.667Z] d1bfe1115b2d: Layer already exists [2023-09-25T15:38:58.667Z] 3caa7010fe0f: Layer already exists [2023-09-25T15:38:58.667Z] 4693057ce236: Layer already exists [2023-09-25T15:38:58.667Z] 9d5d3fe6b378: Layer already exists [2023-09-25T15:38:58.667Z] 946ddb3079e9: Layer already exists [2023-09-25T15:38:58.667Z] main: digest: sha256:21eb9c14ec3c8cca98ba43db32ddfdea36ae4818bb47997fd6b031515c45e7a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T15:38:58.721Z] ===================================================== [Pipeline] echo [2023-09-25T15:38:58.731Z] taggedImages: [2023-09-25T15:38:58.731Z] - nexus3.edgexfoundry.org:10004/device-virtual:b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:38:58.731Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-25T15:38:58.731Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.18 [2023-09-25T15:38:58.731Z] - nexus3.edgexfoundry.org:10004/device-virtual:b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [2023-09-25T15:38:58.731Z] - 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 [2023-09-25T15:38:59.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T15:38:59.121Z] [2023-09-25T15:38:59.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:38:59.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T15:38:59.420Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T15:38:59.420Z] 5eb5b503b376: Pulling fs layer [2023-09-25T15:38:59.420Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T15:38:59.420Z] ec43610c2a17: Pulling fs layer [2023-09-25T15:38:59.420Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T15:38:59.420Z] 33b1e0a273af: Pulling fs layer [2023-09-25T15:38:59.420Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T15:38:59.420Z] 2f39f015ded8: Pulling fs layer [2023-09-25T15:38:59.420Z] 3a2ae6a8a46f: Waiting [2023-09-25T15:38:59.420Z] 33b1e0a273af: Waiting [2023-09-25T15:38:59.420Z] 5d3b04190fa2: Waiting [2023-09-25T15:38:59.420Z] 2f39f015ded8: Waiting [2023-09-25T15:38:59.420Z] 5c69ac0246d0: Verifying Checksum [2023-09-25T15:38:59.420Z] 5c69ac0246d0: Download complete [2023-09-25T15:38:59.420Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-25T15:38:59.420Z] 3a2ae6a8a46f: Download complete [2023-09-25T15:38:59.420Z] 33b1e0a273af: Verifying Checksum [2023-09-25T15:38:59.420Z] 33b1e0a273af: Download complete [2023-09-25T15:38:59.420Z] 5d3b04190fa2: Verifying Checksum [2023-09-25T15:38:59.420Z] 5d3b04190fa2: Download complete [2023-09-25T15:38:59.530Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7840 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-25T15:38:59.545Z] Running in /w/workspace/device-virtual-go/144 [Pipeline] { [Pipeline] checkout [2023-09-25T15:38:59.583Z] The recommended git tool is: git [2023-09-25T15:38:59.678Z] ec43610c2a17: Verifying Checksum [2023-09-25T15:38:59.678Z] ec43610c2a17: Download complete [2023-09-25T15:38:59.678Z] 5eb5b503b376: Verifying Checksum [2023-09-25T15:38:59.678Z] 5eb5b503b376: Download complete [2023-09-25T15:39:00.244Z] 2f39f015ded8: Download complete [2023-09-25T15:39:00.810Z] 5eb5b503b376: Pull complete [2023-09-25T15:39:01.070Z] 5c69ac0246d0: Pull complete [2023-09-25T15:39:01.328Z] ec43610c2a17: Pull complete [2023-09-25T15:39:01.328Z] 3a2ae6a8a46f: Pull complete [2023-09-25T15:39:01.586Z] 33b1e0a273af: Pull complete [2023-09-25T15:39:01.845Z] 5d3b04190fa2: Pull complete [2023-09-25T15:39:04.655Z] using credential edgex-jenkins-ssh [2023-09-25T15:39:04.675Z] Cloning the remote Git repository [2023-09-25T15:39:04.708Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-25T15:39:04.802Z] > git init /w/workspace/device-virtual-go/144 # timeout=10 [2023-09-25T15:39:04.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-25T15:39:04.945Z] > git --version # timeout=10 [2023-09-25T15:39:04.963Z] > git --version # 'git version 2.25.1' [2023-09-25T15:39:04.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T15:39:05.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T15:39:06.039Z] 2f39f015ded8: Pull complete [2023-09-25T15:39:06.039Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T15:39:06.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T15:39:06.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:39:06.118Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:39:06.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T15:39:07.952Z] Avoid second fetch [2023-09-25T15:39:07.953Z] Checking out Revision b6817069b5a51f00109e4d74960f23ef1aea0426 (main) [2023-09-25T15:39:07.104Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-25T15:39:07.129Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T15:39:07.961Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T15:39:08.020Z] > git checkout -f b6817069b5a51f00109e4d74960f23ef1aea0426 # timeout=10 [2023-09-25T15:39:08.463Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#433)" [2023-09-25T15:39:08.791Z] [2023-09-25T15:39:08.791Z] GitHub has been notified of this commit’s build result [2023-09-25T15:39:08.791Z] [2023-09-25T15:39:10.171Z] $ docker top f86ac6d4ec06b9c8f11f277b6bd1b0f1d987b10f5fb562a47d7ae9567b0c4990 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T15:39:10.556Z] ---> job-cost.sh [2023-09-25T15:39:10.557Z] lf-activate-venv: SKIPPING [2023-09-25T15:39:10.557Z] INFO: No Stack... [2023-09-25T15:39:10.812Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T15:39:10.812Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T15:39:10.812Z] Dload Upload Total Spent Left Speed [2023-09-25T15:39:10.812Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [2023-09-25T15:39:10.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-09-25T15:39:11.383Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T15:39:11.577Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T15:39:11.674Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-25T15:39:11.674Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T15:39:11.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] [2023-09-25T15:39:11.694Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] did not exist. Created. [2023-09-25T15:39:11.695Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T15:39:11.913Z] + sudo tee /etc/docker/daemon.new [2023-09-25T15:39:11.913Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T15:39:11.913Z] { [2023-09-25T15:39:11.913Z] "registry-mirrors": [ [2023-09-25T15:39:11.913Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T15:39:11.913Z] ], [2023-09-25T15:39:11.913Z] "bip": "10.250.0.254/24", [2023-09-25T15:39:11.913Z] "hosts": [ [2023-09-25T15:39:11.913Z] "tcp://0.0.0.0:5555", [2023-09-25T15:39:11.913Z] "unix:///var/run/docker.sock" [2023-09-25T15:39:11.913Z] ], [2023-09-25T15:39:11.913Z] "mtu": 1458, [2023-09-25T15:39:11.913Z] "selinux-enabled": true, [2023-09-25T15:39:11.913Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T15:39:11.913Z] } [Pipeline] sh [2023-09-25T15:39:12.006Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-25T15:39:12.051Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T15:39:12.060Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T15:39:12.074Z] $ docker stop --time=1 f86ac6d4ec06b9c8f11f277b6bd1b0f1d987b10f5fb562a47d7ae9567b0c4990 [2023-09-25T15:39:12.254Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-09-25T15:39:13.216Z] $ docker rm -f --volumes f86ac6d4ec06b9c8f11f277b6bd1b0f1d987b10f5fb562a47d7ae9567b0c4990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-25T15:39:13.585Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T15:39:31.839Z] provisioning config files... [2023-09-25T15:39:31.864Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/144@tmp/config1875163037794619517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:39:32.215Z] ---> docker-login.sh [2023-09-25T15:39:32.215Z] nexus3.edgexfoundry.org:10001 [2023-09-25T15:39:32.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:39:32.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:39:32.758Z] Configure a credential helper to remove this warning. See [2023-09-25T15:39:32.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:39:32.758Z] [2023-09-25T15:39:32.758Z] Login Succeeded [2023-09-25T15:39:32.758Z] nexus3.edgexfoundry.org:10002 [2023-09-25T15:39:33.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:39:33.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:39:33.026Z] Configure a credential helper to remove this warning. See [2023-09-25T15:39:33.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:39:33.026Z] [2023-09-25T15:39:33.026Z] Login Succeeded [2023-09-25T15:39:33.026Z] nexus3.edgexfoundry.org:10003 [2023-09-25T15:39:33.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:39:33.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:39:33.576Z] Configure a credential helper to remove this warning. See [2023-09-25T15:39:33.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:39:33.576Z] [2023-09-25T15:39:33.576Z] Login Succeeded [2023-09-25T15:39:33.576Z] nexus3.edgexfoundry.org:10004 [2023-09-25T15:39:33.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:39:33.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:39:33.848Z] Configure a credential helper to remove this warning. See [2023-09-25T15:39:33.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:39:33.848Z] [2023-09-25T15:39:33.848Z] Login Succeeded [2023-09-25T15:39:33.848Z] docker.io [2023-09-25T15:39:34.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:39:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:39:34.385Z] Configure a credential helper to remove this warning. See [2023-09-25T15:39:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:39:34.385Z] [2023-09-25T15:39:34.385Z] Login Succeeded [2023-09-25T15:39:34.385Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T15:39:34.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T15:39:34.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T15:39:34.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T15:39:34.662Z] ========================================================= [2023-09-25T15:39:34.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T15:39:34.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:39:34.996Z] + 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 . [2023-09-25T15:39:35.265Z] Sending build context to Docker daemon 11.96MB [2023-09-25T15:39:35.265Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T15:39:35.265Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T15:39:35.551Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T15:39:35.551Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T15:39:35.551Z] 5d54e960e981: Pulling fs layer [2023-09-25T15:39:35.551Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T15:39:35.551Z] f0e02332f6b5: Pulling fs layer [2023-09-25T15:39:35.551Z] cefa15bbcfad: Pulling fs layer [2023-09-25T15:39:35.551Z] 17808c966233: Pulling fs layer [2023-09-25T15:39:35.551Z] f4c1fc716caa: Pulling fs layer [2023-09-25T15:39:35.551Z] f0e02332f6b5: Waiting [2023-09-25T15:39:35.551Z] cefa15bbcfad: Waiting [2023-09-25T15:39:35.551Z] f4c1fc716caa: Waiting [2023-09-25T15:39:35.551Z] 17808c966233: Waiting [2023-09-25T15:39:35.551Z] 5d54e960e981: Verifying Checksum [2023-09-25T15:39:35.551Z] 5d54e960e981: Download complete [2023-09-25T15:39:35.551Z] f0e02332f6b5: Verifying Checksum [2023-09-25T15:39:35.551Z] f0e02332f6b5: Download complete [2023-09-25T15:39:35.551Z] cefa15bbcfad: Verifying Checksum [2023-09-25T15:39:35.551Z] cefa15bbcfad: Download complete [2023-09-25T15:39:35.551Z] 9fda8d8052c6: Download complete [2023-09-25T15:39:36.141Z] f4c1fc716caa: Verifying Checksum [2023-09-25T15:39:36.141Z] f4c1fc716caa: Download complete [2023-09-25T15:39:36.730Z] 9fda8d8052c6: Pull complete [2023-09-25T15:39:37.323Z] 5d54e960e981: Pull complete [2023-09-25T15:39:37.323Z] c4a7e357bf2a: Verifying Checksum [2023-09-25T15:39:37.323Z] c4a7e357bf2a: Download complete [2023-09-25T15:39:38.287Z] 17808c966233: Verifying Checksum [2023-09-25T15:39:38.288Z] 17808c966233: Download complete [2023-09-25T15:39:48.414Z] c4a7e357bf2a: Pull complete [2023-09-25T15:39:48.414Z] f0e02332f6b5: Pull complete [2023-09-25T15:39:48.414Z] cefa15bbcfad: Pull complete [2023-09-25T15:39:55.072Z] 17808c966233: Pull complete [2023-09-25T15:39:56.596Z] f4c1fc716caa: Pull complete [2023-09-25T15:39:56.596Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T15:39:56.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T15:39:56.596Z] ---> ea914061e18c [2023-09-25T15:39:56.596Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T15:39:58.020Z] ---> Running in aaefff500095 [2023-09-25T15:39:58.288Z] Removing intermediate container aaefff500095 [2023-09-25T15:39:58.288Z] ---> 44bfba98301f [2023-09-25T15:39:58.288Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T15:39:58.288Z] ---> Running in e5dc52e996a3 [2023-09-25T15:39:58.556Z] Removing intermediate container e5dc52e996a3 [2023-09-25T15:39:58.556Z] ---> 7041f490d412 [2023-09-25T15:39:58.556Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T15:39:58.556Z] ---> Running in 281742d94a0a [2023-09-25T15:39:58.832Z] Removing intermediate container 281742d94a0a [2023-09-25T15:39:58.832Z] ---> 55c16f484394 [2023-09-25T15:39:58.832Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-25T15:39:59.100Z] ---> Running in 0467f09d6154 [2023-09-25T15:39:59.368Z] Removing intermediate container 0467f09d6154 [2023-09-25T15:39:59.368Z] ---> 587d058b8b3c [2023-09-25T15:39:59.368Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T15:39:59.368Z] ---> Running in ee52d5903c45 [2023-09-25T15:40:00.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T15:40:00.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T15:40:01.876Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T15:40:01.876Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T15:40:01.876Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T15:40:01.876Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T15:40:01.876Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T15:40:01.876Z] OK: 270 MiB in 56 packages [2023-09-25T15:40:02.841Z] Removing intermediate container ee52d5903c45 [2023-09-25T15:40:02.841Z] ---> 884ec13b58b5 [2023-09-25T15:40:02.841Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-25T15:40:03.426Z] ---> e1f3bfedcde9 [2023-09-25T15:40:03.426Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T15:40:03.426Z] ---> Running in 9cf3e4e8ff7a [2023-09-25T15:41:11.310Z] Removing intermediate container 9cf3e4e8ff7a [2023-09-25T15:41:11.310Z] ---> b3955518ad5c [2023-09-25T15:41:11.310Z] Step 10/12 : COPY . . [2023-09-25T15:41:12.274Z] ---> cdf39a2ff103 [2023-09-25T15:41:12.274Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T15:41:12.274Z] ---> Running in f4d8f418b5b6 [2023-09-25T15:41:12.544Z] Removing intermediate container f4d8f418b5b6 [2023-09-25T15:41:12.545Z] ---> 1d6c5f99fd4c [2023-09-25T15:41:12.545Z] Step 12/12 : RUN $MAKE [2023-09-25T15:41:12.812Z] ---> Running in 69f08bcc9211 [2023-09-25T15:41:13.780Z] noop [2023-09-25T15:41:14.366Z] Removing intermediate container 69f08bcc9211 [2023-09-25T15:41:14.366Z] ---> 512e4f1a53cf [2023-09-25T15:41:14.366Z] Successfully built 512e4f1a53cf [2023-09-25T15:41:14.366Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:41:14.728Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T15:41:14.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:41:14.920Z] prd-ubuntu20.04-docker-arm64-4c-16g-7840 does not seem to be running inside a container [2023-09-25T15:41:14.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/144 -v /w/workspace/device-virtual-go/144:/w/workspace/device-virtual-go/144:rw,z -v /w/workspace/device-virtual-go/144@tmp:/w/workspace/device-virtual-go/144@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 [2023-09-25T15:41:18.291Z] $ docker top c909384b021718d71e0641dcbfeff569e4ab474fd7b9f71b897df4f4c5c338b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T15:41:19.121Z] + go version [2023-09-25T15:41:19.121Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T15:41:19.149Z] $ docker stop --time=1 c909384b021718d71e0641dcbfeff569e4ab474fd7b9f71b897df4f4c5c338b1 [2023-09-25T15:41:20.747Z] $ docker rm -f --volumes c909384b021718d71e0641dcbfeff569e4ab474fd7b9f71b897df4f4c5c338b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:41:21.272Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T15:41:21.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:41:21.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-7840 does not seem to be running inside a container [2023-09-25T15:41:21.511Z] $ 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/144 -v /w/workspace/device-virtual-go/144:/w/workspace/device-virtual-go/144:rw,z -v /w/workspace/device-virtual-go/144@tmp:/w/workspace/device-virtual-go/144@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 [2023-09-25T15:41:22.639Z] $ docker top 879c1d4786ef4c0db812ce2b874213a206ad2a93d12d91a1f26bb1496e2c9013 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T15:41:23.454Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/144 [Pipeline] fileExists [Pipeline] sh [2023-09-25T15:41:23.785Z] + make test [2023-09-25T15:41:23.785Z] go test ./... -coverprofile=coverage.out [2023-09-25T15:41:28.074Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-25T15:43:04.702Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-25T15:43:04.702Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.4% of statements [2023-09-25T15:43:04.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T15:43:04.702Z] go vet ./... [2023-09-25T15:43:12.898Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T15:43:12.898Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T15:43:12.898Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T15:43:12.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T15:43:12.938Z] $ docker stop --time=1 879c1d4786ef4c0db812ce2b874213a206ad2a93d12d91a1f26bb1496e2c9013 [2023-09-25T15:43:14.841Z] $ docker rm -f --volumes 879c1d4786ef4c0db812ce2b874213a206ad2a93d12d91a1f26bb1496e2c9013 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T15:43:15.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T15:43:15.973Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T15:43:18.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T15:43:19.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T15:43:19.415Z] + ls -al . [2023-09-25T15:43:19.415Z] total 200 [2023-09-25T15:43:19.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 15:41 . [2023-09-25T15:43:19.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 15:39 .. [2023-09-25T15:43:19.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 15:39 .git [2023-09-25T15:43:19.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 15:39 .github [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 25 15:39 .gitignore [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 15:39 .golangci.yml [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 25 15:39 Attribution.txt [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 25 15:39 CHANGELOG.md [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 25 15:39 Dockerfile [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 15:39 GOVERNANCE.md [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 25 15:39 Jenkinsfile [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 15:39 LICENSE [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 25 15:39 Makefile [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 25 15:39 OWNERS.md [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 25 15:39 README.md [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 15:37 VERSION [2023-09-25T15:43:19.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 15:39 bin [2023-09-25T15:43:19.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 15:39 cmd [2023-09-25T15:43:19.415Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 25 15:42 coverage.out [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 25 15:39 go.mod [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 25 15:39 go.sum [2023-09-25T15:43:19.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 15:39 internal [2023-09-25T15:43:19.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 15:39 snap [2023-09-25T15:43:19.415Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 25 15:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:43:19.776Z] + 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=b6817069b5a51f00109e4d74960f23ef1aea0426 --label arch=arm64 --label version=3.1.0-dev.18 . [2023-09-25T15:43:20.359Z] Sending build context to Docker daemon 12MB [2023-09-25T15:43:20.359Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T15:43:20.359Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T15:43:20.359Z] ---> 512e4f1a53cf [2023-09-25T15:43:20.359Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T15:43:20.359Z] ---> Running in 2f3f62dedcb3 [2023-09-25T15:43:20.941Z] Removing intermediate container 2f3f62dedcb3 [2023-09-25T15:43:20.941Z] ---> 4a31d219ef17 [2023-09-25T15:43:20.941Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T15:43:20.941Z] ---> Running in 6c89a8b62f05 [2023-09-25T15:43:21.208Z] Removing intermediate container 6c89a8b62f05 [2023-09-25T15:43:21.208Z] ---> a642a2330939 [2023-09-25T15:43:21.208Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T15:43:21.208Z] ---> Running in 0f3fe1a0a75d [2023-09-25T15:43:21.476Z] Removing intermediate container 0f3fe1a0a75d [2023-09-25T15:43:21.476Z] ---> 114346aa63a8 [2023-09-25T15:43:21.476Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-25T15:43:21.476Z] ---> Running in 5e14d195e9b0 [2023-09-25T15:43:21.742Z] Removing intermediate container 5e14d195e9b0 [2023-09-25T15:43:21.742Z] ---> 6ae7acae08a9 [2023-09-25T15:43:21.742Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T15:43:22.012Z] ---> Running in 72b0c1015b14 [2023-09-25T15:43:22.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T15:43:23.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T15:43:24.538Z] OK: 270 MiB in 56 packages [2023-09-25T15:43:25.508Z] Removing intermediate container 72b0c1015b14 [2023-09-25T15:43:25.508Z] ---> 248419380f66 [2023-09-25T15:43:25.508Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-25T15:43:26.095Z] ---> c2542b11d57d [2023-09-25T15:43:26.095Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T15:43:26.095Z] ---> Running in b167d449e3b7 [2023-09-25T15:43:28.683Z] Removing intermediate container b167d449e3b7 [2023-09-25T15:43:28.683Z] ---> 2b4131eaf2d3 [2023-09-25T15:43:28.683Z] Step 10/25 : COPY . . [2023-09-25T15:43:32.946Z] ---> 9abd4bd70f51 [2023-09-25T15:43:32.946Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T15:43:32.946Z] ---> Running in d5db3efc3ea7 [2023-09-25T15:43:33.218Z] Removing intermediate container d5db3efc3ea7 [2023-09-25T15:43:33.218Z] ---> a5accab94baa [2023-09-25T15:43:33.218Z] Step 12/25 : RUN $MAKE [2023-09-25T15:43:33.487Z] ---> Running in bf279aa03df5 [2023-09-25T15:43:34.462Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-25T15:45:41.504Z] Removing intermediate container bf279aa03df5 [2023-09-25T15:45:41.504Z] ---> 176b2e56922d [2023-09-25T15:45:41.504Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T15:45:41.504Z] 3.18: Pulling from library/alpine [2023-09-25T15:45:41.504Z] 9fda8d8052c6: Already exists [2023-09-25T15:45:41.504Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T15:45:41.504Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T15:45:41.504Z] ---> f6648c04cd6c [2023-09-25T15:45:41.504Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-25T15:45:41.504Z] ---> Running in dd8dfc9100fd [2023-09-25T15:45:41.504Z] Removing intermediate container dd8dfc9100fd [2023-09-25T15:45:41.504Z] ---> f997938ffa5a [2023-09-25T15:45:41.504Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-25T15:45:41.504Z] ---> Running in 42299fac4c63 [2023-09-25T15:45:41.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T15:45:41.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T15:45:41.504Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T15:45:41.504Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T15:45:41.504Z] OK: 8 MiB in 16 packages [2023-09-25T15:45:41.504Z] Removing intermediate container 42299fac4c63 [2023-09-25T15:45:41.504Z] ---> 9803a2669986 [2023-09-25T15:45:41.504Z] Step 16/25 : WORKDIR / [2023-09-25T15:45:41.504Z] ---> Running in 21ab8e02ecd1 [2023-09-25T15:45:41.504Z] Removing intermediate container 21ab8e02ecd1 [2023-09-25T15:45:41.504Z] ---> 11bc8752eb07 [2023-09-25T15:45:41.504Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-25T15:45:41.504Z] ---> 7e17e770bad0 [2023-09-25T15:45:41.504Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-25T15:45:41.504Z] ---> 77fe118adca3 [2023-09-25T15:45:41.504Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-25T15:45:41.504Z] ---> b81b856847e1 [2023-09-25T15:45:41.504Z] Step 20/25 : EXPOSE 59900 [2023-09-25T15:45:41.504Z] ---> Running in 060f40602053 [2023-09-25T15:45:41.504Z] Removing intermediate container 060f40602053 [2023-09-25T15:45:41.504Z] ---> 84e658e0e5e9 [2023-09-25T15:45:41.504Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-25T15:45:41.504Z] ---> Running in 902fc8af0b9f [2023-09-25T15:45:41.504Z] Removing intermediate container 902fc8af0b9f [2023-09-25T15:45:41.504Z] ---> 6d1eb9965f9f [2023-09-25T15:45:41.504Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-25T15:45:41.504Z] ---> Running in a6247f86a317 [2023-09-25T15:45:41.774Z] Removing intermediate container a6247f86a317 [2023-09-25T15:45:41.774Z] ---> 593ef35c5d18 [2023-09-25T15:45:41.774Z] Step 23/25 : LABEL arch=arm64 [2023-09-25T15:45:42.040Z] ---> Running in 2987d796b337 [2023-09-25T15:45:42.306Z] Removing intermediate container 2987d796b337 [2023-09-25T15:45:42.306Z] ---> 2d6a4a4334a0 [2023-09-25T15:45:42.306Z] Step 24/25 : LABEL git_sha=b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:45:42.306Z] ---> Running in e506d06235e3 [2023-09-25T15:45:42.572Z] Removing intermediate container e506d06235e3 [2023-09-25T15:45:42.572Z] ---> b804dc649e8e [2023-09-25T15:45:42.572Z] Step 25/25 : LABEL version=3.1.0-dev.18 [2023-09-25T15:45:42.572Z] ---> Running in a172232f0180 [2023-09-25T15:45:42.837Z] Removing intermediate container a172232f0180 [2023-09-25T15:45:42.837Z] ---> 983435362fd2 [2023-09-25T15:45:42.837Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T15:45:42.837Z] Successfully built 983435362fd2 [2023-09-25T15:45:42.837Z] 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 [2023-09-25T15:45:42.931Z] provisioning config files... [2023-09-25T15:45:42.945Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/144@tmp/config10079513509577492457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:45:43.279Z] ---> docker-login.sh [2023-09-25T15:45:43.279Z] nexus3.edgexfoundry.org:10001 [2023-09-25T15:45:43.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:45:43.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:45:43.545Z] Configure a credential helper to remove this warning. See [2023-09-25T15:45:43.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:45:43.545Z] [2023-09-25T15:45:43.545Z] Login Succeeded [2023-09-25T15:45:43.545Z] nexus3.edgexfoundry.org:10002 [2023-09-25T15:45:43.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:45:43.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:45:43.813Z] Configure a credential helper to remove this warning. See [2023-09-25T15:45:43.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:45:43.813Z] [2023-09-25T15:45:43.813Z] Login Succeeded [2023-09-25T15:45:43.813Z] nexus3.edgexfoundry.org:10003 [2023-09-25T15:45:44.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:45:44.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:45:44.078Z] Configure a credential helper to remove this warning. See [2023-09-25T15:45:44.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:45:44.079Z] [2023-09-25T15:45:44.079Z] Login Succeeded [2023-09-25T15:45:44.079Z] nexus3.edgexfoundry.org:10004 [2023-09-25T15:45:44.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:45:44.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:45:44.344Z] Configure a credential helper to remove this warning. See [2023-09-25T15:45:44.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:45:44.344Z] [2023-09-25T15:45:44.344Z] Login Succeeded [2023-09-25T15:45:44.344Z] docker.io [2023-09-25T15:45:44.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T15:45:44.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T15:45:44.872Z] Configure a credential helper to remove this warning. See [2023-09-25T15:45:44.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T15:45:44.872Z] [2023-09-25T15:45:44.872Z] Login Succeeded [2023-09-25T15:45:44.872Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T15:45:44.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T15:45:44.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T15:45:44.954Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-25T15:45:44.954Z] b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:45:44.954Z] latest [2023-09-25T15:45:44.954Z] 3.1.0-dev.18 [2023-09-25T15:45:44.954Z] b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [2023-09-25T15:45:44.954Z] main [2023-09-25T15:45:44.954Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:45.384Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:45.711Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:45:45.711Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-25T15:45:45.711Z] cfb2a9faa729: Preparing [2023-09-25T15:45:45.711Z] ca6fdef18fea: Preparing [2023-09-25T15:45:45.711Z] d4bba6d0ed57: Preparing [2023-09-25T15:45:45.711Z] 415b7eb1b948: Preparing [2023-09-25T15:45:45.711Z] b2191e2be29d: Preparing [2023-09-25T15:45:45.711Z] b2191e2be29d: Layer already exists [2023-09-25T15:45:45.975Z] d4bba6d0ed57: Pushed [2023-09-25T15:45:45.975Z] ca6fdef18fea: Pushed [2023-09-25T15:45:45.975Z] 415b7eb1b948: Pushed [2023-09-25T15:45:51.293Z] cfb2a9faa729: Pushed [2023-09-25T15:45:51.293Z] b6817069b5a51f00109e4d74960f23ef1aea0426: digest: sha256:5e4aa01163317c6ceff30e26444de0b51e7b6793b643a9b43dda5fb6e76d549e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:51.633Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:51.962Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-25T15:45:51.962Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-25T15:45:51.962Z] cfb2a9faa729: Preparing [2023-09-25T15:45:51.962Z] ca6fdef18fea: Preparing [2023-09-25T15:45:51.962Z] d4bba6d0ed57: Preparing [2023-09-25T15:45:51.962Z] 415b7eb1b948: Preparing [2023-09-25T15:45:51.962Z] b2191e2be29d: Preparing [2023-09-25T15:45:51.962Z] d4bba6d0ed57: Layer already exists [2023-09-25T15:45:51.962Z] cfb2a9faa729: Layer already exists [2023-09-25T15:45:51.962Z] ca6fdef18fea: Layer already exists [2023-09-25T15:45:51.962Z] 415b7eb1b948: Layer already exists [2023-09-25T15:45:51.962Z] b2191e2be29d: Layer already exists [2023-09-25T15:45:51.962Z] latest: digest: sha256:5e4aa01163317c6ceff30e26444de0b51e7b6793b643a9b43dda5fb6e76d549e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:52.558Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:52.886Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.18 [2023-09-25T15:45:52.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-25T15:45:52.886Z] cfb2a9faa729: Preparing [2023-09-25T15:45:52.886Z] ca6fdef18fea: Preparing [2023-09-25T15:45:52.886Z] d4bba6d0ed57: Preparing [2023-09-25T15:45:52.886Z] 415b7eb1b948: Preparing [2023-09-25T15:45:52.886Z] b2191e2be29d: Preparing [2023-09-25T15:45:52.886Z] ca6fdef18fea: Layer already exists [2023-09-25T15:45:52.886Z] d4bba6d0ed57: Layer already exists [2023-09-25T15:45:52.886Z] cfb2a9faa729: Layer already exists [2023-09-25T15:45:52.886Z] b2191e2be29d: Layer already exists [2023-09-25T15:45:52.886Z] 415b7eb1b948: Layer already exists [2023-09-25T15:45:52.886Z] 3.1.0-dev.18: digest: sha256:5e4aa01163317c6ceff30e26444de0b51e7b6793b643a9b43dda5fb6e76d549e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:53.218Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:53.544Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [2023-09-25T15:45:53.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-25T15:45:53.544Z] cfb2a9faa729: Preparing [2023-09-25T15:45:53.544Z] ca6fdef18fea: Preparing [2023-09-25T15:45:53.545Z] d4bba6d0ed57: Preparing [2023-09-25T15:45:53.545Z] 415b7eb1b948: Preparing [2023-09-25T15:45:53.545Z] b2191e2be29d: Preparing [2023-09-25T15:45:53.545Z] b2191e2be29d: Layer already exists [2023-09-25T15:45:53.545Z] ca6fdef18fea: Layer already exists [2023-09-25T15:45:53.545Z] 415b7eb1b948: Layer already exists [2023-09-25T15:45:53.545Z] cfb2a9faa729: Layer already exists [2023-09-25T15:45:53.545Z] d4bba6d0ed57: Layer already exists [2023-09-25T15:45:53.545Z] b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18: digest: sha256:5e4aa01163317c6ceff30e26444de0b51e7b6793b643a9b43dda5fb6e76d549e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:53.878Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:54.217Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-25T15:45:54.217Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-25T15:45:54.217Z] cfb2a9faa729: Preparing [2023-09-25T15:45:54.217Z] ca6fdef18fea: Preparing [2023-09-25T15:45:54.217Z] d4bba6d0ed57: Preparing [2023-09-25T15:45:54.217Z] 415b7eb1b948: Preparing [2023-09-25T15:45:54.217Z] b2191e2be29d: Preparing [2023-09-25T15:45:54.217Z] 415b7eb1b948: Layer already exists [2023-09-25T15:45:54.217Z] ca6fdef18fea: Layer already exists [2023-09-25T15:45:54.217Z] d4bba6d0ed57: Layer already exists [2023-09-25T15:45:54.217Z] b2191e2be29d: Layer already exists [2023-09-25T15:45:54.217Z] cfb2a9faa729: Layer already exists [2023-09-25T15:45:54.217Z] main: digest: sha256:5e4aa01163317c6ceff30e26444de0b51e7b6793b643a9b43dda5fb6e76d549e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T15:45:54.274Z] ===================================================== [Pipeline] echo [2023-09-25T15:45:54.284Z] taggedImages: [2023-09-25T15:45:54.284Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b6817069b5a51f00109e4d74960f23ef1aea0426 [2023-09-25T15:45:54.284Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-25T15:45:54.284Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.18 [2023-09-25T15:45:54.284Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b6817069b5a51f00109e4d74960f23ef1aea0426-3.1.0-dev.18 [2023-09-25T15:45:54.284Z] - 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 [2023-09-25T15:45:54.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T15:45:54.638Z] [2023-09-25T15:45:54.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:45:54.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T15:45:54.968Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T15:45:54.968Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T15:45:54.968Z] 04944245beec: Pulling fs layer [2023-09-25T15:45:54.968Z] 699f458cf7ca: Pulling fs layer [2023-09-25T15:45:54.968Z] 765212b225bb: Pulling fs layer [2023-09-25T15:45:54.968Z] f23df028b6ca: Pulling fs layer [2023-09-25T15:45:54.968Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T15:45:54.968Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T15:45:54.968Z] 765212b225bb: Waiting [2023-09-25T15:45:54.968Z] f23df028b6ca: Waiting [2023-09-25T15:45:54.968Z] d65c8cfc05b1: Waiting [2023-09-25T15:45:54.968Z] 2437ff75d9bd: Waiting [2023-09-25T15:45:55.234Z] 04944245beec: Verifying Checksum [2023-09-25T15:45:55.234Z] 04944245beec: Download complete [2023-09-25T15:45:55.234Z] 765212b225bb: Verifying Checksum [2023-09-25T15:45:55.234Z] 765212b225bb: Download complete [2023-09-25T15:45:55.234Z] f23df028b6ca: Verifying Checksum [2023-09-25T15:45:55.234Z] f23df028b6ca: Download complete [2023-09-25T15:45:55.234Z] d65c8cfc05b1: Verifying Checksum [2023-09-25T15:45:55.234Z] d65c8cfc05b1: Download complete [2023-09-25T15:45:55.234Z] 699f458cf7ca: Verifying Checksum [2023-09-25T15:45:55.234Z] 699f458cf7ca: Download complete [2023-09-25T15:45:55.815Z] 8998bd30e6a1: Download complete [2023-09-25T15:45:57.753Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T15:45:57.753Z] 2437ff75d9bd: Download complete [2023-09-25T15:46:01.993Z] 8998bd30e6a1: Pull complete [2023-09-25T15:46:01.993Z] 04944245beec: Pull complete [2023-09-25T15:46:03.397Z] 699f458cf7ca: Pull complete [2023-09-25T15:46:03.397Z] 765212b225bb: Pull complete [2023-09-25T15:46:03.977Z] f23df028b6ca: Pull complete [2023-09-25T15:46:04.242Z] d65c8cfc05b1: Pull complete [2023-09-25T15:46:16.553Z] 2437ff75d9bd: Pull complete [2023-09-25T15:46:16.553Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T15:46:16.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T15:46:16.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:46:16.733Z] prd-ubuntu20.04-docker-arm64-4c-16g-7840 does not seem to be running inside a container [2023-09-25T15:46:16.809Z] $ 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/144 -v /w/workspace/device-virtual-go/144:/w/workspace/device-virtual-go/144:rw,z -v /w/workspace/device-virtual-go/144@tmp:/w/workspace/device-virtual-go/144@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 [2023-09-25T15:46:19.491Z] $ docker top 03d520d057efd1b5471047d5272796d751c555693a2af4795bc09d164cdeb71f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:46:20.313Z] ---> job-cost.sh [2023-09-25T15:46:20.313Z] lf-activate-venv: SKIPPING [2023-09-25T15:46:20.313Z] INFO: No Stack... [2023-09-25T15:46:20.579Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T15:46:21.536Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T15:46:21.857Z] + cat+ /w/workspace/device-virtual-go/144/archives/cost.csv [2023-09-25T15:46:21.857Z] cut -d, -f6 [Pipeline] lock [2023-09-25T15:46:22.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] [2023-09-25T15:46:22.173Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] did not exist. Created. [2023-09-25T15:46:22.173Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T15:46:22.513Z] /w/workspace/device-virtual-go/144@tmp/durable-02ce4ce3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T15:46:22.848Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T15:46:22.863Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T15:46:22.923Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T15:46:22.930Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T15:46:22.963Z] $ docker stop --time=1 03d520d057efd1b5471047d5272796d751c555693a2af4795bc09d164cdeb71f [2023-09-25T15:46:24.452Z] $ docker rm -f --volumes 03d520d057efd1b5471047d5272796d751c555693a2af4795bc09d164cdeb71f [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 [2023-09-25T15:46:24.817Z] provisioning config files... [2023-09-25T15:46:24.823Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8408101853218013984tmp [Pipeline] { [Pipeline] sh [2023-09-25T15:46:25.119Z] + set +x [2023-09-25T15:46:25.119Z] + curl -s https://codecov.io/bash [2023-09-25T15:46:25.119Z] + bash -s -- [2023-09-25T15:46:25.119Z] [2023-09-25T15:46:25.119Z] _____ _ [2023-09-25T15:46:25.119Z] / ____| | | [2023-09-25T15:46:25.119Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T15:46:25.119Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T15:46:25.119Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T15:46:25.119Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T15:46:25.119Z] Bash-1.0.6 [2023-09-25T15:46:25.119Z] [2023-09-25T15:46:25.119Z] [2023-09-25T15:46:25.119Z] ==> git version 2.25.1 found [2023-09-25T15:46:25.119Z] ==> 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 [2023-09-25T15:46:25.119Z] Release-Date: 2020-01-08 [2023-09-25T15:46:25.119Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-25T15:46:25.119Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T15:46:25.119Z] ==> Jenkins CI detected. [2023-09-25T15:46:25.119Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-25T15:46:25.119Z] project root: . [2023-09-25T15:46:25.119Z] --> token set from env [2023-09-25T15:46:25.119Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T15:46:25.119Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T15:46:25.119Z] ==> Python coveragepy not found [2023-09-25T15:46:25.119Z] ==> Searching for coverage reports in: [2023-09-25T15:46:25.119Z] + . [2023-09-25T15:46:25.119Z] -> Found 1 reports [2023-09-25T15:46:25.119Z] ==> Detecting git/mercurial file structure [2023-09-25T15:46:25.119Z] ==> Reading reports [2023-09-25T15:46:25.119Z] + ./coverage.out bytes=43063 [2023-09-25T15:46:25.119Z] ==> Appending adjustments [2023-09-25T15:46:25.119Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T15:46:25.380Z] + Found adjustments [2023-09-25T15:46:25.380Z] ==> Gzipping contents [2023-09-25T15:46:25.380Z] 8.0K /tmp/codecov.5tcA3Q.gz [2023-09-25T15:46:25.380Z] ==> Uploading reports [2023-09-25T15:46:25.380Z] url: https://codecov.io [2023-09-25T15:46:25.380Z] query: branch=main&commit=b6817069b5a51f00109e4d74960f23ef1aea0426&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T15:46:25.380Z] -> Pinging Codecov [2023-09-25T15:46:25.380Z] 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=b6817069b5a51f00109e4d74960f23ef1aea0426&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T15:46:25.380Z] -> Uploading to [2023-09-25T15:46:25.380Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/5E52B4B073DB2E39498172D8E973AA87/b6817069b5a51f00109e4d74960f23ef1aea0426/e600c6d0-3a63-478f-8983-3f2d11f8197a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T154625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=699dbb9b66406e051d52369b8edfd321e78424128ea7d4c462cf60344b62aab8 [2023-09-25T15:46:25.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T15:46:25.380Z] Dload Upload Total Spent Left Speed [2023-09-25T15:46:25.639Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25411 --:--:-- --:--:-- --:--:-- 25287 100 5184 0 0 100 5184 0 24923 --:--:-- --:--:-- --:--:-- 24923 [2023-09-25T15:46:25.639Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] } [2023-09-25T15:46:25.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-25T15:46:25.791Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-25T15:46:25.804Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:46:26.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T15:46:26.104Z] [2023-09-25T15:46:26.104Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:46:26.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T15:46:26.398Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-25T15:46:26.398Z] df9b9388f04a: Pulling fs layer [2023-09-25T15:46:26.398Z] 52dc419b0ee2: Pulling fs layer [2023-09-25T15:46:26.398Z] 25bc292e5bac: Pulling fs layer [2023-09-25T15:46:26.398Z] 114826534d7a: Pulling fs layer [2023-09-25T15:46:26.398Z] 4657fd5d0bcf: Pulling fs layer [2023-09-25T15:46:26.398Z] 6ad1cebc031e: Pulling fs layer [2023-09-25T15:46:26.398Z] 8a3aa393b2d8: Pulling fs layer [2023-09-25T15:46:26.398Z] 114826534d7a: Waiting [2023-09-25T15:46:26.398Z] 4657fd5d0bcf: Waiting [2023-09-25T15:46:26.398Z] 6ad1cebc031e: Waiting [2023-09-25T15:46:26.398Z] 8a3aa393b2d8: Waiting [2023-09-25T15:46:26.398Z] 25bc292e5bac: Verifying Checksum [2023-09-25T15:46:26.398Z] 25bc292e5bac: Download complete [2023-09-25T15:46:26.398Z] 52dc419b0ee2: Verifying Checksum [2023-09-25T15:46:26.398Z] 52dc419b0ee2: Download complete [2023-09-25T15:46:26.398Z] 4657fd5d0bcf: Download complete [2023-09-25T15:46:26.398Z] df9b9388f04a: Verifying Checksum [2023-09-25T15:46:26.398Z] df9b9388f04a: Download complete [2023-09-25T15:46:26.669Z] df9b9388f04a: Pull complete [2023-09-25T15:46:26.669Z] 6ad1cebc031e: Verifying Checksum [2023-09-25T15:46:26.669Z] 6ad1cebc031e: Download complete [2023-09-25T15:46:26.669Z] 52dc419b0ee2: Pull complete [2023-09-25T15:46:26.669Z] 25bc292e5bac: Pull complete [2023-09-25T15:46:27.238Z] 114826534d7a: Download complete [2023-09-25T15:46:27.496Z] 8a3aa393b2d8: Verifying Checksum [2023-09-25T15:46:27.496Z] 8a3aa393b2d8: Download complete [2023-09-25T15:46:30.774Z] 114826534d7a: Pull complete [2023-09-25T15:46:30.774Z] 4657fd5d0bcf: Pull complete [2023-09-25T15:46:30.774Z] 6ad1cebc031e: Pull complete [2023-09-25T15:46:33.303Z] 8a3aa393b2d8: Pull complete [2023-09-25T15:46:33.303Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-25T15:46:33.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T15:46:33.304Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:46:33.392Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:46:33.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-25T15:46:37.494Z] $ docker top 09b74888ee00fe0c5c7d10fb7415e0c67fce426be3edb69dc2d2f88c742c88ee -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-25T15:46:37.561Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-25T15:46:37.839Z] + set -o pipefail [2023-09-25T15:46:37.839Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-25T15:46:44.405Z] [2023-09-25T15:46:44.405Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-25T15:46:44.405Z] [2023-09-25T15:46:44.405Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/d6961673-895c-4d1d-a628-3d34e9f70ae2 [2023-09-25T15:46:44.405Z] [2023-09-25T15:46:44.405Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-25T15:46:44.405Z] [2023-09-25T15:46:44.405Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-25T15:46:44.405Z] [2023-09-25T15:46:44.405Z] [2023-09-25T15:46:44.405Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-25T15:46:44.405Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-25T15:46:44.405Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-25T15:46:44.416Z] $ docker stop --time=1 09b74888ee00fe0c5c7d10fb7415e0c67fce426be3edb69dc2d2f88c742c88ee [2023-09-25T15:46:48.357Z] $ docker rm -f --volumes 09b74888ee00fe0c5c7d10fb7415e0c67fce426be3edb69dc2d2f88c742c88ee [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 [2023-09-25T15:46:49.151Z] + git log --format=format:%s -1 b6817069b5a51f00109e4d74960f23ef1aea0426 [Pipeline] sh [2023-09-25T15:46:49.444Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T15:46:49.444Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:46:49.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T15:46:49.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:46:49.807Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:46:49.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T15:46:50.266Z] $ docker top d64fa4149ebb49bb2f2e5c80fe5b6b994aaf2b9aa091525cfc3c9979af2d12e3 -eo pid,comm [2023-09-25T15:46:50.312Z] 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). [2023-09-25T15:46:50.312Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T15:46:50.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T15:46:50.348Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T15:46:50.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T15:46:50.471Z] $ docker exec d64fa4149ebb49bb2f2e5c80fe5b6b994aaf2b9aa091525cfc3c9979af2d12e3 ssh-agent [2023-09-25T15:46:50.571Z] SSH_AUTH_SOCK=/tmp/ssh-flhYeu6wzzsm/agent.33 [2023-09-25T15:46:50.571Z] SSH_AGENT_PID=39 [2023-09-25T15:46:50.576Z] Running ssh-add (command line suppressed) [2023-09-25T15:46:50.691Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12201047297023403478.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12201047297023403478.key) [2023-09-25T15:46:50.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T15:46:50.988Z] + git semver tag [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,146 [run_tag] DEBUG tag force:False [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,146 [check_head_tag] DEBUG check head tag [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,147 [execute] INFO git cat-file --batch-check [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,151 [execute] INFO git cat-file --batch [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,163 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,164 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,164 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T15:46:51.247Z] 2023-09-25 15:46:51,168 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:46:51.247Z] 3.1.0-dev.18 [Pipeline] } [2023-09-25T15:46:51.257Z] $ docker exec --env ******** --env ******** d64fa4149ebb49bb2f2e5c80fe5b6b994aaf2b9aa091525cfc3c9979af2d12e3 ssh-agent -k [2023-09-25T15:46:51.360Z] unset SSH_AUTH_SOCK; [2023-09-25T15:46:51.360Z] unset SSH_AGENT_PID; [2023-09-25T15:46:51.360Z] echo Agent pid 39 killed; [2023-09-25T15:46:51.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T15:46:51.687Z] + git semver [Pipeline] } [2023-09-25T15:46:51.958Z] $ docker stop --time=1 d64fa4149ebb49bb2f2e5c80fe5b6b994aaf2b9aa091525cfc3c9979af2d12e3 [2023-09-25T15:46:53.214Z] $ docker rm -f --volumes d64fa4149ebb49bb2f2e5c80fe5b6b994aaf2b9aa091525cfc3c9979af2d12e3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:46:53.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T15:46:53.588Z] [2023-09-25T15:46:53.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:46:53.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T15:46:53.885Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-25T15:46:53.885Z] ab5ef0e58194: Pulling fs layer [2023-09-25T15:46:53.885Z] 9712f1f96733: Pulling fs layer [2023-09-25T15:46:53.885Z] 63f879dbbcfc: Pulling fs layer [2023-09-25T15:46:53.885Z] 0d9ebad4ef96: Pulling fs layer [2023-09-25T15:46:53.885Z] e9a5061849ea: Pulling fs layer [2023-09-25T15:46:53.885Z] d747dcd14b5f: Pulling fs layer [2023-09-25T15:46:53.885Z] 2de7ff778b66: Pulling fs layer [2023-09-25T15:46:53.885Z] 0d9ebad4ef96: Waiting [2023-09-25T15:46:53.885Z] e9a5061849ea: Waiting [2023-09-25T15:46:53.885Z] d747dcd14b5f: Waiting [2023-09-25T15:46:53.885Z] 2de7ff778b66: Waiting [2023-09-25T15:46:53.885Z] 9712f1f96733: Verifying Checksum [2023-09-25T15:46:53.885Z] 9712f1f96733: Download complete [2023-09-25T15:46:54.454Z] 63f879dbbcfc: Verifying Checksum [2023-09-25T15:46:54.454Z] 63f879dbbcfc: Download complete [2023-09-25T15:46:54.712Z] 0d9ebad4ef96: Verifying Checksum [2023-09-25T15:46:54.712Z] 0d9ebad4ef96: Download complete [2023-09-25T15:46:54.712Z] e9a5061849ea: Verifying Checksum [2023-09-25T15:46:54.712Z] e9a5061849ea: Download complete [2023-09-25T15:46:54.712Z] d747dcd14b5f: Verifying Checksum [2023-09-25T15:46:54.712Z] d747dcd14b5f: Download complete [2023-09-25T15:46:54.712Z] ab5ef0e58194: Verifying Checksum [2023-09-25T15:46:54.712Z] ab5ef0e58194: Download complete [2023-09-25T15:46:54.712Z] 2de7ff778b66: Verifying Checksum [2023-09-25T15:46:54.712Z] 2de7ff778b66: Download complete [2023-09-25T15:46:57.242Z] ab5ef0e58194: Pull complete [2023-09-25T15:46:57.242Z] 9712f1f96733: Pull complete [2023-09-25T15:46:57.805Z] 63f879dbbcfc: Pull complete [2023-09-25T15:47:01.086Z] 0d9ebad4ef96: Pull complete [2023-09-25T15:47:01.346Z] e9a5061849ea: Pull complete [2023-09-25T15:47:01.346Z] d747dcd14b5f: Pull complete [2023-09-25T15:47:02.283Z] 2de7ff778b66: Pull complete [2023-09-25T15:47:02.283Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-25T15:47:02.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T15:47:02.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:47:02.358Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:47:02.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-25T15:47:06.915Z] $ docker top af997c739d047c23cd7ee2ca40911609752834d9ed07300f6341420ba7212455 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-25T15:47:06.981Z] provisioning config files... [2023-09-25T15:47:06.988Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13147146025149197467tmp [2023-09-25T15:47:06.998Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16692088703267355479tmp [2023-09-25T15:47:07.008Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5986464651526701223tmp [Pipeline] { [Pipeline] echo [2023-09-25T15:47:07.026Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:07.308Z] ---> sigul-configuration.sh [2023-09-25T15:47:07.308Z] gpg: directory `/root/.gnupg' created [2023-09-25T15:47:07.308Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-25T15:47:07.308Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-25T15:47:07.308Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-25T15:47:07.308Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-25T15:47:07.308Z] gpg: CAST5 encrypted data [2023-09-25T15:47:07.308Z] gpg: encrypted with 1 passphrase [2023-09-25T15:47:07.308Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-25T15:47:07.592Z] + mkdir /home/jenkins [2023-09-25T15:47:07.592Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-25T15:47:07.874Z] + 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 [2023-09-25T15:47:07.883Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:08.165Z] ---> sigul-install.sh [2023-09-25T15:47:08.166Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-25T15:47:08.451Z] + git tag --list [2023-09-25T15:47:08.451Z] v1.0.0 [2023-09-25T15:47:08.451Z] v1.1.0 [2023-09-25T15:47:08.451Z] v1.1.1 [2023-09-25T15:47:08.451Z] v1.2.1 [2023-09-25T15:47:08.451Z] v1.2.2 [2023-09-25T15:47:08.451Z] v1.2.3 [2023-09-25T15:47:08.451Z] v1.3.0 [2023-09-25T15:47:08.451Z] v1.3.1 [2023-09-25T15:47:08.451Z] v2.0.0 [2023-09-25T15:47:08.451Z] v2.1.0 [2023-09-25T15:47:08.451Z] v2.1.1 [2023-09-25T15:47:08.451Z] v2.2.0 [2023-09-25T15:47:08.451Z] v2.3.0 [2023-09-25T15:47:08.451Z] v3.0 [2023-09-25T15:47:08.451Z] v3.0.0 [2023-09-25T15:47:08.451Z] v3.1.0-dev.1 [2023-09-25T15:47:08.451Z] v3.1.0-dev.10 [2023-09-25T15:47:08.451Z] v3.1.0-dev.11 [2023-09-25T15:47:08.451Z] v3.1.0-dev.12 [2023-09-25T15:47:08.451Z] v3.1.0-dev.13 [2023-09-25T15:47:08.451Z] v3.1.0-dev.14 [2023-09-25T15:47:08.451Z] v3.1.0-dev.15 [2023-09-25T15:47:08.451Z] v3.1.0-dev.16 [2023-09-25T15:47:08.451Z] v3.1.0-dev.17 [2023-09-25T15:47:08.451Z] v3.1.0-dev.18 [2023-09-25T15:47:08.451Z] v3.1.0-dev.2 [2023-09-25T15:47:08.451Z] v3.1.0-dev.3 [2023-09-25T15:47:08.451Z] v3.1.0-dev.4 [2023-09-25T15:47:08.451Z] v3.1.0-dev.5 [2023-09-25T15:47:08.451Z] v3.1.0-dev.6 [2023-09-25T15:47:08.451Z] v3.1.0-dev.7 [2023-09-25T15:47:08.451Z] v3.1.0-dev.8 [2023-09-25T15:47:08.451Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-25T15:47:08.738Z] + lftools sign git-tag v3.1.0-dev.18 [2023-09-25T15:47:09.306Z] Signing Git tag with Sigul... [2023-09-25T15:47:09.306Z] Signing v3.1.0-dev.18 [Pipeline] echo [2023-09-25T15:47:09.574Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:09.857Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-25T15:47:09.864Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-25T15:47:09.883Z] $ docker stop --time=1 af997c739d047c23cd7ee2ca40911609752834d9ed07300f6341420ba7212455 [2023-09-25T15:47:11.184Z] $ docker rm -f --volumes af997c739d047c23cd7ee2ca40911609752834d9ed07300f6341420ba7212455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-25T15:47:11.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T15:47:11.589Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:47:11.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T15:47:11.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:47:11.957Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:47:11.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T15:47:12.289Z] $ docker top b3404356cf2fd0da84a7bcd5c902f972a70c6f1ac96b0ea1e53c8b99e90e4036 -eo pid,comm [2023-09-25T15:47:12.334Z] 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). [2023-09-25T15:47:12.334Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T15:47:12.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T15:47:12.372Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T15:47:12.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T15:47:12.485Z] $ docker exec b3404356cf2fd0da84a7bcd5c902f972a70c6f1ac96b0ea1e53c8b99e90e4036 ssh-agent [2023-09-25T15:47:12.598Z] SSH_AUTH_SOCK=/tmp/ssh-kC3grCg6wc3F/agent.32 [2023-09-25T15:47:12.598Z] SSH_AGENT_PID=38 [2023-09-25T15:47:12.604Z] Running ssh-add (command line suppressed) [2023-09-25T15:47:12.702Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2070056118696293223.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2070056118696293223.key) [2023-09-25T15:47:12.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T15:47:13.001Z] + git semver bump pre [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,174 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,174 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,174 [bump_version] DEBUG bumped version:3.1.0-dev.19 [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,174 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,174 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,174 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,176 [execute] INFO git cat-file --batch-check [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,180 [execute] INFO git cat-file --batch [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T15:47:13.258Z] 2023-09-25 15:47:13,186 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:47:13.258Z] 3.1.0-dev.19 [Pipeline] } [2023-09-25T15:47:13.267Z] $ docker exec --env ******** --env ******** b3404356cf2fd0da84a7bcd5c902f972a70c6f1ac96b0ea1e53c8b99e90e4036 ssh-agent -k [2023-09-25T15:47:13.364Z] unset SSH_AUTH_SOCK; [2023-09-25T15:47:13.364Z] unset SSH_AGENT_PID; [2023-09-25T15:47:13.364Z] echo Agent pid 38 killed; [2023-09-25T15:47:13.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T15:47:13.671Z] + git semver [Pipeline] } [2023-09-25T15:47:13.944Z] $ docker stop --time=1 b3404356cf2fd0da84a7bcd5c902f972a70c6f1ac96b0ea1e53c8b99e90e4036 [2023-09-25T15:47:15.210Z] $ docker rm -f --volumes b3404356cf2fd0da84a7bcd5c902f972a70c6f1ac96b0ea1e53c8b99e90e4036 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T15:47:15.541Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T15:47:15.542Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:47:15.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T15:47:15.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:47:15.904Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:47:15.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T15:47:16.234Z] $ docker top 31b040b7767a1cd2d815da1f54cb69dfbb8d428eedcc39850ee67de3eae10043 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T15:47:16.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T15:47:16.314Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T15:47:16.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T15:47:16.440Z] $ docker exec 31b040b7767a1cd2d815da1f54cb69dfbb8d428eedcc39850ee67de3eae10043 ssh-agent [2023-09-25T15:47:16.555Z] SSH_AUTH_SOCK=/tmp/ssh-nrBmp195gBDy/agent.32 [2023-09-25T15:47:16.555Z] SSH_AGENT_PID=38 [2023-09-25T15:47:16.573Z] Running ssh-add (command line suppressed) [2023-09-25T15:47:16.661Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9253495275923101968.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9253495275923101968.key) [2023-09-25T15:47:16.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T15:47:16.979Z] + git semver push [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,131 [run_push] DEBUG push [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,132 [execute] INFO git cat-file --batch-check [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,136 [execute] INFO git rev-list 3a7f007ef7c7b0e0fdcf9a4172c40c55adbe0652 -- [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,136 [execute] DEBUG Popen(['git', 'rev-list', '3a7f007ef7c7b0e0fdcf9a4172c40c55adbe0652', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,145 [execute] INFO git fetch -v origin [2023-09-25T15:47:17.245Z] 2023-09-25 15:47:17,145 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-25T15:47:17.811Z] 2023-09-25 15:47:17,623 [run_push] DEBUG no remote changes detected [2023-09-25T15:47:17.811Z] 2023-09-25 15:47:17,624 [execute] INFO git push origin semver [2023-09-25T15:47:17.811Z] 2023-09-25 15:47:17,624 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T15:47:18.746Z] 2023-09-25 15:47:18,432 [run_push] DEBUG push all version tags [2023-09-25T15:47:18.747Z] 2023-09-25 15:47:18,432 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-25T15:47:18.747Z] 2023-09-25 15:47:18,433 [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) [2023-09-25T15:47:19.315Z] 2023-09-25 15:47:19,214 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-25T15:47:19.315Z] 3.1.0-dev.19 [Pipeline] } [2023-09-25T15:47:19.325Z] $ docker exec --env ******** --env ******** 31b040b7767a1cd2d815da1f54cb69dfbb8d428eedcc39850ee67de3eae10043 ssh-agent -k [2023-09-25T15:47:19.415Z] unset SSH_AUTH_SOCK; [2023-09-25T15:47:19.415Z] unset SSH_AGENT_PID; [2023-09-25T15:47:19.415Z] echo Agent pid 38 killed; [2023-09-25T15:47:19.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T15:47:19.723Z] + git semver [Pipeline] } [2023-09-25T15:47:19.994Z] $ docker stop --time=1 31b040b7767a1cd2d815da1f54cb69dfbb8d428eedcc39850ee67de3eae10043 [2023-09-25T15:47:21.234Z] $ docker rm -f --volumes 31b040b7767a1cd2d815da1f54cb69dfbb8d428eedcc39850ee67de3eae10043 [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 [2023-09-25T15:47:21.730Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-25T15:47:21.730Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-25T15:47:21.730Z] total 16 [2023-09-25T15:47:21.730Z] drwxr-xr-x 3 root root 4096 Sep 25 15:39 . [2023-09-25T15:47:21.730Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 15:47 .. [2023-09-25T15:47:21.730Z] drwxr-xr-x 2 root root 4096 Sep 25 15:39 cost [2023-09-25T15:47:21.730Z] -rw-r--r-- 1 root root 89 Sep 25 15:39 cost.csv [2023-09-25T15:47:21.730Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-25T15:47:21.730Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-25T15:47:21.730Z] total 16 [2023-09-25T15:47:21.730Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 15:39 . [2023-09-25T15:47:21.730Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 15:47 .. [2023-09-25T15:47:21.730Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 15:39 cost [2023-09-25T15:47:21.730Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 25 15:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:22.019Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:22.874Z] ---> package-listing.sh [2023-09-25T15:47:22.874Z] ++ facter osfamily [2023-09-25T15:47:22.874Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T15:47:23.133Z] + OS_FAMILY=debian [2023-09-25T15:47:23.133Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-25T15:47:23.133Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T15:47:23.133Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T15:47:23.133Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T15:47:23.133Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T15:47:23.133Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-25T15:47:23.133Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T15:47:23.133Z] + case "${OS_FAMILY}" in [2023-09-25T15:47:23.133Z] + dpkg -l [2023-09-25T15:47:23.133Z] + grep '^ii' [2023-09-25T15:47:23.133Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T15:47:23.133Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T15:47:23.133Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T15:47:23.133Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-25T15:47:23.133Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-25T15:47:23.133Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-09-25T15:47:23.142Z] 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 [2023-09-25T15:47:23.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T15:47:23.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T15:47:23.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T15:47:24.047Z] prd-ubuntu20.04-docker-8c-8g-7839 does not seem to be running inside a container [2023-09-25T15:47:24.079Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T15:47:24.262Z] $ docker top b823a85068e4544296bf867e0d0fd448adeb45145035026204b0a280bba0879e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T15:47:24.594Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T15:47:24.878Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T15:47:25.162Z] + ls /var/log/sa-host [2023-09-25T15:47:25.162Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T15:47:25.228Z] provisioning config files... [2023-09-25T15:47:25.235Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3191938503964224957tmp [Pipeline] { [Pipeline] echo [2023-09-25T15:47:25.247Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:25.526Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T15:47:25.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:25.850Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T15:47:25.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:26.138Z] ---> sudo-logs.sh [2023-09-25T15:47:26.138Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T15:47:26.165Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:26.448Z] ---> job-cost.sh [2023-09-25T15:47:26.448Z] lf-activate-venv: SKIPPING [2023-09-25T15:47:26.448Z] DEBUG: total: 0.2199999988079071 [2023-09-25T15:47:26.448Z] INFO: Retrieving Stack Cost... [2023-09-25T15:47:26.714Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T15:47:27.280Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T15:47:27.290Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T15:47:27.575Z] ---> logs-deploy.sh [2023-09-25T15:47:27.575Z] lf-activate-venv: SKIPPING [2023-09-25T15:47:27.575Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/144 [2023-09-25T15:47:27.575Z] INFO: archiving workspace using pattern(s): [2023-09-25T15:47:28.512Z] Archives upload complete. [2023-09-25T15:47:28.512Z] INFO: archiving logs to Nexus