Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh14733775873518413304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh1223425178284085232.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh13225378554267608184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh3223383164034399625.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13062470636670903549.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh16195804115168224274.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-491’ Running on prd-ubuntu20.04-docker-8c-8g-493 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9cab87334a4d5affcc1b2c5c12d642008ef46c2d (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 Commit message: "Merge pull request #286 from vli11/SPIFFE_dependency" > git rev-list --no-walk 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-31T17:33:50.247Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-31T17:33:50.292Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-31T17:33:50.302Z] ========================================================= [2022-05-31T17:33:50.302Z] EdgeX Global Pipelines Version Info [2022-05-31T17:33:50.302Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:33:51.078Z] ------------------- [2022-05-31T17:33:51.078Z] stable info: [2022-05-31T17:33:51.078Z] ------------------- [2022-05-31T17:33:51.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:33:51.078Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-31T17:33:51.078Z] Message: update stable to v1.0.230 [2022-05-31T17:33:51.649Z] ------------------- [2022-05-31T17:33:51.649Z] experimental info: [2022-05-31T17:33:51.649Z] ------------------- [2022-05-31T17:33:51.649Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:33:51.649Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-05-31T17:33:51.649Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-31T17:33:51.890Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-05-31T17:33:51.902Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-05-31T17:33:51.913Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-31T17:33:51.926Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-31T17:33:51.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-31T17:33:51.955Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-31T17:33:51.972Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-31T17:33:51.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-31T17:33:52.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-31T17:33:52.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-31T17:33:52.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-31T17:33:52.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-05-31T17:33:52.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-31T17:33:52.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-31T17:33:52.074Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:33:52.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:33:52.102Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:33:52.113Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:33:52.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-31T17:33:52.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-31T17:33:52.152Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-31T17:33:52.163Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-31T17:33:52.176Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-31T17:33:52.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-31T17:33:52.205Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-31T17:33:52.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-31T17:33:52.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-31T17:33:52.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-31T17:33:52.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-31T17:33:52.260Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] echo [2022-05-31T17:33:52.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cab873 [Pipeline] echo [2022-05-31T17:33:52.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:33:52.338Z] provisioning config files... [2022-05-31T17:33:52.350Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8107589140232853312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:33:52.660Z] ---> docker-login.sh [2022-05-31T17:33:52.660Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:33:53.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:33:53.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:33:53.231Z] Configure a credential helper to remove this warning. See [2022-05-31T17:33:53.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:33:53.231Z] [2022-05-31T17:33:53.231Z] Login Succeeded [2022-05-31T17:33:53.231Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:33:53.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:33:53.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:33:53.231Z] Configure a credential helper to remove this warning. See [2022-05-31T17:33:53.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:33:53.231Z] [2022-05-31T17:33:53.231Z] Login Succeeded [2022-05-31T17:33:53.231Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:33:53.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:33:53.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:33:53.493Z] Configure a credential helper to remove this warning. See [2022-05-31T17:33:53.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:33:53.493Z] [2022-05-31T17:33:53.493Z] Login Succeeded [2022-05-31T17:33:53.493Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:33:53.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:33:53.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:33:53.755Z] Configure a credential helper to remove this warning. See [2022-05-31T17:33:53.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:33:53.755Z] [2022-05-31T17:33:53.755Z] Login Succeeded [2022-05-31T17:33:53.755Z] docker.io [2022-05-31T17:33:53.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:33:54.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:33:54.016Z] Configure a credential helper to remove this warning. See [2022-05-31T17:33:54.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:33:54.016Z] [2022-05-31T17:33:54.016Z] Login Succeeded [2022-05-31T17:33:54.016Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:33:54.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-31T17:33:54.403Z] + git rev-list -1 --merges 9cab87334a4d5affcc1b2c5c12d642008ef46c2d~1..9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] echo [2022-05-31T17:33:54.437Z] -----------> git rev-list -1 --merges 9cab87334a4d5affcc1b2c5c12d642008ef46c2d~1..9cab87334a4d5affcc1b2c5c12d642008ef46c2d 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:33:54.437Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [false] [Pipeline] sh [2022-05-31T17:33:54.734Z] + git log --format=format:%s -1 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] echo [2022-05-31T17:33:54.750Z] ========================================================= [2022-05-31T17:33:54.750Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-31T17:33:54.750Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:33:55.083Z] + git log --format=format:%s -1 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] echo [2022-05-31T17:33:55.097Z] [semverPrep] GIT_COMMIT: 9cab87334a4d5affcc1b2c5c12d642008ef46c2d, Commit Message: Merge pull request #286 from vli11/SPIFFE_dependency [Pipeline] echo [2022-05-31T17:33:55.104Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-31T17:33:55.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:33:55.456Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-31T17:33:55.456Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-31T17:33:55.456Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-31T17:33:55.456Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-31T17:33:55.456Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-31T17:33:55.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:33:55.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:33:55.827Z] [2022-05-31T17:33:55.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:33:56.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:33:56.133Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-31T17:33:56.133Z] 1fe172e4850f: Pulling fs layer [2022-05-31T17:33:56.133Z] caf521ccaac6: Pulling fs layer [2022-05-31T17:33:56.133Z] 3ead6fa29328: Pulling fs layer [2022-05-31T17:33:56.133Z] 5c2a1cbceb83: Pulling fs layer [2022-05-31T17:33:56.133Z] a8d5f1318db7: Pulling fs layer [2022-05-31T17:33:56.133Z] c427282e49a2: Pulling fs layer [2022-05-31T17:33:56.133Z] 1827001aaf11: Pulling fs layer [2022-05-31T17:33:56.133Z] 0714d37db230: Pulling fs layer [2022-05-31T17:33:56.133Z] ac28cf19c067: Pulling fs layer [2022-05-31T17:33:56.133Z] ca983d60f3e2: Pulling fs layer [2022-05-31T17:33:56.133Z] 9f894cec8388: Pulling fs layer [2022-05-31T17:33:56.133Z] c427282e49a2: Waiting [2022-05-31T17:33:56.133Z] ac28cf19c067: Waiting [2022-05-31T17:33:56.133Z] 1827001aaf11: Waiting [2022-05-31T17:33:56.133Z] ca983d60f3e2: Waiting [2022-05-31T17:33:56.133Z] 5c2a1cbceb83: Waiting [2022-05-31T17:33:56.133Z] 9f894cec8388: Waiting [2022-05-31T17:33:56.133Z] 0714d37db230: Waiting [2022-05-31T17:33:56.133Z] a8d5f1318db7: Waiting [2022-05-31T17:33:56.133Z] caf521ccaac6: Download complete [2022-05-31T17:33:56.133Z] 5c2a1cbceb83: Verifying Checksum [2022-05-31T17:33:56.133Z] 5c2a1cbceb83: Download complete [2022-05-31T17:33:56.394Z] a8d5f1318db7: Verifying Checksum [2022-05-31T17:33:56.394Z] a8d5f1318db7: Download complete [2022-05-31T17:33:56.394Z] c427282e49a2: Verifying Checksum [2022-05-31T17:33:56.394Z] c427282e49a2: Download complete [2022-05-31T17:33:56.394Z] 3ead6fa29328: Verifying Checksum [2022-05-31T17:33:56.394Z] 3ead6fa29328: Download complete [2022-05-31T17:33:56.394Z] 0714d37db230: Verifying Checksum [2022-05-31T17:33:56.394Z] 0714d37db230: Download complete [2022-05-31T17:33:56.394Z] ac28cf19c067: Verifying Checksum [2022-05-31T17:33:56.394Z] ac28cf19c067: Download complete [2022-05-31T17:33:56.394Z] ca983d60f3e2: Verifying Checksum [2022-05-31T17:33:56.394Z] ca983d60f3e2: Download complete [2022-05-31T17:33:56.394Z] 9f894cec8388: Verifying Checksum [2022-05-31T17:33:56.394Z] 9f894cec8388: Download complete [2022-05-31T17:33:56.394Z] 1fe172e4850f: Verifying Checksum [2022-05-31T17:33:56.394Z] 1fe172e4850f: Download complete [2022-05-31T17:33:56.654Z] 1827001aaf11: Verifying Checksum [2022-05-31T17:33:56.654Z] 1827001aaf11: Download complete [2022-05-31T17:33:57.591Z] 1fe172e4850f: Pull complete [2022-05-31T17:33:57.850Z] caf521ccaac6: Pull complete [2022-05-31T17:33:58.419Z] 3ead6fa29328: Pull complete [2022-05-31T17:33:58.419Z] 5c2a1cbceb83: Pull complete [2022-05-31T17:33:58.679Z] a8d5f1318db7: Pull complete [2022-05-31T17:33:58.679Z] c427282e49a2: Pull complete [2022-05-31T17:34:00.586Z] 1827001aaf11: Pull complete [2022-05-31T17:34:00.587Z] 0714d37db230: Pull complete [2022-05-31T17:34:00.847Z] ac28cf19c067: Pull complete [2022-05-31T17:34:00.847Z] ca983d60f3e2: Pull complete [2022-05-31T17:34:01.110Z] 9f894cec8388: Pull complete [2022-05-31T17:34:01.110Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-31T17:34:01.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:34:01.110Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:34:01.210Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:34:01.259Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T17:34:03.608Z] $ docker top bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac -eo pid,comm [2022-05-31T17:34:03.674Z] 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). [2022-05-31T17:34:03.674Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:34:03.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:34:03.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:34:03.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:34:03.826Z] $ docker exec bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac ssh-agent [2022-05-31T17:34:03.954Z] SSH_AUTH_SOCK=/tmp/ssh-unlOj2roWDwh/agent.32 [2022-05-31T17:34:03.954Z] SSH_AGENT_PID=39 [2022-05-31T17:34:03.959Z] Running ssh-add (command line suppressed) [2022-05-31T17:34:04.087Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4494215032454033445.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4494215032454033445.key) [2022-05-31T17:34:04.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:34:04.395Z] + git tag --points-at HEAD [Pipeline] } [2022-05-31T17:34:04.422Z] $ docker exec --env ******** --env ******** bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac ssh-agent -k [2022-05-31T17:34:04.534Z] unset SSH_AUTH_SOCK; [2022-05-31T17:34:04.534Z] unset SSH_AGENT_PID; [2022-05-31T17:34:04.534Z] echo Agent pid 39 killed; [2022-05-31T17:34:04.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-31T17:34:04.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:34:04.564Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:34:04.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:34:04.729Z] $ docker exec bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac ssh-agent [2022-05-31T17:34:04.857Z] SSH_AUTH_SOCK=/tmp/ssh-q5j26gWcbuVD/agent.73 [2022-05-31T17:34:04.857Z] SSH_AGENT_PID=79 [2022-05-31T17:34:04.863Z] Running ssh-add (command line suppressed) [2022-05-31T17:34:04.991Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1668207043292565617.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1668207043292565617.key) [2022-05-31T17:34:04.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:34:05.293Z] + git semver init [2022-05-31T17:34:05.553Z] 2022-05-31 17:34:05,511 [run_init] DEBUG init version:0.0.0 force:False [2022-05-31T17:34:05.553Z] 2022-05-31 17:34:05,512 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-31T17:34:05.553Z] 2022-05-31 17:34:05,512 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-31T17:34:05.553Z] 2022-05-31 17:34:05,512 [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) [2022-05-31T17:34:06.940Z] 2022-05-31 17:34:06,832 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-05-31T17:34:06.940Z] 2022-05-31 17:34:06,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-05-31T17:34:06.940Z] 2022-05-31 17:34:06,833 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:34:06.940Z] 2022-05-31 17:34:06,833 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:34:06.940Z] 2.2.1-dev.1 [Pipeline] } [2022-05-31T17:34:06.958Z] $ docker exec --env ******** --env ******** bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac ssh-agent -k [2022-05-31T17:34:07.072Z] unset SSH_AUTH_SOCK; [2022-05-31T17:34:07.072Z] unset SSH_AGENT_PID; [2022-05-31T17:34:07.072Z] echo Agent pid 79 killed; [2022-05-31T17:34:07.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:34:07.377Z] + git semver [Pipeline] } [2022-05-31T17:34:07.970Z] $ docker stop --time=1 bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac [2022-05-31T17:34:09.485Z] $ docker rm -f bcb9d9811a750e2a44253a46065230c3f38c8d02a68f0a32a922e07af09ad1ac [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:34:09.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-31T17:34:10.088Z] Stashed 1 file(s) [Pipeline] echo [2022-05-31T17:34:10.090Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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 [2022-05-31T17:34:10.234Z] provisioning config files... [2022-05-31T17:34:10.244Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1432210115089545789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:34:10.543Z] ---> docker-login.sh [2022-05-31T17:34:10.544Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:34:10.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:10.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:10.544Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:10.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:10.544Z] [2022-05-31T17:34:10.544Z] Login Succeeded [2022-05-31T17:34:10.544Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:34:10.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:10.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:10.804Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:10.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:10.804Z] [2022-05-31T17:34:10.804Z] Login Succeeded [2022-05-31T17:34:10.804Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:34:10.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:10.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:10.804Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:10.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:10.804Z] [2022-05-31T17:34:10.804Z] Login Succeeded [2022-05-31T17:34:10.804Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:34:11.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:11.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:11.065Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:11.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:11.065Z] [2022-05-31T17:34:11.065Z] Login Succeeded [2022-05-31T17:34:11.065Z] docker.io [2022-05-31T17:34:11.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:34:11.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:34:11.325Z] Configure a credential helper to remove this warning. See [2022-05-31T17:34:11.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:34:11.325Z] [2022-05-31T17:34:11.325Z] Login Succeeded [2022-05-31T17:34:11.325Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:34:11.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:34:11.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:34:11.416Z] ========================================================= [2022-05-31T17:34:11.416Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-31T17:34:11.416Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:34:11.737Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-31T17:34:11.737Z] Sending build context to Docker daemon 22.86MB [2022-05-31T17:34:11.737Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:34:11.737Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T17:34:11.999Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-31T17:34:11.999Z] 59bf1c3509f3: Pulling fs layer [2022-05-31T17:34:11.999Z] 666ba61612fd: Pulling fs layer [2022-05-31T17:34:11.999Z] 8ed8ca486205: Pulling fs layer [2022-05-31T17:34:11.999Z] 4fe6c5a15a65: Pulling fs layer [2022-05-31T17:34:11.999Z] 22a0e8bec74d: Pulling fs layer [2022-05-31T17:34:11.999Z] ca2b28591e48: Pulling fs layer [2022-05-31T17:34:11.999Z] a51346096db8: Pulling fs layer [2022-05-31T17:34:11.999Z] daebc70d1ce1: Pulling fs layer [2022-05-31T17:34:11.999Z] 0e18a0eac166: Pulling fs layer [2022-05-31T17:34:11.999Z] 4fe6c5a15a65: Waiting [2022-05-31T17:34:11.999Z] 22a0e8bec74d: Waiting [2022-05-31T17:34:11.999Z] ca2b28591e48: Waiting [2022-05-31T17:34:11.999Z] a51346096db8: Waiting [2022-05-31T17:34:11.999Z] daebc70d1ce1: Waiting [2022-05-31T17:34:11.999Z] 0e18a0eac166: Waiting [2022-05-31T17:34:11.999Z] 8ed8ca486205: Verifying Checksum [2022-05-31T17:34:11.999Z] 8ed8ca486205: Download complete [2022-05-31T17:34:11.999Z] 666ba61612fd: Verifying Checksum [2022-05-31T17:34:11.999Z] 666ba61612fd: Download complete [2022-05-31T17:34:11.999Z] 22a0e8bec74d: Verifying Checksum [2022-05-31T17:34:11.999Z] 22a0e8bec74d: Download complete [2022-05-31T17:34:11.999Z] ca2b28591e48: Download complete [2022-05-31T17:34:11.999Z] a51346096db8: Verifying Checksum [2022-05-31T17:34:11.999Z] a51346096db8: Download complete [2022-05-31T17:34:11.999Z] 59bf1c3509f3: Verifying Checksum [2022-05-31T17:34:11.999Z] 59bf1c3509f3: Download complete [2022-05-31T17:34:11.999Z] daebc70d1ce1: Verifying Checksum [2022-05-31T17:34:11.999Z] daebc70d1ce1: Download complete [2022-05-31T17:34:12.259Z] 59bf1c3509f3: Pull complete [2022-05-31T17:34:12.259Z] 666ba61612fd: Pull complete [2022-05-31T17:34:12.259Z] 8ed8ca486205: Pull complete [2022-05-31T17:34:12.522Z] 0e18a0eac166: Verifying Checksum [2022-05-31T17:34:12.522Z] 0e18a0eac166: Download complete [2022-05-31T17:34:12.781Z] 4fe6c5a15a65: Verifying Checksum [2022-05-31T17:34:12.781Z] 4fe6c5a15a65: Download complete [2022-05-31T17:34:16.972Z] 4fe6c5a15a65: Pull complete [2022-05-31T17:34:16.972Z] 22a0e8bec74d: Pull complete [2022-05-31T17:34:16.972Z] ca2b28591e48: Pull complete [2022-05-31T17:34:16.972Z] a51346096db8: Pull complete [2022-05-31T17:34:16.972Z] daebc70d1ce1: Pull complete [2022-05-31T17:34:18.876Z] 0e18a0eac166: Pull complete [2022-05-31T17:34:18.876Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-31T17:34:18.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-31T17:34:18.876Z] ---> f018257e8ee9 [2022-05-31T17:34:18.876Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:34:21.424Z] ---> Running in 962112c3d693 [2022-05-31T17:34:21.424Z] Removing intermediate container 962112c3d693 [2022-05-31T17:34:21.424Z] ---> 4faadb61cbba [2022-05-31T17:34:21.424Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:34:21.424Z] ---> Running in 88a9c9e5ad18 [2022-05-31T17:34:21.424Z] Removing intermediate container 88a9c9e5ad18 [2022-05-31T17:34:21.424Z] ---> f828a0d67ea6 [2022-05-31T17:34:21.424Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-31T17:34:21.424Z] ---> Running in 013bc578ca8d [2022-05-31T17:34:21.424Z] Removing intermediate container 013bc578ca8d [2022-05-31T17:34:21.424Z] ---> fea2c8f8939b [2022-05-31T17:34:21.424Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:34:21.424Z] ---> Running in 7c3bf6a39f9e [2022-05-31T17:34:21.992Z] Removing intermediate container 7c3bf6a39f9e [2022-05-31T17:34:21.992Z] ---> 25d6f3763014 [2022-05-31T17:34:21.992Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:34:22.252Z] ---> Running in 3564af1dbeec [2022-05-31T17:34:22.512Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:34:23.451Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:34:23.710Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:34:23.710Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T17:34:23.710Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:34:23.970Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:34:23.970Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:34:23.970Z] OK: 224 MiB in 56 packages [2022-05-31T17:34:24.541Z] Removing intermediate container 3564af1dbeec [2022-05-31T17:34:24.541Z] ---> 680e38995a0f [2022-05-31T17:34:24.541Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-31T17:34:24.541Z] ---> fae7b52a201d [2022-05-31T17:34:24.541Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:34:24.541Z] ---> Running in 1c9a22ac5346 [2022-05-31T17:34:25.191Z] Still waiting to schedule task [2022-05-31T17:34:25.192Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-492’ [2022-05-31T17:34:39.429Z] Removing intermediate container 1c9a22ac5346 [2022-05-31T17:34:39.429Z] ---> 8efdf663ddd4 [2022-05-31T17:34:39.429Z] Step 10/12 : COPY . . [2022-05-31T17:34:40.370Z] ---> bd7bf8d4d4fa [2022-05-31T17:34:40.370Z] Step 11/12 : ARG MAKE='make build' [2022-05-31T17:34:40.370Z] ---> Running in e164b379fc0c [2022-05-31T17:34:40.370Z] Removing intermediate container e164b379fc0c [2022-05-31T17:34:40.370Z] ---> 264eead57ec3 [2022-05-31T17:34:40.370Z] Step 12/12 : RUN $MAKE [2022-05-31T17:34:40.370Z] ---> Running in 68159106b585 [2022-05-31T17:34:40.629Z] noop [2022-05-31T17:34:40.889Z] Removing intermediate container 68159106b585 [2022-05-31T17:34:40.889Z] ---> 46ded140e584 [2022-05-31T17:34:40.889Z] Successfully built 46ded140e584 [2022-05-31T17:34:40.889Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:34:41.201Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:34:41.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:34:41.285Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:34:41.321Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-31T17:34:41.721Z] $ docker top 4ef589ded1254d55ac5bcb58b313f3795d0133d2de84cd3339f252e1909c2441 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:34:42.127Z] + go version [2022-05-31T17:34:42.127Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-31T17:34:42.145Z] $ docker stop --time=1 4ef589ded1254d55ac5bcb58b313f3795d0133d2de84cd3339f252e1909c2441 [2022-05-31T17:34:43.484Z] $ docker rm -f 4ef589ded1254d55ac5bcb58b313f3795d0133d2de84cd3339f252e1909c2441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:34:43.882Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:34:43.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:34:43.963Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:34:44.004Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-31T17:34:44.409Z] $ docker top 795483ca58fb487f18096f61211912f3a6ddcfc9468b91d343e74400aef9e37b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:34:44.759Z] + make test [2022-05-31T17:34:44.759Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-31T17:34:45.021Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-31T17:34:55.011Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-31T17:34:55.011Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2022-05-31T17:35:01.590Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:35:05.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:35:05.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:35:05.785Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:35:05.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:35:05.815Z] $ docker stop --time=1 795483ca58fb487f18096f61211912f3a6ddcfc9468b91d343e74400aef9e37b [2022-05-31T17:35:07.294Z] $ docker rm -f 795483ca58fb487f18096f61211912f3a6ddcfc9468b91d343e74400aef9e37b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:35:07.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:35:07.774Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-31T17:35:08.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:35:08.504Z] + ls -al . [2022-05-31T17:35:08.504Z] total 188 [2022-05-31T17:35:08.504Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:35 . [2022-05-31T17:35:08.504Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:33 .. [2022-05-31T17:35:08.504Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:34 .git [2022-05-31T17:35:08.504Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:33 .github [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 270 May 31 17:33 .gitignore [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:33 .golangci.yml [2022-05-31T17:35:08.504Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:34 .semver [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 8026 May 31 17:33 Attribution.txt [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 9649 May 31 17:33 CHANGELOG.md [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 31 17:33 Dockerfile [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:33 GOVERNANCE.md [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 660 May 31 17:33 Jenkinsfile [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:33 LICENSE [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 31 17:33 Makefile [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 623 May 31 17:33 OWNERS.md [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 31 17:33 README.md [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:34 VERSION [2022-05-31T17:35:08.504Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:33 bin [2022-05-31T17:35:08.504Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:33 cmd [2022-05-31T17:35:08.504Z] -rw-r--r-- 1 jenkins jenkins 44128 May 31 17:34 coverage.out [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 3139 May 31 17:33 go.mod [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 35006 May 31 17:33 go.sum [2022-05-31T17:35:08.504Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:33 internal [2022-05-31T17:35:08.504Z] -rw-rw-r-- 1 jenkins jenkins 235 May 31 17:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:08.817Z] + 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=9cab87334a4d5affcc1b2c5c12d642008ef46c2d --label arch=amd64 --label version=2.2.1-dev.1 . [2022-05-31T17:35:08.817Z] Sending build context to Docker daemon 22.91MB [2022-05-31T17:35:08.817Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:35:08.817Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-31T17:35:08.817Z] ---> 46ded140e584 [2022-05-31T17:35:08.817Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:35:09.078Z] ---> Running in e38d4ff64cac [2022-05-31T17:35:09.340Z] Removing intermediate container e38d4ff64cac [2022-05-31T17:35:09.340Z] ---> 61f16381ddb7 [2022-05-31T17:35:09.340Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:35:09.340Z] ---> Running in 32138cbf825f [2022-05-31T17:35:09.340Z] Removing intermediate container 32138cbf825f [2022-05-31T17:35:09.340Z] ---> 94ae90ca80ee [2022-05-31T17:35:09.340Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-31T17:35:09.340Z] ---> Running in 9b7f9f08bb90 [2022-05-31T17:35:09.600Z] Removing intermediate container 9b7f9f08bb90 [2022-05-31T17:35:09.600Z] ---> 0f3eb51d7b8a [2022-05-31T17:35:09.600Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:35:09.600Z] ---> Running in 739727d96968 [2022-05-31T17:35:10.173Z] Removing intermediate container 739727d96968 [2022-05-31T17:35:10.173Z] ---> 415c984d1259 [2022-05-31T17:35:10.173Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:35:10.173Z] ---> Running in d376f7ba41dd [2022-05-31T17:35:10.743Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:35:11.314Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:35:11.573Z] OK: 224 MiB in 56 packages [2022-05-31T17:35:12.141Z] Removing intermediate container d376f7ba41dd [2022-05-31T17:35:12.141Z] ---> e0e91a2f0368 [2022-05-31T17:35:12.141Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-31T17:35:12.141Z] ---> 87c35c3d0d9e [2022-05-31T17:35:12.141Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:35:12.141Z] ---> Running in 6f422225fc5b [2022-05-31T17:35:13.081Z] Removing intermediate container 6f422225fc5b [2022-05-31T17:35:13.081Z] ---> 24eab833f95b [2022-05-31T17:35:13.081Z] Step 10/26 : COPY . . [2022-05-31T17:35:13.341Z] ---> 9c4b403461f0 [2022-05-31T17:35:13.341Z] Step 11/26 : ARG MAKE='make build' [2022-05-31T17:35:13.341Z] ---> Running in 72920ff809f3 [2022-05-31T17:35:13.341Z] Removing intermediate container 72920ff809f3 [2022-05-31T17:35:13.341Z] ---> f4d65f75f81e [2022-05-31T17:35:13.341Z] Step 12/26 : RUN $MAKE [2022-05-31T17:35:13.600Z] ---> Running in 1bad8083a099 [2022-05-31T17:35:13.859Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-31T17:35:35.794Z] Removing intermediate container 1bad8083a099 [2022-05-31T17:35:35.794Z] ---> f85305e113d3 [2022-05-31T17:35:35.794Z] Step 13/26 : FROM alpine:3.14 [2022-05-31T17:35:35.794Z] 3.14: Pulling from library/alpine [2022-05-31T17:35:35.794Z] 8663204ce13b: Pulling fs layer [2022-05-31T17:35:35.794Z] 8663204ce13b: Verifying Checksum [2022-05-31T17:35:35.794Z] 8663204ce13b: Download complete [2022-05-31T17:35:35.794Z] 8663204ce13b: Pull complete [2022-05-31T17:35:35.794Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:35:35.794Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:35:35.794Z] ---> e04c818066af [2022-05-31T17:35:35.794Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-31T17:35:35.794Z] ---> Running in f33a3f3d992d [2022-05-31T17:35:35.794Z] Removing intermediate container f33a3f3d992d [2022-05-31T17:35:35.794Z] ---> a2fcabf14dec [2022-05-31T17:35:35.794Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:35:36.055Z] ---> Running in 6414c0172b54 [2022-05-31T17:35:36.624Z] Removing intermediate container 6414c0172b54 [2022-05-31T17:35:36.624Z] ---> eafa474f46cd [2022-05-31T17:35:36.624Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:35:36.624Z] ---> Running in c2efd15fbac3 [2022-05-31T17:35:36.883Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:35:37.825Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:35:38.085Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:35:38.085Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:35:38.085Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:35:38.345Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:35:38.345Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:35:38.345Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:35:38.608Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:35:38.608Z] OK: 8 MiB in 20 packages [2022-05-31T17:35:38.873Z] Removing intermediate container c2efd15fbac3 [2022-05-31T17:35:38.873Z] ---> ebd606404acb [2022-05-31T17:35:38.873Z] Step 17/26 : WORKDIR / [2022-05-31T17:35:38.873Z] ---> Running in 733c1f545c1d [2022-05-31T17:35:39.133Z] Removing intermediate container 733c1f545c1d [2022-05-31T17:35:39.133Z] ---> a3ec2cca13c2 [2022-05-31T17:35:39.133Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-31T17:35:39.133Z] ---> 03a3ca243489 [2022-05-31T17:35:39.133Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-31T17:35:39.393Z] ---> d762a284ee3e [2022-05-31T17:35:39.393Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-31T17:35:39.962Z] ---> 132e07ee414a [2022-05-31T17:35:39.962Z] Step 21/26 : EXPOSE 59900 [2022-05-31T17:35:39.962Z] ---> Running in 3f111fc25892 [2022-05-31T17:35:40.223Z] Removing intermediate container 3f111fc25892 [2022-05-31T17:35:40.223Z] ---> b42ca0a0ac95 [2022-05-31T17:35:40.223Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-31T17:35:40.223Z] ---> Running in a05dec70c334 [2022-05-31T17:35:40.483Z] Removing intermediate container a05dec70c334 [2022-05-31T17:35:40.483Z] ---> 7d142837f55f [2022-05-31T17:35:40.483Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-31T17:35:40.483Z] ---> Running in a847094c2419 [2022-05-31T17:35:40.743Z] Removing intermediate container a847094c2419 [2022-05-31T17:35:40.743Z] ---> 799100a6601f [2022-05-31T17:35:40.743Z] Step 24/26 : LABEL arch=amd64 [2022-05-31T17:35:40.743Z] ---> Running in 0f388a858a7c [2022-05-31T17:35:40.743Z] Removing intermediate container 0f388a858a7c [2022-05-31T17:35:40.743Z] ---> 0de314d3c72a [2022-05-31T17:35:40.743Z] Step 25/26 : LABEL git_sha=9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:35:40.743Z] ---> Running in ecb3a87a73f9 [2022-05-31T17:35:41.005Z] Removing intermediate container ecb3a87a73f9 [2022-05-31T17:35:41.005Z] ---> 90810b5bced3 [2022-05-31T17:35:41.005Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-05-31T17:35:41.005Z] ---> Running in bd39c571bb99 [2022-05-31T17:35:41.005Z] Removing intermediate container bd39c571bb99 [2022-05-31T17:35:41.005Z] ---> b8f62e3d60f5 [2022-05-31T17:35:41.005Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:35:41.005Z] Successfully built b8f62e3d60f5 [2022-05-31T17:35:41.005Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:35:41.078Z] provisioning config files... [2022-05-31T17:35:41.088Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7391939393009806866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:35:41.380Z] ---> docker-login.sh [2022-05-31T17:35:41.380Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:35:41.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:35:41.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:35:41.380Z] Configure a credential helper to remove this warning. See [2022-05-31T17:35:41.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:35:41.380Z] [2022-05-31T17:35:41.380Z] Login Succeeded [2022-05-31T17:35:41.380Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:35:41.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:35:41.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:35:41.641Z] Configure a credential helper to remove this warning. See [2022-05-31T17:35:41.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:35:41.641Z] [2022-05-31T17:35:41.641Z] Login Succeeded [2022-05-31T17:35:41.641Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:35:41.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:35:41.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:35:41.641Z] Configure a credential helper to remove this warning. See [2022-05-31T17:35:41.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:35:41.641Z] [2022-05-31T17:35:41.641Z] Login Succeeded [2022-05-31T17:35:41.641Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:35:41.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:35:41.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:35:41.902Z] Configure a credential helper to remove this warning. See [2022-05-31T17:35:41.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:35:41.902Z] [2022-05-31T17:35:41.902Z] Login Succeeded [2022-05-31T17:35:41.902Z] docker.io [2022-05-31T17:35:41.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:35:42.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:35:42.162Z] Configure a credential helper to remove this warning. See [2022-05-31T17:35:42.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:35:42.162Z] [2022-05-31T17:35:42.162Z] Login Succeeded [2022-05-31T17:35:42.162Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:35:42.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:35:42.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:35:42.214Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-05-31T17:35:42.214Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:35:42.214Z] latest [2022-05-31T17:35:42.214Z] 2.2.1-dev.1 [2022-05-31T17:35:42.214Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [2022-05-31T17:35:42.214Z] main [2022-05-31T17:35:42.214Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:42.535Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:42.840Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:35:42.840Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-31T17:35:42.840Z] dd4d6fecce29: Preparing [2022-05-31T17:35:42.840Z] 0c64fc3a3a50: Preparing [2022-05-31T17:35:42.840Z] bee9cf0f8a7e: Preparing [2022-05-31T17:35:42.840Z] b3cebca7ee77: Preparing [2022-05-31T17:35:42.840Z] 96b27207b781: Preparing [2022-05-31T17:35:42.840Z] b541d28bf3b4: Preparing [2022-05-31T17:35:42.840Z] b541d28bf3b4: Waiting [2022-05-31T17:35:42.840Z] bee9cf0f8a7e: Pushed [2022-05-31T17:35:42.840Z] 0c64fc3a3a50: Pushed [2022-05-31T17:35:42.840Z] 96b27207b781: Pushed [2022-05-31T17:35:42.840Z] b541d28bf3b4: Layer already exists [2022-05-31T17:35:43.101Z] b3cebca7ee77: Pushed [2022-05-31T17:35:45.638Z] dd4d6fecce29: Pushed [2022-05-31T17:35:45.638Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d: digest: sha256:d67f461b108b0a5b95c1a98241aaf3125fad4dfb9fcb9b983377e8dcd6ecfba1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:45.954Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:46.267Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-31T17:35:46.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-31T17:35:46.267Z] dd4d6fecce29: Preparing [2022-05-31T17:35:46.267Z] 0c64fc3a3a50: Preparing [2022-05-31T17:35:46.267Z] bee9cf0f8a7e: Preparing [2022-05-31T17:35:46.267Z] b3cebca7ee77: Preparing [2022-05-31T17:35:46.267Z] 96b27207b781: Preparing [2022-05-31T17:35:46.267Z] b541d28bf3b4: Preparing [2022-05-31T17:35:46.267Z] b541d28bf3b4: Waiting [2022-05-31T17:35:46.267Z] b3cebca7ee77: Layer already exists [2022-05-31T17:35:46.267Z] bee9cf0f8a7e: Layer already exists [2022-05-31T17:35:46.267Z] 96b27207b781: Layer already exists [2022-05-31T17:35:46.267Z] dd4d6fecce29: Layer already exists [2022-05-31T17:35:46.267Z] 0c64fc3a3a50: Layer already exists [2022-05-31T17:35:46.267Z] b541d28bf3b4: Layer already exists [2022-05-31T17:35:46.267Z] latest: digest: sha256:d67f461b108b0a5b95c1a98241aaf3125fad4dfb9fcb9b983377e8dcd6ecfba1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:46.584Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:46.888Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.1 [2022-05-31T17:35:46.888Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-31T17:35:46.888Z] dd4d6fecce29: Preparing [2022-05-31T17:35:46.888Z] 0c64fc3a3a50: Preparing [2022-05-31T17:35:46.888Z] bee9cf0f8a7e: Preparing [2022-05-31T17:35:46.888Z] b3cebca7ee77: Preparing [2022-05-31T17:35:46.888Z] 96b27207b781: Preparing [2022-05-31T17:35:46.888Z] b541d28bf3b4: Preparing [2022-05-31T17:35:46.888Z] b541d28bf3b4: Waiting [2022-05-31T17:35:46.888Z] bee9cf0f8a7e: Layer already exists [2022-05-31T17:35:46.888Z] b3cebca7ee77: Layer already exists [2022-05-31T17:35:46.888Z] 96b27207b781: Layer already exists [2022-05-31T17:35:46.888Z] dd4d6fecce29: Layer already exists [2022-05-31T17:35:46.888Z] 0c64fc3a3a50: Layer already exists [2022-05-31T17:35:46.888Z] b541d28bf3b4: Layer already exists [2022-05-31T17:35:46.888Z] 2.2.1-dev.1: digest: sha256:d67f461b108b0a5b95c1a98241aaf3125fad4dfb9fcb9b983377e8dcd6ecfba1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:47.201Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:47.507Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [2022-05-31T17:35:47.507Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-31T17:35:47.507Z] dd4d6fecce29: Preparing [2022-05-31T17:35:47.507Z] 0c64fc3a3a50: Preparing [2022-05-31T17:35:47.507Z] bee9cf0f8a7e: Preparing [2022-05-31T17:35:47.507Z] b3cebca7ee77: Preparing [2022-05-31T17:35:47.507Z] 96b27207b781: Preparing [2022-05-31T17:35:47.507Z] b541d28bf3b4: Preparing [2022-05-31T17:35:47.507Z] b541d28bf3b4: Waiting [2022-05-31T17:35:47.507Z] dd4d6fecce29: Layer already exists [2022-05-31T17:35:47.507Z] bee9cf0f8a7e: Layer already exists [2022-05-31T17:35:47.507Z] 0c64fc3a3a50: Layer already exists [2022-05-31T17:35:47.507Z] b3cebca7ee77: Layer already exists [2022-05-31T17:35:47.507Z] 96b27207b781: Layer already exists [2022-05-31T17:35:47.507Z] b541d28bf3b4: Layer already exists [2022-05-31T17:35:47.507Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1: digest: sha256:d67f461b108b0a5b95c1a98241aaf3125fad4dfb9fcb9b983377e8dcd6ecfba1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:47.818Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:48.145Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-05-31T17:35:48.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-31T17:35:48.145Z] dd4d6fecce29: Preparing [2022-05-31T17:35:48.145Z] 0c64fc3a3a50: Preparing [2022-05-31T17:35:48.145Z] bee9cf0f8a7e: Preparing [2022-05-31T17:35:48.145Z] b3cebca7ee77: Preparing [2022-05-31T17:35:48.145Z] 96b27207b781: Preparing [2022-05-31T17:35:48.145Z] b541d28bf3b4: Preparing [2022-05-31T17:35:48.145Z] 0c64fc3a3a50: Layer already exists [2022-05-31T17:35:48.145Z] bee9cf0f8a7e: Layer already exists [2022-05-31T17:35:48.145Z] 96b27207b781: Layer already exists [2022-05-31T17:35:48.145Z] b3cebca7ee77: Layer already exists [2022-05-31T17:35:48.145Z] dd4d6fecce29: Layer already exists [2022-05-31T17:35:48.145Z] b541d28bf3b4: Layer already exists [2022-05-31T17:35:48.145Z] main: digest: sha256:d67f461b108b0a5b95c1a98241aaf3125fad4dfb9fcb9b983377e8dcd6ecfba1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:35:48.199Z] ===================================================== [Pipeline] echo [2022-05-31T17:35:48.207Z] taggedImages: [2022-05-31T17:35:48.207Z] - nexus3.edgexfoundry.org:10004/device-virtual:9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:35:48.207Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-31T17:35:48.207Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.1 [2022-05-31T17:35:48.207Z] - nexus3.edgexfoundry.org:10004/device-virtual:9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [2022-05-31T17:35:48.207Z] - 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 [2022-05-31T17:35:48.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:35:48.591Z] [2022-05-31T17:35:48.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:35:48.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:35:48.897Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-31T17:35:48.897Z] 5eb5b503b376: Pulling fs layer [2022-05-31T17:35:48.897Z] 5c69ac0246d0: Pulling fs layer [2022-05-31T17:35:48.897Z] ec43610c2a17: Pulling fs layer [2022-05-31T17:35:48.897Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-31T17:35:48.897Z] 33b1e0a273af: Pulling fs layer [2022-05-31T17:35:48.897Z] 5d3b04190fa2: Pulling fs layer [2022-05-31T17:35:48.897Z] 3a2ae6a8a46f: Waiting [2022-05-31T17:35:48.897Z] 33b1e0a273af: Waiting [2022-05-31T17:35:48.897Z] 2f39f015ded8: Pulling fs layer [2022-05-31T17:35:48.897Z] 5d3b04190fa2: Waiting [2022-05-31T17:35:48.897Z] 2f39f015ded8: Waiting [2022-05-31T17:35:48.897Z] 5c69ac0246d0: Download complete [2022-05-31T17:35:48.897Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-31T17:35:48.897Z] 33b1e0a273af: Verifying Checksum [2022-05-31T17:35:48.897Z] 33b1e0a273af: Download complete [2022-05-31T17:35:49.156Z] ec43610c2a17: Verifying Checksum [2022-05-31T17:35:49.156Z] ec43610c2a17: Download complete [2022-05-31T17:35:49.156Z] 5d3b04190fa2: Verifying Checksum [2022-05-31T17:35:49.156Z] 5d3b04190fa2: Download complete [2022-05-31T17:35:49.156Z] 5eb5b503b376: Verifying Checksum [2022-05-31T17:35:49.156Z] 5eb5b503b376: Download complete [2022-05-31T17:35:49.721Z] 2f39f015ded8: Verifying Checksum [2022-05-31T17:35:49.722Z] 2f39f015ded8: Download complete [2022-05-31T17:35:50.289Z] 5eb5b503b376: Pull complete [2022-05-31T17:35:50.548Z] 5c69ac0246d0: Pull complete [2022-05-31T17:35:50.807Z] ec43610c2a17: Pull complete [2022-05-31T17:35:51.067Z] 3a2ae6a8a46f: Pull complete [2022-05-31T17:35:51.326Z] 33b1e0a273af: Pull complete [2022-05-31T17:35:51.326Z] 5d3b04190fa2: Pull complete [2022-05-31T17:35:55.510Z] 2f39f015ded8: Pull complete [2022-05-31T17:35:55.510Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-31T17:35:55.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:35:55.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:35:55.617Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:35:55.660Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T17:35:57.934Z] $ docker top 0da6efd5fcb619c148097f4b8440effced948e2cc2eabb56aaa053b1dabeb357 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:35:58.316Z] ---> job-cost.sh [2022-05-31T17:35:58.316Z] lf-activate-venv: SKIPPING [2022-05-31T17:35:58.316Z] INFO: No Stack... [2022-05-31T17:35:58.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:35:59.147Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:35:59.441Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-05-31T17:35:59.442Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:35:59.453Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] [2022-05-31T17:35:59.460Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] did not exist. Created. [2022-05-31T17:35:59.460Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:35:59.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-31T17:35:59.787Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:35:59.799Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:35:59.824Z] $ docker stop --time=1 0da6efd5fcb619c148097f4b8440effced948e2cc2eabb56aaa053b1dabeb357 [2022-05-31T17:36:01.051Z] $ docker rm -f 0da6efd5fcb619c148097f4b8440effced948e2cc2eabb56aaa053b1dabeb357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-31T17:36:58.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-496 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-05-31T17:36:58.453Z] Running in /w/workspace/device-virtual-go/37 [Pipeline] { [Pipeline] checkout [2022-05-31T17:36:58.498Z] The recommended git tool is: git [2022-05-31T17:37:03.834Z] using credential edgex-jenkins-ssh [2022-05-31T17:37:03.859Z] Cloning the remote Git repository [2022-05-31T17:37:03.934Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-05-31T17:37:04.019Z] > git init /w/workspace/device-virtual-go/37 # timeout=10 [2022-05-31T17:37:04.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-05-31T17:37:04.111Z] > git --version # timeout=10 [2022-05-31T17:37:04.137Z] > git --version # 'git version 2.25.1' [2022-05-31T17:37:04.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T17:37:04.234Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:37:06.328Z] Avoid second fetch [2022-05-31T17:37:06.329Z] Checking out Revision 9cab87334a4d5affcc1b2c5c12d642008ef46c2d (main) [2022-05-31T17:37:06.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-05-31T17:37:06.307Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:37:06.358Z] > git config core.sparsecheckout # timeout=10 [2022-05-31T17:37:06.375Z] > git checkout -f 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-05-31T17:37:11.140Z] Commit message: "Merge pull request #286 from vli11/SPIFFE_dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:37:11.975Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-31T17:37:11.975Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:37:11.976Z] Dload Upload Total Spent Left Speed [2022-05-31T17:37:11.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50217 0 --:--:-- --:--:-- --:--:-- 50217 [Pipeline] sh [2022-05-31T17:37:12.659Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-31T17:37:13.015Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-31T17:37:13.015Z] + sudo tee /etc/docker/daemon.new [2022-05-31T17:37:13.015Z] { [2022-05-31T17:37:13.015Z] "registry-mirrors": [ [2022-05-31T17:37:13.015Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-31T17:37:13.015Z] ], [2022-05-31T17:37:13.015Z] "bip": "10.250.0.254/24", [2022-05-31T17:37:13.015Z] "hosts": [ [2022-05-31T17:37:13.015Z] "tcp://0.0.0.0:5555", [2022-05-31T17:37:13.015Z] "unix:///var/run/docker.sock" [2022-05-31T17:37:13.015Z] ], [2022-05-31T17:37:13.015Z] "mtu": 1458, [2022-05-31T17:37:13.015Z] "selinux-enabled": true, [2022-05-31T17:37:13.015Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-31T17:37:13.015Z] } [Pipeline] sh [2022-05-31T17:37:13.381Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-31T17:37:13.729Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:37:32.101Z] provisioning config files... [2022-05-31T17:37:32.129Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/37@tmp/config2331762791357615665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:37:32.518Z] ---> docker-login.sh [2022-05-31T17:37:32.518Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:37:33.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:37:33.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:37:33.474Z] Configure a credential helper to remove this warning. See [2022-05-31T17:37:33.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:37:33.474Z] [2022-05-31T17:37:33.474Z] Login Succeeded [2022-05-31T17:37:33.474Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:37:33.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:37:34.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:37:34.100Z] Configure a credential helper to remove this warning. See [2022-05-31T17:37:34.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:37:34.100Z] [2022-05-31T17:37:34.100Z] Login Succeeded [2022-05-31T17:37:34.100Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:37:34.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:37:34.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:37:34.652Z] Configure a credential helper to remove this warning. See [2022-05-31T17:37:34.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:37:34.652Z] [2022-05-31T17:37:34.652Z] Login Succeeded [2022-05-31T17:37:34.652Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:37:34.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:37:34.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:37:34.930Z] Configure a credential helper to remove this warning. See [2022-05-31T17:37:34.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:37:34.930Z] [2022-05-31T17:37:34.930Z] Login Succeeded [2022-05-31T17:37:34.930Z] docker.io [2022-05-31T17:37:35.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:37:35.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:37:35.808Z] Configure a credential helper to remove this warning. See [2022-05-31T17:37:35.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:37:35.808Z] [2022-05-31T17:37:35.808Z] Login Succeeded [2022-05-31T17:37:35.808Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:37:35.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:37:36.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:37:36.380Z] ========================================================= [2022-05-31T17:37:36.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-31T17:37:36.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:37:36.761Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-31T17:37:37.365Z] Sending build context to Docker daemon 11.54MB [2022-05-31T17:37:37.365Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:37:37.365Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T17:37:37.365Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-31T17:37:37.365Z] 9b3977197b4f: Pulling fs layer [2022-05-31T17:37:37.365Z] 1a89e8eeedd5: Pulling fs layer [2022-05-31T17:37:37.365Z] 94645a83ff95: Pulling fs layer [2022-05-31T17:37:37.365Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-31T17:37:37.365Z] 0c92f367c5e7: Pulling fs layer [2022-05-31T17:37:37.365Z] 3096ccb668a1: Pulling fs layer [2022-05-31T17:37:37.365Z] e8cf19c19ddd: Pulling fs layer [2022-05-31T17:37:37.365Z] a4caa8a26152: Pulling fs layer [2022-05-31T17:37:37.365Z] 0c92f367c5e7: Waiting [2022-05-31T17:37:37.365Z] 3096ccb668a1: Waiting [2022-05-31T17:37:37.365Z] e8cf19c19ddd: Waiting [2022-05-31T17:37:37.365Z] a4caa8a26152: Waiting [2022-05-31T17:37:37.365Z] 3f3a8bcf1eab: Waiting [2022-05-31T17:37:37.643Z] 94645a83ff95: Verifying Checksum [2022-05-31T17:37:37.643Z] 94645a83ff95: Download complete [2022-05-31T17:37:37.643Z] 1a89e8eeedd5: Verifying Checksum [2022-05-31T17:37:37.643Z] 1a89e8eeedd5: Download complete [2022-05-31T17:37:37.643Z] 0c92f367c5e7: Verifying Checksum [2022-05-31T17:37:37.643Z] 0c92f367c5e7: Download complete [2022-05-31T17:37:37.643Z] 3096ccb668a1: Verifying Checksum [2022-05-31T17:37:37.643Z] 3096ccb668a1: Download complete [2022-05-31T17:37:37.643Z] 9b3977197b4f: Verifying Checksum [2022-05-31T17:37:37.643Z] e8cf19c19ddd: Verifying Checksum [2022-05-31T17:37:37.643Z] e8cf19c19ddd: Download complete [2022-05-31T17:37:38.638Z] 9b3977197b4f: Pull complete [2022-05-31T17:37:39.633Z] 1a89e8eeedd5: Pull complete [2022-05-31T17:37:39.911Z] 94645a83ff95: Pull complete [2022-05-31T17:37:40.188Z] a4caa8a26152: Verifying Checksum [2022-05-31T17:37:40.188Z] a4caa8a26152: Download complete [2022-05-31T17:37:40.787Z] 3f3a8bcf1eab: Download complete [2022-05-31T17:37:59.103Z] 3f3a8bcf1eab: Pull complete [2022-05-31T17:37:59.103Z] 0c92f367c5e7: Pull complete [2022-05-31T17:37:59.103Z] 3096ccb668a1: Pull complete [2022-05-31T17:37:59.103Z] e8cf19c19ddd: Pull complete [2022-05-31T17:38:07.438Z] a4caa8a26152: Pull complete [2022-05-31T17:38:07.438Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-31T17:38:07.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-31T17:38:07.438Z] ---> 725f1c02e7f9 [2022-05-31T17:38:07.438Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:38:07.438Z] ---> Running in 1cc4eb5f27ae [2022-05-31T17:38:07.438Z] Removing intermediate container 1cc4eb5f27ae [2022-05-31T17:38:07.438Z] ---> 4b1fd50e3dc2 [2022-05-31T17:38:07.438Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:38:07.721Z] ---> Running in 4aca71125f4f [2022-05-31T17:38:07.995Z] Removing intermediate container 4aca71125f4f [2022-05-31T17:38:07.995Z] ---> 7589366278ba [2022-05-31T17:38:07.995Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-31T17:38:07.995Z] ---> Running in e05b07c540ce [2022-05-31T17:38:08.274Z] Removing intermediate container e05b07c540ce [2022-05-31T17:38:08.274Z] ---> ad044c46c9ff [2022-05-31T17:38:08.274Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:38:08.559Z] ---> Running in 38c3a892e26b [2022-05-31T17:38:10.550Z] Removing intermediate container 38c3a892e26b [2022-05-31T17:38:10.550Z] ---> 59be5423a83e [2022-05-31T17:38:10.550Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:38:10.550Z] ---> Running in 50cb87689231 [2022-05-31T17:38:11.553Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:38:12.541Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:38:13.527Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:38:13.527Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T17:38:13.527Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:38:13.804Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:38:13.804Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:38:14.078Z] OK: 224 MiB in 56 packages [2022-05-31T17:38:15.067Z] Removing intermediate container 50cb87689231 [2022-05-31T17:38:15.067Z] ---> baa1dbcd91fd [2022-05-31T17:38:15.067Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-31T17:38:15.664Z] ---> e90f14e8a5a6 [2022-05-31T17:38:15.664Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:38:15.664Z] ---> Running in 9178a8daad1c [2022-05-31T17:39:12.252Z] Removing intermediate container 9178a8daad1c [2022-05-31T17:39:12.252Z] ---> 4988839fe6c2 [2022-05-31T17:39:12.252Z] Step 10/12 : COPY . . [2022-05-31T17:39:12.252Z] ---> 3eb95ca658a4 [2022-05-31T17:39:12.252Z] Step 11/12 : ARG MAKE='make build' [2022-05-31T17:39:12.252Z] ---> Running in 94e036d6747b [2022-05-31T17:39:12.252Z] Removing intermediate container 94e036d6747b [2022-05-31T17:39:12.252Z] ---> 3f5d2a5f18ef [2022-05-31T17:39:12.252Z] Step 12/12 : RUN $MAKE [2022-05-31T17:39:12.252Z] ---> Running in ef899e745129 [2022-05-31T17:39:12.252Z] noop [2022-05-31T17:39:12.252Z] Removing intermediate container ef899e745129 [2022-05-31T17:39:12.252Z] ---> 268487db906c [2022-05-31T17:39:12.252Z] Successfully built 268487db906c [2022-05-31T17:39:12.252Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:39:12.618Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:39:12.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:39:12.911Z] prd-ubuntu20.04-docker-arm64-4c-16g-496 does not seem to be running inside a container [2022-05-31T17:39:13.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-31T17:39:14.489Z] $ docker top 1d4480ed04eaca833bb99364a72dcd2e0111b41c46189aa4f4c9c3c207c6a463 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:39:15.456Z] + go version [2022-05-31T17:39:15.456Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-31T17:39:15.483Z] $ docker stop --time=1 1d4480ed04eaca833bb99364a72dcd2e0111b41c46189aa4f4c9c3c207c6a463 [2022-05-31T17:39:17.210Z] $ docker rm -f 1d4480ed04eaca833bb99364a72dcd2e0111b41c46189aa4f4c9c3c207c6a463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:39:17.833Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:39:17.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:39:18.121Z] prd-ubuntu20.04-docker-arm64-4c-16g-496 does not seem to be running inside a container [2022-05-31T17:39:18.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-31T17:39:19.602Z] $ docker top 7aa026f227367d9e3c4c445948178c1261eebffa53226d4137f48bca991e328a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:39:20.569Z] + make test [2022-05-31T17:39:20.569Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-31T17:39:22.572Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-31T17:40:59.567Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-31T17:40:59.567Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.153s coverage: 65.7% of statements [2022-05-31T17:40:59.567Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-31T17:40:59.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:41:32.013Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:41:32.013Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:41:32.013Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:41:34.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:41:34.671Z] $ docker stop --time=1 7aa026f227367d9e3c4c445948178c1261eebffa53226d4137f48bca991e328a [2022-05-31T17:41:36.471Z] $ docker rm -f 7aa026f227367d9e3c4c445948178c1261eebffa53226d4137f48bca991e328a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:41:37.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:41:37.519Z] Warning: overwriting stash ‘coverage-report’ [2022-05-31T17:41:38.048Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:41:38.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:41:38.785Z] + ls -al . [2022-05-31T17:41:38.786Z] total 184 [2022-05-31T17:41:38.786Z] drwxrwxr-x 7 jenkins jenkins 4096 May 31 17:41 . [2022-05-31T17:41:38.786Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:37 .. [2022-05-31T17:41:38.786Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:37 .git [2022-05-31T17:41:38.786Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:37 .github [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 270 May 31 17:37 .gitignore [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:37 .golangci.yml [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 8026 May 31 17:37 Attribution.txt [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 9649 May 31 17:37 CHANGELOG.md [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 31 17:37 Dockerfile [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:37 GOVERNANCE.md [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 660 May 31 17:37 Jenkinsfile [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:37 LICENSE [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 31 17:37 Makefile [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 623 May 31 17:37 OWNERS.md [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 31 17:37 README.md [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:34 VERSION [2022-05-31T17:41:38.786Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:37 bin [2022-05-31T17:41:38.786Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:37 cmd [2022-05-31T17:41:38.786Z] -rw-r--r-- 1 jenkins jenkins 44128 May 31 17:40 coverage.out [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 3139 May 31 17:37 go.mod [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 35006 May 31 17:37 go.sum [2022-05-31T17:41:38.786Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:37 internal [2022-05-31T17:41:38.786Z] -rw-rw-r-- 1 jenkins jenkins 235 May 31 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:41:39.146Z] + 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=9cab87334a4d5affcc1b2c5c12d642008ef46c2d --label arch=arm64 --label version=2.2.1-dev.1 . [2022-05-31T17:41:39.748Z] Sending build context to Docker daemon 11.59MB [2022-05-31T17:41:39.748Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:41:39.748Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-31T17:41:39.748Z] ---> 268487db906c [2022-05-31T17:41:39.748Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:41:39.748Z] ---> Running in 9178d6410366 [2022-05-31T17:41:40.021Z] Removing intermediate container 9178d6410366 [2022-05-31T17:41:40.021Z] ---> 8fc4d96ec21b [2022-05-31T17:41:40.021Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:41:40.301Z] ---> Running in 05a1fa73645d [2022-05-31T17:41:40.578Z] Removing intermediate container 05a1fa73645d [2022-05-31T17:41:40.578Z] ---> d5c7a2348eca [2022-05-31T17:41:40.578Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-31T17:41:40.578Z] ---> Running in 3719f8fdec61 [2022-05-31T17:41:40.860Z] Removing intermediate container 3719f8fdec61 [2022-05-31T17:41:40.860Z] ---> 27d78a9d8dd1 [2022-05-31T17:41:40.860Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:41:41.136Z] ---> Running in ea82bbec8293 [2022-05-31T17:41:43.117Z] Removing intermediate container ea82bbec8293 [2022-05-31T17:41:43.117Z] ---> fdc0c143a2a8 [2022-05-31T17:41:43.117Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:41:43.117Z] ---> Running in a27d2679d836 [2022-05-31T17:41:44.097Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:41:45.077Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:41:46.051Z] OK: 224 MiB in 56 packages [2022-05-31T17:41:47.045Z] Removing intermediate container a27d2679d836 [2022-05-31T17:41:47.045Z] ---> d04f9f81e8dc [2022-05-31T17:41:47.045Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-31T17:41:47.639Z] ---> a71a6e19f1eb [2022-05-31T17:41:47.639Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:41:47.639Z] ---> Running in ce229eb6a005 [2022-05-31T17:41:49.612Z] Removing intermediate container ce229eb6a005 [2022-05-31T17:41:49.612Z] ---> c9d2191f683f [2022-05-31T17:41:49.612Z] Step 10/26 : COPY . . [2022-05-31T17:41:51.045Z] ---> 525a9dbdc626 [2022-05-31T17:41:51.045Z] Step 11/26 : ARG MAKE='make build' [2022-05-31T17:41:51.045Z] ---> Running in d6f949046ced [2022-05-31T17:41:51.045Z] Removing intermediate container d6f949046ced [2022-05-31T17:41:51.045Z] ---> 5133c4678b9e [2022-05-31T17:41:51.045Z] Step 12/26 : RUN $MAKE [2022-05-31T17:41:51.330Z] ---> Running in c03862ecc600 [2022-05-31T17:41:52.312Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-31T17:44:14.276Z] Removing intermediate container c03862ecc600 [2022-05-31T17:44:14.276Z] ---> 4296ef42b292 [2022-05-31T17:44:14.276Z] Step 13/26 : FROM alpine:3.14 [2022-05-31T17:44:14.276Z] 3.14: Pulling from library/alpine [2022-05-31T17:44:14.276Z] 455c02918c45: Pulling fs layer [2022-05-31T17:44:14.276Z] 455c02918c45: Verifying Checksum [2022-05-31T17:44:14.276Z] 455c02918c45: Download complete [2022-05-31T17:44:14.276Z] 455c02918c45: Pull complete [2022-05-31T17:44:14.276Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:44:14.276Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:44:14.276Z] ---> ac73e934f311 [2022-05-31T17:44:14.276Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-31T17:44:14.276Z] ---> Running in c5b4f76c093d [2022-05-31T17:44:14.276Z] Removing intermediate container c5b4f76c093d [2022-05-31T17:44:14.276Z] ---> f266b04df58f [2022-05-31T17:44:14.276Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:44:14.276Z] ---> Running in 9d1fc43bff10 [2022-05-31T17:44:14.277Z] Removing intermediate container 9d1fc43bff10 [2022-05-31T17:44:14.277Z] ---> 781ca5e207cb [2022-05-31T17:44:14.277Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:44:14.277Z] ---> Running in c16bd07223d4 [2022-05-31T17:44:14.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:44:14.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:44:14.277Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:44:14.277Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:44:14.277Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:44:14.277Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:44:14.277Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:44:14.277Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:44:14.277Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:44:14.277Z] OK: 8 MiB in 20 packages [2022-05-31T17:44:14.277Z] Removing intermediate container c16bd07223d4 [2022-05-31T17:44:14.277Z] ---> dabfb2d8d7d3 [2022-05-31T17:44:14.277Z] Step 17/26 : WORKDIR / [2022-05-31T17:44:14.277Z] ---> Running in b4f2742f5728 [2022-05-31T17:44:14.277Z] Removing intermediate container b4f2742f5728 [2022-05-31T17:44:14.277Z] ---> 4fa6e7e75548 [2022-05-31T17:44:14.277Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-31T17:44:14.277Z] ---> ee09ce1e2d80 [2022-05-31T17:44:14.277Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-31T17:44:14.277Z] ---> b60c2d38e24b [2022-05-31T17:44:14.277Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-31T17:44:14.277Z] ---> 491a96fa8884 [2022-05-31T17:44:14.277Z] Step 21/26 : EXPOSE 59900 [2022-05-31T17:44:14.277Z] ---> Running in 1de13f1926dc [2022-05-31T17:44:14.277Z] Removing intermediate container 1de13f1926dc [2022-05-31T17:44:14.277Z] ---> 50b4fdb757d9 [2022-05-31T17:44:14.277Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-31T17:44:14.277Z] ---> Running in 81c6fc74d967 [2022-05-31T17:44:14.277Z] Removing intermediate container 81c6fc74d967 [2022-05-31T17:44:14.277Z] ---> 165e500c3572 [2022-05-31T17:44:14.277Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-31T17:44:14.277Z] ---> Running in 7bf63e3a28e2 [2022-05-31T17:44:14.277Z] Removing intermediate container 7bf63e3a28e2 [2022-05-31T17:44:14.277Z] ---> 799d44444e19 [2022-05-31T17:44:14.277Z] Step 24/26 : LABEL arch=arm64 [2022-05-31T17:44:14.277Z] ---> Running in f64d5c79354c [2022-05-31T17:44:14.277Z] Removing intermediate container f64d5c79354c [2022-05-31T17:44:14.277Z] ---> 73c4d220f08d [2022-05-31T17:44:14.277Z] Step 25/26 : LABEL git_sha=9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:44:14.277Z] ---> Running in ffb64ecd2f03 [2022-05-31T17:44:14.277Z] Removing intermediate container ffb64ecd2f03 [2022-05-31T17:44:14.277Z] ---> 3bafb5fa88fe [2022-05-31T17:44:14.277Z] Step 26/26 : LABEL version=2.2.1-dev.1 [2022-05-31T17:44:14.277Z] ---> Running in 6872790074d1 [2022-05-31T17:44:14.277Z] Removing intermediate container 6872790074d1 [2022-05-31T17:44:14.277Z] ---> 96096b0a6237 [2022-05-31T17:44:14.277Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:44:14.277Z] Successfully built 96096b0a6237 [2022-05-31T17:44:14.277Z] 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 [2022-05-31T17:44:14.377Z] provisioning config files... [2022-05-31T17:44:14.395Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/37@tmp/config8700378729049856034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:44:14.745Z] ---> docker-login.sh [2022-05-31T17:44:14.745Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:44:15.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:44:15.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:44:15.018Z] Configure a credential helper to remove this warning. See [2022-05-31T17:44:15.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:44:15.018Z] [2022-05-31T17:44:15.018Z] Login Succeeded [2022-05-31T17:44:15.018Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:44:15.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:44:15.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:44:15.617Z] Configure a credential helper to remove this warning. See [2022-05-31T17:44:15.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:44:15.617Z] [2022-05-31T17:44:15.617Z] Login Succeeded [2022-05-31T17:44:15.617Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:44:15.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:44:16.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:44:16.163Z] Configure a credential helper to remove this warning. See [2022-05-31T17:44:16.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:44:16.163Z] [2022-05-31T17:44:16.163Z] Login Succeeded [2022-05-31T17:44:16.163Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:44:16.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:44:16.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:44:16.710Z] Configure a credential helper to remove this warning. See [2022-05-31T17:44:16.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:44:16.710Z] [2022-05-31T17:44:16.710Z] Login Succeeded [2022-05-31T17:44:16.710Z] docker.io [2022-05-31T17:44:16.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:44:17.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:44:17.258Z] Configure a credential helper to remove this warning. See [2022-05-31T17:44:17.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:44:17.258Z] [2022-05-31T17:44:17.258Z] Login Succeeded [2022-05-31T17:44:17.258Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:44:17.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:44:17.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:44:17.331Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-05-31T17:44:17.331Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:44:17.331Z] latest [2022-05-31T17:44:17.331Z] 2.2.1-dev.1 [2022-05-31T17:44:17.331Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [2022-05-31T17:44:17.331Z] main [2022-05-31T17:44:17.331Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:17.697Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:18.073Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:44:18.073Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-31T17:44:18.073Z] a2a3a5f1ca6d: Preparing [2022-05-31T17:44:18.073Z] bd34f82a7a44: Preparing [2022-05-31T17:44:18.073Z] c1a277b3e9dc: Preparing [2022-05-31T17:44:18.074Z] 6001d41a3abb: Preparing [2022-05-31T17:44:18.074Z] 7f87a6561517: Preparing [2022-05-31T17:44:18.074Z] f73e7dbfee58: Preparing [2022-05-31T17:44:18.074Z] f73e7dbfee58: Waiting [2022-05-31T17:44:18.347Z] 7f87a6561517: Pushed [2022-05-31T17:44:18.347Z] c1a277b3e9dc: Pushed [2022-05-31T17:44:18.347Z] bd34f82a7a44: Pushed [2022-05-31T17:44:18.347Z] f73e7dbfee58: Layer already exists [2022-05-31T17:44:18.950Z] 6001d41a3abb: Pushed [2022-05-31T17:44:24.363Z] a2a3a5f1ca6d: Pushed [2022-05-31T17:44:24.363Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d: digest: sha256:c0f21293ad7255d042dbff4c1d0bf4578c384bb16f838e6a5e8adbaccf84ffee size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:24.734Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:25.098Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-31T17:44:25.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-31T17:44:25.098Z] a2a3a5f1ca6d: Preparing [2022-05-31T17:44:25.098Z] bd34f82a7a44: Preparing [2022-05-31T17:44:25.098Z] c1a277b3e9dc: Preparing [2022-05-31T17:44:25.098Z] 6001d41a3abb: Preparing [2022-05-31T17:44:25.098Z] 7f87a6561517: Preparing [2022-05-31T17:44:25.098Z] f73e7dbfee58: Preparing [2022-05-31T17:44:25.098Z] f73e7dbfee58: Waiting [2022-05-31T17:44:25.098Z] a2a3a5f1ca6d: Layer already exists [2022-05-31T17:44:25.098Z] 6001d41a3abb: Layer already exists [2022-05-31T17:44:25.098Z] bd34f82a7a44: Layer already exists [2022-05-31T17:44:25.098Z] 7f87a6561517: Layer already exists [2022-05-31T17:44:25.098Z] c1a277b3e9dc: Layer already exists [2022-05-31T17:44:25.098Z] f73e7dbfee58: Layer already exists [2022-05-31T17:44:25.373Z] latest: digest: sha256:c0f21293ad7255d042dbff4c1d0bf4578c384bb16f838e6a5e8adbaccf84ffee size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:25.751Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:26.111Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.1 [2022-05-31T17:44:26.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-31T17:44:26.111Z] a2a3a5f1ca6d: Preparing [2022-05-31T17:44:26.111Z] bd34f82a7a44: Preparing [2022-05-31T17:44:26.111Z] c1a277b3e9dc: Preparing [2022-05-31T17:44:26.111Z] 6001d41a3abb: Preparing [2022-05-31T17:44:26.111Z] 7f87a6561517: Preparing [2022-05-31T17:44:26.111Z] f73e7dbfee58: Preparing [2022-05-31T17:44:26.111Z] f73e7dbfee58: Waiting [2022-05-31T17:44:26.111Z] 7f87a6561517: Layer already exists [2022-05-31T17:44:26.111Z] c1a277b3e9dc: Layer already exists [2022-05-31T17:44:26.111Z] bd34f82a7a44: Layer already exists [2022-05-31T17:44:26.111Z] 6001d41a3abb: Layer already exists [2022-05-31T17:44:26.111Z] a2a3a5f1ca6d: Layer already exists [2022-05-31T17:44:26.111Z] f73e7dbfee58: Layer already exists [2022-05-31T17:44:26.384Z] 2.2.1-dev.1: digest: sha256:c0f21293ad7255d042dbff4c1d0bf4578c384bb16f838e6a5e8adbaccf84ffee size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:26.761Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:27.131Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [2022-05-31T17:44:27.131Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-31T17:44:27.131Z] a2a3a5f1ca6d: Preparing [2022-05-31T17:44:27.131Z] bd34f82a7a44: Preparing [2022-05-31T17:44:27.131Z] c1a277b3e9dc: Preparing [2022-05-31T17:44:27.131Z] 6001d41a3abb: Preparing [2022-05-31T17:44:27.131Z] 7f87a6561517: Preparing [2022-05-31T17:44:27.131Z] f73e7dbfee58: Preparing [2022-05-31T17:44:27.131Z] f73e7dbfee58: Waiting [2022-05-31T17:44:27.131Z] bd34f82a7a44: Layer already exists [2022-05-31T17:44:27.131Z] a2a3a5f1ca6d: Layer already exists [2022-05-31T17:44:27.131Z] 6001d41a3abb: Layer already exists [2022-05-31T17:44:27.131Z] 7f87a6561517: Layer already exists [2022-05-31T17:44:27.131Z] c1a277b3e9dc: Layer already exists [2022-05-31T17:44:27.131Z] f73e7dbfee58: Layer already exists [2022-05-31T17:44:27.403Z] 9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1: digest: sha256:c0f21293ad7255d042dbff4c1d0bf4578c384bb16f838e6a5e8adbaccf84ffee size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:27.764Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:28.126Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-05-31T17:44:28.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-31T17:44:28.126Z] a2a3a5f1ca6d: Preparing [2022-05-31T17:44:28.126Z] bd34f82a7a44: Preparing [2022-05-31T17:44:28.126Z] c1a277b3e9dc: Preparing [2022-05-31T17:44:28.126Z] 6001d41a3abb: Preparing [2022-05-31T17:44:28.126Z] 7f87a6561517: Preparing [2022-05-31T17:44:28.126Z] f73e7dbfee58: Preparing [2022-05-31T17:44:28.126Z] f73e7dbfee58: Waiting [2022-05-31T17:44:28.126Z] c1a277b3e9dc: Layer already exists [2022-05-31T17:44:28.126Z] 6001d41a3abb: Layer already exists [2022-05-31T17:44:28.126Z] 7f87a6561517: Layer already exists [2022-05-31T17:44:28.126Z] bd34f82a7a44: Layer already exists [2022-05-31T17:44:28.126Z] a2a3a5f1ca6d: Layer already exists [2022-05-31T17:44:28.126Z] f73e7dbfee58: Layer already exists [2022-05-31T17:44:28.400Z] main: digest: sha256:c0f21293ad7255d042dbff4c1d0bf4578c384bb16f838e6a5e8adbaccf84ffee size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:44:28.458Z] ===================================================== [Pipeline] echo [2022-05-31T17:44:28.466Z] taggedImages: [2022-05-31T17:44:28.466Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9cab87334a4d5affcc1b2c5c12d642008ef46c2d [2022-05-31T17:44:28.466Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-31T17:44:28.466Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.1 [2022-05-31T17:44:28.466Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9cab87334a4d5affcc1b2c5c12d642008ef46c2d-2.2.1-dev.1 [2022-05-31T17:44:28.466Z] - 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 [2022-05-31T17:44:28.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:44:28.840Z] [2022-05-31T17:44:28.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:44:29.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:44:29.475Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-31T17:44:29.475Z] 8998bd30e6a1: Pulling fs layer [2022-05-31T17:44:29.475Z] 04944245beec: Pulling fs layer [2022-05-31T17:44:29.475Z] 699f458cf7ca: Pulling fs layer [2022-05-31T17:44:29.475Z] 765212b225bb: Pulling fs layer [2022-05-31T17:44:29.475Z] f23df028b6ca: Pulling fs layer [2022-05-31T17:44:29.475Z] d65c8cfc05b1: Pulling fs layer [2022-05-31T17:44:29.475Z] 2437ff75d9bd: Pulling fs layer [2022-05-31T17:44:29.475Z] 765212b225bb: Waiting [2022-05-31T17:44:29.475Z] 2437ff75d9bd: Waiting [2022-05-31T17:44:29.475Z] f23df028b6ca: Waiting [2022-05-31T17:44:29.475Z] d65c8cfc05b1: Waiting [2022-05-31T17:44:29.475Z] 04944245beec: Verifying Checksum [2022-05-31T17:44:29.475Z] 04944245beec: Download complete [2022-05-31T17:44:29.475Z] f23df028b6ca: Verifying Checksum [2022-05-31T17:44:29.475Z] f23df028b6ca: Download complete [2022-05-31T17:44:29.475Z] d65c8cfc05b1: Verifying Checksum [2022-05-31T17:44:29.475Z] d65c8cfc05b1: Download complete [2022-05-31T17:44:29.754Z] 699f458cf7ca: Verifying Checksum [2022-05-31T17:44:29.754Z] 699f458cf7ca: Download complete [2022-05-31T17:44:30.030Z] 8998bd30e6a1: Download complete [2022-05-31T17:44:32.664Z] 2437ff75d9bd: Download complete [2022-05-31T17:44:34.646Z] 8998bd30e6a1: Pull complete [2022-05-31T17:44:34.921Z] 04944245beec: Pull complete [2022-05-31T17:44:36.358Z] 699f458cf7ca: Pull complete [2022-05-31T17:44:36.635Z] 765212b225bb: Pull complete [2022-05-31T17:44:37.619Z] f23df028b6ca: Pull complete [2022-05-31T17:44:37.619Z] d65c8cfc05b1: Pull complete [2022-05-31T17:44:52.715Z] 2437ff75d9bd: Pull complete [2022-05-31T17:44:52.715Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-31T17:44:52.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:44:52.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:44:52.976Z] prd-ubuntu20.04-docker-arm64-4c-16g-496 does not seem to be running inside a container [2022-05-31T17:44:53.063Z] $ 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/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@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:arm64 cat [2022-05-31T17:44:55.716Z] $ docker top a753f01c43c0a752940b67ba9fecf71c1c15215eceaea9ef5e7f356e9a03eac8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:44:56.642Z] ---> job-cost.sh [2022-05-31T17:44:56.642Z] lf-activate-venv: SKIPPING [2022-05-31T17:44:56.642Z] INFO: No Stack... [2022-05-31T17:44:56.915Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-31T17:44:57.897Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:44:58.576Z] + cat /w/workspace/device-virtual-go/37/archives/cost.csv [2022-05-31T17:44:58.576Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:44:58.652Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] [2022-05-31T17:44:58.663Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] did not exist. Created. [2022-05-31T17:44:58.663Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:44:59.352Z] /w/workspace/device-virtual-go/37@tmp/durable-6fca5c81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-31T17:45:00.038Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-31T17:45:00.061Z] Warning: overwriting stash ‘stack-cost’ [2022-05-31T17:45:00.107Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:45:00.115Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:45:00.142Z] $ docker stop --time=1 a753f01c43c0a752940b67ba9fecf71c1c15215eceaea9ef5e7f356e9a03eac8 [2022-05-31T17:45:01.677Z] $ docker rm -f a753f01c43c0a752940b67ba9fecf71c1c15215eceaea9ef5e7f356e9a03eac8 [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 [2022-05-31T17:45:02.159Z] provisioning config files... [2022-05-31T17:45:02.175Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3490628065378766471tmp [Pipeline] { [Pipeline] sh [2022-05-31T17:45:02.474Z] + set +x [2022-05-31T17:45:02.474Z] + curl -s https://codecov.io/bash [2022-05-31T17:45:02.474Z] + bash -s -- [2022-05-31T17:45:02.474Z] [2022-05-31T17:45:02.474Z] _____ _ [2022-05-31T17:45:02.474Z] / ____| | | [2022-05-31T17:45:02.474Z] | | ___ __| | ___ ___ _____ __ [2022-05-31T17:45:02.474Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-31T17:45:02.474Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-31T17:45:02.474Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-31T17:45:02.474Z] Bash-1.0.6 [2022-05-31T17:45:02.474Z] [2022-05-31T17:45:02.474Z] [2022-05-31T17:45:02.474Z] ==> git version 2.25.1 found [2022-05-31T17:45:02.474Z] ==> 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 [2022-05-31T17:45:02.474Z] Release-Date: 2020-01-08 [2022-05-31T17:45:02.474Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-31T17:45:02.474Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-31T17:45:02.474Z] ==> Jenkins CI detected. [2022-05-31T17:45:02.474Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-05-31T17:45:02.474Z] project root: . [2022-05-31T17:45:02.474Z] --> token set from env [2022-05-31T17:45:02.474Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-31T17:45:02.474Z] ==> Running gcov in . (disable via -X gcov) [2022-05-31T17:45:02.474Z] ==> Python coveragepy not found [2022-05-31T17:45:02.474Z] ==> Searching for coverage reports in: [2022-05-31T17:45:02.474Z] + . [2022-05-31T17:45:02.474Z] -> Found 1 reports [2022-05-31T17:45:02.474Z] ==> Detecting git/mercurial file structure [2022-05-31T17:45:02.474Z] ==> Reading reports [2022-05-31T17:45:02.474Z] + ./coverage.out bytes=44128 [2022-05-31T17:45:02.474Z] ==> Appending adjustments [2022-05-31T17:45:02.474Z] https://docs.codecov.io/docs/fixing-reports [2022-05-31T17:45:02.733Z] + Found adjustments [2022-05-31T17:45:02.733Z] ==> Gzipping contents [2022-05-31T17:45:02.733Z] 8.0K /tmp/codecov.6JLMpS.gz [2022-05-31T17:45:02.733Z] ==> Uploading reports [2022-05-31T17:45:02.733Z] url: https://codecov.io [2022-05-31T17:45:02.733Z] query: branch=main&commit=9cab87334a4d5affcc1b2c5c12d642008ef46c2d&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:45:02.733Z] -> Pinging Codecov [2022-05-31T17:45:02.733Z] 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=9cab87334a4d5affcc1b2c5c12d642008ef46c2d&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:45:02.994Z] -> Uploading to [2022-05-31T17:45:02.994Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-31/5E52B4B073DB2E39498172D8E973AA87/9cab87334a4d5affcc1b2c5c12d642008ef46c2d/e29c40b8-c66b-4c44-8e9e-1757e0e2f3b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220531T174502Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01d72c2add43fd2794ed75a21b023979749efc531545c3cc446335aa5dfb3704 [2022-05-31T17:45:02.994Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:45:02.994Z] Dload Upload Total Spent Left Speed [2022-05-31T17:45:03.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5324 0 0 100 5324 0 21296 --:--:-- --:--:-- --:--:-- 21296 [2022-05-31T17:45:03.255Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] } [2022-05-31T17:45:03.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-31T17:45:03.369Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-31T17:45:03.377Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:03.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:45:03.677Z] [2022-05-31T17:45:03.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:03.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:45:03.986Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-31T17:45:03.986Z] df9b9388f04a: Pulling fs layer [2022-05-31T17:45:03.986Z] 52dc419b0ee2: Pulling fs layer [2022-05-31T17:45:03.986Z] 25bc292e5bac: Pulling fs layer [2022-05-31T17:45:03.986Z] 114826534d7a: Pulling fs layer [2022-05-31T17:45:03.986Z] 4657fd5d0bcf: Pulling fs layer [2022-05-31T17:45:03.986Z] 6ad1cebc031e: Pulling fs layer [2022-05-31T17:45:03.986Z] 8a3aa393b2d8: Pulling fs layer [2022-05-31T17:45:03.986Z] 4657fd5d0bcf: Waiting [2022-05-31T17:45:03.986Z] 114826534d7a: Waiting [2022-05-31T17:45:03.986Z] 6ad1cebc031e: Waiting [2022-05-31T17:45:03.986Z] 8a3aa393b2d8: Waiting [2022-05-31T17:45:03.986Z] 25bc292e5bac: Download complete [2022-05-31T17:45:03.986Z] 52dc419b0ee2: Download complete [2022-05-31T17:45:03.986Z] 4657fd5d0bcf: Download complete [2022-05-31T17:45:03.986Z] df9b9388f04a: Download complete [2022-05-31T17:45:04.251Z] 6ad1cebc031e: Verifying Checksum [2022-05-31T17:45:04.251Z] 6ad1cebc031e: Download complete [2022-05-31T17:45:04.251Z] df9b9388f04a: Pull complete [2022-05-31T17:45:04.251Z] 52dc419b0ee2: Pull complete [2022-05-31T17:45:04.251Z] 25bc292e5bac: Pull complete [2022-05-31T17:45:04.611Z] 114826534d7a: Verifying Checksum [2022-05-31T17:45:04.611Z] 114826534d7a: Download complete [2022-05-31T17:45:04.870Z] 8a3aa393b2d8: Verifying Checksum [2022-05-31T17:45:04.870Z] 8a3aa393b2d8: Download complete [2022-05-31T17:45:08.282Z] 114826534d7a: Pull complete [2022-05-31T17:45:08.282Z] 4657fd5d0bcf: Pull complete [2022-05-31T17:45:08.540Z] 6ad1cebc031e: Pull complete [2022-05-31T17:45:11.076Z] 8a3aa393b2d8: Pull complete [2022-05-31T17:45:11.076Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-05-31T17:45:11.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:45:11.076Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:11.173Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:45:11.220Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-31T17:45:13.413Z] $ docker top a308c244031bd4172dee9e8e600c8144a5209d93618ab96e1263c1bdbff73551 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-31T17:45:13.488Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-31T17:45:13.769Z] + set -o pipefail [2022-05-31T17:45:13.769Z] + snyk monitor '--org=edgex-jenkins' [2022-05-31T17:45:17.965Z] [2022-05-31T17:45:17.965Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-05-31T17:45:17.965Z] [2022-05-31T17:45:17.965Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/36ac72f4-1aeb-4e32-835b-c4c32154cfad/history/9dee62f0-ae9d-46a1-b7cb-89ac946d8cef [2022-05-31T17:45:17.965Z] [2022-05-31T17:45:17.965Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-31T17:45:17.965Z] [2022-05-31T17:45:17.965Z] [Pipeline] } [2022-05-31T17:45:17.982Z] $ docker stop --time=1 a308c244031bd4172dee9e8e600c8144a5209d93618ab96e1263c1bdbff73551 [2022-05-31T17:45:20.330Z] $ docker rm -f a308c244031bd4172dee9e8e600c8144a5209d93618ab96e1263c1bdbff73551 [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 [2022-05-31T17:45:21.016Z] + git log --format=format:%s -1 9cab87334a4d5affcc1b2c5c12d642008ef46c2d [Pipeline] sh [2022-05-31T17:45:21.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:45:21.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:21.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:45:21.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:21.693Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:45:21.734Z] $ 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:latest cat [2022-05-31T17:45:22.160Z] $ docker top 6a8ec5394c3ec3b0eeff26cd2c1eb33759171274a03e556d9b1b1fb34386eae2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:45:22.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:45:22.280Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:45:22.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:45:22.404Z] $ docker exec 6a8ec5394c3ec3b0eeff26cd2c1eb33759171274a03e556d9b1b1fb34386eae2 ssh-agent [2022-05-31T17:45:22.517Z] SSH_AUTH_SOCK=/tmp/ssh-TsDD3avTYl2l/agent.33 [2022-05-31T17:45:22.517Z] SSH_AGENT_PID=39 [2022-05-31T17:45:22.523Z] Running ssh-add (command line suppressed) [2022-05-31T17:45:22.662Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4840419925632943554.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4840419925632943554.key) [2022-05-31T17:45:22.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:45:22.961Z] + git semver tag [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,155 [run_tag] DEBUG tag force:False [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,155 [check_head_tag] DEBUG check head tag [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,156 [execute] INFO git cat-file --batch-check [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,160 [execute] INFO git cat-file --batch [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,167 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,168 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,168 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:45:23.221Z] 2022-05-31 17:45:23,173 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:23.221Z] 2.2.1-dev.1 [Pipeline] } [2022-05-31T17:45:23.235Z] $ docker exec --env ******** --env ******** 6a8ec5394c3ec3b0eeff26cd2c1eb33759171274a03e556d9b1b1fb34386eae2 ssh-agent -k [2022-05-31T17:45:23.337Z] unset SSH_AUTH_SOCK; [2022-05-31T17:45:23.337Z] unset SSH_AGENT_PID; [2022-05-31T17:45:23.337Z] echo Agent pid 39 killed; [2022-05-31T17:45:23.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:45:23.651Z] + git semver [Pipeline] } [2022-05-31T17:45:23.931Z] $ docker stop --time=1 6a8ec5394c3ec3b0eeff26cd2c1eb33759171274a03e556d9b1b1fb34386eae2 [2022-05-31T17:45:25.252Z] $ docker rm -f 6a8ec5394c3ec3b0eeff26cd2c1eb33759171274a03e556d9b1b1fb34386eae2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:25.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:45:25.640Z] [2022-05-31T17:45:25.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:25.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:45:25.942Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-31T17:45:25.942Z] ab5ef0e58194: Pulling fs layer [2022-05-31T17:45:25.942Z] 9712f1f96733: Pulling fs layer [2022-05-31T17:45:25.942Z] 63f879dbbcfc: Pulling fs layer [2022-05-31T17:45:25.942Z] 0d9ebad4ef96: Pulling fs layer [2022-05-31T17:45:25.942Z] e9a5061849ea: Pulling fs layer [2022-05-31T17:45:25.942Z] d747dcd14b5f: Pulling fs layer [2022-05-31T17:45:25.942Z] 0d9ebad4ef96: Waiting [2022-05-31T17:45:25.942Z] e9a5061849ea: Waiting [2022-05-31T17:45:25.942Z] 2de7ff778b66: Pulling fs layer [2022-05-31T17:45:25.942Z] d747dcd14b5f: Waiting [2022-05-31T17:45:25.942Z] 2de7ff778b66: Waiting [2022-05-31T17:45:25.942Z] 9712f1f96733: Verifying Checksum [2022-05-31T17:45:25.942Z] 9712f1f96733: Download complete [2022-05-31T17:45:26.510Z] 63f879dbbcfc: Verifying Checksum [2022-05-31T17:45:26.510Z] 63f879dbbcfc: Download complete [2022-05-31T17:45:26.510Z] e9a5061849ea: Verifying Checksum [2022-05-31T17:45:26.510Z] e9a5061849ea: Download complete [2022-05-31T17:45:26.510Z] d747dcd14b5f: Verifying Checksum [2022-05-31T17:45:26.510Z] d747dcd14b5f: Download complete [2022-05-31T17:45:26.510Z] ab5ef0e58194: Download complete [2022-05-31T17:45:26.510Z] 0d9ebad4ef96: Verifying Checksum [2022-05-31T17:45:26.510Z] 0d9ebad4ef96: Download complete [2022-05-31T17:45:26.510Z] 2de7ff778b66: Verifying Checksum [2022-05-31T17:45:26.510Z] 2de7ff778b66: Download complete [2022-05-31T17:45:29.043Z] ab5ef0e58194: Pull complete [2022-05-31T17:45:29.043Z] 9712f1f96733: Pull complete [2022-05-31T17:45:29.981Z] 63f879dbbcfc: Pull complete [2022-05-31T17:45:33.271Z] 0d9ebad4ef96: Pull complete [2022-05-31T17:45:33.531Z] e9a5061849ea: Pull complete [2022-05-31T17:45:33.531Z] d747dcd14b5f: Pull complete [2022-05-31T17:45:34.909Z] 2de7ff778b66: Pull complete [2022-05-31T17:45:34.909Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-31T17:45:34.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:45:34.909Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:34.998Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:45:35.031Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-31T17:45:37.470Z] $ docker top d3b2771c73f51f9e044f90a8020c5c6f49a52052f61c668f9ce72b4f37a51082 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:45:37.537Z] provisioning config files... [2022-05-31T17:45:37.544Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6223529717179983695tmp [2022-05-31T17:45:37.555Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1076651706705908378tmp [2022-05-31T17:45:37.565Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9209433041122550992tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:45:37.577Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:37.858Z] ---> sigul-configuration.sh [2022-05-31T17:45:37.858Z] gpg: directory `/root/.gnupg' created [2022-05-31T17:45:37.858Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-31T17:45:37.858Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-31T17:45:37.858Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-31T17:45:37.858Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-31T17:45:37.858Z] gpg: CAST5 encrypted data [2022-05-31T17:45:37.858Z] gpg: encrypted with 1 passphrase [2022-05-31T17:45:37.858Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-31T17:45:38.143Z] + mkdir /home/jenkins [2022-05-31T17:45:38.143Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-31T17:45:38.430Z] + 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 [2022-05-31T17:45:38.439Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:38.725Z] ---> sigul-install.sh [2022-05-31T17:45:38.725Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-31T17:45:39.009Z] + git tag --list [2022-05-31T17:45:39.009Z] v1.0.0 [2022-05-31T17:45:39.009Z] v1.1.0 [2022-05-31T17:45:39.009Z] v1.1.1 [2022-05-31T17:45:39.009Z] v1.2.1 [2022-05-31T17:45:39.009Z] v1.2.2 [2022-05-31T17:45:39.009Z] v1.2.3 [2022-05-31T17:45:39.009Z] v1.3.0 [2022-05-31T17:45:39.009Z] v1.3.1 [2022-05-31T17:45:39.009Z] v2.0.0 [2022-05-31T17:45:39.009Z] v2.1.0 [2022-05-31T17:45:39.009Z] v2.2.0 [2022-05-31T17:45:39.009Z] v2.2.1-dev.1 [Pipeline] sh [2022-05-31T17:45:39.293Z] + lftools sign git-tag v2.2.1-dev.1 [2022-05-31T17:45:39.863Z] Signing Git tag with Sigul... [2022-05-31T17:45:39.863Z] Signing v2.2.1-dev.1 [Pipeline] echo [2022-05-31T17:45:40.130Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:40.414Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-31T17:45:40.420Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-31T17:45:40.446Z] $ docker stop --time=1 d3b2771c73f51f9e044f90a8020c5c6f49a52052f61c668f9ce72b4f37a51082 [2022-05-31T17:45:41.758Z] $ docker rm -f d3b2771c73f51f9e044f90a8020c5c6f49a52052f61c668f9ce72b4f37a51082 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-31T17:45:42.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:45:42.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:42.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:45:42.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:42.566Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:45:42.602Z] $ 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:latest cat [2022-05-31T17:45:42.975Z] $ docker top 220ecdae3d209924b26f15d96891ba4a43e0ce9c9747667e78949149e4819336 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:45:43.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:45:43.065Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:45:43.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:45:43.205Z] $ docker exec 220ecdae3d209924b26f15d96891ba4a43e0ce9c9747667e78949149e4819336 ssh-agent [2022-05-31T17:45:43.312Z] SSH_AUTH_SOCK=/tmp/ssh-MUaertlcGXXT/agent.34 [2022-05-31T17:45:43.312Z] SSH_AGENT_PID=41 [2022-05-31T17:45:43.317Z] Running ssh-add (command line suppressed) [2022-05-31T17:45:43.437Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_203214000142865925.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_203214000142865925.key) [2022-05-31T17:45:43.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:45:43.735Z] + git semver bump pre [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,917 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,917 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,917 [bump_version] DEBUG bumped version:2.2.1-dev.2 [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,917 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,917 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,918 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,919 [execute] INFO git cat-file --batch-check [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,923 [execute] INFO git cat-file --batch [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:45:43.997Z] 2022-05-31 17:45:43,928 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:43.997Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:45:44.012Z] $ docker exec --env ******** --env ******** 220ecdae3d209924b26f15d96891ba4a43e0ce9c9747667e78949149e4819336 ssh-agent -k [2022-05-31T17:45:44.123Z] unset SSH_AUTH_SOCK; [2022-05-31T17:45:44.124Z] unset SSH_AGENT_PID; [2022-05-31T17:45:44.124Z] echo Agent pid 41 killed; [2022-05-31T17:45:44.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:45:44.428Z] + git semver [Pipeline] } [2022-05-31T17:45:44.705Z] $ docker stop --time=1 220ecdae3d209924b26f15d96891ba4a43e0ce9c9747667e78949149e4819336 [2022-05-31T17:45:46.033Z] $ docker rm -f 220ecdae3d209924b26f15d96891ba4a43e0ce9c9747667e78949149e4819336 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:45:46.374Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:45:46.374Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:46.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:45:46.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:46.751Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:45:46.790Z] $ 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:latest cat [2022-05-31T17:45:47.148Z] $ docker top 7ecc205639d91efb58ed9e958cd64cb9de8ff82588c4f5ce89b4b1f19b638346 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:45:47.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:45:47.251Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:45:47.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:45:47.388Z] $ docker exec 7ecc205639d91efb58ed9e958cd64cb9de8ff82588c4f5ce89b4b1f19b638346 ssh-agent [2022-05-31T17:45:47.494Z] SSH_AUTH_SOCK=/tmp/ssh-1ld0DiPBHZUl/agent.35 [2022-05-31T17:45:47.494Z] SSH_AGENT_PID=41 [2022-05-31T17:45:47.500Z] Running ssh-add (command line suppressed) [2022-05-31T17:45:47.616Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2919239592586876433.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2919239592586876433.key) [2022-05-31T17:45:47.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:45:47.910Z] + git semver push [2022-05-31T17:45:48.170Z] 2022-05-31 17:45:48,089 [run_push] DEBUG push [2022-05-31T17:45:48.170Z] 2022-05-31 17:45:48,090 [execute] INFO git push origin semver [2022-05-31T17:45:48.170Z] 2022-05-31 17:45:48,090 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:45:49.108Z] 2022-05-31 17:45:48,778 [run_push] DEBUG push all version tags [2022-05-31T17:45:49.108Z] 2022-05-31 17:45:48,778 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-31T17:45:49.108Z] 2022-05-31 17:45:48,779 [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) [2022-05-31T17:45:49.679Z] 2022-05-31 17:45:49,434 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-31T17:45:49.679Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:45:49.695Z] $ docker exec --env ******** --env ******** 7ecc205639d91efb58ed9e958cd64cb9de8ff82588c4f5ce89b4b1f19b638346 ssh-agent -k [2022-05-31T17:45:49.796Z] unset SSH_AUTH_SOCK; [2022-05-31T17:45:49.796Z] unset SSH_AGENT_PID; [2022-05-31T17:45:49.796Z] echo Agent pid 41 killed; [2022-05-31T17:45:49.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:45:50.104Z] + git semver [Pipeline] } [2022-05-31T17:45:50.384Z] $ docker stop --time=1 7ecc205639d91efb58ed9e958cd64cb9de8ff82588c4f5ce89b4b1f19b638346 [2022-05-31T17:45:51.673Z] $ docker rm -f 7ecc205639d91efb58ed9e958cd64cb9de8ff82588c4f5ce89b4b1f19b638346 [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 [2022-05-31T17:45:52.201Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-05-31T17:45:52.201Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-31T17:45:52.201Z] total 16 [2022-05-31T17:45:52.201Z] drwxr-xr-x 3 root root 4096 May 31 17:35 . [2022-05-31T17:45:52.201Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 17:45 .. [2022-05-31T17:45:52.201Z] drwxr-xr-x 2 root root 4096 May 31 17:35 cost [2022-05-31T17:45:52.201Z] -rw-r--r-- 1 root root 87 May 31 17:35 cost.csv [2022-05-31T17:45:52.201Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-31T17:45:52.201Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-31T17:45:52.201Z] total 16 [2022-05-31T17:45:52.201Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:35 . [2022-05-31T17:45:52.201Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 17:45 .. [2022-05-31T17:45:52.201Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 17:35 cost [2022-05-31T17:45:52.201Z] -rw-r--r-- 1 jenkins jenkins 87 May 31 17:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:52.495Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:53.359Z] ---> package-listing.sh [2022-05-31T17:45:53.360Z] ++ facter osfamily [2022-05-31T17:45:53.360Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-31T17:45:53.620Z] + OS_FAMILY=debian [2022-05-31T17:45:53.620Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-05-31T17:45:53.620Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-31T17:45:53.620Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-31T17:45:53.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-31T17:45:53.620Z] + PACKAGES=/tmp/packages_start.txt [2022-05-31T17:45:53.620Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-31T17:45:53.620Z] + PACKAGES=/tmp/packages_end.txt [2022-05-31T17:45:53.620Z] + case "${OS_FAMILY}" in [2022-05-31T17:45:53.620Z] + dpkg -l [2022-05-31T17:45:53.620Z] + grep '^ii' [2022-05-31T17:45:53.620Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-31T17:45:53.620Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-31T17:45:53.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-31T17:45:53.620Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-31T17:45:53.620Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-05-31T17:45:53.620Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-05-31T17:45:53.632Z] 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 [2022-05-31T17:45:53.910Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:45:54.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:45:54.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:45:54.565Z] prd-ubuntu20.04-docker-8c-8g-493 does not seem to be running inside a container [2022-05-31T17:45:54.607Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T17:45:54.847Z] $ docker top acd9d0b2abca41778d708fb33ca1aa71b5fd9703e74767c5a0f274dfe5d6d398 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:45:55.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-31T17:45:55.494Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-31T17:45:55.782Z] + ls /var/log/sa-host [2022-05-31T17:45:55.782Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:45:55.849Z] provisioning config files... [2022-05-31T17:45:55.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7941791282772046929tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:45:55.875Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:56.159Z] ---> create-netrc.sh [Pipeline] } [2022-05-31T17:45:56.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:56.491Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-31T17:45:56.500Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:56.781Z] ---> sudo-logs.sh [2022-05-31T17:45:56.781Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-31T17:45:56.807Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:57.088Z] ---> job-cost.sh [2022-05-31T17:45:57.088Z] lf-activate-venv: SKIPPING [2022-05-31T17:45:57.088Z] DEBUG: total: 0.2199999988079071 [2022-05-31T17:45:57.088Z] INFO: Retrieving Stack Cost... [2022-05-31T17:45:57.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:45:57.918Z] INFO: Archiving Costs [Pipeline] echo [2022-05-31T17:45:57.930Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:45:58.219Z] ---> logs-deploy.sh [2022-05-31T17:45:58.219Z] lf-activate-venv: SKIPPING [2022-05-31T17:45:58.219Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/37 [2022-05-31T17:45:58.219Z] INFO: archiving workspace using pattern(s): [2022-05-31T17:45:59.163Z] Archives upload complete. [2022-05-31T17:45:59.163Z] INFO: archiving logs to Nexus