Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ff19b9bbcef14612feb1da85704d71f54c07229 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-ssh8359512295037714046.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-ssh1551589331363600379.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-ssh7125022561500587740.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-ssh18095504787400447101.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-ssh9118691371669683233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9508 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6ff19b9bbcef14612feb1da85704d71f54c07229 (main) Commit message: "Merge pull request #439 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" > git config core.sparsecheckout # timeout=10 > git checkout -f 6ff19b9bbcef14612feb1da85704d71f54c07229 # timeout=10 > git rev-list --no-walk 0f9d641867fc5ea0f7d8928df8972b1498c50331 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-18T11:46:59.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-18T11:46:59.378Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-18T11:46:59.391Z] ========================================================= [2023-10-18T11:46:59.391Z] EdgeX Global Pipelines Version Info [2023-10-18T11:46:59.391Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:47:00.103Z] ------------------- [2023-10-18T11:47:00.103Z] stable info: [2023-10-18T11:47:00.103Z] ------------------- [2023-10-18T11:47:00.103Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-18T11:47:00.103Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T11:47:00.103Z] Message: update stable to v1.0.254 [2023-10-18T11:47:00.672Z] ------------------- [2023-10-18T11:47:00.672Z] experimental info: [2023-10-18T11:47:00.672Z] ------------------- [2023-10-18T11:47:00.672Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-18T11:47:00.672Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T11:47:00.672Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-18T11:47:00.820Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-10-18T11:47:00.829Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-10-18T11:47:00.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-18T11:47:00.847Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-18T11:47:00.860Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-18T11:47:00.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-18T11:47:00.890Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-18T11:47:00.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-18T11:47:00.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-18T11:47:00.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-18T11:47:00.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-18T11:47:00.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-10-18T11:47:00.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-18T11:47:01.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-18T11:47:01.017Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T11:47:01.033Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T11:47:01.045Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T11:47:01.061Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T11:47:01.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-18T11:47:01.095Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-18T11:47:01.113Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-18T11:47:01.129Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-18T11:47:01.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-18T11:47:01.157Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-18T11:47:01.169Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-18T11:47:01.183Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-18T11:47:01.202Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-18T11:47:01.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-18T11:47:01.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-18T11:47:01.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-18T11:47:01.271Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] echo [2023-10-18T11:47:01.286Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ff19b9 [Pipeline] echo [2023-10-18T11:47:01.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T11:47:01.348Z] provisioning config files... [2023-10-18T11:47:01.362Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5631141989077779116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:47:01.667Z] ---> docker-login.sh [2023-10-18T11:47:01.668Z] nexus3.edgexfoundry.org:10001 [2023-10-18T11:47:01.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:01.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:01.934Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:01.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:01.934Z] [2023-10-18T11:47:01.934Z] Login Succeeded [2023-10-18T11:47:01.934Z] nexus3.edgexfoundry.org:10002 [2023-10-18T11:47:01.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:01.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:01.934Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:01.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:01.934Z] [2023-10-18T11:47:01.934Z] Login Succeeded [2023-10-18T11:47:01.934Z] nexus3.edgexfoundry.org:10003 [2023-10-18T11:47:02.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:02.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:02.204Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:02.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:02.204Z] [2023-10-18T11:47:02.204Z] Login Succeeded [2023-10-18T11:47:02.204Z] nexus3.edgexfoundry.org:10004 [2023-10-18T11:47:02.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:02.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:02.204Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:02.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:02.204Z] [2023-10-18T11:47:02.204Z] Login Succeeded [2023-10-18T11:47:02.204Z] docker.io [2023-10-18T11:47:02.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:02.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:02.727Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:02.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:02.727Z] [2023-10-18T11:47:02.727Z] Login Succeeded [2023-10-18T11:47:02.727Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T11:47:02.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-18T11:47:03.131Z] + git rev-list -1 --merges 6ff19b9bbcef14612feb1da85704d71f54c07229~1..6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] echo [2023-10-18T11:47:03.177Z] -----------> git rev-list -1 --merges 6ff19b9bbcef14612feb1da85704d71f54c07229~1..6ff19b9bbcef14612feb1da85704d71f54c07229 6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:47:03.177Z] 6ff19b9bbcef14612feb1da85704d71f54c07229 [false] [Pipeline] sh [2023-10-18T11:47:03.464Z] + git log --format=format:%s -1 6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] echo [2023-10-18T11:47:03.490Z] ========================================================= [2023-10-18T11:47:03.490Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-18T11:47:03.490Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T11:47:03.813Z] + git log --format=format:%s -1 6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] echo [2023-10-18T11:47:03.823Z] [semverPrep] GIT_COMMIT: 6ff19b9bbcef14612feb1da85704d71f54c07229, Commit Message: Merge pull request #439 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35 [Pipeline] echo [2023-10-18T11:47:03.833Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-18T11:47:04.212Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T11:47:04.212Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-18T11:47:04.212Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-18T11:47:04.212Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-18T11:47:04.212Z] + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-10-18T11:47:04.212Z] /etc/ssh/ssh_known_hosts [2023-10-18T11:47:04.212Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:47:04.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T11:47:04.633Z] [2023-10-18T11:47:04.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:47:04.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T11:47:04.932Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-18T11:47:04.932Z] b85a868b505f: Pulling fs layer [2023-10-18T11:47:04.932Z] e2be974225ed: Pulling fs layer [2023-10-18T11:47:04.932Z] 339a4e72a1f5: Pulling fs layer [2023-10-18T11:47:04.932Z] 988bab9f4d93: Pulling fs layer [2023-10-18T11:47:04.932Z] 1469e6f7b9e6: Pulling fs layer [2023-10-18T11:47:04.932Z] eaf3925da568: Pulling fs layer [2023-10-18T11:47:04.932Z] bab4dde63d76: Pulling fs layer [2023-10-18T11:47:04.932Z] bde34c3a00c8: Pulling fs layer [2023-10-18T11:47:04.932Z] b352a97aabf1: Pulling fs layer [2023-10-18T11:47:04.932Z] 4872d77fe225: Pulling fs layer [2023-10-18T11:47:04.932Z] 5851b861e8e6: Pulling fs layer [2023-10-18T11:47:04.932Z] bab4dde63d76: Waiting [2023-10-18T11:47:04.932Z] b352a97aabf1: Waiting [2023-10-18T11:47:04.932Z] 4872d77fe225: Waiting [2023-10-18T11:47:04.932Z] 988bab9f4d93: Waiting [2023-10-18T11:47:04.932Z] bde34c3a00c8: Waiting [2023-10-18T11:47:04.932Z] 1469e6f7b9e6: Waiting [2023-10-18T11:47:04.932Z] eaf3925da568: Waiting [2023-10-18T11:47:04.932Z] e2be974225ed: Verifying Checksum [2023-10-18T11:47:04.932Z] e2be974225ed: Download complete [2023-10-18T11:47:04.932Z] 988bab9f4d93: Download complete [2023-10-18T11:47:05.191Z] 1469e6f7b9e6: Verifying Checksum [2023-10-18T11:47:05.191Z] 1469e6f7b9e6: Download complete [2023-10-18T11:47:05.191Z] 339a4e72a1f5: Verifying Checksum [2023-10-18T11:47:05.191Z] 339a4e72a1f5: Download complete [2023-10-18T11:47:05.191Z] eaf3925da568: Verifying Checksum [2023-10-18T11:47:05.191Z] eaf3925da568: Download complete [2023-10-18T11:47:05.191Z] bde34c3a00c8: Verifying Checksum [2023-10-18T11:47:05.191Z] bde34c3a00c8: Download complete [2023-10-18T11:47:05.191Z] b352a97aabf1: Download complete [2023-10-18T11:47:05.191Z] 4872d77fe225: Verifying Checksum [2023-10-18T11:47:05.191Z] 4872d77fe225: Download complete [2023-10-18T11:47:05.191Z] 5851b861e8e6: Verifying Checksum [2023-10-18T11:47:05.191Z] 5851b861e8e6: Download complete [2023-10-18T11:47:05.191Z] b85a868b505f: Download complete [2023-10-18T11:47:05.451Z] bab4dde63d76: Verifying Checksum [2023-10-18T11:47:05.451Z] bab4dde63d76: Download complete [2023-10-18T11:47:06.393Z] b85a868b505f: Pull complete [2023-10-18T11:47:06.652Z] e2be974225ed: Pull complete [2023-10-18T11:47:07.222Z] 339a4e72a1f5: Pull complete [2023-10-18T11:47:07.222Z] 988bab9f4d93: Pull complete [2023-10-18T11:47:07.482Z] 1469e6f7b9e6: Pull complete [2023-10-18T11:47:07.742Z] eaf3925da568: Pull complete [2023-10-18T11:47:09.648Z] bab4dde63d76: Pull complete [2023-10-18T11:47:09.648Z] bde34c3a00c8: Pull complete [2023-10-18T11:47:09.648Z] b352a97aabf1: Pull complete [2023-10-18T11:47:09.906Z] 4872d77fe225: Pull complete [2023-10-18T11:47:09.906Z] 5851b861e8e6: Pull complete [2023-10-18T11:47:09.906Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-18T11:47:09.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T11:47:09.906Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:47:10.002Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:47:10.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T11:47:13.106Z] $ docker top fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb -eo pid,comm [2023-10-18T11:47:13.166Z] 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-10-18T11:47:13.166Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T11:47:13.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T11:47:13.201Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T11:47:13.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T11:47:13.320Z] $ docker exec fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb ssh-agent [2023-10-18T11:47:13.434Z] SSH_AUTH_SOCK=/tmp/ssh-2ipbZpDfso3m/agent.33 [2023-10-18T11:47:13.434Z] SSH_AGENT_PID=39 [2023-10-18T11:47:13.440Z] Running ssh-add (command line suppressed) [2023-10-18T11:47:13.545Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5078976484966507112.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5078976484966507112.key) [2023-10-18T11:47:13.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T11:47:13.841Z] + git tag --points-at HEAD [Pipeline] } [2023-10-18T11:47:13.860Z] $ docker exec --env ******** --env ******** fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb ssh-agent -k [2023-10-18T11:47:13.949Z] unset SSH_AUTH_SOCK; [2023-10-18T11:47:13.949Z] unset SSH_AGENT_PID; [2023-10-18T11:47:13.949Z] echo Agent pid 39 killed; [2023-10-18T11:47:13.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-18T11:47:13.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T11:47:13.984Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T11:47:14.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T11:47:14.102Z] $ docker exec fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb ssh-agent [2023-10-18T11:47:14.218Z] SSH_AUTH_SOCK=/tmp/ssh-SKb2WMdgemTz/agent.71 [2023-10-18T11:47:14.218Z] SSH_AGENT_PID=77 [2023-10-18T11:47:14.223Z] Running ssh-add (command line suppressed) [2023-10-18T11:47:14.337Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2880925993697462785.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2880925993697462785.key) [2023-10-18T11:47:14.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T11:47:14.639Z] + git semver init [2023-10-18T11:47:14.899Z] 2023-10-18 11:47:14,825 [run_init] DEBUG init version:0.0.0 force:False [2023-10-18T11:47:14.899Z] 2023-10-18 11:47:14,825 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-18T11:47:14.899Z] 2023-10-18 11:47:14,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-18T11:47:14.899Z] 2023-10-18 11:47:14,826 [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-10-18T11:47:16.281Z] 2023-10-18 11:47:16,073 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-10-18T11:47:16.281Z] 2023-10-18 11:47:16,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-10-18T11:47:16.281Z] 2023-10-18 11:47:16,074 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:47:16.281Z] 2023-10-18 11:47:16,074 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:47:16.281Z] 3.1.0-dev.23 [Pipeline] } [2023-10-18T11:47:16.292Z] $ docker exec --env ******** --env ******** fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb ssh-agent -k [2023-10-18T11:47:16.384Z] unset SSH_AUTH_SOCK; [2023-10-18T11:47:16.384Z] unset SSH_AGENT_PID; [2023-10-18T11:47:16.384Z] echo Agent pid 77 killed; [2023-10-18T11:47:16.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T11:47:16.695Z] + git semver [Pipeline] } [2023-10-18T11:47:16.973Z] $ docker stop --time=1 fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb [2023-10-18T11:47:18.287Z] $ docker rm -f --volumes fb7e324cce19f6fa08f337eabbd11757ae996c891a827440d4dbdba54b9f7eeb [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T11:47:18.619Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-18T11:47:18.853Z] Stashed 1 file(s) [Pipeline] echo [2023-10-18T11:47:18.855Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [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-10-18T11:47:18.955Z] provisioning config files... [2023-10-18T11:47:18.964Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16142329026277996299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:47:19.289Z] ---> docker-login.sh [2023-10-18T11:47:19.289Z] nexus3.edgexfoundry.org:10001 [2023-10-18T11:47:19.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:19.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:19.289Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:19.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:19.289Z] [2023-10-18T11:47:19.289Z] Login Succeeded [2023-10-18T11:47:19.289Z] nexus3.edgexfoundry.org:10002 [2023-10-18T11:47:19.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:19.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:19.289Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:19.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:19.289Z] [2023-10-18T11:47:19.289Z] Login Succeeded [2023-10-18T11:47:19.289Z] nexus3.edgexfoundry.org:10003 [2023-10-18T11:47:19.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:19.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:19.556Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:19.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:19.556Z] [2023-10-18T11:47:19.556Z] Login Succeeded [2023-10-18T11:47:19.556Z] nexus3.edgexfoundry.org:10004 [2023-10-18T11:47:19.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:19.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:19.556Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:19.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:19.556Z] [2023-10-18T11:47:19.556Z] Login Succeeded [2023-10-18T11:47:19.556Z] docker.io [2023-10-18T11:47:19.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:47:20.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:47:20.760Z] Configure a credential helper to remove this warning. See [2023-10-18T11:47:20.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:47:20.760Z] [2023-10-18T11:47:20.760Z] Login Succeeded [2023-10-18T11:47:20.760Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T11:47:20.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T11:47:20.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T11:47:20.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T11:47:20.861Z] ========================================================= [2023-10-18T11:47:20.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-18T11:47:20.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:47:21.174Z] + 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-10-18T11:47:21.174Z] Sending build context to Docker daemon 23.67MB [2023-10-18T11:47:21.174Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T11:47:21.174Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T11:47:21.434Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-18T11:47:21.434Z] 7264a8db6415: Pulling fs layer [2023-10-18T11:47:21.434Z] c4d48a809fc2: Pulling fs layer [2023-10-18T11:47:21.434Z] 4f1c88b9dad5: Pulling fs layer [2023-10-18T11:47:21.434Z] ad3a456e5733: Pulling fs layer [2023-10-18T11:47:21.434Z] 33e27b845d1e: Pulling fs layer [2023-10-18T11:47:21.434Z] c68163c4e522: Pulling fs layer [2023-10-18T11:47:21.434Z] 50da416c3ac9: Pulling fs layer [2023-10-18T11:47:21.434Z] 23d2d4c4bb30: Pulling fs layer [2023-10-18T11:47:21.434Z] ad3a456e5733: Waiting [2023-10-18T11:47:21.434Z] 33e27b845d1e: Waiting [2023-10-18T11:47:21.434Z] c68163c4e522: Waiting [2023-10-18T11:47:21.434Z] 50da416c3ac9: Waiting [2023-10-18T11:47:21.434Z] 23d2d4c4bb30: Waiting [2023-10-18T11:47:21.434Z] c4d48a809fc2: Download complete [2023-10-18T11:47:21.434Z] ad3a456e5733: Verifying Checksum [2023-10-18T11:47:21.434Z] ad3a456e5733: Download complete [2023-10-18T11:47:21.434Z] 33e27b845d1e: Verifying Checksum [2023-10-18T11:47:21.434Z] 33e27b845d1e: Download complete [2023-10-18T11:47:21.434Z] 7264a8db6415: Verifying Checksum [2023-10-18T11:47:21.434Z] 7264a8db6415: Download complete [2023-10-18T11:47:21.434Z] c68163c4e522: Verifying Checksum [2023-10-18T11:47:21.434Z] c68163c4e522: Download complete [2023-10-18T11:47:21.692Z] 7264a8db6415: Pull complete [2023-10-18T11:47:21.692Z] 23d2d4c4bb30: Verifying Checksum [2023-10-18T11:47:21.692Z] 23d2d4c4bb30: Download complete [2023-10-18T11:47:21.692Z] c4d48a809fc2: Pull complete [2023-10-18T11:47:21.950Z] 4f1c88b9dad5: Verifying Checksum [2023-10-18T11:47:21.950Z] 4f1c88b9dad5: Download complete [2023-10-18T11:47:22.208Z] 50da416c3ac9: Verifying Checksum [2023-10-18T11:47:22.208Z] 50da416c3ac9: Download complete [2023-10-18T11:47:25.489Z] 4f1c88b9dad5: Pull complete [2023-10-18T11:47:25.489Z] ad3a456e5733: Pull complete [2023-10-18T11:47:25.489Z] 33e27b845d1e: Pull complete [2023-10-18T11:47:25.748Z] c68163c4e522: Pull complete [2023-10-18T11:47:29.425Z] 50da416c3ac9: Pull complete [2023-10-18T11:47:32.090Z] 23d2d4c4bb30: Pull complete [2023-10-18T11:47:32.090Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-18T11:47:32.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-18T11:47:32.090Z] ---> 0786185ac409 [2023-10-18T11:47:32.090Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T11:47:33.927Z] Still waiting to schedule task [2023-10-18T11:47:33.927Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-18T11:47:36.283Z] ---> Running in 096d52c4b0ff [2023-10-18T11:47:36.283Z] Removing intermediate container 096d52c4b0ff [2023-10-18T11:47:36.283Z] ---> 4c79aa5c1487 [2023-10-18T11:47:36.283Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T11:47:36.283Z] ---> Running in e1ad343bbd75 [2023-10-18T11:47:36.283Z] Removing intermediate container e1ad343bbd75 [2023-10-18T11:47:36.284Z] ---> 09b2d108d97a [2023-10-18T11:47:36.284Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T11:47:36.284Z] ---> Running in cfdecca29afa [2023-10-18T11:47:36.284Z] Removing intermediate container cfdecca29afa [2023-10-18T11:47:36.284Z] ---> bffe673e0f14 [2023-10-18T11:47:36.284Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-18T11:47:36.284Z] ---> Running in b42c1ff4175f [2023-10-18T11:47:36.284Z] Removing intermediate container b42c1ff4175f [2023-10-18T11:47:36.284Z] ---> 4e90696fed5b [2023-10-18T11:47:36.284Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T11:47:36.284Z] ---> Running in 3bcf9dbeefd2 [2023-10-18T11:47:36.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T11:47:36.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T11:47:37.062Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T11:47:37.062Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T11:47:37.062Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T11:47:37.062Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T11:47:37.062Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T11:47:37.062Z] OK: 268 MiB in 56 packages [2023-10-18T11:47:37.629Z] Removing intermediate container 3bcf9dbeefd2 [2023-10-18T11:47:37.629Z] ---> 55ac21b43298 [2023-10-18T11:47:37.629Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-18T11:47:37.629Z] ---> 140ce5408d0f [2023-10-18T11:47:37.629Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T11:47:37.629Z] ---> Running in e30b51aa2780 [2023-10-18T11:48:45.404Z] Removing intermediate container e30b51aa2780 [2023-10-18T11:48:45.404Z] ---> ac839d4932b0 [2023-10-18T11:48:45.404Z] Step 10/12 : COPY . . [2023-10-18T11:48:45.404Z] ---> 67cd9fe3cfca [2023-10-18T11:48:45.404Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T11:48:45.404Z] ---> Running in b9cc6a310629 [2023-10-18T11:48:45.404Z] Removing intermediate container b9cc6a310629 [2023-10-18T11:48:45.404Z] ---> a766268e4db6 [2023-10-18T11:48:45.404Z] Step 12/12 : RUN $MAKE [2023-10-18T11:48:45.404Z] ---> Running in 1b33d9ba2a2f [2023-10-18T11:48:45.404Z] noop [2023-10-18T11:48:45.404Z] Removing intermediate container 1b33d9ba2a2f [2023-10-18T11:48:45.404Z] ---> 93b19a11fbc3 [2023-10-18T11:48:45.404Z] Successfully built 93b19a11fbc3 [2023-10-18T11:48:45.404Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:48:45.728Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T11:48:45.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:48:45.794Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:48:45.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T11:48:46.186Z] $ docker top f3ee2530445285daa7cf27c61b0acd2cf067b28ecfb2bcc74d991548e046d5b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T11:48:46.530Z] + go version [2023-10-18T11:48:46.530Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-18T11:48:46.546Z] $ docker stop --time=1 f3ee2530445285daa7cf27c61b0acd2cf067b28ecfb2bcc74d991548e046d5b7 [2023-10-18T11:48:47.798Z] $ docker rm -f --volumes f3ee2530445285daa7cf27c61b0acd2cf067b28ecfb2bcc74d991548e046d5b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:48:48.178Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T11:48:48.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:48:48.255Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:48:48.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T11:48:48.628Z] $ docker top 630a264d1ec2fca68f7ba854f9b63590b575368b775c9cbf75d552f97e208e59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T11:48:48.969Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-18T11:48:49.262Z] + make test [2023-10-18T11:48:49.262Z] go test ./... -coverprofile=coverage.out [2023-10-18T11:48:50.636Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-18T11:49:00.607Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-18T11:49:00.607Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.6% of statements [2023-10-18T11:49:05.869Z] go vet ./... [2023-10-18T11:49:09.166Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T11:49:09.166Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T11:49:09.425Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T11:49:09.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T11:49:09.452Z] $ docker stop --time=1 630a264d1ec2fca68f7ba854f9b63590b575368b775c9cbf75d552f97e208e59 [2023-10-18T11:49:13.086Z] $ docker rm -f --volumes 630a264d1ec2fca68f7ba854f9b63590b575368b775c9cbf75d552f97e208e59 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T11:49:13.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T11:49:13.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-18T11:49:14.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T11:49:14.387Z] + ls -al . [2023-10-18T11:49:14.387Z] total 204 [2023-10-18T11:49:14.387Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 11:48 . [2023-10-18T11:49:14.387Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:46 .. [2023-10-18T11:49:14.387Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:48 .git [2023-10-18T11:49:14.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:46 .github [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 18 11:46 .gitignore [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 11:46 .golangci.yml [2023-10-18T11:49:14.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 11:47 .semver [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 18 11:46 Attribution.txt [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 18 11:46 CHANGELOG.md [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 18 11:46 Dockerfile [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 11:46 GOVERNANCE.md [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 11:46 Jenkinsfile [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 11:46 LICENSE [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 18 11:46 Makefile [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 11:46 OWNERS.md [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 4111 Oct 18 11:46 README.md [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 11:47 VERSION [2023-10-18T11:49:14.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:46 bin [2023-10-18T11:49:14.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:46 cmd [2023-10-18T11:49:14.387Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 18 11:48 coverage.out [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 18 11:46 go.mod [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 18 11:46 go.sum [2023-10-18T11:49:14.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:46 internal [2023-10-18T11:49:14.387Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:46 snap [2023-10-18T11:49:14.387Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 11:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:14.686Z] + 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=6ff19b9bbcef14612feb1da85704d71f54c07229 --label arch=amd64 --label version=3.1.0-dev.23 . [2023-10-18T11:49:14.687Z] Sending build context to Docker daemon 23.71MB [2023-10-18T11:49:14.687Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T11:49:14.687Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-18T11:49:14.687Z] ---> 93b19a11fbc3 [2023-10-18T11:49:14.687Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T11:49:15.252Z] ---> Running in d3a177d42a60 [2023-10-18T11:49:15.252Z] Removing intermediate container d3a177d42a60 [2023-10-18T11:49:15.252Z] ---> 842bd324e3e9 [2023-10-18T11:49:15.252Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T11:49:15.252Z] ---> Running in 6306063f3fc1 [2023-10-18T11:49:15.252Z] Removing intermediate container 6306063f3fc1 [2023-10-18T11:49:15.252Z] ---> 79f692933594 [2023-10-18T11:49:15.252Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-18T11:49:15.252Z] ---> Running in 6db62fec3a38 [2023-10-18T11:49:15.252Z] Removing intermediate container 6db62fec3a38 [2023-10-18T11:49:15.252Z] ---> fd0e849c17e9 [2023-10-18T11:49:15.252Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-18T11:49:15.252Z] ---> Running in 85cbd608cf4e [2023-10-18T11:49:15.510Z] Removing intermediate container 85cbd608cf4e [2023-10-18T11:49:15.510Z] ---> dad9a7e29359 [2023-10-18T11:49:15.510Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T11:49:15.510Z] ---> Running in 5b59d964cfd5 [2023-10-18T11:49:15.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T11:49:15.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T11:49:16.338Z] OK: 268 MiB in 56 packages [2023-10-18T11:49:16.596Z] Removing intermediate container 5b59d964cfd5 [2023-10-18T11:49:16.596Z] ---> 1614906499e7 [2023-10-18T11:49:16.596Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-18T11:49:16.596Z] ---> 56c2b613ddc2 [2023-10-18T11:49:16.596Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T11:49:16.596Z] ---> Running in 73722ab2c5db [2023-10-18T11:49:17.551Z] Removing intermediate container 73722ab2c5db [2023-10-18T11:49:17.551Z] ---> f615d402430a [2023-10-18T11:49:17.551Z] Step 10/25 : COPY . . [2023-10-18T11:49:18.119Z] ---> a00ebbb404ec [2023-10-18T11:49:18.119Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T11:49:18.119Z] ---> Running in 0024af78bdfb [2023-10-18T11:49:18.119Z] Removing intermediate container 0024af78bdfb [2023-10-18T11:49:18.119Z] ---> e0b520dd94b6 [2023-10-18T11:49:18.119Z] Step 12/25 : RUN $MAKE [2023-10-18T11:49:18.119Z] ---> Running in 149624ad36de [2023-10-18T11:49:18.378Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-18T11:49:20.333Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9509 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-10-18T11:49:20.351Z] Running in /w/workspace/device-virtual-go/149 [Pipeline] { [Pipeline] checkout [2023-10-18T11:49:20.384Z] The recommended git tool is: git [2023-10-18T11:49:25.584Z] using credential edgex-jenkins-ssh [2023-10-18T11:49:25.602Z] Cloning the remote Git repository [2023-10-18T11:49:25.658Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-10-18T11:49:25.779Z] > git init /w/workspace/device-virtual-go/149 # timeout=10 [2023-10-18T11:49:25.940Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-10-18T11:49:25.941Z] > git --version # timeout=10 [2023-10-18T11:49:25.965Z] > git --version # 'git version 2.25.1' [2023-10-18T11:49:25.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T11:49:26.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T11:49:28.903Z] Avoid second fetch [2023-10-18T11:49:28.904Z] Checking out Revision 6ff19b9bbcef14612feb1da85704d71f54c07229 (main) [2023-10-18T11:49:28.103Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-10-18T11:49:28.121Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T11:49:28.921Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T11:49:28.997Z] > git checkout -f 6ff19b9bbcef14612feb1da85704d71f54c07229 # timeout=10 [2023-10-18T11:49:29.408Z] Commit message: "Merge pull request #439 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T11:49:30.428Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-18T11:49:30.428Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T11:49:30.428Z] Dload Upload Total Spent Left Speed [2023-10-18T11:49:30.428Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-10-18T11:49:31.200Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-18T11:49:31.531Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-18T11:49:31.531Z] + sudo tee /etc/docker/daemon.new [2023-10-18T11:49:31.531Z] { [2023-10-18T11:49:31.531Z] "registry-mirrors": [ [2023-10-18T11:49:31.531Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-18T11:49:31.531Z] ], [2023-10-18T11:49:31.531Z] "bip": "10.250.0.254/24", [2023-10-18T11:49:31.531Z] "hosts": [ [2023-10-18T11:49:31.531Z] "tcp://0.0.0.0:5555", [2023-10-18T11:49:31.531Z] "unix:///var/run/docker.sock" [2023-10-18T11:49:31.531Z] ], [2023-10-18T11:49:31.531Z] "mtu": 1458, [2023-10-18T11:49:31.531Z] "selinux-enabled": true, [2023-10-18T11:49:31.531Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-18T11:49:31.531Z] } [Pipeline] sh [2023-10-18T11:49:31.866Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-18T11:49:32.192Z] + sudo service docker restart [2023-10-18T11:49:37.937Z] Removing intermediate container 149624ad36de [2023-10-18T11:49:37.937Z] ---> 4a0b1c7f929f [2023-10-18T11:49:37.937Z] Step 13/25 : FROM alpine:3.18 [2023-10-18T11:49:37.937Z] 3.18: Pulling from library/alpine [2023-10-18T11:49:37.937Z] 96526aa774ef: Pulling fs layer [2023-10-18T11:49:37.937Z] 96526aa774ef: Verifying Checksum [2023-10-18T11:49:37.937Z] 96526aa774ef: Download complete [2023-10-18T11:49:37.937Z] 96526aa774ef: Pull complete [2023-10-18T11:49:37.937Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T11:49:37.937Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T11:49:37.937Z] ---> 8ca4688f4f35 [2023-10-18T11:49:37.937Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-18T11:49:37.937Z] ---> Running in 7be10ae2bd4a [2023-10-18T11:49:37.937Z] Removing intermediate container 7be10ae2bd4a [2023-10-18T11:49:37.937Z] ---> c78366b2d501 [2023-10-18T11:49:37.937Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-18T11:49:37.937Z] ---> Running in ac27ad510234 [2023-10-18T11:49:38.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T11:49:38.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T11:49:38.488Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T11:49:38.488Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T11:49:38.488Z] OK: 7 MiB in 16 packages [2023-10-18T11:49:39.053Z] Removing intermediate container ac27ad510234 [2023-10-18T11:49:39.053Z] ---> 8e74658b24cf [2023-10-18T11:49:39.053Z] Step 16/25 : WORKDIR / [2023-10-18T11:49:39.053Z] ---> Running in d3eb0e6f183f [2023-10-18T11:49:39.053Z] Removing intermediate container d3eb0e6f183f [2023-10-18T11:49:39.053Z] ---> 5dda9a877471 [2023-10-18T11:49:39.053Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-18T11:49:39.053Z] ---> e4bfdb17754d [2023-10-18T11:49:39.053Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-18T11:49:39.311Z] ---> 2b37b7a75fe6 [2023-10-18T11:49:39.311Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-18T11:49:40.274Z] ---> fc7f86294524 [2023-10-18T11:49:40.274Z] Step 20/25 : EXPOSE 59900 [2023-10-18T11:49:40.274Z] ---> Running in f79f3b66bffd [2023-10-18T11:49:40.274Z] Removing intermediate container f79f3b66bffd [2023-10-18T11:49:40.274Z] ---> 4ee49c924084 [2023-10-18T11:49:40.274Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-18T11:49:40.274Z] ---> Running in 8d5a037dfcd6 [2023-10-18T11:49:40.274Z] Removing intermediate container 8d5a037dfcd6 [2023-10-18T11:49:40.274Z] ---> c0e8642ca4cd [2023-10-18T11:49:40.274Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-18T11:49:40.274Z] ---> Running in 22532886e0d2 [2023-10-18T11:49:40.274Z] Removing intermediate container 22532886e0d2 [2023-10-18T11:49:40.274Z] ---> f10fa369725e [2023-10-18T11:49:40.274Z] Step 23/25 : LABEL arch=amd64 [2023-10-18T11:49:40.274Z] ---> Running in d265c8721468 [2023-10-18T11:49:40.274Z] Removing intermediate container d265c8721468 [2023-10-18T11:49:40.274Z] ---> b7d0585164d8 [2023-10-18T11:49:40.274Z] Step 24/25 : LABEL git_sha=6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:49:40.533Z] ---> Running in bfcb589df572 [2023-10-18T11:49:40.533Z] Removing intermediate container bfcb589df572 [2023-10-18T11:49:40.533Z] ---> c093aa7b0cc0 [2023-10-18T11:49:40.533Z] Step 25/25 : LABEL version=3.1.0-dev.23 [2023-10-18T11:49:40.533Z] ---> Running in 9b28924afc18 [2023-10-18T11:49:40.533Z] Removing intermediate container 9b28924afc18 [2023-10-18T11:49:40.533Z] ---> ba3678d48277 [2023-10-18T11:49:40.533Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T11:49:40.533Z] Successfully built ba3678d48277 [2023-10-18T11:49:40.533Z] 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-10-18T11:49:40.644Z] provisioning config files... [2023-10-18T11:49:40.652Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11310535929454414245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:49:40.947Z] ---> docker-login.sh [2023-10-18T11:49:40.947Z] nexus3.edgexfoundry.org:10001 [2023-10-18T11:49:40.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:40.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:40.947Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:40.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:40.947Z] [2023-10-18T11:49:40.947Z] Login Succeeded [2023-10-18T11:49:40.947Z] nexus3.edgexfoundry.org:10002 [2023-10-18T11:49:40.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:40.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:40.947Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:40.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:40.947Z] [2023-10-18T11:49:40.947Z] Login Succeeded [2023-10-18T11:49:40.947Z] nexus3.edgexfoundry.org:10003 [2023-10-18T11:49:41.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:41.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:41.206Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:41.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:41.206Z] [2023-10-18T11:49:41.206Z] Login Succeeded [2023-10-18T11:49:41.206Z] nexus3.edgexfoundry.org:10004 [2023-10-18T11:49:41.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:41.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:41.206Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:41.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:41.206Z] [2023-10-18T11:49:41.206Z] Login Succeeded [2023-10-18T11:49:41.206Z] docker.io [2023-10-18T11:49:41.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:41.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:41.464Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:41.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:41.465Z] [2023-10-18T11:49:41.465Z] Login Succeeded [2023-10-18T11:49:41.465Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T11:49:41.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T11:49:41.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T11:49:41.537Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-10-18T11:49:41.537Z] 6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:49:41.537Z] latest [2023-10-18T11:49:41.537Z] 3.1.0-dev.23 [2023-10-18T11:49:41.537Z] 6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [2023-10-18T11:49:41.537Z] main [2023-10-18T11:49:41.537Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:41.871Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:42.178Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:49:42.178Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-18T11:49:42.178Z] d01a0798fe34: Preparing [2023-10-18T11:49:42.178Z] be219d5dad10: Preparing [2023-10-18T11:49:42.178Z] 3a8db7d8d9f9: Preparing [2023-10-18T11:49:42.178Z] 6515e83ef289: Preparing [2023-10-18T11:49:42.178Z] cc2447e1835a: Preparing [2023-10-18T11:49:42.178Z] cc2447e1835a: Layer already exists [2023-10-18T11:49:42.178Z] 3a8db7d8d9f9: Pushed [2023-10-18T11:49:42.178Z] be219d5dad10: Pushed [2023-10-18T11:49:42.178Z] 6515e83ef289: Pushed [2023-10-18T11:49:44.711Z] d01a0798fe34: Pushed [2023-10-18T11:49:44.970Z] 6ff19b9bbcef14612feb1da85704d71f54c07229: digest: sha256:bb860d025e52c2ef357ac4d43e7d0f75f886a806c95dc382eec138b8101c91c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:45.283Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:45.594Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-18T11:49:45.594Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-18T11:49:45.594Z] d01a0798fe34: Preparing [2023-10-18T11:49:45.594Z] be219d5dad10: Preparing [2023-10-18T11:49:45.594Z] 3a8db7d8d9f9: Preparing [2023-10-18T11:49:45.594Z] 6515e83ef289: Preparing [2023-10-18T11:49:45.594Z] cc2447e1835a: Preparing [2023-10-18T11:49:45.594Z] 6515e83ef289: Layer already exists [2023-10-18T11:49:45.594Z] d01a0798fe34: Layer already exists [2023-10-18T11:49:45.594Z] cc2447e1835a: Layer already exists [2023-10-18T11:49:45.594Z] be219d5dad10: Layer already exists [2023-10-18T11:49:45.594Z] 3a8db7d8d9f9: Layer already exists [2023-10-18T11:49:45.594Z] latest: digest: sha256:bb860d025e52c2ef357ac4d43e7d0f75f886a806c95dc382eec138b8101c91c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:45.910Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:46.216Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.23 [2023-10-18T11:49:46.216Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-18T11:49:46.216Z] d01a0798fe34: Preparing [2023-10-18T11:49:46.216Z] be219d5dad10: Preparing [2023-10-18T11:49:46.216Z] 3a8db7d8d9f9: Preparing [2023-10-18T11:49:46.216Z] 6515e83ef289: Preparing [2023-10-18T11:49:46.216Z] cc2447e1835a: Preparing [2023-10-18T11:49:46.216Z] d01a0798fe34: Layer already exists [2023-10-18T11:49:46.216Z] 3a8db7d8d9f9: Layer already exists [2023-10-18T11:49:46.216Z] be219d5dad10: Layer already exists [2023-10-18T11:49:46.216Z] 6515e83ef289: Layer already exists [2023-10-18T11:49:46.216Z] cc2447e1835a: Layer already exists [2023-10-18T11:49:46.216Z] 3.1.0-dev.23: digest: sha256:bb860d025e52c2ef357ac4d43e7d0f75f886a806c95dc382eec138b8101c91c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:46.522Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:46.835Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [2023-10-18T11:49:46.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-18T11:49:46.835Z] d01a0798fe34: Preparing [2023-10-18T11:49:46.835Z] be219d5dad10: Preparing [2023-10-18T11:49:46.835Z] 3a8db7d8d9f9: Preparing [2023-10-18T11:49:46.835Z] 6515e83ef289: Preparing [2023-10-18T11:49:46.835Z] cc2447e1835a: Preparing [2023-10-18T11:49:46.835Z] cc2447e1835a: Layer already exists [2023-10-18T11:49:46.835Z] d01a0798fe34: Layer already exists [2023-10-18T11:49:46.835Z] 6515e83ef289: Layer already exists [2023-10-18T11:49:46.835Z] 3a8db7d8d9f9: Layer already exists [2023-10-18T11:49:46.835Z] be219d5dad10: Layer already exists [2023-10-18T11:49:46.835Z] 6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23: digest: sha256:bb860d025e52c2ef357ac4d43e7d0f75f886a806c95dc382eec138b8101c91c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:47.139Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:47.443Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-10-18T11:49:47.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-18T11:49:47.443Z] d01a0798fe34: Preparing [2023-10-18T11:49:47.443Z] be219d5dad10: Preparing [2023-10-18T11:49:47.443Z] 3a8db7d8d9f9: Preparing [2023-10-18T11:49:47.443Z] 6515e83ef289: Preparing [2023-10-18T11:49:47.443Z] cc2447e1835a: Preparing [2023-10-18T11:49:47.443Z] 6515e83ef289: Layer already exists [2023-10-18T11:49:47.443Z] cc2447e1835a: Layer already exists [2023-10-18T11:49:47.443Z] 3a8db7d8d9f9: Layer already exists [2023-10-18T11:49:47.443Z] be219d5dad10: Layer already exists [2023-10-18T11:49:47.443Z] d01a0798fe34: Layer already exists [2023-10-18T11:49:47.443Z] main: digest: sha256:bb860d025e52c2ef357ac4d43e7d0f75f886a806c95dc382eec138b8101c91c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T11:49:47.485Z] ===================================================== [Pipeline] echo [2023-10-18T11:49:47.493Z] taggedImages: [2023-10-18T11:49:47.493Z] - nexus3.edgexfoundry.org:10004/device-virtual:6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:49:47.493Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-18T11:49:47.494Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.23 [2023-10-18T11:49:47.494Z] - nexus3.edgexfoundry.org:10004/device-virtual:6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [2023-10-18T11:49:47.494Z] - 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-10-18T11:49:47.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T11:49:47.851Z] [2023-10-18T11:49:47.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:48.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T11:49:48.147Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-18T11:49:48.147Z] 5eb5b503b376: Pulling fs layer [2023-10-18T11:49:48.147Z] 5c69ac0246d0: Pulling fs layer [2023-10-18T11:49:48.147Z] ec43610c2a17: Pulling fs layer [2023-10-18T11:49:48.147Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-18T11:49:48.147Z] 33b1e0a273af: Pulling fs layer [2023-10-18T11:49:48.147Z] 5d3b04190fa2: Pulling fs layer [2023-10-18T11:49:48.147Z] 2f39f015ded8: Pulling fs layer [2023-10-18T11:49:48.147Z] 5d3b04190fa2: Waiting [2023-10-18T11:49:48.147Z] 2f39f015ded8: Waiting [2023-10-18T11:49:48.147Z] 3a2ae6a8a46f: Waiting [2023-10-18T11:49:48.147Z] 33b1e0a273af: Waiting [2023-10-18T11:49:48.147Z] 5c69ac0246d0: Download complete [2023-10-18T11:49:48.147Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-18T11:49:48.147Z] 3a2ae6a8a46f: Download complete [2023-10-18T11:49:48.147Z] 33b1e0a273af: Verifying Checksum [2023-10-18T11:49:48.147Z] 33b1e0a273af: Download complete [2023-10-18T11:49:48.147Z] ec43610c2a17: Verifying Checksum [2023-10-18T11:49:48.147Z] ec43610c2a17: Download complete [2023-10-18T11:49:48.147Z] 5d3b04190fa2: Download complete [2023-10-18T11:49:48.404Z] 5eb5b503b376: Download complete [2023-10-18T11:49:48.972Z] 2f39f015ded8: Download complete [2023-10-18T11:49:49.537Z] 5eb5b503b376: Pull complete [2023-10-18T11:49:49.537Z] 5c69ac0246d0: Pull complete [2023-10-18T11:49:50.104Z] ec43610c2a17: Pull complete [2023-10-18T11:49:50.104Z] 3a2ae6a8a46f: Pull complete [2023-10-18T11:49:50.104Z] 33b1e0a273af: Pull complete [2023-10-18T11:49:50.362Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T11:49:50.479Z] provisioning config files... [2023-10-18T11:49:50.504Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/149@tmp/config4295133375393285882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:49:50.888Z] ---> docker-login.sh [2023-10-18T11:49:50.888Z] nexus3.edgexfoundry.org:10001 [2023-10-18T11:49:51.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:51.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:51.759Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:51.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:51.759Z] [2023-10-18T11:49:51.759Z] Login Succeeded [2023-10-18T11:49:51.759Z] nexus3.edgexfoundry.org:10002 [2023-10-18T11:49:52.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:52.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:52.030Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:52.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:52.030Z] [2023-10-18T11:49:52.030Z] Login Succeeded [2023-10-18T11:49:52.030Z] nexus3.edgexfoundry.org:10003 [2023-10-18T11:49:52.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:52.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:52.308Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:52.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:52.308Z] [2023-10-18T11:49:52.308Z] Login Succeeded [2023-10-18T11:49:52.308Z] nexus3.edgexfoundry.org:10004 [2023-10-18T11:49:52.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:52.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:52.864Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:52.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:52.864Z] [2023-10-18T11:49:52.864Z] Login Succeeded [2023-10-18T11:49:52.864Z] docker.io [2023-10-18T11:49:53.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:49:53.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:49:53.410Z] Configure a credential helper to remove this warning. See [2023-10-18T11:49:53.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:49:53.410Z] [2023-10-18T11:49:53.410Z] Login Succeeded [2023-10-18T11:49:53.410Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T11:49:53.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T11:49:53.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T11:49:53.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T11:49:53.715Z] ========================================================= [2023-10-18T11:49:53.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-18T11:49:53.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:49:54.065Z] + 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-10-18T11:49:54.543Z] 2f39f015ded8: Pull complete [2023-10-18T11:49:54.544Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-18T11:49:54.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T11:49:54.544Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:49:54.611Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:49:54.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-18T11:49:54.664Z] Sending build context to Docker daemon 11.97MB [2023-10-18T11:49:54.664Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T11:49:54.664Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T11:49:54.664Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-18T11:49:54.664Z] 9fda8d8052c6: Pulling fs layer [2023-10-18T11:49:54.664Z] 5d54e960e981: Pulling fs layer [2023-10-18T11:49:54.664Z] c4a7e357bf2a: Pulling fs layer [2023-10-18T11:49:54.664Z] f0e02332f6b5: Pulling fs layer [2023-10-18T11:49:54.664Z] cefa15bbcfad: Pulling fs layer [2023-10-18T11:49:54.664Z] 17808c966233: Pulling fs layer [2023-10-18T11:49:54.664Z] f4c1fc716caa: Pulling fs layer [2023-10-18T11:49:54.664Z] f0e02332f6b5: Waiting [2023-10-18T11:49:54.664Z] 17808c966233: Waiting [2023-10-18T11:49:54.664Z] f4c1fc716caa: Waiting [2023-10-18T11:49:54.933Z] 5d54e960e981: Verifying Checksum [2023-10-18T11:49:54.933Z] 5d54e960e981: Download complete [2023-10-18T11:49:54.933Z] f0e02332f6b5: Verifying Checksum [2023-10-18T11:49:54.933Z] f0e02332f6b5: Download complete [2023-10-18T11:49:54.933Z] cefa15bbcfad: Verifying Checksum [2023-10-18T11:49:54.933Z] cefa15bbcfad: Download complete [2023-10-18T11:49:54.933Z] 9fda8d8052c6: Verifying Checksum [2023-10-18T11:49:54.933Z] 9fda8d8052c6: Download complete [2023-10-18T11:49:55.523Z] f4c1fc716caa: Verifying Checksum [2023-10-18T11:49:55.523Z] f4c1fc716caa: Download complete [2023-10-18T11:49:56.129Z] 9fda8d8052c6: Pull complete [2023-10-18T11:49:56.720Z] 5d54e960e981: Pull complete [2023-10-18T11:49:56.720Z] c4a7e357bf2a: Verifying Checksum [2023-10-18T11:49:56.720Z] c4a7e357bf2a: Download complete [2023-10-18T11:49:57.687Z] 17808c966233: Verifying Checksum [2023-10-18T11:49:57.687Z] 17808c966233: Download complete [2023-10-18T11:49:59.259Z] $ docker top 3900c0797c4a05ef4d82fec0aa42ff7fe7d93c41c69e9402a9e4b940a8f666a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:49:59.664Z] ---> job-cost.sh [2023-10-18T11:49:59.664Z] lf-activate-venv: SKIPPING [2023-10-18T11:49:59.664Z] INFO: No Stack... [2023-10-18T11:49:59.933Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T11:50:00.193Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T11:50:00.483Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-10-18T11:50:00.483Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T11:50:00.494Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] [2023-10-18T11:50:00.503Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] did not exist. Created. [2023-10-18T11:50:00.503Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T11:50:00.806Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-18T11:50:00.837Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T11:50:00.843Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T11:50:00.865Z] $ docker stop --time=1 3900c0797c4a05ef4d82fec0aa42ff7fe7d93c41c69e9402a9e4b940a8f666a0 [2023-10-18T11:50:02.020Z] $ docker rm -f --volumes 3900c0797c4a05ef4d82fec0aa42ff7fe7d93c41c69e9402a9e4b940a8f666a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-18T11:50:10.019Z] c4a7e357bf2a: Pull complete [2023-10-18T11:50:10.019Z] f0e02332f6b5: Pull complete [2023-10-18T11:50:10.285Z] cefa15bbcfad: Pull complete [2023-10-18T11:50:20.366Z] 17808c966233: Pull complete [2023-10-18T11:50:20.968Z] f4c1fc716caa: Pull complete [2023-10-18T11:50:20.968Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-18T11:50:20.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-18T11:50:20.968Z] ---> ea914061e18c [2023-10-18T11:50:20.968Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T11:50:21.951Z] ---> Running in 6ca337acc46b [2023-10-18T11:50:21.951Z] Removing intermediate container 6ca337acc46b [2023-10-18T11:50:21.951Z] ---> c2b49a74c85d [2023-10-18T11:50:21.951Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T11:50:22.226Z] ---> Running in c397eb2e758d [2023-10-18T11:50:22.505Z] Removing intermediate container c397eb2e758d [2023-10-18T11:50:22.505Z] ---> 311ab7999a63 [2023-10-18T11:50:22.505Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T11:50:22.505Z] ---> Running in b9f366b06d28 [2023-10-18T11:50:22.775Z] Removing intermediate container b9f366b06d28 [2023-10-18T11:50:22.775Z] ---> dc23c5e7f3c0 [2023-10-18T11:50:22.775Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-18T11:50:23.045Z] ---> Running in 37a8eb03c213 [2023-10-18T11:50:23.315Z] Removing intermediate container 37a8eb03c213 [2023-10-18T11:50:23.315Z] ---> de7672843cfa [2023-10-18T11:50:23.315Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T11:50:23.315Z] ---> Running in c7f5374a3855 [2023-10-18T11:50:24.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T11:50:24.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T11:50:25.843Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T11:50:25.843Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T11:50:25.843Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T11:50:25.843Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T11:50:25.843Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T11:50:26.110Z] OK: 270 MiB in 56 packages [2023-10-18T11:50:27.087Z] Removing intermediate container c7f5374a3855 [2023-10-18T11:50:27.087Z] ---> 9036eb8a466e [2023-10-18T11:50:27.087Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-18T11:50:27.361Z] ---> c499909b2aea [2023-10-18T11:50:27.361Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T11:50:27.632Z] ---> Running in 7a7404f05369 [2023-10-18T11:52:04.732Z] Removing intermediate container 7a7404f05369 [2023-10-18T11:52:04.732Z] ---> 5e2b0f38a135 [2023-10-18T11:52:04.732Z] Step 10/12 : COPY . . [2023-10-18T11:52:04.732Z] ---> ab5b7e7813fc [2023-10-18T11:52:04.732Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T11:52:04.732Z] ---> Running in 85a9cde56478 [2023-10-18T11:52:04.732Z] Removing intermediate container 85a9cde56478 [2023-10-18T11:52:04.732Z] ---> 4de8713a917c [2023-10-18T11:52:04.732Z] Step 12/12 : RUN $MAKE [2023-10-18T11:52:04.732Z] ---> Running in cce2f81111aa [2023-10-18T11:52:04.732Z] noop [2023-10-18T11:52:04.732Z] Removing intermediate container cce2f81111aa [2023-10-18T11:52:04.732Z] ---> c038e4199eed [2023-10-18T11:52:04.732Z] Successfully built c038e4199eed [2023-10-18T11:52:04.732Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:52:05.087Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T11:52:05.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:52:05.305Z] prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container [2023-10-18T11:52:05.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/149 -v /w/workspace/device-virtual-go/149:/w/workspace/device-virtual-go/149:rw,z -v /w/workspace/device-virtual-go/149@tmp:/w/workspace/device-virtual-go/149@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-10-18T11:52:08.798Z] $ docker top 00ec7a63c8093bac17c88089929c505480309270649d5d0b8cc24cc0bb3f9543 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T11:52:09.627Z] + go version [2023-10-18T11:52:09.627Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-18T11:52:09.646Z] $ docker stop --time=1 00ec7a63c8093bac17c88089929c505480309270649d5d0b8cc24cc0bb3f9543 [2023-10-18T11:52:11.326Z] $ docker rm -f --volumes 00ec7a63c8093bac17c88089929c505480309270649d5d0b8cc24cc0bb3f9543 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:52:11.891Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T11:52:11.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:52:12.086Z] prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container [2023-10-18T11:52:12.215Z] $ 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/149 -v /w/workspace/device-virtual-go/149:/w/workspace/device-virtual-go/149:rw,z -v /w/workspace/device-virtual-go/149@tmp:/w/workspace/device-virtual-go/149@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-10-18T11:52:13.503Z] $ docker top 9074f36af88a56dfa28a07805fd83d525c2c4e2b3365394e8608951bc4ecf435 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T11:52:14.414Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/149 [Pipeline] fileExists [Pipeline] sh [2023-10-18T11:52:15.068Z] + make test [2023-10-18T11:52:15.068Z] go test ./... -coverprofile=coverage.out [2023-10-18T11:52:19.328Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-18T11:53:55.962Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-18T11:53:55.962Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.4% of statements [2023-10-18T11:53:55.962Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-18T11:53:55.962Z] go vet ./... [2023-10-18T11:54:06.020Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T11:54:06.020Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T11:54:06.020Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T11:54:06.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T11:54:06.321Z] $ docker stop --time=1 9074f36af88a56dfa28a07805fd83d525c2c4e2b3365394e8608951bc4ecf435 [2023-10-18T11:54:08.262Z] $ docker rm -f --volumes 9074f36af88a56dfa28a07805fd83d525c2c4e2b3365394e8608951bc4ecf435 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T11:54:09.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T11:54:09.548Z] Warning: overwriting stash ‘coverage-report’ [2023-10-18T11:54:10.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T11:54:10.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T11:54:10.836Z] + ls -al . [2023-10-18T11:54:10.836Z] total 200 [2023-10-18T11:54:10.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:52 . [2023-10-18T11:54:10.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:49 .. [2023-10-18T11:54:10.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:49 .git [2023-10-18T11:54:10.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:49 .github [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 18 11:49 .gitignore [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 11:49 .golangci.yml [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 18 11:49 Attribution.txt [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 18 11:49 CHANGELOG.md [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 18 11:49 Dockerfile [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 11:49 GOVERNANCE.md [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 11:49 Jenkinsfile [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 11:49 LICENSE [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 18 11:49 Makefile [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 11:49 OWNERS.md [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 4111 Oct 18 11:49 README.md [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 11:47 VERSION [2023-10-18T11:54:10.837Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:49 bin [2023-10-18T11:54:10.837Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:49 cmd [2023-10-18T11:54:10.837Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 18 11:53 coverage.out [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 18 11:49 go.mod [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 18 11:49 go.sum [2023-10-18T11:54:10.837Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:49 internal [2023-10-18T11:54:10.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:49 snap [2023-10-18T11:54:10.837Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 11:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:54:11.169Z] + 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=6ff19b9bbcef14612feb1da85704d71f54c07229 --label arch=arm64 --label version=3.1.0-dev.23 . [2023-10-18T11:54:11.755Z] Sending build context to Docker daemon 12.02MB [2023-10-18T11:54:11.755Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T11:54:11.755Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-18T11:54:11.755Z] ---> c038e4199eed [2023-10-18T11:54:11.755Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T11:54:11.755Z] ---> Running in b657a44ab70d [2023-10-18T11:54:12.022Z] Removing intermediate container b657a44ab70d [2023-10-18T11:54:12.022Z] ---> 40254e714de6 [2023-10-18T11:54:12.022Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T11:54:12.289Z] ---> Running in 24499207307a [2023-10-18T11:54:12.558Z] Removing intermediate container 24499207307a [2023-10-18T11:54:12.558Z] ---> 3842d98d56e3 [2023-10-18T11:54:12.558Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-18T11:54:12.558Z] ---> Running in c8be1b7a5319 [2023-10-18T11:54:12.825Z] Removing intermediate container c8be1b7a5319 [2023-10-18T11:54:12.825Z] ---> f09d757a8281 [2023-10-18T11:54:12.825Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-18T11:54:13.102Z] ---> Running in b03abcdb9f47 [2023-10-18T11:54:13.372Z] Removing intermediate container b03abcdb9f47 [2023-10-18T11:54:13.372Z] ---> f577e65d98ba [2023-10-18T11:54:13.372Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T11:54:13.372Z] ---> Running in be57e7104e32 [2023-10-18T11:54:14.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T11:54:14.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T11:54:15.876Z] OK: 270 MiB in 56 packages [2023-10-18T11:54:16.845Z] Removing intermediate container be57e7104e32 [2023-10-18T11:54:16.845Z] ---> ea8b67ee9f70 [2023-10-18T11:54:16.845Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-18T11:54:17.432Z] ---> d395c71e06a9 [2023-10-18T11:54:17.432Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T11:54:17.432Z] ---> Running in d2c353743bb3 [2023-10-18T11:54:20.011Z] Removing intermediate container d2c353743bb3 [2023-10-18T11:54:20.011Z] ---> 5e74c98f5b8c [2023-10-18T11:54:20.011Z] Step 10/25 : COPY . . [2023-10-18T11:54:20.968Z] ---> fc49d2ccfe8c [2023-10-18T11:54:20.968Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T11:54:20.968Z] ---> Running in 6326c5e3ade8 [2023-10-18T11:54:21.236Z] Removing intermediate container 6326c5e3ade8 [2023-10-18T11:54:21.236Z] ---> 83e165bc751d [2023-10-18T11:54:21.236Z] Step 12/25 : RUN $MAKE [2023-10-18T11:54:21.505Z] ---> Running in e9820bc31203 [2023-10-18T11:54:22.467Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-18T11:56:14.370Z] Removing intermediate container e9820bc31203 [2023-10-18T11:56:14.370Z] ---> 5b1725222a57 [2023-10-18T11:56:14.370Z] Step 13/25 : FROM alpine:3.18 [2023-10-18T11:56:14.370Z] 3.18: Pulling from library/alpine [2023-10-18T11:56:14.370Z] 579b34f0a95b: Pulling fs layer [2023-10-18T11:56:14.370Z] 579b34f0a95b: Verifying Checksum [2023-10-18T11:56:14.370Z] 579b34f0a95b: Download complete [2023-10-18T11:56:14.370Z] 579b34f0a95b: Pull complete [2023-10-18T11:56:14.370Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T11:56:14.370Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T11:56:14.370Z] ---> 3cc203321400 [2023-10-18T11:56:14.370Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-18T11:56:14.370Z] ---> Running in 234bac30cde9 [2023-10-18T11:56:14.370Z] Removing intermediate container 234bac30cde9 [2023-10-18T11:56:14.370Z] ---> 72c96d5e4522 [2023-10-18T11:56:14.370Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-18T11:56:14.370Z] ---> Running in 5611d1c6915d [2023-10-18T11:56:14.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T11:56:14.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T11:56:14.951Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T11:56:14.951Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T11:56:14.951Z] OK: 8 MiB in 16 packages [2023-10-18T11:56:16.096Z] Removing intermediate container 5611d1c6915d [2023-10-18T11:56:16.096Z] ---> 1986df896d07 [2023-10-18T11:56:16.096Z] Step 16/25 : WORKDIR / [2023-10-18T11:56:16.096Z] ---> Running in e28113eb7f0d [2023-10-18T11:56:16.380Z] Removing intermediate container e28113eb7f0d [2023-10-18T11:56:16.380Z] ---> 63634d7f8715 [2023-10-18T11:56:16.380Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-18T11:56:16.978Z] ---> 9ff059b52882 [2023-10-18T11:56:16.978Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-18T11:56:17.572Z] ---> 37d76054dae9 [2023-10-18T11:56:17.572Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-18T11:56:18.983Z] ---> bc0fe9800086 [2023-10-18T11:56:18.983Z] Step 20/25 : EXPOSE 59900 [2023-10-18T11:56:18.983Z] ---> Running in 7ed659cc2a84 [2023-10-18T11:56:19.250Z] Removing intermediate container 7ed659cc2a84 [2023-10-18T11:56:19.250Z] ---> c8c46272e482 [2023-10-18T11:56:19.250Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-18T11:56:19.580Z] ---> Running in 90f2564c04bf [2023-10-18T11:56:19.848Z] Removing intermediate container 90f2564c04bf [2023-10-18T11:56:19.848Z] ---> 71796712805b [2023-10-18T11:56:19.848Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-18T11:56:19.848Z] ---> Running in 9989e4855a48 [2023-10-18T11:56:20.118Z] Removing intermediate container 9989e4855a48 [2023-10-18T11:56:20.118Z] ---> 7127da6547bb [2023-10-18T11:56:20.118Z] Step 23/25 : LABEL arch=arm64 [2023-10-18T11:56:20.118Z] ---> Running in ecaf34c47940 [2023-10-18T11:56:20.846Z] Removing intermediate container ecaf34c47940 [2023-10-18T11:56:20.846Z] ---> d8e55b98bd4a [2023-10-18T11:56:20.846Z] Step 24/25 : LABEL git_sha=6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:56:20.846Z] ---> Running in a8be2818a9c7 [2023-10-18T11:56:20.846Z] Removing intermediate container a8be2818a9c7 [2023-10-18T11:56:20.846Z] ---> eaf49070e9d9 [2023-10-18T11:56:20.846Z] Step 25/25 : LABEL version=3.1.0-dev.23 [2023-10-18T11:56:20.846Z] ---> Running in 0b05fa53e1f7 [2023-10-18T11:56:21.110Z] Removing intermediate container 0b05fa53e1f7 [2023-10-18T11:56:21.110Z] ---> 47255e387c46 [2023-10-18T11:56:21.110Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T11:56:21.110Z] Successfully built 47255e387c46 [2023-10-18T11:56:21.110Z] 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-10-18T11:56:21.235Z] provisioning config files... [2023-10-18T11:56:21.247Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/149@tmp/config9917597367443904329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:56:21.642Z] ---> docker-login.sh [2023-10-18T11:56:21.642Z] nexus3.edgexfoundry.org:10001 [2023-10-18T11:56:21.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:56:21.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:56:21.911Z] Configure a credential helper to remove this warning. See [2023-10-18T11:56:21.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:56:21.911Z] [2023-10-18T11:56:21.911Z] Login Succeeded [2023-10-18T11:56:21.911Z] nexus3.edgexfoundry.org:10002 [2023-10-18T11:56:22.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:56:22.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:56:22.177Z] Configure a credential helper to remove this warning. See [2023-10-18T11:56:22.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:56:22.177Z] [2023-10-18T11:56:22.177Z] Login Succeeded [2023-10-18T11:56:22.177Z] nexus3.edgexfoundry.org:10003 [2023-10-18T11:56:22.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:56:22.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:56:22.709Z] Configure a credential helper to remove this warning. See [2023-10-18T11:56:22.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:56:22.709Z] [2023-10-18T11:56:22.709Z] Login Succeeded [2023-10-18T11:56:22.709Z] nexus3.edgexfoundry.org:10004 [2023-10-18T11:56:22.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:56:23.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:56:23.023Z] Configure a credential helper to remove this warning. See [2023-10-18T11:56:23.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:56:23.023Z] [2023-10-18T11:56:23.023Z] Login Succeeded [2023-10-18T11:56:23.023Z] docker.io [2023-10-18T11:56:23.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T11:56:23.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T11:56:23.561Z] Configure a credential helper to remove this warning. See [2023-10-18T11:56:23.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T11:56:23.561Z] [2023-10-18T11:56:23.561Z] Login Succeeded [2023-10-18T11:56:23.561Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T11:56:23.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T11:56:23.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T11:56:23.621Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-10-18T11:56:23.621Z] 6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:56:23.621Z] latest [2023-10-18T11:56:23.621Z] 3.1.0-dev.23 [2023-10-18T11:56:23.621Z] 6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [2023-10-18T11:56:23.621Z] main [2023-10-18T11:56:23.621Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:24.001Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:24.354Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:56:24.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-18T11:56:24.354Z] b2920c9e1a72: Preparing [2023-10-18T11:56:24.354Z] db24089ad287: Preparing [2023-10-18T11:56:24.354Z] 73be90c14009: Preparing [2023-10-18T11:56:24.354Z] b6a2c5302e85: Preparing [2023-10-18T11:56:24.354Z] 5f4d9fc4d98d: Preparing [2023-10-18T11:56:24.354Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T11:56:24.619Z] 73be90c14009: Pushed [2023-10-18T11:56:24.619Z] db24089ad287: Pushed [2023-10-18T11:56:24.619Z] b6a2c5302e85: Pushed [2023-10-18T11:56:29.953Z] b2920c9e1a72: Pushed [2023-10-18T11:56:30.219Z] 6ff19b9bbcef14612feb1da85704d71f54c07229: digest: sha256:e2fa71d0a67e4e69f8df7a843fd69b7ec1d95320664c3b0bac04a0512df7b0a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:30.573Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:30.903Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-18T11:56:30.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-18T11:56:30.903Z] b2920c9e1a72: Preparing [2023-10-18T11:56:30.903Z] db24089ad287: Preparing [2023-10-18T11:56:30.903Z] 73be90c14009: Preparing [2023-10-18T11:56:30.903Z] b6a2c5302e85: Preparing [2023-10-18T11:56:30.903Z] 5f4d9fc4d98d: Preparing [2023-10-18T11:56:30.903Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T11:56:30.903Z] db24089ad287: Layer already exists [2023-10-18T11:56:30.903Z] b6a2c5302e85: Layer already exists [2023-10-18T11:56:30.903Z] b2920c9e1a72: Layer already exists [2023-10-18T11:56:30.903Z] 73be90c14009: Layer already exists [2023-10-18T11:56:30.903Z] latest: digest: sha256:e2fa71d0a67e4e69f8df7a843fd69b7ec1d95320664c3b0bac04a0512df7b0a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:31.236Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:31.572Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.23 [2023-10-18T11:56:31.572Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-18T11:56:31.572Z] b2920c9e1a72: Preparing [2023-10-18T11:56:31.572Z] db24089ad287: Preparing [2023-10-18T11:56:31.572Z] 73be90c14009: Preparing [2023-10-18T11:56:31.572Z] b6a2c5302e85: Preparing [2023-10-18T11:56:31.572Z] 5f4d9fc4d98d: Preparing [2023-10-18T11:56:31.572Z] db24089ad287: Layer already exists [2023-10-18T11:56:31.572Z] b6a2c5302e85: Layer already exists [2023-10-18T11:56:31.572Z] b2920c9e1a72: Layer already exists [2023-10-18T11:56:31.572Z] 73be90c14009: Layer already exists [2023-10-18T11:56:31.572Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T11:56:31.572Z] 3.1.0-dev.23: digest: sha256:e2fa71d0a67e4e69f8df7a843fd69b7ec1d95320664c3b0bac04a0512df7b0a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:31.929Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:32.272Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [2023-10-18T11:56:32.272Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-18T11:56:32.272Z] b2920c9e1a72: Preparing [2023-10-18T11:56:32.272Z] db24089ad287: Preparing [2023-10-18T11:56:32.272Z] 73be90c14009: Preparing [2023-10-18T11:56:32.272Z] b6a2c5302e85: Preparing [2023-10-18T11:56:32.272Z] 5f4d9fc4d98d: Preparing [2023-10-18T11:56:32.272Z] db24089ad287: Layer already exists [2023-10-18T11:56:32.272Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T11:56:32.272Z] b6a2c5302e85: Layer already exists [2023-10-18T11:56:32.272Z] b2920c9e1a72: Layer already exists [2023-10-18T11:56:32.272Z] 73be90c14009: Layer already exists [2023-10-18T11:56:32.272Z] 6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23: digest: sha256:e2fa71d0a67e4e69f8df7a843fd69b7ec1d95320664c3b0bac04a0512df7b0a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:32.615Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:32.950Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-10-18T11:56:32.950Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-18T11:56:32.950Z] b2920c9e1a72: Preparing [2023-10-18T11:56:32.950Z] db24089ad287: Preparing [2023-10-18T11:56:32.950Z] 73be90c14009: Preparing [2023-10-18T11:56:32.950Z] b6a2c5302e85: Preparing [2023-10-18T11:56:32.950Z] 5f4d9fc4d98d: Preparing [2023-10-18T11:56:32.950Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T11:56:32.950Z] 73be90c14009: Layer already exists [2023-10-18T11:56:32.950Z] db24089ad287: Layer already exists [2023-10-18T11:56:32.950Z] b6a2c5302e85: Layer already exists [2023-10-18T11:56:32.950Z] b2920c9e1a72: Layer already exists [2023-10-18T11:56:32.950Z] main: digest: sha256:e2fa71d0a67e4e69f8df7a843fd69b7ec1d95320664c3b0bac04a0512df7b0a6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T11:56:33.277Z] ===================================================== [Pipeline] echo [2023-10-18T11:56:33.285Z] taggedImages: [2023-10-18T11:56:33.285Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6ff19b9bbcef14612feb1da85704d71f54c07229 [2023-10-18T11:56:33.285Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-18T11:56:33.285Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.23 [2023-10-18T11:56:33.285Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6ff19b9bbcef14612feb1da85704d71f54c07229-3.1.0-dev.23 [2023-10-18T11:56:33.285Z] - 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-10-18T11:56:33.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T11:56:33.639Z] [2023-10-18T11:56:33.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:56:33.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T11:56:33.958Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-18T11:56:33.958Z] 8998bd30e6a1: Pulling fs layer [2023-10-18T11:56:33.958Z] 04944245beec: Pulling fs layer [2023-10-18T11:56:33.958Z] 699f458cf7ca: Pulling fs layer [2023-10-18T11:56:33.958Z] 765212b225bb: Pulling fs layer [2023-10-18T11:56:33.958Z] f23df028b6ca: Pulling fs layer [2023-10-18T11:56:33.958Z] d65c8cfc05b1: Pulling fs layer [2023-10-18T11:56:33.958Z] 2437ff75d9bd: Pulling fs layer [2023-10-18T11:56:33.958Z] 765212b225bb: Waiting [2023-10-18T11:56:33.958Z] f23df028b6ca: Waiting [2023-10-18T11:56:33.958Z] d65c8cfc05b1: Waiting [2023-10-18T11:56:33.958Z] 2437ff75d9bd: Waiting [2023-10-18T11:56:34.224Z] 04944245beec: Verifying Checksum [2023-10-18T11:56:34.224Z] 04944245beec: Download complete [2023-10-18T11:56:34.224Z] 765212b225bb: Verifying Checksum [2023-10-18T11:56:34.224Z] 765212b225bb: Download complete [2023-10-18T11:56:34.224Z] f23df028b6ca: Verifying Checksum [2023-10-18T11:56:34.224Z] f23df028b6ca: Download complete [2023-10-18T11:56:34.224Z] d65c8cfc05b1: Verifying Checksum [2023-10-18T11:56:34.224Z] d65c8cfc05b1: Download complete [2023-10-18T11:56:34.489Z] 699f458cf7ca: Verifying Checksum [2023-10-18T11:56:34.490Z] 699f458cf7ca: Download complete [2023-10-18T11:56:34.756Z] 8998bd30e6a1: Download complete [2023-10-18T11:56:37.338Z] 2437ff75d9bd: Verifying Checksum [2023-10-18T11:56:37.338Z] 2437ff75d9bd: Download complete [2023-10-18T11:56:39.281Z] 8998bd30e6a1: Pull complete [2023-10-18T11:56:41.219Z] 04944245beec: Pull complete [2023-10-18T11:56:42.625Z] 699f458cf7ca: Pull complete [2023-10-18T11:56:42.626Z] 765212b225bb: Pull complete [2023-10-18T11:56:43.584Z] f23df028b6ca: Pull complete [2023-10-18T11:56:43.850Z] d65c8cfc05b1: Pull complete [2023-10-18T11:57:02.054Z] 2437ff75d9bd: Pull complete [2023-10-18T11:57:02.054Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-18T11:57:02.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T11:57:02.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:57:02.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container [2023-10-18T11:57:02.291Z] $ 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/149 -v /w/workspace/device-virtual-go/149:/w/workspace/device-virtual-go/149:rw,z -v /w/workspace/device-virtual-go/149@tmp:/w/workspace/device-virtual-go/149@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-10-18T11:57:05.049Z] $ docker top 26a5d2f865bfe794285b441db3a60a854b8d1b8a1a5f98d3f1e9f386b0f6a4a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:57:05.889Z] ---> job-cost.sh [2023-10-18T11:57:05.889Z] lf-activate-venv: SKIPPING [2023-10-18T11:57:05.889Z] INFO: No Stack... [2023-10-18T11:57:06.159Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-18T11:57:07.119Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T11:57:07.753Z] + cat /w/workspace/device-virtual-go/149/archives/cost.csv [2023-10-18T11:57:07.753Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T11:57:07.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] [2023-10-18T11:57:07.794Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] did not exist. Created. [2023-10-18T11:57:07.794Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T11:57:08.137Z] /w/workspace/device-virtual-go/149@tmp/durable-763a1e66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-18T11:57:08.800Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-18T11:57:08.821Z] Warning: overwriting stash ‘stack-cost’ [2023-10-18T11:57:08.875Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T11:57:08.882Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T11:57:08.901Z] $ docker stop --time=1 26a5d2f865bfe794285b441db3a60a854b8d1b8a1a5f98d3f1e9f386b0f6a4a8 [2023-10-18T11:57:10.395Z] $ docker rm -f --volumes 26a5d2f865bfe794285b441db3a60a854b8d1b8a1a5f98d3f1e9f386b0f6a4a8 [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-10-18T11:57:10.815Z] provisioning config files... [2023-10-18T11:57:10.823Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9870840218646644485tmp [Pipeline] { [Pipeline] sh [2023-10-18T11:57:11.121Z] + set +x [2023-10-18T11:57:11.121Z] + curl -s https://codecov.io/bash [2023-10-18T11:57:11.121Z] + bash -s -- [2023-10-18T11:57:11.121Z] [2023-10-18T11:57:11.121Z] _____ _ [2023-10-18T11:57:11.121Z] / ____| | | [2023-10-18T11:57:11.121Z] | | ___ __| | ___ ___ _____ __ [2023-10-18T11:57:11.121Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-18T11:57:11.121Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-18T11:57:11.121Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-18T11:57:11.121Z] Bash-1.0.6 [2023-10-18T11:57:11.121Z] [2023-10-18T11:57:11.121Z] [2023-10-18T11:57:11.121Z] ==> git version 2.25.1 found [2023-10-18T11:57:11.121Z] ==> 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-10-18T11:57:11.121Z] Release-Date: 2020-01-08 [2023-10-18T11:57:11.121Z] 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-10-18T11:57:11.121Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-18T11:57:11.121Z] ==> Jenkins CI detected. [2023-10-18T11:57:11.121Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-10-18T11:57:11.121Z] project root: . [2023-10-18T11:57:11.121Z] --> token set from env [2023-10-18T11:57:11.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-18T11:57:11.121Z] ==> Running gcov in . (disable via -X gcov) [2023-10-18T11:57:11.121Z] ==> Python coveragepy not found [2023-10-18T11:57:11.121Z] ==> Searching for coverage reports in: [2023-10-18T11:57:11.121Z] + . [2023-10-18T11:57:11.121Z] -> Found 1 reports [2023-10-18T11:57:11.121Z] ==> Detecting git/mercurial file structure [2023-10-18T11:57:11.380Z] ==> Reading reports [2023-10-18T11:57:11.380Z] + ./coverage.out bytes=43063 [2023-10-18T11:57:11.380Z] ==> Appending adjustments [2023-10-18T11:57:11.380Z] https://docs.codecov.io/docs/fixing-reports [2023-10-18T11:57:11.380Z] + Found adjustments [2023-10-18T11:57:11.380Z] ==> Gzipping contents [2023-10-18T11:57:11.380Z] 8.0K /tmp/codecov.pBkPCw.gz [2023-10-18T11:57:11.380Z] ==> Uploading reports [2023-10-18T11:57:11.380Z] url: https://codecov.io [2023-10-18T11:57:11.380Z] query: branch=main&commit=6ff19b9bbcef14612feb1da85704d71f54c07229&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-18T11:57:11.380Z] -> Pinging Codecov [2023-10-18T11:57:11.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=6ff19b9bbcef14612feb1da85704d71f54c07229&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-18T11:57:11.639Z] -> Uploading to [2023-10-18T11:57:11.639Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-18/5E52B4B073DB2E39498172D8E973AA87/6ff19b9bbcef14612feb1da85704d71f54c07229/965b9fb5-f845-4497-90ae-713e81653380.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T115711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d2fe2e3fd8dbb254f393ac2c9a975b204ec2f1769811e89f368568e07e8ba2c [2023-10-18T11:57:11.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T11:57:11.639Z] Dload Upload Total Spent Left Speed [2023-10-18T11:57:11.898Z] 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 18382 --:--:-- --:--:-- --:--:-- 18318 [2023-10-18T11:57:11.898Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] } [2023-10-18T11:57:11.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-18T11:57:12.126Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-18T11:57:12.136Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:57:12.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T11:57:12.426Z] [2023-10-18T11:57:12.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:57:12.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T11:57:12.721Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-18T11:57:12.721Z] df9b9388f04a: Pulling fs layer [2023-10-18T11:57:12.721Z] 52dc419b0ee2: Pulling fs layer [2023-10-18T11:57:12.721Z] 25bc292e5bac: Pulling fs layer [2023-10-18T11:57:12.721Z] 114826534d7a: Pulling fs layer [2023-10-18T11:57:12.721Z] 4657fd5d0bcf: Pulling fs layer [2023-10-18T11:57:12.721Z] 6ad1cebc031e: Pulling fs layer [2023-10-18T11:57:12.721Z] 8a3aa393b2d8: Pulling fs layer [2023-10-18T11:57:12.721Z] 6ad1cebc031e: Waiting [2023-10-18T11:57:12.721Z] 114826534d7a: Waiting [2023-10-18T11:57:12.721Z] 4657fd5d0bcf: Waiting [2023-10-18T11:57:12.721Z] 8a3aa393b2d8: Waiting [2023-10-18T11:57:12.721Z] 25bc292e5bac: Verifying Checksum [2023-10-18T11:57:12.721Z] 25bc292e5bac: Download complete [2023-10-18T11:57:12.721Z] 52dc419b0ee2: Verifying Checksum [2023-10-18T11:57:12.721Z] 52dc419b0ee2: Download complete [2023-10-18T11:57:12.721Z] 4657fd5d0bcf: Download complete [2023-10-18T11:57:12.721Z] df9b9388f04a: Verifying Checksum [2023-10-18T11:57:12.721Z] df9b9388f04a: Download complete [2023-10-18T11:57:12.979Z] df9b9388f04a: Pull complete [2023-10-18T11:57:12.979Z] 6ad1cebc031e: Verifying Checksum [2023-10-18T11:57:12.979Z] 6ad1cebc031e: Download complete [2023-10-18T11:57:12.979Z] 52dc419b0ee2: Pull complete [2023-10-18T11:57:12.979Z] 25bc292e5bac: Pull complete [2023-10-18T11:57:13.546Z] 114826534d7a: Download complete [2023-10-18T11:57:13.546Z] 8a3aa393b2d8: Verifying Checksum [2023-10-18T11:57:13.546Z] 8a3aa393b2d8: Download complete [2023-10-18T11:57:16.828Z] 114826534d7a: Pull complete [2023-10-18T11:57:16.828Z] 4657fd5d0bcf: Pull complete [2023-10-18T11:57:17.086Z] 6ad1cebc031e: Pull complete [2023-10-18T11:57:19.612Z] 8a3aa393b2d8: Pull complete [2023-10-18T11:57:19.612Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-18T11:57:19.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T11:57:19.612Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:57:19.685Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:57:19.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-18T11:57:25.842Z] $ docker top 9e6043d43b571ec308870efce12415b23df1f750eaa17bb4bc1ce9963149bd44 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-18T11:57:25.906Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-10-18T11:57:26.184Z] + set -o pipefail [2023-10-18T11:57:26.184Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-10-18T11:57:36.159Z] [2023-10-18T11:57:36.159Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-10-18T11:57:36.159Z] [2023-10-18T11:57:36.159Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/43d56d6e-f7c8-4b82-8898-03bc02d9f4c9 [2023-10-18T11:57:36.159Z] [2023-10-18T11:57:36.159Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-18T11:57:36.159Z] [2023-10-18T11:57:36.159Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-18T11:57:36.159Z] [2023-10-18T11:57:36.419Z] [2023-10-18T11:57:36.419Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-18T11:57:36.419Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-18T11:57:36.419Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-18T11:57:36.433Z] $ docker stop --time=1 9e6043d43b571ec308870efce12415b23df1f750eaa17bb4bc1ce9963149bd44 [2023-10-18T11:57:40.872Z] $ docker rm -f --volumes 9e6043d43b571ec308870efce12415b23df1f750eaa17bb4bc1ce9963149bd44 [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-10-18T11:57:41.602Z] + git log --format=format:%s -1 6ff19b9bbcef14612feb1da85704d71f54c07229 [Pipeline] sh [2023-10-18T11:57:41.893Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T11:57:41.893Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:57:42.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T11:57:42.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:57:42.253Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:57:42.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T11:57:42.722Z] $ docker top 2cd9a8ffcc56c2fd79d4c2828d5d9a41f56e10ca51c04f277ab2b343475d41ee -eo pid,comm [2023-10-18T11:57:42.761Z] 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-10-18T11:57:42.761Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T11:57:42.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T11:57:42.799Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T11:57:42.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T11:57:42.918Z] $ docker exec 2cd9a8ffcc56c2fd79d4c2828d5d9a41f56e10ca51c04f277ab2b343475d41ee ssh-agent [2023-10-18T11:57:43.026Z] SSH_AUTH_SOCK=/tmp/ssh-xTuYzQfNL3KZ/agent.32 [2023-10-18T11:57:43.026Z] SSH_AGENT_PID=38 [2023-10-18T11:57:43.031Z] Running ssh-add (command line suppressed) [2023-10-18T11:57:43.135Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5130455302346845223.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5130455302346845223.key) [2023-10-18T11:57:43.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T11:57:43.430Z] + git semver tag [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,627 [run_tag] DEBUG tag force:False [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,627 [check_head_tag] DEBUG check head tag [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,627 [execute] INFO git cat-file --batch-check [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,632 [execute] INFO git cat-file --batch [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,647 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,648 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,648 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-18T11:57:43.689Z] 2023-10-18 11:57:43,652 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:57:43.689Z] 3.1.0-dev.23 [Pipeline] } [2023-10-18T11:57:43.701Z] $ docker exec --env ******** --env ******** 2cd9a8ffcc56c2fd79d4c2828d5d9a41f56e10ca51c04f277ab2b343475d41ee ssh-agent -k [2023-10-18T11:57:43.826Z] unset SSH_AUTH_SOCK; [2023-10-18T11:57:43.826Z] unset SSH_AGENT_PID; [2023-10-18T11:57:43.826Z] echo Agent pid 38 killed; [2023-10-18T11:57:43.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T11:57:44.130Z] + git semver [Pipeline] } [2023-10-18T11:57:44.405Z] $ docker stop --time=1 2cd9a8ffcc56c2fd79d4c2828d5d9a41f56e10ca51c04f277ab2b343475d41ee [2023-10-18T11:57:45.674Z] $ docker rm -f --volumes 2cd9a8ffcc56c2fd79d4c2828d5d9a41f56e10ca51c04f277ab2b343475d41ee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:57:46.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T11:57:46.063Z] [2023-10-18T11:57:46.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:57:46.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T11:57:46.360Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-18T11:57:46.360Z] ab5ef0e58194: Pulling fs layer [2023-10-18T11:57:46.360Z] 9712f1f96733: Pulling fs layer [2023-10-18T11:57:46.360Z] 63f879dbbcfc: Pulling fs layer [2023-10-18T11:57:46.360Z] 0d9ebad4ef96: Pulling fs layer [2023-10-18T11:57:46.360Z] e9a5061849ea: Pulling fs layer [2023-10-18T11:57:46.360Z] d747dcd14b5f: Pulling fs layer [2023-10-18T11:57:46.360Z] 2de7ff778b66: Pulling fs layer [2023-10-18T11:57:46.360Z] 0d9ebad4ef96: Waiting [2023-10-18T11:57:46.360Z] e9a5061849ea: Waiting [2023-10-18T11:57:46.360Z] d747dcd14b5f: Waiting [2023-10-18T11:57:46.360Z] 2de7ff778b66: Waiting [2023-10-18T11:57:46.360Z] 9712f1f96733: Download complete [2023-10-18T11:57:46.619Z] 63f879dbbcfc: Verifying Checksum [2023-10-18T11:57:46.619Z] 63f879dbbcfc: Download complete [2023-10-18T11:57:46.877Z] e9a5061849ea: Verifying Checksum [2023-10-18T11:57:46.877Z] e9a5061849ea: Download complete [2023-10-18T11:57:46.877Z] 0d9ebad4ef96: Verifying Checksum [2023-10-18T11:57:46.877Z] 0d9ebad4ef96: Download complete [2023-10-18T11:57:46.877Z] d747dcd14b5f: Verifying Checksum [2023-10-18T11:57:46.877Z] d747dcd14b5f: Download complete [2023-10-18T11:57:46.877Z] ab5ef0e58194: Verifying Checksum [2023-10-18T11:57:46.877Z] ab5ef0e58194: Download complete [2023-10-18T11:57:46.877Z] 2de7ff778b66: Verifying Checksum [2023-10-18T11:57:46.877Z] 2de7ff778b66: Download complete [2023-10-18T11:57:49.402Z] ab5ef0e58194: Pull complete [2023-10-18T11:57:49.402Z] 9712f1f96733: Pull complete [2023-10-18T11:57:50.333Z] 63f879dbbcfc: Pull complete [2023-10-18T11:57:54.521Z] 0d9ebad4ef96: Pull complete [2023-10-18T11:57:54.521Z] e9a5061849ea: Pull complete [2023-10-18T11:57:54.521Z] d747dcd14b5f: Pull complete [2023-10-18T11:57:55.458Z] 2de7ff778b66: Pull complete [2023-10-18T11:57:55.458Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-18T11:57:55.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T11:57:55.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:57:55.547Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:57:55.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-18T11:58:04.071Z] $ docker top a20cfe2b8e70149f03daf6dd5a047be5dcbc22b288caad42cd504a07191f0089 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-18T11:58:04.138Z] provisioning config files... [2023-10-18T11:58:04.144Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16925142054025421222tmp [2023-10-18T11:58:04.154Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7654580676278743209tmp [2023-10-18T11:58:04.162Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9265005900689990488tmp [Pipeline] { [Pipeline] echo [2023-10-18T11:58:04.178Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:04.457Z] ---> sigul-configuration.sh [2023-10-18T11:58:04.458Z] gpg: directory `/root/.gnupg' created [2023-10-18T11:58:04.458Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-18T11:58:04.458Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-18T11:58:04.458Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-18T11:58:04.458Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-18T11:58:04.458Z] gpg: CAST5 encrypted data [2023-10-18T11:58:04.458Z] gpg: encrypted with 1 passphrase [2023-10-18T11:58:04.458Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-18T11:58:04.740Z] + mkdir /home/jenkins [2023-10-18T11:58:04.740Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-18T11:58:05.021Z] + 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-10-18T11:58:05.029Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:05.312Z] ---> sigul-install.sh [2023-10-18T11:58:05.312Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-18T11:58:05.594Z] + git tag --list [2023-10-18T11:58:05.594Z] v1.0.0 [2023-10-18T11:58:05.594Z] v1.1.0 [2023-10-18T11:58:05.594Z] v1.1.1 [2023-10-18T11:58:05.594Z] v1.2.1 [2023-10-18T11:58:05.594Z] v1.2.2 [2023-10-18T11:58:05.594Z] v1.2.3 [2023-10-18T11:58:05.594Z] v1.3.0 [2023-10-18T11:58:05.594Z] v1.3.1 [2023-10-18T11:58:05.594Z] v2.0.0 [2023-10-18T11:58:05.594Z] v2.1.0 [2023-10-18T11:58:05.594Z] v2.1.1 [2023-10-18T11:58:05.594Z] v2.2.0 [2023-10-18T11:58:05.594Z] v2.3.0 [2023-10-18T11:58:05.594Z] v3.0 [2023-10-18T11:58:05.594Z] v3.0.0 [2023-10-18T11:58:05.594Z] v3.1.0-dev.1 [2023-10-18T11:58:05.594Z] v3.1.0-dev.10 [2023-10-18T11:58:05.594Z] v3.1.0-dev.11 [2023-10-18T11:58:05.594Z] v3.1.0-dev.12 [2023-10-18T11:58:05.594Z] v3.1.0-dev.13 [2023-10-18T11:58:05.594Z] v3.1.0-dev.14 [2023-10-18T11:58:05.594Z] v3.1.0-dev.15 [2023-10-18T11:58:05.594Z] v3.1.0-dev.16 [2023-10-18T11:58:05.594Z] v3.1.0-dev.17 [2023-10-18T11:58:05.594Z] v3.1.0-dev.18 [2023-10-18T11:58:05.594Z] v3.1.0-dev.19 [2023-10-18T11:58:05.594Z] v3.1.0-dev.2 [2023-10-18T11:58:05.594Z] v3.1.0-dev.20 [2023-10-18T11:58:05.594Z] v3.1.0-dev.21 [2023-10-18T11:58:05.594Z] v3.1.0-dev.22 [2023-10-18T11:58:05.594Z] v3.1.0-dev.23 [2023-10-18T11:58:05.594Z] v3.1.0-dev.3 [2023-10-18T11:58:05.594Z] v3.1.0-dev.4 [2023-10-18T11:58:05.594Z] v3.1.0-dev.5 [2023-10-18T11:58:05.594Z] v3.1.0-dev.6 [2023-10-18T11:58:05.594Z] v3.1.0-dev.7 [2023-10-18T11:58:05.594Z] v3.1.0-dev.8 [2023-10-18T11:58:05.594Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-18T11:58:05.878Z] + lftools sign git-tag v3.1.0-dev.23 [2023-10-18T11:58:06.443Z] Signing Git tag with Sigul... [2023-10-18T11:58:06.443Z] Signing v3.1.0-dev.23 [Pipeline] echo [2023-10-18T11:58:06.710Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:06.993Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-18T11:58:07.000Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-18T11:58:07.022Z] $ docker stop --time=1 a20cfe2b8e70149f03daf6dd5a047be5dcbc22b288caad42cd504a07191f0089 [2023-10-18T11:58:08.313Z] $ docker rm -f --volumes a20cfe2b8e70149f03daf6dd5a047be5dcbc22b288caad42cd504a07191f0089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-18T11:58:08.730Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T11:58:08.731Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:58:09.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T11:58:09.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:58:09.096Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:58:09.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T11:58:09.466Z] $ docker top ee6ebd49d784756808b5becf8facc8ae15667ebbff1d133fd85cd36b32202541 -eo pid,comm [2023-10-18T11:58:09.502Z] 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-10-18T11:58:09.502Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T11:58:09.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T11:58:09.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T11:58:09.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T11:58:09.658Z] $ docker exec ee6ebd49d784756808b5becf8facc8ae15667ebbff1d133fd85cd36b32202541 ssh-agent [2023-10-18T11:58:09.764Z] SSH_AUTH_SOCK=/tmp/ssh-mQxLssmXU0OH/agent.33 [2023-10-18T11:58:09.764Z] SSH_AGENT_PID=39 [2023-10-18T11:58:09.769Z] Running ssh-add (command line suppressed) [2023-10-18T11:58:09.872Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2773104916970750601.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2773104916970750601.key) [2023-10-18T11:58:09.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T11:58:10.169Z] + git semver bump pre [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,349 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,349 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,349 [bump_version] DEBUG bumped version:3.1.0-dev.24 [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,349 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,349 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,349 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,351 [execute] INFO git cat-file --batch-check [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,356 [execute] INFO git cat-file --batch [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T11:58:10.429Z] 2023-10-18 11:58:10,361 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:58:10.429Z] 3.1.0-dev.24 [Pipeline] } [2023-10-18T11:58:10.443Z] $ docker exec --env ******** --env ******** ee6ebd49d784756808b5becf8facc8ae15667ebbff1d133fd85cd36b32202541 ssh-agent -k [2023-10-18T11:58:10.553Z] unset SSH_AUTH_SOCK; [2023-10-18T11:58:10.553Z] unset SSH_AGENT_PID; [2023-10-18T11:58:10.553Z] echo Agent pid 39 killed; [2023-10-18T11:58:10.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T11:58:10.867Z] + git semver [Pipeline] } [2023-10-18T11:58:11.143Z] $ docker stop --time=1 ee6ebd49d784756808b5becf8facc8ae15667ebbff1d133fd85cd36b32202541 [2023-10-18T11:58:12.418Z] $ docker rm -f --volumes ee6ebd49d784756808b5becf8facc8ae15667ebbff1d133fd85cd36b32202541 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T11:58:12.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T11:58:12.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:58:13.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T11:58:13.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:58:13.106Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:58:13.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T11:58:13.450Z] $ docker top 73a6803067db14cad626216c59b29c3e940426763a8e326738a440ae84b6c277 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T11:58:13.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T11:58:13.530Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T11:58:13.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T11:58:13.660Z] $ docker exec 73a6803067db14cad626216c59b29c3e940426763a8e326738a440ae84b6c277 ssh-agent [2023-10-18T11:58:13.757Z] SSH_AUTH_SOCK=/tmp/ssh-1qYopzkJDlef/agent.32 [2023-10-18T11:58:13.757Z] SSH_AGENT_PID=38 [2023-10-18T11:58:13.782Z] Running ssh-add (command line suppressed) [2023-10-18T11:58:13.865Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14514634473389694855.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14514634473389694855.key) [2023-10-18T11:58:13.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T11:58:14.213Z] + git semver push [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,394 [run_push] DEBUG push [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,395 [execute] INFO git cat-file --batch-check [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,398 [execute] INFO git rev-list 85644167160155882fb01b2ca9bd0ad70add2ae3 -- [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,398 [execute] DEBUG Popen(['git', 'rev-list', '85644167160155882fb01b2ca9bd0ad70add2ae3', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,408 [execute] INFO git fetch -v origin [2023-10-18T11:58:14.473Z] 2023-10-18 11:58:14,408 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-18T11:58:15.041Z] 2023-10-18 11:58:14,898 [run_push] DEBUG no remote changes detected [2023-10-18T11:58:15.041Z] 2023-10-18 11:58:14,899 [execute] INFO git push origin semver [2023-10-18T11:58:15.041Z] 2023-10-18 11:58:14,899 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-18T11:58:15.977Z] 2023-10-18 11:58:15,693 [run_push] DEBUG push all version tags [2023-10-18T11:58:15.977Z] 2023-10-18 11:58:15,694 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-18T11:58:15.977Z] 2023-10-18 11:58:15,694 [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-10-18T11:58:16.546Z] 2023-10-18 11:58:16,473 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-18T11:58:16.546Z] 3.1.0-dev.24 [Pipeline] } [2023-10-18T11:58:16.560Z] $ docker exec --env ******** --env ******** 73a6803067db14cad626216c59b29c3e940426763a8e326738a440ae84b6c277 ssh-agent -k [2023-10-18T11:58:16.663Z] unset SSH_AUTH_SOCK; [2023-10-18T11:58:16.663Z] unset SSH_AGENT_PID; [2023-10-18T11:58:16.664Z] echo Agent pid 38 killed; [2023-10-18T11:58:16.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T11:58:16.970Z] + git semver [Pipeline] } [2023-10-18T11:58:17.246Z] $ docker stop --time=1 73a6803067db14cad626216c59b29c3e940426763a8e326738a440ae84b6c277 [2023-10-18T11:58:18.512Z] $ docker rm -f --volumes 73a6803067db14cad626216c59b29c3e940426763a8e326738a440ae84b6c277 [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-10-18T11:58:19.097Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-10-18T11:58:19.097Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-18T11:58:19.097Z] total 16 [2023-10-18T11:58:19.097Z] drwxr-xr-x 3 root root 4096 Oct 18 11:50 . [2023-10-18T11:58:19.097Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 11:58 .. [2023-10-18T11:58:19.097Z] drwxr-xr-x 2 root root 4096 Oct 18 11:50 cost [2023-10-18T11:58:19.097Z] -rw-r--r-- 1 root root 89 Oct 18 11:50 cost.csv [2023-10-18T11:58:19.097Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-18T11:58:19.097Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-18T11:58:19.097Z] total 16 [2023-10-18T11:58:19.097Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 11:50 . [2023-10-18T11:58:19.097Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 11:58 .. [2023-10-18T11:58:19.097Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 11:50 cost [2023-10-18T11:58:19.097Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 18 11:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:19.385Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:20.238Z] ---> package-listing.sh [2023-10-18T11:58:20.238Z] ++ facter osfamily [2023-10-18T11:58:20.238Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-18T11:58:20.497Z] + OS_FAMILY=debian [2023-10-18T11:58:20.497Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-10-18T11:58:20.497Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-18T11:58:20.497Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-18T11:58:20.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-18T11:58:20.497Z] + PACKAGES=/tmp/packages_start.txt [2023-10-18T11:58:20.497Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-18T11:58:20.497Z] + PACKAGES=/tmp/packages_end.txt [2023-10-18T11:58:20.497Z] + case "${OS_FAMILY}" in [2023-10-18T11:58:20.497Z] + dpkg -l [2023-10-18T11:58:20.497Z] + grep '^ii' [2023-10-18T11:58:20.497Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-18T11:58:20.497Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-18T11:58:20.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-18T11:58:20.497Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-18T11:58:20.497Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-10-18T11:58:20.497Z] + 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-10-18T11:58:20.508Z] 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-10-18T11:58:20.784Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T11:58:21.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T11:58:21.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T11:58:21.410Z] prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container [2023-10-18T11:58:21.445Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-18T11:58:21.664Z] $ docker top 59b351785259693f92ac2e7928c7dc656cc9dd7e4f371535c5169d999de8c4e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T11:58:22.002Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-18T11:58:22.284Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-18T11:58:22.567Z] + ls /var/log/sa-host [2023-10-18T11:58:22.567Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T11:58:22.713Z] provisioning config files... [2023-10-18T11:58:22.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17206600193276995482tmp [Pipeline] { [Pipeline] echo [2023-10-18T11:58:22.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:23.016Z] ---> create-netrc.sh [Pipeline] } [2023-10-18T11:58:23.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:23.351Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-18T11:58:23.358Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:23.638Z] ---> sudo-logs.sh [2023-10-18T11:58:23.638Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-18T11:58:23.665Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:23.945Z] ---> job-cost.sh [2023-10-18T11:58:23.945Z] lf-activate-venv: SKIPPING [2023-10-18T11:58:23.945Z] DEBUG: total: 0.2199999988079071 [2023-10-18T11:58:23.945Z] INFO: Retrieving Stack Cost... [2023-10-18T11:58:24.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T11:58:24.771Z] INFO: Archiving Costs [Pipeline] echo [2023-10-18T11:58:24.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T11:58:25.064Z] ---> logs-deploy.sh [2023-10-18T11:58:25.064Z] lf-activate-venv: SKIPPING [2023-10-18T11:58:25.064Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/149 [2023-10-18T11:58:25.064Z] INFO: archiving workspace using pattern(s): [2023-10-18T11:58:25.999Z] Archives upload complete. [2023-10-18T11:58:25.999Z] INFO: archiving logs to Nexus